diff --git a/README.md b/README.md index 8c2146c3..e1c115e3 100644 --- a/README.md +++ b/README.md @@ -17,9 +17,9 @@ You need to keep the versions of these three things in sync: - The Elm compiler. - The [elm-explorations/test] package. -When it comes to the first two it’s easy: Use the same version for both. If you use Elm 0.19.2, use version 0.19.2 of this CLI tool as well. Note that the npm packages for both `elm` and `elm-test` might have suffixes such as `-0` and `-1` etc. It’s totally OK to use `elm@0.19.2-0` with `elm-test@0.19.2-1`! The suffixes don’t need to match. The suffixes are all about bug fixes or features in the respective npm packages, while the base version says which compiler version we’re working with. +When it comes to the first two it’s easy: Use the same version for both. If you use Elm 0.19.3, use version 0.19.3 of this CLI tool as well. Note that the npm packages for both `elm` and `elm-test` might have suffixes such as `-0` and `-1` etc. It’s totally OK to use `elm@0.19.3-0` with `elm-test@0.19.3-1`! The suffixes don’t need to match. The suffixes are all about bug fixes or features in the respective npm packages, while the base version says which compiler version we’re working with. -When it comes to [elm-explorations/test]: Use at least version 2.0.0 with elm-test 0.19.2. If you’re on 0.19.1, see the following table: +When it comes to [elm-explorations/test]: Use at least version 2.0.0 with elm-test 0.19.3. If you’re on 0.19.1, see the following table: | elm-explorations/test | elm-test CLI | | --------------------- | -------------------- | @@ -32,7 +32,7 @@ When it comes to [elm-explorations/test]: Use at least version 2.0.0 with elm-te > > - `elm-test init` always installs the latest [elm-explorations/test]. This means that if you run `elm-test init` on version 0.19.1-revision9 or older, you will get elm-explorations/test 2.0.0 or later, which don’t work 100 % together (see the next point). > - elm-test 0.19.1-revision9 or older do _not_ validate that [elm-explorations/test] in your elm.json has a compatible version. If you upgrade to elm-explorations/test 2.0.0 or later but forget to upgrade the elm-test CLI, most things will still work, but test distribution diagrams (new in elm-explorations/test 2.0.0) won’t show up. So if you use `Test.fuzzWith` and wonder why distribution diagrams never show up – check your elm-test CLI version! -> - There exists an elm-test CLI version called just "0.19.1". It should have been called "0.19.1-revision1", but unfortunately isn’t. Don’t make the mistake thinking it’s the latest version! You always want "0.19.1-revisionX". (This is also why there is a version called "0.19.2-0" but no "0.19.2".) +> - There exists an elm-test CLI version called just "0.19.1". It should have been called "0.19.1-revision1", but unfortunately isn’t. Don’t make the mistake thinking it’s the latest version! You always want "0.19.1-revisionX". (This is also why there is a version called "0.19.3-0" but no "0.19.3".) ## Installation diff --git a/elm-tooling.json b/elm-tooling.json index 46408670..968a7b62 100644 --- a/elm-tooling.json +++ b/elm-tooling.json @@ -1,6 +1,6 @@ { "tools": { - "elm": "0.19.2", + "elm": "0.19.3", "elm-format": "0.8.8" } } diff --git a/elm/elm.json b/elm/elm.json index 08e5084d..7a029fbc 100644 --- a/elm/elm.json +++ b/elm/elm.json @@ -3,7 +3,7 @@ "source-directories": [ "src" ], - "elm-version": "0.19.2", + "elm-version": "0.19.3", "dependencies": { "direct": { "elm/core": "1.0.5", diff --git a/elm/review/elm.json b/elm/review/elm.json index ce14203a..efde7d82 100644 --- a/elm/review/elm.json +++ b/elm/review/elm.json @@ -3,7 +3,7 @@ "source-directories": [ "src" ], - "elm-version": "0.19.2", + "elm-version": "0.19.3", "dependencies": { "direct": { "elm/core": "1.0.5", diff --git a/example-application-no-tests/elm.json b/example-application-no-tests/elm.json index aa3a316d..c5b821db 100644 --- a/example-application-no-tests/elm.json +++ b/example-application-no-tests/elm.json @@ -3,7 +3,7 @@ "source-directories": [ "src" ], - "elm-version": "0.19.2", + "elm-version": "0.19.3", "dependencies": { "direct": { "elm/browser": "1.0.2", diff --git a/example-application-src/elm.json b/example-application-src/elm.json index b3ebe03a..84c99a3a 100644 --- a/example-application-src/elm.json +++ b/example-application-src/elm.json @@ -3,7 +3,7 @@ "source-directories": [ "src" ], - "elm-version": "0.19.2", + "elm-version": "0.19.3", "dependencies": { "direct": { "elm/browser": "1.0.2", diff --git a/example-application/elm.json b/example-application/elm.json index 85836b2f..a05926c3 100644 --- a/example-application/elm.json +++ b/example-application/elm.json @@ -4,7 +4,7 @@ "src", "tests" ], - "elm-version": "0.19.2", + "elm-version": "0.19.3", "dependencies": { "direct": { "elm/browser": "1.0.2", diff --git a/lib/ElmHome.js b/lib/ElmHome.js index 653fbb9f..3243f0cf 100644 --- a/lib/ElmHome.js +++ b/lib/ElmHome.js @@ -43,7 +43,7 @@ function defaultWindowsElmHome() { */ function packagePath(pkg) { const parts = splitAuthorPkg(pkg); - return path.join(elmHome(), '0.19.2', 'packages', parts.author, parts.pkg); + return path.join(elmHome(), '0.19.3', 'packages', parts.author, parts.pkg); } /** diff --git a/lib/Generate.js b/lib/Generate.js index 143043f4..9c6c6b17 100644 --- a/lib/Generate.js +++ b/lib/Generate.js @@ -129,7 +129,7 @@ function generateElmJson( const testElmJson = { type: 'application', 'source-directories': sourceDirs, - 'elm-version': '0.19.2', + 'elm-version': '0.19.3', dependencies: Solve.getDependenciesCached( dependencyProvider, packageStrategy, @@ -175,7 +175,7 @@ function getMainModule(generatedCodeDir) { path: // We'll be putting the generated Main in something like this: // - // my-project-name/elm-stuff/generated-code/elm-community/elm-test/0.19.2-X/src/Test/Generated/Main.elm + // my-project-name/elm-stuff/generated-code/elm-community/elm-test/0.19.3-X/src/Test/Generated/Main.elm path.join(getGeneratedSrcDir(generatedCodeDir), ...moduleName) + '.elm', }; } diff --git a/package-lock.json b/package-lock.json index 12795c7b..acaf9af3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "@types/node": "26.0.1", "@types/which": "3.0.4", "elm-review": "2.13.1", - "elm-tooling": "1.18.0", + "elm-tooling": "1.21.0", "eslint": "9.20.1", "eslint-plugin-mocha": "10.5.0", "globals": "15.15.0", @@ -1193,9 +1193,9 @@ "integrity": "sha512-qnwo7RO9IO7jd9SLHvIy0rSOEIlc/tNMTE9Cras0kl+b161PVidW4FvXo0MtXU8GAKi/2s/HYvhcnpR/NNQ1zw==" }, "node_modules/elm-tooling": { - "version": "1.18.0", - "resolved": "https://registry.npmjs.org/elm-tooling/-/elm-tooling-1.18.0.tgz", - "integrity": "sha512-8tY35aNpB6z+rtmix4VPZ+q+kGPyOx0xDId7YLqcPmsKSKoS0vuNVC80ixwRbIhLWVifNDkBB7SjSIgp5Z39Uw==", + "version": "1.21.0", + "resolved": "https://registry.npmjs.org/elm-tooling/-/elm-tooling-1.21.0.tgz", + "integrity": "sha512-emtg+90VN2o0JcMH1wGxgbFAZJ8elO5bHdvi5wFZR8+5ZEDc5aUxeCLaEdLWfcq8Bdq68pRW2fXBJRBD7YiS5A==", "dev": true, "license": "MIT", "bin": { @@ -3733,9 +3733,9 @@ "integrity": "sha512-qnwo7RO9IO7jd9SLHvIy0rSOEIlc/tNMTE9Cras0kl+b161PVidW4FvXo0MtXU8GAKi/2s/HYvhcnpR/NNQ1zw==" }, "elm-tooling": { - "version": "1.18.0", - "resolved": "https://registry.npmjs.org/elm-tooling/-/elm-tooling-1.18.0.tgz", - "integrity": "sha512-8tY35aNpB6z+rtmix4VPZ+q+kGPyOx0xDId7YLqcPmsKSKoS0vuNVC80ixwRbIhLWVifNDkBB7SjSIgp5Z39Uw==", + "version": "1.21.0", + "resolved": "https://registry.npmjs.org/elm-tooling/-/elm-tooling-1.21.0.tgz", + "integrity": "sha512-emtg+90VN2o0JcMH1wGxgbFAZJ8elO5bHdvi5wFZR8+5ZEDc5aUxeCLaEdLWfcq8Bdq68pRW2fXBJRBD7YiS5A==", "dev": true }, "emoji-regex": { diff --git a/package.json b/package.json index 326dc774..47ff2dd1 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "@types/node": "26.0.1", "@types/which": "3.0.4", "elm-review": "2.13.1", - "elm-tooling": "1.18.0", + "elm-tooling": "1.21.0", "eslint": "9.20.1", "eslint-plugin-mocha": "10.5.0", "globals": "15.15.0", diff --git a/tests/fixtures/elm.json b/tests/fixtures/elm.json index b6b61fc4..2ddf696b 100644 --- a/tests/fixtures/elm.json +++ b/tests/fixtures/elm.json @@ -3,7 +3,7 @@ "source-directories": [ "src" ], - "elm-version": "0.19.2", + "elm-version": "0.19.3", "dependencies": { "direct": { "elm/core": "1.0.5" diff --git a/tests/fixtures/install/elm.json b/tests/fixtures/install/elm.json index e940668c..6586e8a2 100644 --- a/tests/fixtures/install/elm.json +++ b/tests/fixtures/install/elm.json @@ -3,7 +3,7 @@ "source-directories": [ "src" ], - "elm-version": "0.19.2", + "elm-version": "0.19.3", "dependencies": { "direct": { "elm/core": "1.0.0", diff --git a/tests/fixtures/install/test-elm.json b/tests/fixtures/install/test-elm.json index e940668c..6586e8a2 100644 --- a/tests/fixtures/install/test-elm.json +++ b/tests/fixtures/install/test-elm.json @@ -3,7 +3,7 @@ "source-directories": [ "src" ], - "elm-version": "0.19.2", + "elm-version": "0.19.3", "dependencies": { "direct": { "elm/core": "1.0.0", diff --git a/tests/fixtures/templates/application/elm.json b/tests/fixtures/templates/application/elm.json index 71f58450..3ac562d4 100644 --- a/tests/fixtures/templates/application/elm.json +++ b/tests/fixtures/templates/application/elm.json @@ -3,7 +3,7 @@ "source-directories": [ "src" ], - "elm-version": "0.19.2", + "elm-version": "0.19.3", "dependencies": { "direct": { "elm/browser": "1.0.0", diff --git a/tests/fixtures/write-elm-json/elm.input.json b/tests/fixtures/write-elm-json/elm.input.json index 8da72f3c..a52b0202 100644 --- a/tests/fixtures/write-elm-json/elm.input.json +++ b/tests/fixtures/write-elm-json/elm.input.json @@ -2,7 +2,7 @@ "nonStandardFieldStart": 1, "type": "application", "source-directories": [ "src" ], - "elm-version": "0.19.2", + "elm-version": "0.19.3", "dependencies": { "direct": { "elm/core": "1.0.0" }, "indirect": {}