From 394447503a70cbdf70d203d6d0af34f537dedbcf Mon Sep 17 00:00:00 2001 From: Hugo-ter-Doest Date: Tue, 2 Jul 2024 09:52:47 +0200 Subject: [PATCH] Remove ESM stuff --- spec/test_esm_bundle/Dockerfile | 19 ------------------- spec/test_esm_bundle/package.json | 23 ----------------------- 2 files changed, 42 deletions(-) delete mode 100644 spec/test_esm_bundle/Dockerfile delete mode 100644 spec/test_esm_bundle/package.json diff --git a/spec/test_esm_bundle/Dockerfile b/spec/test_esm_bundle/Dockerfile deleted file mode 100644 index c37c132b3..000000000 --- a/spec/test_esm_bundle/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -# Use the official Node.js 16 image as the base image -FROM node:20 - -# Set the working directory inside the container -WORKDIR /app - -# Copy package.json and package-lock.json (if available) to the working directory -COPY package.json ./ -COPY spec ./ - -# Install project dependencies -RUN npm install - -# Copy only the bundle, source map, and index.js to the container -COPY ../../dist/esm/index.js ./dist/ -COPY ../../dist/esm/index.js.map ./dist/ - -# Run the test script -CMD ["npm", "test"] \ No newline at end of file diff --git a/spec/test_esm_bundle/package.json b/spec/test_esm_bundle/package.json deleted file mode 100644 index 6a955a543..000000000 --- a/spec/test_esm_bundle/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "esm-bundle-test", - "version": "1.0.0", - "description": "A project to test ESM bundles with Jasmine", - "type": "module", - "scripts": { - "test": "jasmine" - }, - "devDependencies": { - "jasmine": "^3.10.0" - }, - "jasmine": { - "spec_dir": "spec", - "spec_files": [ - "**/*[sS]pec.js" - ], - "helpers": [ - "helpers/**/*.js" - ], - "stopSpecOnExpectationFailure": false, - "random": true - } - } \ No newline at end of file