mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-16 10:33:43 +08:00
build: update minimum npm/yarn engine versions for built packages (#15567)
The `peerDependenciesMeta` package.json field is becoming increasingly prevalent. The minimum versions in this change provide support for the field and mitigate incorrect peer dependency warnings for end users. npm:fc5fc76182/CHANGELOG.md (v6110-2019-08-20)
yarn:53d8004229/CHANGELOG.md (1130)
pnpm: https://github.com/pnpm/pnpm/releases/tag/v3.2.0
This commit is contained in:
parent
05a4280e96
commit
a8e19c2e98
@ -83,7 +83,9 @@ function loadPackageJson(p: string) {
|
||||
case 'engines':
|
||||
pkg['engines'] = {
|
||||
'node': '>= 10.9.0',
|
||||
'npm': '>= 6.2.0',
|
||||
'npm': '>= 6.11.0',
|
||||
'pnpm': '>= 3.2.0',
|
||||
'yarn': '>= 1.13.0',
|
||||
};
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user