Skip to content

Commit ab69d2c

Browse files
author
Curtis Schlak
committed
Use @curtissimo/elm-hot with @parcel/transformer-elm
Remove the dependency on the unmaintained elm-hot package.
1 parent 73f691d commit ab69d2c

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

packages/core/integration-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"@babel/plugin-syntax-module-attributes": "^7.10.4",
2020
"@babel/preset-env": "^7.22.14",
2121
"@babel/preset-typescript": "^7.22.11",
22+
"@curtissimo/elm-hot": "^1.2.0",
2223
"@mdx-js/react": "^1.6.22",
2324
"@types/react": "^19.1.3",
2425
"@types/react-dom": "^19.1.3",
@@ -29,7 +30,6 @@
2930
"cross-env": "^7.0.3",
3031
"date-fns": "^4.1.0",
3132
"elm": "^0.19.1-6",
32-
"elm-hot": "^1.1.6",
3333
"esbuild-register": "^3.6.0",
3434
"exif-reader": "^2.0.2",
3535
"get-port": "^5.1.1",

packages/transformers/elm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
"parcel": "^2.16.3"
2121
},
2222
"dependencies": {
23+
"@curtissimo/elm-hot": "^1.2.0",
2324
"@parcel/diagnostic": "2.16.3",
2425
"@parcel/plugin": "2.16.3",
2526
"command-exists": "^1.2.9",
2627
"cross-spawn": "^7.0.6",
27-
"elm-hot": "^1.1.6",
2828
"node-elm-compiler": "^5.0.6",
2929
"nullthrows": "^1.1.1",
3030
"terser": "^5.39.0"

packages/transformers/elm/src/ElmTransformer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import ThrowableDiagnostic, {md} from '@parcel/diagnostic';
88
// $FlowFixMe
99
import elm from 'node-elm-compiler';
1010
// $FlowFixMe
11-
import elmHMR from 'elm-hot';
11+
import elmHMR from '@curtissimo/elm-hot';
1212

1313
import {load, elmBinaryPath} from './loadConfig';
1414

yarn.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1682,6 +1682,13 @@ __metadata:
16821682
languageName: node
16831683
linkType: hard
16841684

1685+
"@curtissimo/elm-hot@npm:^1.2.0":
1686+
version: 1.2.0
1687+
resolution: "@curtissimo/elm-hot@npm:1.2.0"
1688+
checksum: 10c0/7c0ed70c87ea297c669f153728bb483164c28fb23bf4cd01b2cb783b9d389179fb2560110478bfe217973fa28a134d9a0019be9945314af687b918e92b27300a
1689+
languageName: node
1690+
linkType: hard
1691+
16851692
"@elm_binaries/darwin_arm64@npm:0.19.1-0":
16861693
version: 0.19.1-0
16871694
resolution: "@elm_binaries/darwin_arm64@npm:0.19.1-0"
@@ -3703,6 +3710,7 @@ __metadata:
37033710
"@babel/plugin-syntax-module-attributes": "npm:^7.10.4"
37043711
"@babel/preset-env": "npm:^7.22.14"
37053712
"@babel/preset-typescript": "npm:^7.22.11"
3713+
"@curtissimo/elm-hot": "npm:^1.2.0"
37063714
"@mdx-js/react": "npm:^1.6.22"
37073715
"@types/react": "npm:^19.1.3"
37083716
"@types/react-dom": "npm:^19.1.3"
@@ -3713,7 +3721,6 @@ __metadata:
37133721
cross-env: "npm:^7.0.3"
37143722
date-fns: "npm:^4.1.0"
37153723
elm: "npm:^0.19.1-6"
3716-
elm-hot: "npm:^1.1.6"
37173724
esbuild-register: "npm:^3.6.0"
37183725
exif-reader: "npm:^2.0.2"
37193726
get-port: "npm:^5.1.1"
@@ -4742,11 +4749,11 @@ __metadata:
47424749
version: 0.0.0-use.local
47434750
resolution: "@parcel/transformer-elm@workspace:packages/transformers/elm"
47444751
dependencies:
4752+
"@curtissimo/elm-hot": "npm:^1.2.0"
47454753
"@parcel/diagnostic": "npm:2.16.3"
47464754
"@parcel/plugin": "npm:2.16.3"
47474755
command-exists: "npm:^1.2.9"
47484756
cross-spawn: "npm:^7.0.6"
4749-
elm-hot: "npm:^1.1.6"
47504757
node-elm-compiler: "npm:^5.0.6"
47514758
nullthrows: "npm:^1.1.1"
47524759
terser: "npm:^5.39.0"
@@ -9640,13 +9647,6 @@ __metadata:
96409647
languageName: node
96419648
linkType: hard
96429649

9643-
"elm-hot@npm:^1.1.6":
9644-
version: 1.1.6
9645-
resolution: "elm-hot@npm:1.1.6"
9646-
checksum: 10c0/196a1fc2eabfa1f1c74540624a8f656b98852629af1b5f2bd1198dd2d5146e2184c1bf67d939e2348c90c854d9298daf591d3b41e470234ec1bbe11489992a60
9647-
languageName: node
9648-
linkType: hard
9649-
96509650
"elm@npm:^0.19.1-6":
96519651
version: 0.19.1-6
96529652
resolution: "elm@npm:0.19.1-6"

0 commit comments

Comments
 (0)