Skip to content

Commit

Permalink
chore: upgrade Node.js to v22
Browse files Browse the repository at this point in the history
  • Loading branch information
bludnic committed Dec 13, 2024
1 parent 5a2d158 commit e542cef
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .moon/toolchain.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
$schema: "https://moonrepo.dev/schemas/toolchain.json"

node:
version: "20.18.0"
version: "22.12"
packageManager: "pnpm"
pnpm:
version: "9.12.0"
version: "9.15"

typescript:
syncProjectReferences: true
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Requirements

```bash
# NodeJS v20 or higher
# NodeJS v22.12 or higher
node -v

# `pnpm` must be installed
# PNPM v9.15 or higher
pnpm -v

# `moonrepo` must be installed
Expand Down
12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@
"pro/*"
],
"engines": {
"node": "20.18.0"
"node": "~22.12"
},
"bin": {
"dev": "./bin/dev.sh",
"cli": "./bin/cli.sh"
},
"packageManager": "[email protected]",
"devDependencies": {
"@changesets/cli": "^2.27.10",
"@moonrepo/cli": "^1.30.5",
"execa": "^9.5.2",
"prettier": "^3.4.2",
"resolve-tspaths": "^0.8.23",
Expand All @@ -33,9 +35,5 @@
"release": "moon run :build && moon run :dts && ./scripts/release.mjs",
"ui:sync": "moon run frontend:build && rm -rf apps/cli/frontend && cp -r pro/frontend/dist apps/cli/frontend && git add apps/cli/frontend",
"debug": "ts-node --transpile-only packages/cli/src/index.ts trade debug"
},
"bin": {
"dev": "./bin/dev.sh",
"cli": "./bin/cli.sh"
}
}

0 comments on commit e542cef

Please sign in to comment.