diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 5d4138f..2af0ea6 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -28,6 +28,13 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm i - - run: npm run build + - run: | + for i in samples/*; do + pushd $i || continue; + echo --- $i; + npm i; + npm run build; + popd; + done - run: npm run start-test-server && npm run test \ No newline at end of file diff --git a/package.json b/package.json index 87471a5..8f11ae7 100644 --- a/package.json +++ b/package.json @@ -10,15 +10,16 @@ "./samples/*" ], "dependencies": { - "ace-builds": "^1.31.2", - "ace-code": "^1.31.2", - "ace-linters": "^1.0.3", + "ace-builds": "latest", + "ace-code": "latest", + "ace-linters": "latest", "typescript": "^5.3.2" }, "devDependencies": { "@types/chai": "^4.3.4", "@types/mocha": "^5.2.7", "chai": "^4.3.7", + "http-server": "^14.1.1", "mocha": "^10.2.0", "process": "^0.11.10", "puppeteer": "^19.9.1", diff --git a/samples/ace-builds-cdn/package.json b/samples/ace-builds-cdn/package.json new file mode 100644 index 0000000..49c1218 --- /dev/null +++ b/samples/ace-builds-cdn/package.json @@ -0,0 +1,12 @@ +{ + "name": "ace-builds-cdn", + "version": "1.0.0", + "scripts": { + "test": "echo", + "build": "echo", + "start": "echo" + }, + "devDependencies": { + "ace-builds": "latest" + } +} diff --git a/samples/ace-builds-parcel/package.json b/samples/ace-builds-parcel/package.json index ded07db..95244a2 100644 --- a/samples/ace-builds-parcel/package.json +++ b/samples/ace-builds-parcel/package.json @@ -6,7 +6,7 @@ "start": "parcel ./index.html" }, "devDependencies": { - "ace-builds": "^1.15.3", + "ace-builds": "latest", "buffer": "^5.7.1", "parcel": "^2.8.3", "process": "^0.11.10" diff --git a/samples/ace-builds-vitejs/package.json b/samples/ace-builds-vitejs/package.json index 9831e9a..1ebdaf7 100644 --- a/samples/ace-builds-vitejs/package.json +++ b/samples/ace-builds-vitejs/package.json @@ -6,7 +6,7 @@ "build": "vite build" }, "devDependencies": { - "ace-builds": "^1.15.3", + "ace-builds": "latest", "vite": "^4.0.3" }, "type": "module" diff --git a/samples/ace-builds-webpack/package.json b/samples/ace-builds-webpack/package.json index aa2da44..34d8eef 100644 --- a/samples/ace-builds-webpack/package.json +++ b/samples/ace-builds-webpack/package.json @@ -6,7 +6,7 @@ "start": "webpack-dev-server" }, "devDependencies": { - "ace-builds": "^1.15.3", + "ace-builds": "latest", "webpack": "^5.75.0", "webpack-cli": "^5.0.1", "webpack-dev-server": "^4.11.1", diff --git a/samples/ace-code-parcel/package.json b/samples/ace-code-parcel/package.json index 2c762e8..7527c9d 100644 --- a/samples/ace-code-parcel/package.json +++ b/samples/ace-code-parcel/package.json @@ -6,7 +6,7 @@ "start": "parcel ./index.html" }, "devDependencies": { - "ace-code": "^1.15.3", + "ace-code": "latest", "parcel": "^2.8.3" } } diff --git a/samples/ace-code-vitejs-typescript/index.html b/samples/ace-code-vitejs-typescript/index.html index 795f1ec..c994e22 100644 --- a/samples/ace-code-vitejs-typescript/index.html +++ b/samples/ace-code-vitejs-typescript/index.html @@ -7,6 +7,6 @@
- +