Skip to content

Commit 1e81e8a

Browse files
yyuan-squareupadrw
andauthored
Upgrade Node.js 16 to 24 (#3480)
* upgrade node.js and pass NODE_OPTION to package.json so that webpack still works * to add the changes in package.json --------- Co-authored-by: Andrew (Paradi) Alexander <[email protected]>
1 parent 915e7d2 commit 1e81e8a

File tree

7 files changed

+14
-8
lines changed

7 files changed

+14
-8
lines changed
File renamed without changes.

bin/corepack

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.node-16.13.0.pkg
1+
.node-24.10.0.pkg

bin/node

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.node-16.13.0.pkg
1+
.node-24.10.0.pkg

bin/npm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.node-16.13.0.pkg
1+
.node-24.10.0.pkg

bin/npx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.node-16.13.0.pkg
1+
.node-24.10.0.pkg

misk-admin/web/tabs/database/miskTab.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@
44
"port": "3202",
55
"rawGitginore": "",
66
"rawIndex": false,
7-
"rawPackageJson": {},
7+
"rawPackageJson": {
8+
"scripts": {
9+
"lib": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
10+
"dev-lib": "cross-env NODE_ENV=development NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
11+
"start": "npm run-script prebuild && cross-env NODE_ENV=development NODE_OPTIONS=\"--openssl-legacy-provider\" webpack-dev-server"
12+
}
13+
},
814
"rawTsconfig": {
915
"declaration": false
1016
},

misk-admin/web/tabs/database/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
"dev-build": "npm run-script dev-lib ",
1010
"clean": "rm -rf demo lib",
1111
"clean-build-files": "rm .hash package-lock.json package.json tsconfig.json tslint.json webpack.config.js",
12-
"lib": "cross-env NODE_ENV=production webpack",
13-
"dev-lib": "cross-env NODE_ENV=development webpack",
12+
"lib": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
13+
"dev-lib": "cross-env NODE_ENV=development NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
1414
"lint": "prettier --write --config package.json \".{/src/**/,/}*.{md,css,scss,less,json,js,jsx,ts,tsx}\"",
1515
"prebuild": "miskweb prebuild && npm run-script lint",
1616
"reinstall": "rm -rf node_modules && npm run-script install",
17-
"start": "npm run-script prebuild && cross-env NODE_ENV=development webpack-dev-server",
17+
"start": "npm run-script prebuild && cross-env NODE_ENV=development NODE_OPTIONS=\"--openssl-legacy-provider\" webpack-dev-server",
1818
"test": "jest --passWithNoTests --maxWorkers=2",
1919
"zip": "tar --exclude='.gitignore' --exclude='.old_build_files' --exclude='package.json' --exclude='package-lock.json' --exclude='prettier.config.js' --exclude='tsconfig.json' --exclude='tslint.json' --exclude='webpack.config.js' --exclude='yarn.lock' --exclude='demo' --exclude='lib' --exclude='.DS_Store' --exclude='*.log' --exclude='node_modules' --exclude='database.tgz' -czvf database.tgz ./"
2020
},

0 commit comments

Comments
 (0)