File tree 8 files changed +18
-18
lines changed
8 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ parameters:
24
24
# Windows needs its own cache key because binaries in node_modules are different.
25
25
# See https://circleci.com/docs/2.0/caching/#restoring-cache for how prefixes work in CircleCI.
26
26
var_1 : &cache_key v1-angular_devkit-14.20-{{ checksum "yarn.lock" }}
27
- var_1_win : &cache_key_win v1-angular_devkit-win-16.10 -{{ checksum "yarn.lock" }}
27
+ var_1_win : &cache_key_win v1-angular_devkit-win-16.13 -{{ checksum "yarn.lock" }}
28
28
var_3 : &default_nodeversion '14.20'
29
29
var_3_major : &default_nodeversion_major '14'
30
30
# The major version of node toolchains. See tools/toolchain_info.bzl
@@ -114,8 +114,8 @@ commands:
114
114
setup_windows :
115
115
steps :
116
116
- initialize_env
117
- - run : nvm install 16.10
118
- - run : nvm use 16.10
117
+ - run : nvm install 16.13
118
+ - run : nvm use 16.13
119
119
- run : npm install -g yarn@1.22.10
120
120
- run : node --version
121
121
- run : yarn --version
@@ -421,15 +421,15 @@ workflows:
421
421
matrix :
422
422
alias : e2e-cli
423
423
parameters :
424
- nodeversion : ['14.20', '16.10']
424
+ nodeversion : ['14.20', '16.13', '18. 10']
425
425
subset : *all_e2e_subsets
426
426
requires :
427
427
- build
428
428
<< : *only_release_branches
429
429
430
430
- e2e-tests :
431
431
name : e2e-snapshots-<< matrix.subset >>
432
- nodeversion : ' 16.10 '
432
+ nodeversion : ' 16.13 '
433
433
matrix :
434
434
parameters :
435
435
subset : *all_e2e_subsets
Original file line number Diff line number Diff line change 1
1
# Engine versions to stamp in a release package.json
2
- RELEASE_ENGINES_NODE = "^14.20.0 || >=16 .10.0"
2
+ RELEASE_ENGINES_NODE = "^14.20.0 || ^16.13.0 || >=18 .10.0"
3
3
RELEASE_ENGINES_NPM = "^6.11.0 || ^7.5.6 || >=8.0.0"
4
4
RELEASE_ENGINES_YARN = ">= 1.13.0"
5
5
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ To get started locally, follow these instructions:
6
6
7
7
1 . If you haven't done it already, [ make a fork of this repo] ( https://github.com/angular/angular-cli/fork ) .
8
8
1 . Clone to your local computer using ` git ` .
9
- 1 . Make sure that you have Node ` v14.20 ` , or ` v16 .10` installed. See instructions [ here] ( https://nodejs.org/en/download/ ) .
9
+ 1 . Make sure that you have Node ` v14.20 ` , ` v16.13 ` or ` v18 .10` installed. See instructions [ here] ( https://nodejs.org/en/download/ ) .
10
10
1 . Make sure that you have ` yarn ` installed; see instructions [ here] ( https://yarnpkg.com/lang/en/docs/install/ ) .
11
11
1 . Run ` yarn ` (no arguments) from the root of your clone of this project to install dependencies.
12
12
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ function loadPackageJson(p: string) {
85
85
// Overwrite engines to a common default.
86
86
case 'engines' :
87
87
pkg [ 'engines' ] = {
88
- 'node' : '^14.20.0 || >=16 .10.0' ,
88
+ 'node' : '^14.20.0 || ^16.13.0 || >=18 .10.0' ,
89
89
'npm' : '^6.11.0 || ^7.5.6 || >=8.0.0' ,
90
90
'yarn' : '>= 1.13.0' ,
91
91
} ;
Original file line number Diff line number Diff line change 41
41
"url" : " https://github.com/angular/angular-cli.git"
42
42
},
43
43
"engines" : {
44
- "node" : " ^14.20.0 || ^16.10.0" ,
44
+ "node" : " ^14.20.0 || ^16.13.0 || ^18. 10.0" ,
45
45
"yarn" : " >=1.21.1 <2" ,
46
46
"npm" : " Please use yarn instead of NPM to install dependencies"
47
47
},
Original file line number Diff line number Diff line change 24
24
// These may not support ES2015 features such as const/let/async/await/etc.
25
25
// These would then crash with a hard to diagnose error message.
26
26
var version = process . versions . node . split ( '.' ) . map ( ( part ) => Number ( part ) ) ;
27
- if ( version [ 0 ] % 2 === 1 && version [ 0 ] > 16 ) {
27
+ if ( version [ 0 ] % 2 === 1 ) {
28
28
// Allow new odd numbered releases with a warning (currently v17+)
29
29
console . warn (
30
30
'Node.js version ' +
@@ -37,16 +37,16 @@ if (version[0] % 2 === 1 && version[0] > 16) {
37
37
require ( './bootstrap' ) ;
38
38
} else if (
39
39
version [ 0 ] < 14 ||
40
- version [ 0 ] === 15 ||
41
- ( version [ 0 ] === 14 && version [ 1 ] < 15 ) ||
42
- ( version [ 0 ] === 16 && version [ 1 ] < 10 )
40
+ ( version [ 0 ] === 14 && version [ 1 ] < 20 ) ||
41
+ ( version [ 0 ] === 16 && version [ 1 ] < 13 ) ||
42
+ ( version [ 0 ] === 18 && version [ 1 ] < 10 )
43
43
) {
44
- // Error and exit if less than 14.20 or 15.x or less than 16 .10
44
+ // Error and exit if less than 14.20, 16.13 or 18 .10
45
45
console . error (
46
46
'Node.js version ' +
47
47
process . version +
48
48
' detected.\n' +
49
- 'The Angular CLI requires a minimum Node.js version of either v14.20, or v16 .10.\n\n' +
49
+ 'The Angular CLI requires a minimum Node.js version of either v14.20, v16.13 or v18 .10.\n\n' +
50
50
'Please update your Node.js version or visit https://nodejs.org/ for additional instructions.\n' ,
51
51
) ;
52
52
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ interface PartialPackageInfo {
22
22
/**
23
23
* Major versions of Node.js that are officially supported by Angular.
24
24
*/
25
- const SUPPORTED_NODE_MAJORS = [ 14 , 16 ] ;
25
+ const SUPPORTED_NODE_MAJORS = [ 14 , 16 , 18 ] ;
26
26
27
27
const PACKAGE_PATTERNS = [
28
28
/ ^ @ a n g u l a r \/ .* / ,
@@ -118,7 +118,7 @@ export class VersionCommandModule extends CommandModule implements CommandModule
118
118
`
119
119
Angular CLI: ${ ngCliVersion }
120
120
Node: ${ process . versions . node } ${ unsupportedNodeVersion ? ' (Unsupported)' : '' }
121
- Package Manager: ${ packageManager . name } ${ packageManager . version ?? '<error>' }
121
+ Package Manager: ${ packageManager . name } ${ packageManager . version ?? '<error>' }
122
122
OS: ${ process . platform } ${ process . arch }
123
123
124
124
Angular: ${ angularCoreVersion }
Original file line number Diff line number Diff line change 35
35
}
36
36
},
37
37
"engines" : {
38
- "node" : " ^14.20.0 || >=16 .10.0" ,
38
+ "node" : " ^14.20.0 || ^16.13.0 || >=18 .10.0" ,
39
39
"npm" : " ^6.11.0 || ^7.5.6 || >=8.0.0" ,
40
40
"yarn" : " >= 1.13.0"
41
41
}
You can’t perform that action at this time.
0 commit comments