From ca72821ac6e600e6e5d4a1a52167125de45d57f4 Mon Sep 17 00:00:00 2001 From: Simon Lydell Date: Mon, 6 Jul 2026 11:20:34 +0200 Subject: [PATCH 1/4] Add Elm 0.19.2 --- src/KnownTools.ts | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/src/KnownTools.ts b/src/KnownTools.ts index 9afb0b1..9936d69 100644 --- a/src/KnownTools.ts +++ b/src/KnownTools.ts @@ -109,6 +109,51 @@ const knownTools = { type: "gz", }, }, + "0.19.2": { + "darwin-arm64": { + hash: "8b02a7fac1643b39acb87ae2a8e10f0f1534fe61940ca08ab17dfc2ac98115c8", + url: "https://github.com/elm/compiler/releases/download/0.19.2/elm-0.19.2-mac-arm.gz", + fileSize: 14263130, + fileName: "elm", + type: "gz", + }, + "darwin-x64": { + hash: "bcfbec1ee85bf87e29da23ea6cb597caa4613b74df77b4a3a40d881df1fa0410", + url: "https://github.com/elm/compiler/releases/download/0.19.2/elm-0.19.2-mac-x64.gz", + fileSize: 4309721, + fileName: "elm", + type: "gz", + }, + "linux-arm64": { + hash: "a2bb23e8af8c9874ed1f700fdba4d25636699313dff04695598c41055028c8f5", + url: "https://github.com/elm/compiler/releases/download/0.19.2/elm-0.19.2-linux-arm.gz", + fileSize: 12198085, + fileName: "elm", + type: "gz", + }, + "linux-x64": { + hash: "66320d27701654fa11bd0e8d84bdf9829694d5770c8dcee2dede6160fad58737", + url: "https://github.com/elm/compiler/releases/download/0.19.2/elm-0.19.2-linux-x64.gz", + fileSize: 11243558, + fileName: "elm", + type: "gz", + }, + // WoW64. + "win32-arm64": { + hash: "47830fe67a8cca55ce82da4e04c29d150f5725b92b0a354b83121d6903ff667a", + url: "https://github.com/elm/compiler/releases/download/0.19.2/elm-0.19.2-windows-x64.gz", + fileSize: 14500760, + fileName: "elm.exe", + type: "gz", + }, + "win32-x64": { + hash: "47830fe67a8cca55ce82da4e04c29d150f5725b92b0a354b83121d6903ff667a", + url: "https://github.com/elm/compiler/releases/download/0.19.2/elm-0.19.2-windows-x64.gz", + fileSize: 14500760, + fileName: "elm.exe", + type: "gz", + }, + }, }, "elm-format": { "0.8.1": { From 6c437e4d49980cfd2565244f769d38b52a9260bb Mon Sep 17 00:00:00 2001 From: Simon Lydell Date: Mon, 6 Jul 2026 11:21:57 +0200 Subject: [PATCH 2/4] Update Jest snapshots --- tests/Init.test.ts | 14 +++++++------- tests/Tools.test.ts | 22 +++++++++++++++++----- tests/getExecutable.test.ts | 6 +++--- 3 files changed, 27 insertions(+), 15 deletions(-) diff --git a/tests/Init.test.ts b/tests/Init.test.ts index 8f77fd3..5c3aad9 100644 --- a/tests/Init.test.ts +++ b/tests/Init.test.ts @@ -164,7 +164,7 @@ describe("init", () => { expect(json).toMatchInlineSnapshot(` { "tools": { - "elm": "0.19.1", + "elm": "0.19.2", "elm-format": "0.8.8", "elm-json": "0.2.13" } @@ -190,7 +190,7 @@ describe("init", () => { expect(json).toMatchInlineSnapshot(` { "tools": { - "elm": "0.19.1", + "elm": "0.19.2", "elm-format": "0.8.8", "elm-json": "0.2.13" } @@ -214,7 +214,7 @@ describe("init", () => { expect(json).toMatchInlineSnapshot(` { "tools": { - "elm": "0.19.1", + "elm": "0.19.2", "elm-format": "0.8.8", "elm-json": "0.2.13" } @@ -238,7 +238,7 @@ describe("init", () => { expect(json).toMatchInlineSnapshot(` { "tools": { - "elm": "0.19.1", + "elm": "0.19.2", "elm-format": "0.8.8", "elm-json": "0.2.13" } @@ -262,7 +262,7 @@ describe("init", () => { expect(json).toMatchInlineSnapshot(` { "tools": { - "elm": "0.19.1", + "elm": "0.19.2", "elm-format": "0.8.8", "elm-json": "0.2.13" } @@ -286,7 +286,7 @@ describe("init", () => { expect(json).toMatchInlineSnapshot(` { "tools": { - "elm": "0.19.1", + "elm": "0.19.2", "elm-format": "0.8.8", "elm-json": "0.2.13" } @@ -330,7 +330,7 @@ describe("init", () => { expect(json).toMatchInlineSnapshot(` { "tools": { - "elm": "0.19.1" + "elm": "0.19.2" } } diff --git a/tests/Tools.test.ts b/tests/Tools.test.ts index 5aa9fe2..c3eed07 100644 --- a/tests/Tools.test.ts +++ b/tests/Tools.test.ts @@ -94,7 +94,8 @@ describe("tools", () => { ⧙elm⧘ ⧙[⧘ ⧙]⧘ ⧙0.19.0⧘ - ⧙[⧘▊⧙]⧘ ⧙0.19.1⧘ + ⧙[⧘ ⧙]⧘ ⧙0.19.1⧘ + ⧙[⧘▊⧙]⧘ ⧙0.19.2⧘ ⧙elm-format⧘ ⧙[⧘ ⧙]⧘ ⧙0.8.1⧘ @@ -143,6 +144,7 @@ describe("tools", () => { ⧙elm⧘ ⧙[⧘ ⧙]⧘ ⧙0.19.0⧘ ⧙[⧘ ⧙]⧘ ⧙0.19.1⧘ + ⧙[⧘ ⧙]⧘ ⧙0.19.2⧘ ⧙elm-format⧘ ⧙[⧘ ⧙]⧘ ⧙0.8.1⧘ @@ -197,6 +199,7 @@ describe("tools", () => { ⧙elm⧘ ⧙[⧘▊⧙]⧘ ⧙0.19.0⧘ ⧙[⧘ ⧙]⧘ ⧙0.19.1⧘ + ⧙[⧘ ⧙]⧘ ⧙0.19.2⧘ ⧙elm-format⧘ ⧙[⧘ ⧙]⧘ ⧙0.8.1⧘ @@ -246,6 +249,7 @@ describe("tools", () => { ⧙elm⧘ ⧙[⧘ ⧙]⧘ ⧙0.19.0⧘ ⧙[⧘ ⧙]⧘ ⧙0.19.1⧘ + ⧙[⧘ ⧙]⧘ ⧙0.19.2⧘ ⧙elm-format⧘ ⧙[⧘ ⧙]⧘ ⧙0.8.1⧘ @@ -293,6 +297,7 @@ describe("tools", () => { ⧙elm⧘ ⧙[⧘ ⧙]⧘ ⧙0.19.0⧘ ⧙[⧘ ⧙]⧘ ⧙0.19.1⧘ + ⧙[⧘ ⧙]⧘ ⧙0.19.2⧘ ⧙elm-format⧘ ⧙[⧘ ⧙]⧘ ⧙0.8.1⧘ @@ -352,6 +357,7 @@ describe("tools", () => { ⧙elm⧘ ⧙[⧘ ⧙]⧘ ⧙0.19.0⧘ ⧙[⧘ ⧙]⧘ ⧙0.19.1⧘ + ⧙[⧘ ⧙]⧘ ⧙0.19.2⧘ ⧙elm-format⧘ ⧙[⧘ ⧙]⧘ ⧙0.8.1⧘ @@ -408,6 +414,7 @@ describe("tools", () => { ⧙elm⧘ ⧙[⧘ ⧙]⧘ ⧙0.19.0⧘ ⧙[⧘ ⧙]⧘ ⧙0.19.1⧘ + ⧙[⧘ ⧙]⧘ ⧙0.19.2⧘ ⧙elm-format⧘ ⧙[⧘ ⧙]⧘ ⧙0.8.1⧘ @@ -469,6 +476,7 @@ describe("tools", () => { ⧙elm⧘ ⧙[⧘⧙x⧘⧙]⧘ 0.19.0 ⧙[⧘ ⧙]⧘ ⧙0.19.1⧘ + ⧙[⧘ ⧙]⧘ ⧙0.19.2⧘ ⧙elm-format⧘ ⧙[⧘ ⧙]⧘ ⧙0.8.1⧘ @@ -527,6 +535,7 @@ describe("tools", () => { ⧙elm⧘ ⧙[⧘ ⧙]⧘ ⧙0.19.0⧘ ⧙[⧘ ⧙]⧘ ⧙0.19.1⧘ + ⧙[⧘ ⧙]⧘ ⧙0.19.2⧘ ⧙elm-format⧘ ⧙[⧘ ⧙]⧘ ⧙0.8.1⧘ @@ -575,7 +584,8 @@ describe("tools", () => { ⧙elm⧘ ⧙[⧘ ⧙]⧘ ⧙0.19.0⧘ - ⧙[⧘⧙x⧘⧙]⧘ 0.19.1 + ⧙[⧘ ⧙]⧘ ⧙0.19.1⧘ + ⧙[⧘⧙x⧘⧙]⧘ 0.19.2 ⧙elm-format⧘ ⧙[⧘ ⧙]⧘ ⧙0.8.1⧘ @@ -613,7 +623,7 @@ describe("tools", () => { expect(result1.json).toMatchInlineSnapshot(` { "tools": { - "elm": "0.19.1" + "elm": "0.19.2" } } @@ -638,7 +648,8 @@ describe("tools", () => { ⧙elm⧘ ⧙[⧘ ⧙]⧘ ⧙0.19.0⧘ - ⧙[⧘▊⧙]⧘ ⧙0.19.1⧘ + ⧙[⧘ ⧙]⧘ ⧙0.19.1⧘ + ⧙[⧘▊⧙]⧘ ⧙0.19.2⧘ ⧙elm-format⧘ ⧙[⧘ ⧙]⧘ ⧙0.8.1⧘ @@ -745,7 +756,8 @@ describe("tools", () => { ⧙elm⧘ ⧙[⧘ ⧙]⧘ ⧙0.19.0⧘ - ⧙[⧘⧙x⧘⧙]⧘ 0.19.1 + ⧙[⧘ ⧙]⧘ ⧙0.19.1⧘ + ⧙[⧘⧙x⧘⧙]⧘ 0.19.2 ⧙elm-format⧘ ⧙[⧘ ⧙]⧘ ⧙0.8.1⧘ diff --git a/tests/getExecutable.test.ts b/tests/getExecutable.test.ts index 252245a..7daae0f 100644 --- a/tests/getExecutable.test.ts +++ b/tests/getExecutable.test.ts @@ -54,7 +54,7 @@ describe("getExecutable", () => { }) ).rejects.toThrowErrorMatchingInlineSnapshot(` No elm versions matching: ^1337.1.0 - Known versions: 0.19.0, 0.19.1 + Known versions: 0.19.0, 0.19.1, 0.19.2 `)); test("unknown exact version", () => @@ -66,7 +66,7 @@ describe("getExecutable", () => { }) ).rejects.toThrowErrorMatchingInlineSnapshot(` No elm versions matching: =0.1.0 - Known versions: 0.19.0, 0.19.1 + Known versions: 0.19.0, 0.19.1, 0.19.2 `)); test("future prereleases should not match", () => { @@ -159,7 +159,7 @@ describe("getExecutable", () => { } else { // eslint-disable-next-line jest/no-conditional-expect return expect(promise).rejects.toThrowErrorMatchingInlineSnapshot( - `A part of this path exist, but is not a directory (which it needs to be): /Users/you/project/fixtures/getExecutable/folder-that-actually-is-a-file/elm-tooling/elm/0.19.1` + `A part of this path exist, but is not a directory (which it needs to be): /Users/you/project/fixtures/getExecutable/folder-that-actually-is-a-file/elm-tooling/elm/0.19.2` ); } }); From 97bc2471f2db0113e1ec3ab7d5b9d51f7b819937 Mon Sep 17 00:00:00 2001 From: Simon Lydell Date: Mon, 6 Jul 2026 11:22:46 +0200 Subject: [PATCH 3/4] Update TestAllDownloads.expected.txt --- scripts/TestAllDownloads.expected.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/TestAllDownloads.expected.txt b/scripts/TestAllDownloads.expected.txt index d2c8a7c..8ea620a 100644 --- a/scripts/TestAllDownloads.expected.txt +++ b/scripts/TestAllDownloads.expected.txt @@ -47,6 +47,9 @@ TestAllDownloads/ } 2/ elm-tooling/ + elm/ + 0.19.2/ + elm elm-format/ 0.8.3/ elm-format @@ -59,6 +62,7 @@ TestAllDownloads/ elm-tooling.json { "tools": { + "elm": "0.19.2", "elm-format": "0.8.3", "elm-json": "0.2.13", "elm-test-rs": "1.2.2" From 8c1bde1adade698678b153f8ae03436b3ac3992c Mon Sep 17 00:00:00 2001 From: Simon Lydell Date: Mon, 6 Jul 2026 11:27:31 +0200 Subject: [PATCH 4/4] Update snapshot for Windows --- tests/getExecutable.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/getExecutable.test.ts b/tests/getExecutable.test.ts index 7daae0f..895f1bc 100644 --- a/tests/getExecutable.test.ts +++ b/tests/getExecutable.test.ts @@ -154,7 +154,7 @@ describe("getExecutable", () => { if (IS_WINDOWS) { // eslint-disable-next-line jest/no-conditional-expect return expect(promise).rejects.toThrowErrorMatchingInlineSnapshot( - `ENOTDIR: not a directory, mkdir '/Users/you/project/fixtures/getExecutable/folder-that-actually-is-a-file/elm-tooling/elm/0.19.1'` + `ENOTDIR: not a directory, mkdir '/Users/you/project/fixtures/getExecutable/folder-that-actually-is-a-file/elm-tooling/elm/0.19.2'` ); } else { // eslint-disable-next-line jest/no-conditional-expect