Skip to content

Commit

Permalink
[PFX-802] Test node 22 (#957)
Browse files Browse the repository at this point in the history
* chore: prevent deprecation log

* chore: update message

* chore: package-lock

* chore: set engine to node 22

* chore: added nvmrc and added node 20 to engine
  • Loading branch information
jpina1-godaddy authored Nov 11, 2024
1 parent 7761a5c commit f211253
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 4 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22
78 changes: 75 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@
}
},
"engines": {
"npm": ">=8.0.0"
"npm": ">=8.0.0",
"node": ">=20"
},
"workspaces": [
"./packages/*",
Expand Down
3 changes: 3 additions & 0 deletions packages/create-gasket-app/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ const gasketBin = program


async function main() {
// Suppress deprecation warning for punycode in node 22
// @ts-ignore
process.noDeprecation = true;
const { command, hidden, isDefault } = processCommand(createCommand);
await warnIfOutdated(pkg.name, pkg.version);
gasketBin.addCommand(command, { hidden, isDefault });
Expand Down

0 comments on commit f211253

Please sign in to comment.