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:
Charles 2019-09-11 13:07:59 -04:00 committed by Keen Yee Liau
parent 05a4280e96
commit a8e19c2e98

View File

@ -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;