From 938f0c85e63b5fb78c72d136200fe66bd2597404 Mon Sep 17 00:00:00 2001 From: Dillon Kearns Date: Fri, 24 Mar 2023 12:10:41 -0700 Subject: [PATCH] Update test script. --- examples/base-path/package-lock.json | 31 ++++++++++++++-------------- examples/escaping/package-lock.json | 31 ++++++++++++++-------------- examples/routing/package-lock.json | 31 ++++++++++++++-------------- test.sh | 8 +++---- 4 files changed, 52 insertions(+), 49 deletions(-) diff --git a/examples/base-path/package-lock.json b/examples/base-path/package-lock.json index c7897cd4..06e17a19 100644 --- a/examples/base-path/package-lock.json +++ b/examples/base-path/package-lock.json @@ -22,27 +22,27 @@ "dev": true, "license": "BSD-3-Clause", "dependencies": { - "busboy": "^1.0.0", + "busboy": "^1.6.0", "chokidar": "^3.5.3", "commander": "^10.0.0", "connect": "^3.7.0", - "cookie-signature": "^1.1.0", + "cookie-signature": "^1.2.1", "cross-spawn": "7.0.3", "devcert": "^1.2.2", "elm-doc-preview": "^5.0.5", "elm-hot": "^1.1.6", - "esbuild": "0.17.10", - "fs-extra": "^11.1.0", + "esbuild": "^0.17.12", + "fs-extra": "^11.1.1", "globby": "13.1.3", "gray-matter": "^4.0.3", "jsesc": "^3.0.2", "kleur": "^4.1.5", "make-fetch-happen": "^11.0.3", - "memfs": "^3.4.7", + "memfs": "^3.4.13", "micromatch": "^4.0.5", "serve-static": "^1.15.0", - "terser": "^5.16.3", - "vite": "^4.1.1", + "terser": "^5.16.8", + "vite": "^4.2.1", "which": "^3.0.0" }, "bin": { @@ -53,18 +53,19 @@ "@types/fs-extra": "^11.0.1", "@types/make-fetch-happen": "^10.0.1", "@types/micromatch": "^4.0.2", - "@types/node": "^18.11.9", - "@types/serve-static": "^1.15.0", - "cypress": "^12.5.1", + "@types/node": "^18.15.7", + "@types/serve-static": "^1.15.1", + "cypress": "^12.8.1", "elm-codegen": "^0.3.0", "elm-optimize-level-2": "^0.3.5", - "elm-review": "^2.8.2", + "elm-review": "^2.9.2", "elm-test": "^0.19.1-revision11", - "elm-tooling": "^1.12.0", + "elm-tooling": "^1.13.1", "elm-verify-examples": "^5.2.0", - "elmi-to-json": "^1.2.0", - "typescript": "^4.9.5", - "vitest": "^0.28.5" + "elmi-to-json": "^1.4.3", + "typescript": "^5.0.2", + "vite": "^4.2.1", + "vitest": "^0.29.7" } }, "../../node_modules/@colors/colors": { diff --git a/examples/escaping/package-lock.json b/examples/escaping/package-lock.json index 4e7b1ccb..63a1bfc0 100644 --- a/examples/escaping/package-lock.json +++ b/examples/escaping/package-lock.json @@ -22,27 +22,27 @@ "dev": true, "license": "BSD-3-Clause", "dependencies": { - "busboy": "^1.0.0", + "busboy": "^1.6.0", "chokidar": "^3.5.3", "commander": "^10.0.0", "connect": "^3.7.0", - "cookie-signature": "^1.1.0", + "cookie-signature": "^1.2.1", "cross-spawn": "7.0.3", "devcert": "^1.2.2", "elm-doc-preview": "^5.0.5", "elm-hot": "^1.1.6", - "esbuild": "0.17.10", - "fs-extra": "^11.1.0", + "esbuild": "^0.17.12", + "fs-extra": "^11.1.1", "globby": "13.1.3", "gray-matter": "^4.0.3", "jsesc": "^3.0.2", "kleur": "^4.1.5", "make-fetch-happen": "^11.0.3", - "memfs": "^3.4.7", + "memfs": "^3.4.13", "micromatch": "^4.0.5", "serve-static": "^1.15.0", - "terser": "^5.16.3", - "vite": "^4.1.1", + "terser": "^5.16.8", + "vite": "^4.2.1", "which": "^3.0.0" }, "bin": { @@ -53,18 +53,19 @@ "@types/fs-extra": "^11.0.1", "@types/make-fetch-happen": "^10.0.1", "@types/micromatch": "^4.0.2", - "@types/node": "^18.11.9", - "@types/serve-static": "^1.15.0", - "cypress": "^12.5.1", + "@types/node": "^18.15.7", + "@types/serve-static": "^1.15.1", + "cypress": "^12.8.1", "elm-codegen": "^0.3.0", "elm-optimize-level-2": "^0.3.5", - "elm-review": "^2.8.2", + "elm-review": "^2.9.2", "elm-test": "^0.19.1-revision11", - "elm-tooling": "^1.12.0", + "elm-tooling": "^1.13.1", "elm-verify-examples": "^5.2.0", - "elmi-to-json": "^1.2.0", - "typescript": "^4.9.5", - "vitest": "^0.28.5" + "elmi-to-json": "^1.4.3", + "typescript": "^5.0.2", + "vite": "^4.2.1", + "vitest": "^0.29.7" } }, "../../node_modules/@colors/colors": { diff --git a/examples/routing/package-lock.json b/examples/routing/package-lock.json index d57ea631..5ade3da7 100644 --- a/examples/routing/package-lock.json +++ b/examples/routing/package-lock.json @@ -22,27 +22,27 @@ "dev": true, "license": "BSD-3-Clause", "dependencies": { - "busboy": "^1.0.0", + "busboy": "^1.6.0", "chokidar": "^3.5.3", "commander": "^10.0.0", "connect": "^3.7.0", - "cookie-signature": "^1.1.0", + "cookie-signature": "^1.2.1", "cross-spawn": "7.0.3", "devcert": "^1.2.2", "elm-doc-preview": "^5.0.5", "elm-hot": "^1.1.6", - "esbuild": "0.17.10", - "fs-extra": "^11.1.0", + "esbuild": "^0.17.12", + "fs-extra": "^11.1.1", "globby": "13.1.3", "gray-matter": "^4.0.3", "jsesc": "^3.0.2", "kleur": "^4.1.5", "make-fetch-happen": "^11.0.3", - "memfs": "^3.4.7", + "memfs": "^3.4.13", "micromatch": "^4.0.5", "serve-static": "^1.15.0", - "terser": "^5.16.3", - "vite": "^4.1.1", + "terser": "^5.16.8", + "vite": "^4.2.1", "which": "^3.0.0" }, "bin": { @@ -53,18 +53,19 @@ "@types/fs-extra": "^11.0.1", "@types/make-fetch-happen": "^10.0.1", "@types/micromatch": "^4.0.2", - "@types/node": "^18.11.9", - "@types/serve-static": "^1.15.0", - "cypress": "^12.5.1", + "@types/node": "^18.15.7", + "@types/serve-static": "^1.15.1", + "cypress": "^12.8.1", "elm-codegen": "^0.3.0", "elm-optimize-level-2": "^0.3.5", - "elm-review": "^2.8.2", + "elm-review": "^2.9.2", "elm-test": "^0.19.1-revision11", - "elm-tooling": "^1.12.0", + "elm-tooling": "^1.13.1", "elm-verify-examples": "^5.2.0", - "elmi-to-json": "^1.2.0", - "typescript": "^4.9.5", - "vitest": "^0.28.5" + "elmi-to-json": "^1.4.3", + "typescript": "^5.0.2", + "vite": "^4.2.1", + "vitest": "^0.29.7" } }, "node_modules/@esbuild/android-arm": { diff --git a/test.sh b/test.sh index 1eb5c4ed..6f003ded 100755 --- a/test.sh +++ b/test.sh @@ -1,9 +1,9 @@ set -ex; yes | lamdera reset || true -npx elm-test-rs --compiler=lamdera -(cd examples/routing && npm i && npm run build && npx elm-test-rs --compiler=lamdera) -(cd generator/dead-code-review && npx elm-test-rs --compiler=lamdera) -(cd generator/review && npx elm-test-rs --compiler=lamdera) +npx elm-test-rs +(cd examples/routing && npm i && npm run build && npx elm-test-rs) +(cd generator/dead-code-review && npx elm-test-rs) +(cd generator/review && npx elm-test-rs) npm run test:snapshot npx elmi-to-json --version elm-verify-examples --run-tests --elm-test-args '--compiler=lamdera'