Skip to content

Commit d2049f9

Browse files
committed
downgrade to node20 to circumvent cross compilation issues in combination with pkg
yao-pkg/pkg#87 we could also move from pkg to node sea, or switch to deno that has standalone executables built-in as well (deno compile)
1 parent 9100d77 commit d2049f9

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@
2323
"gtt": "dist/gtt.cjs"
2424
},
2525
"engines": {
26-
"node": ">=22"
26+
"node": ">=20 <21"
2727
},
2828
"pkg": {
2929
"scripts": "dist/gtt.cjs",
3030
"targets": [
31-
"node22-linux-x64",
32-
"node22-macos-x64",
33-
"node22-win-x64"
31+
"node20-linux-x64",
32+
"node20-macos-x64",
33+
"node20-win-x64"
3434
]
3535
},
3636
"author": "kriskbx",

0 commit comments

Comments
 (0)