Skip to content

Commit

Permalink
build: update node.js engines version to be more explicate about v20 …
Browse files Browse the repository at this point in the history
…support (#52448)

This commit adds Node.js 20 as explicitly supported version to match the Angular CLI engines.

See: angular/angular-cli#26173

PR Close #52448
  • Loading branch information
alan-agius4 authored and alxhub committed Oct 31, 2023
1 parent c5980d6 commit 19a426d
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"license": "MIT",
"//engines-comment": "Keep this in sync with /aio/package.json and /aio/tools/examples/shared/package.json",
"engines": {
"node": "^18.13.0 || >=20.0.0",
"node": "^18.13.0 || ^20.9.0",
"yarn": ">=1.22.4 <2",
"npm": "Please use yarn instead of NPM to install dependencies"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/animations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "angular",
"license": "MIT",
"engines": {
"node": ">=18.13.0"
"node": "^18.13.0 || >=20.9.0"
},
"dependencies": {
"tslib": "^2.3.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/bazel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "angular",
"license": "MIT",
"engines": {
"node": ">=18.13.0"
"node": "^18.13.0 || >=20.9.0"
},
"bin": {
"ngc-wrapped": "./src/ngc-wrapped/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "angular",
"license": "MIT",
"engines": {
"node": ">=18.13.0"
"node": "^18.13.0 || >=20.9.0"
},
"locales": "locales",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/compiler-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
],
"license": "MIT",
"engines": {
"node": ">=18.13.0"
"node": "^18.13.0 || >=20.9.0"
},
"bugs": {
"url": "https://github.com/angular/angular/issues"
Expand Down
2 changes: 1 addition & 1 deletion packages/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "angular",
"license": "MIT",
"engines": {
"node": ">=18.13.0"
"node": "^18.13.0 || >=20.9.0"
},
"dependencies": {
"tslib": "^2.3.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "angular",
"license": "MIT",
"engines": {
"node": ">=18.13.0"
"node": "^18.13.0 || >=20.9.0"
},
"exports": {
"./schematics/*": {
Expand Down
2 changes: 1 addition & 1 deletion packages/elements/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "angular",
"license": "MIT",
"engines": {
"node": ">=18.13.0"
"node": "^18.13.0 || >=20.9.0"
},
"dependencies": {
"tslib": "^2.3.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/forms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "angular",
"license": "MIT",
"engines": {
"node": ">=18.13.0"
"node": "^18.13.0 || >=20.9.0"
},
"dependencies": {
"tslib": "^2.3.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/language-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "angular",
"license": "MIT",
"engines": {
"node": ">=18.13.0"
"node": "^18.13.0 || >=20.9.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/localize/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"author": "angular",
"license": "MIT",
"engines": {
"node": ">=18.13.0"
"node": "^18.13.0 || >=20.9.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-browser-dynamic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "angular",
"license": "MIT",
"engines": {
"node": ">=18.13.0"
"node": "^18.13.0 || >=20.9.0"
},
"dependencies": {
"tslib": "^2.3.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "angular",
"license": "MIT",
"engines": {
"node": ">=18.13.0"
"node": "^18.13.0 || >=20.9.0"
},
"dependencies": {
"tslib": "^2.3.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "angular",
"license": "MIT",
"engines": {
"node": ">=18.13.0"
"node": "^18.13.0 || >=20.9.0"
},
"peerDependencies": {
"@angular/animations": "0.0.0-PLACEHOLDER",
Expand Down
2 changes: 1 addition & 1 deletion packages/router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"author": "angular",
"license": "MIT",
"engines": {
"node": ">=18.13.0"
"node": "^18.13.0 || >=20.9.0"
},
"bugs": {
"url": "https://github.com/angular/angular/issues"
Expand Down
2 changes: 1 addition & 1 deletion packages/service-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "angular",
"license": "MIT",
"engines": {
"node": ">=18.13.0"
"node": "^18.13.0 || >=20.9.0"
},
"exports": {
"./ngsw-worker.js": {
Expand Down
2 changes: 1 addition & 1 deletion packages/upgrade/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "angular",
"license": "MIT",
"engines": {
"node": ">=18.13.0"
"node": "^18.13.0 || >=20.9.0"
},
"dependencies": {
"tslib": "^2.3.0"
Expand Down

0 comments on commit 19a426d

Please sign in to comment.