upgraded build script to node 20

This commit is contained in:
=
2025-09-18 18:01:47 -07:00
parent 90bd1927e2
commit 7cfdc6069a
3 changed files with 14 additions and 2 deletions

View File

@@ -11,11 +11,11 @@ if ! command -v nvm &> /dev/null; then
fi
# Use nvm to set the required Node.js version
nvm use v18.17.0
nvm use v20
# Check if nvm use was successful
if [ $? -ne 0 ]; then
echo "Error: Failed to switch to Node.js v18.17.0. Deployment aborted."
echo "Error: Failed to switch to Node.js v20. Deployment aborted."
exit 1
fi

View File

@@ -42,6 +42,7 @@
"@testing-library/jest-dom": "^6.8.0",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/babel__traverse": "^7.28.0",
"@types/lodash": "^4.17.15",
"@types/node": "^20",
"@types/react": "18.2.48",
@@ -5409,6 +5410,16 @@
"license": "MIT",
"peer": true
},
"node_modules/@types/babel__traverse": {
"version": "7.28.0",
"resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.28.0.tgz",
"integrity": "sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/types": "^7.28.2"
}
},
"node_modules/@types/body-parser": {
"version": "1.19.6",
"resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.6.tgz",

View File

@@ -45,6 +45,7 @@
"@testing-library/jest-dom": "^6.8.0",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/babel__traverse": "^7.28.0",
"@types/lodash": "^4.17.15",
"@types/node": "^20",
"@types/react": "18.2.48",