Skip to content

Commit

Permalink
chore: bump engines.node field (#2855)
Browse files Browse the repository at this point in the history
* chore: bump engines.node field

* chore: versions
  • Loading branch information
paul-soporan authored May 10, 2021
1 parent 0a474bd commit e86cf3d
Show file tree
Hide file tree
Showing 45 changed files with 84 additions and 45 deletions.
38 changes: 38 additions & 0 deletions .yarn/versions/36595ddd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
releases:
"@yarnpkg/builder": patch
"@yarnpkg/cli": patch
"@yarnpkg/core": patch
"@yarnpkg/doctor": patch
"@yarnpkg/esbuild-plugin-pnp": patch
"@yarnpkg/eslint-config": patch
"@yarnpkg/fslib": patch
"@yarnpkg/json-proxy": patch
"@yarnpkg/libui": patch
"@yarnpkg/libzip": patch
"@yarnpkg/parsers": patch
"@yarnpkg/plugin-compat": patch
"@yarnpkg/plugin-constraints": patch
"@yarnpkg/plugin-dlx": patch
"@yarnpkg/plugin-essentials": patch
"@yarnpkg/plugin-exec": patch
"@yarnpkg/plugin-file": patch
"@yarnpkg/plugin-git": patch
"@yarnpkg/plugin-github": patch
"@yarnpkg/plugin-http": patch
"@yarnpkg/plugin-init": patch
"@yarnpkg/plugin-interactive-tools": patch
"@yarnpkg/plugin-link": patch
"@yarnpkg/plugin-node-modules": patch
"@yarnpkg/plugin-npm": patch
"@yarnpkg/plugin-npm-cli": patch
"@yarnpkg/plugin-pack": patch
"@yarnpkg/plugin-patch": patch
"@yarnpkg/plugin-pnp": patch
"@yarnpkg/plugin-stage": patch
"@yarnpkg/plugin-typescript": patch
"@yarnpkg/plugin-version": patch
"@yarnpkg/plugin-workspace-tools": patch
"@yarnpkg/pnp": patch
"@yarnpkg/pnpify": patch
"@yarnpkg/shell": patch
vscode-zipfs: patch
5 changes: 3 additions & 2 deletions constraints.pro
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ gen_enforced_dependency(WorkspaceCwd, 'tslib', 'range', 'dependencies') :-
% This rule will enforce that all packages must have a "BSD-2-Clause" license field
gen_enforced_field(WorkspaceCwd, 'license', 'BSD-2-Clause').

% This rule will enforce that all packages must have a engines.node field of >=10.19.0
gen_enforced_field(WorkspaceCwd, 'engines.node', '>=10.19.0').
% This rule will enforce that all packages must have an engines.node field of >=12 <14 || 14.2 - 14.9 || >14.10.0
% Keep in sync with the range inside packages/yarnpkg-cli/sources/main.ts
gen_enforced_field(WorkspaceCwd, 'engines.node', '>=12 <14 || 14.2 - 14.9 || >14.10.0').

% Required to make the package work with the GitHub Package Registry
gen_enforced_field(WorkspaceCwd, 'repository.type', 'git').
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@
"directory": "."
},
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
}
}
2 changes: 1 addition & 1 deletion packages/acceptance-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"directory": "packages/acceptance-tests"
},
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
}
}
2 changes: 1 addition & 1 deletion packages/acceptance-tests/pkg-tests-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
"directory": "packages/acceptance-tests/pkg-tests-core"
},
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
}
}
2 changes: 1 addition & 1 deletion packages/acceptance-tests/pkg-tests-fixtures/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"directory": "packages/acceptance-tests/pkg-tests-fixtures"
},
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
}
}
2 changes: 1 addition & 1 deletion packages/acceptance-tests/pkg-tests-specs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"tar": "^6.0.5"
},
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
}
}
2 changes: 1 addition & 1 deletion packages/esbuild-plugin-pnp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"directory": "packages/esbuild-plugin-pnp"
},
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "0.0.1"
}
2 changes: 1 addition & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"directory": "packages/eslint-config"
},
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "0.2.0"
}
2 changes: 1 addition & 1 deletion packages/gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,6 @@
"@types/tinycolor2": "1.4.2"
},
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"/lib/**/*"
],
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.2.0"
}
2 changes: 1 addition & 1 deletion packages/plugin-constraints/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"/lib/**/*"
],
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.2.0"
}
2 changes: 1 addition & 1 deletion packages/plugin-dlx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"/lib/**/*"
],
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.1.4"
}
2 changes: 1 addition & 1 deletion packages/plugin-essentials/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"/lib/**/*"
],
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.4.0"
}
2 changes: 1 addition & 1 deletion packages/plugin-exec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"/lib/**/*"
],
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.1.4"
}
2 changes: 1 addition & 1 deletion packages/plugin-file/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"/lib/**/*"
],
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.2.0"
}
2 changes: 1 addition & 1 deletion packages/plugin-git/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"/lib/**/*"
],
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.3.0"
}
2 changes: 1 addition & 1 deletion packages/plugin-github/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"/lib/**/*"
],
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.1.2"
}
2 changes: 1 addition & 1 deletion packages/plugin-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"/lib/**/*"
],
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.1.2"
}
2 changes: 1 addition & 1 deletion packages/plugin-init/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"/lib/**/*"
],
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.2.2"
}
2 changes: 1 addition & 1 deletion packages/plugin-interactive-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"/lib/**/*"
],
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.2.0"
}
2 changes: 1 addition & 1 deletion packages/plugin-link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"/lib/**/*"
],
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.1.1"
}
2 changes: 1 addition & 1 deletion packages/plugin-node-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"/lib/**/*"
],
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.3.0"
}
2 changes: 1 addition & 1 deletion packages/plugin-npm-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"/lib/**/*"
],
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.3.0"
}
2 changes: 1 addition & 1 deletion packages/plugin-npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"/lib/**/*"
],
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.4.0"
}
2 changes: 1 addition & 1 deletion packages/plugin-pack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"/lib/**/*"
],
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.2.3"
}
2 changes: 1 addition & 1 deletion packages/plugin-patch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"/lib/**/*"
],
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.1.2"
}
2 changes: 1 addition & 1 deletion packages/plugin-pnp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"/lib/**/*"
],
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.4.0"
}
2 changes: 1 addition & 1 deletion packages/plugin-stage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"/lib/**/*"
],
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.1.2"
}
2 changes: 1 addition & 1 deletion packages/plugin-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"/lib/**/*"
],
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-version/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"/lib/**/*"
],
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.2.1"
}
2 changes: 1 addition & 1 deletion packages/plugin-workspace-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"/lib/**/*"
],
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.2.0"
}
2 changes: 1 addition & 1 deletion packages/vscode-zipfs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"version": "2.3.0-rc.2",
"engines": {
"vscode": "^1.54.0",
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"categories": [
"Other"
Expand Down
2 changes: 1 addition & 1 deletion packages/yarnpkg-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"directory": "packages/yarnpkg-builder"
},
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.1.3"
}
2 changes: 1 addition & 1 deletion packages/yarnpkg-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"directory": "packages/yarnpkg-cli"
},
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.4.0"
}
2 changes: 1 addition & 1 deletion packages/yarnpkg-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"directory": "packages/yarnpkg-core"
},
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.4.0"
}
2 changes: 1 addition & 1 deletion packages/yarnpkg-doctor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"directory": "packages/yarnpkg-doctor"
},
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.1.3"
}
2 changes: 1 addition & 1 deletion packages/yarnpkg-fslib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"directory": "packages/yarnpkg-fslib"
},
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.4.0"
}
2 changes: 1 addition & 1 deletion packages/yarnpkg-json-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"directory": "packages/yarnpkg-json-proxy"
},
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
}
}
2 changes: 1 addition & 1 deletion packages/yarnpkg-libui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"prepack": "yarn build:compile-inline \"$(pwd)\""
},
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
},
"stableVersion": "2.1.1"
}
2 changes: 1 addition & 1 deletion packages/yarnpkg-libzip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
"tslib": "^1.13.0"
},
"engines": {
"node": ">=10.19.0"
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
}
}
Loading

0 comments on commit e86cf3d

Please sign in to comment.