Merge pull request #27286 from backstage/rugvip/node22

Bump to Node.js 20 & 22
This commit is contained in:
Patrik Oldsberg
2024-10-22 22:29:20 +02:00
committed by GitHub
35 changed files with 100 additions and 81 deletions
+1 -1
View File
@@ -36,6 +36,6 @@
},
"devDependencies": {
"@backstage/cli": "workspace:^",
"@types/node": "^18.17.8"
"@types/node": "^20.16.0"
}
}
+1 -1
View File
@@ -184,7 +184,7 @@
"@types/fs-extra": "^11.0.0",
"@types/http-proxy": "^1.17.4",
"@types/inquirer": "^8.1.3",
"@types/node": "^18.17.8",
"@types/node": "^20.16.0",
"@types/npm-packlist": "^3.0.0",
"@types/recursive-readdir": "^2.2.0",
"@types/rollup-plugin-peer-deps-external": "^2.2.0",
+1 -1
View File
@@ -52,6 +52,6 @@
"devDependencies": {
"@backstage/cli": "workspace:^",
"@types/jscodeshift": "^0.12.0",
"@types/node": "^18.17.8"
"@types/node": "^20.16.0"
}
}
+1 -1
View File
@@ -59,7 +59,7 @@
"@types/command-exists": "^1.2.0",
"@types/fs-extra": "^11.0.0",
"@types/inquirer": "^8.1.3",
"@types/node": "^18.17.8",
"@types/node": "^20.16.0",
"@types/recursive-readdir": "^2.2.0",
"msw": "^1.0.0",
"nodemon": "^3.0.1"
@@ -3,7 +3,7 @@
"version": "1.0.0",
"private": true,
"engines": {
"node": "18 || 20"
"node": "20 || 22"
},
"scripts": {
"dev": "yarn workspaces foreach -A --include backend --include app --parallel -v -i run start",
+1 -1
View File
@@ -47,7 +47,7 @@
"devDependencies": {
"@backstage/cli": "workspace:^",
"@types/fs-extra": "^11.0.0",
"@types/node": "^18.17.8",
"@types/node": "^20.16.0",
"nodemon": "^3.0.1"
}
}
+5 -1
View File
@@ -531,7 +531,11 @@ async function testBackendStart(appDir: string, ...args: string[]) {
!l.includes(
'ExperimentalWarning: `globalPreload` is planned for removal in favor of `initialize`.', // Node 18
) &&
!l.includes('node --trace-warnings ...'),
!l.includes(
'DeprecationWarning: The `punycode` module is deprecated.', // Node 22
) &&
!l.includes('node --trace-warnings ...') &&
!l.includes('node --trace-deprecation ...'),
);
};
+1 -1
View File
@@ -82,7 +82,7 @@
"@backstage/cli": "workspace:^",
"@backstage/types": "workspace:^",
"@types/is-glob": "^4.0.2",
"@types/node": "^18.17.8",
"@types/node": "^20.16.0",
"@types/prettier": "^2.0.0"
},
"peerDependencies": {
+1 -1
View File
@@ -62,7 +62,7 @@
"@types/commander": "^2.12.2",
"@types/fs-extra": "^11.0.0",
"@types/http-proxy": "^1.17.4",
"@types/node": "^18.17.8",
"@types/node": "^20.16.0",
"@types/serve-handler": "^6.1.0",
"@types/webpack-env": "^1.15.3",
"find-process": "^1.4.5",