Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
- run: |
git fetch --no-tags --unshallow origin HEAD master

- name: 'Use Node.js 12.x'
- name: 'Use Node.js 16.x'
uses: actions/setup-node@master
with:
node-version: 12.x
node-version: 16.x

- name: 'Check that the Yarn files don''t change on new installs (fix w/ "yarn install")'
run: |
Expand Down Expand Up @@ -146,10 +146,10 @@ jobs:
steps:
- uses: actions/checkout@master

- name: 'Use Node.js 14.x'
- name: 'Use Node.js 16.x'
uses: actions/setup-node@master
with:
node-version: 14.x
node-version: 16.x

- name: 'Build bundle & plugins'
run: |
Expand Down Expand Up @@ -190,7 +190,6 @@ jobs:
fail-fast: false
matrix:
node:
- 12
- 14
- 16
- 17
Expand Down
41 changes: 41 additions & 0 deletions .yarn/versions/d7ae2216.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
releases:
"@yarnpkg/builder": major
"@yarnpkg/cli": major
"@yarnpkg/core": major
"@yarnpkg/doctor": major
"@yarnpkg/esbuild-plugin-pnp": major
"@yarnpkg/eslint-config": major
"@yarnpkg/fslib": major
"@yarnpkg/json-proxy": major
"@yarnpkg/libui": major
"@yarnpkg/libzip": major
"@yarnpkg/nm": major
"@yarnpkg/parsers": major
"@yarnpkg/plugin-compat": major
"@yarnpkg/plugin-constraints": major
"@yarnpkg/plugin-dlx": major
"@yarnpkg/plugin-essentials": major
"@yarnpkg/plugin-exec": major
"@yarnpkg/plugin-file": major
"@yarnpkg/plugin-git": major
"@yarnpkg/plugin-github": major
"@yarnpkg/plugin-http": major
"@yarnpkg/plugin-init": major
"@yarnpkg/plugin-interactive-tools": major
"@yarnpkg/plugin-link": major
"@yarnpkg/plugin-nm": major
"@yarnpkg/plugin-npm": major
"@yarnpkg/plugin-npm-cli": major
"@yarnpkg/plugin-pack": major
"@yarnpkg/plugin-patch": major
"@yarnpkg/plugin-pnp": major
"@yarnpkg/plugin-pnpm": major
"@yarnpkg/plugin-stage": major
"@yarnpkg/plugin-typescript": major
"@yarnpkg/plugin-version": major
"@yarnpkg/plugin-workspace-tools": major
"@yarnpkg/pnp": major
"@yarnpkg/pnpify": major
"@yarnpkg/sdks": major
"@yarnpkg/shell": major
vscode-zipfs: major
4 changes: 2 additions & 2 deletions constraints.pro
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,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 an engines.node field of >=12 <14 || 14.2 - 14.9 || >14.10.0
% This rule will enforce that all packages must have an correct engines.node field
% 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').
gen_enforced_field(WorkspaceCwd, 'engines.node', '>=14.15.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": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.0"
}
}
2 changes: 1 addition & 1 deletion packages/acceptance-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"directory": "packages/acceptance-tests"
},
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.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 @@ -35,7 +35,7 @@
"directory": "packages/acceptance-tests/pkg-tests-core"
},
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.0"
},
"dependencies": {
"uuid": "^8.3.2"
Expand Down
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": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.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": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.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 @@ -31,6 +31,6 @@
"directory": "packages/esbuild-plugin-pnp"
},
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.0"
}
}
2 changes: 1 addition & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"directory": "packages/eslint-config"
},
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.0"
}
}
2 changes: 1 addition & 1 deletion packages/gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,6 @@
"@types/tinycolor2": "1.4.2"
},
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.0"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"/lib/**/*"
],
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.0"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-constraints/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@
"/lib/**/*"
],
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.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,6 +34,6 @@
"/lib/**/*"
],
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.0"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-essentials/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@
"/lib/**/*"
],
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.0"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-exec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
"/lib/**/*"
],
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.0"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-file/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
"/lib/**/*"
],
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.0"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-git/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"/lib/**/*"
],
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.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,6 +33,6 @@
"/lib/**/*"
],
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.0"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
"/lib/**/*"
],
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.0"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-init/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@
"/lib/**/*"
],
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.0"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-interactive-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@
"/lib/**/*"
],
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.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,6 +30,6 @@
"/lib/**/*"
],
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.0"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-nm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
"/lib/**/*"
],
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.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,6 +42,6 @@
"/lib/**/*"
],
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.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,6 +37,6 @@
"/lib/**/*"
],
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.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,6 +38,6 @@
"/lib/**/*"
],
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.0"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-patch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
"/lib/**/*"
],
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.0"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-pnp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
"/lib/**/*"
],
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.0"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-pnpm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
"/lib/**/*"
],
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.0"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-stage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
"/lib/**/*"
],
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.0"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@
"/lib/**/*"
],
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.0"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-version/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@
"/lib/**/*"
],
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.0"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-workspace-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"/lib/**/*"
],
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.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.5.0",
"engines": {
"vscode": "^1.54.0",
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.0"
},
"categories": [
"Other"
Expand Down
2 changes: 1 addition & 1 deletion packages/vscode-zipfs/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default async () =>
}),
esbuild({
tsconfig: false,
target: `node12`,
target: `node14`,
define: {
document: `undefined`,
XMLHttpRequest: `undefined`,
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 @@ -36,6 +36,6 @@
"directory": "packages/yarnpkg-builder"
},
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.0"
}
}
2 changes: 1 addition & 1 deletion packages/yarnpkg-builder/sources/commands/build/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export default class BuildBundleCommand extends Command {
plugins: [valLoader, pnpPlugin()],
minify: !this.noMinify,
sourcemap: this.sourceMap ? `inline` : false,
target: `node12`,
target: `node14`,
});

for (const warning of res.warnings) {
Expand Down
2 changes: 1 addition & 1 deletion packages/yarnpkg-builder/sources/commands/build/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export default class BuildPluginCommand extends Command {
plugins: [dynamicLibResolver, pnpPlugin()],
minify: !this.noMinify,
sourcemap: this.sourceMap ? `inline` : false,
target: `node12`,
target: `node14`,
});

for (const warning of res.warnings) {
Expand Down
2 changes: 1 addition & 1 deletion packages/yarnpkg-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,6 @@
"directory": "packages/yarnpkg-cli"
},
"engines": {
"node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
"node": ">=14.15.0"
}
}
Loading