Skip to content

Commit

Permalink
Revert "chore: update build target to nodejs 20"
Browse files Browse the repository at this point in the history
This reverts commit 8c6a146.
The feature branch for nodejs 20 is still seemingly stuck in limbo.
  • Loading branch information
thelindat committed Aug 8, 2024
1 parent 34a126b commit 318b4c1
Show file tree
Hide file tree
Showing 4 changed files with 133 additions and 150 deletions.
2 changes: 1 addition & 1 deletion build.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ build({
dropLabels: ['DEV'],
legalComments: 'inline',
platform: 'node',
target: ['node20.12.2'],
target: ['node16'],
format: 'cjs',
logLevel: 'info',
});
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"scripts": {
"build": "pnpm build:root && lerna run build",
"build:root": "node build.js && cd lib && tsc",
"watch": "esbuild --watch --bundle --platform=node --target=node20.12.2 src/index.ts --outfile=dist/build.js",
"watch": "esbuild --watch --bundle --platform=node --target=node16.9.1 src/index.ts --outfile=dist/build.js",
"lib": "tsc --project lib/tsconfig.lib.json",
"bootstrap": "lerna bootstrap",
"postinstall": "patch-package && pnpm bootstrap"
Expand All @@ -32,9 +32,9 @@
},
"devDependencies": {
"@citizenfx/server": "2.0.5132-1",
"@types/node": "^20.12.2",
"@types/node": "^17.0.45",
"prettier": "^2.8.8",
"esbuild": "^0.23.0",
"esbuild": "^0.21.5",
"lerna": "^4.0.0",
"postinstall-postinstall": "^2.1.0",
"pretty-quick": "^3.3.1",
Expand Down
Loading

0 comments on commit 318b4c1

Please sign in to comment.