Skip to content

Commit

Permalink
feat!: drop Node.js 14 support
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed Mar 18, 2023
1 parent 9d026b7 commit eceaa8b
Show file tree
Hide file tree
Showing 124 changed files with 249 additions and 125 deletions.
125 changes: 125 additions & 0 deletions .changeset/long-seahorses-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
---
"@pnpm/plugin-commands-installation": major
"@pnpm/plugin-commands-publishing": major
"@pnpm/plugin-commands-script-runners": major
"@pnpm/write-project-manifest": major
"@pnpm/filter-workspace-packages": major
"@pnpm/read-project-manifest": major
"@pnpm/plugin-commands-licenses": major
"@pnpm/plugin-commands-outdated": major
"@pnpm/plugin-commands-patching": major
"@pnpm/read-projects-context": major
"@pnpm/plugin-commands-listing": major
"@pnpm/find-workspace-packages": major
"@pnpm/resolve-workspace-range": major
"@pnpm/pick-registry-for-package": major
"@pnpm/parse-wanted-dependency": major
"@pnpm/which-version-is-pinned": major
"@pnpm/resolve-dependencies": major
"@pnpm/exportable-manifest": major
"@pnpm/plugin-commands-deploy": major
"@pnpm/reviewing.dependencies-hierarchy": major
"@pnpm/merge-lockfile-changes": major
"@pnpm/plugin-commands-doctor": major
"@pnpm/plugin-commands-audit": major
"@pnpm/plugin-commands-setup": major
"@pnpm/read-package-json": major
"@pnpm/store-connection-manager": major
"@pnpm/package-is-installable": major
"@pnpm/plugin-commands-config": major
"@pnpm/plugin-commands-init": major
"@pnpm/pkg-manager.direct-dep-linker": major
"@pnpm/package-requester": major
"@pnpm/plugin-commands-rebuild": major
"@pnpm/plugin-commands-server": major
"@pnpm/store-controller-types": major
"@pnpm/find-workspace-dir": major
"@pnpm/common-cli-options-help": major
"@pnpm/normalize-registries": major
"@pnpm/crypto.base32-hash": major
"@pnpm/render-peer-issues": major
"@pnpm/modules-cleaner": major
"@pnpm/manifest-utils": major
"@pnpm/plugin-commands-store": major
"@pnpm/directory-fetcher": major
"@pnpm/default-resolver": major
"@pnpm/tarball-resolver": major
"@pnpm/license-scanner": major
"@pnpm/tarball-fetcher": major
"@pnpm/filter-lockfile": major
"@pnpm/lockfile-to-pnp": major
"@pnpm/lockfile-walker": major
"@pnpm/dependency-path": major
"@pnpm/modules-yaml": major
"@pnpm/package-bins": major
"@pnpm/local-resolver": major
"@pnpm/plugin-commands-env": major
"@pnpm/fs.indexed-pkg-importer": major
"@pnpm/hooks.read-package-hook": major
"@pnpm/lockfile-types": major
"@pnpm/lockfile-utils": major
"@pnpm/prune-lockfile": major
"@pnpm/calc-dep-state": major
"@pnpm/get-context": major
"@pnpm/remove-bins": major
"@pnpm/resolver-base": major
"@pnpm/create-cafs-store": major
"@pnpm/sort-packages": major
"@pnpm/parse-overrides": major
"@pnpm/lockfile-file": major
"@pnpm/fetching-types": major
"@pnpm/real-hoist": major
"@pnpm/git-resolver": major
"@pnpm/npm-resolver": major
"@pnpm/fetcher-base": major
"@pnpm/pick-fetcher": major
"@pnpm/symlink-dependency": major
"@pnpm/core-loggers": major
"@pnpm/link-bins": major
"@pnpm/default-reporter": major
"@pnpm/prepare-package": major
"@pnpm/git-fetcher": major
"@pnpm/patching.apply-patch": major
"@pnpm/headless": major
"@pnpm/text.comments-parser": major
"@pnpm/workspace.pkgs-graph": major
"@pnpm/read-modules-dir": major
"@pnpm/network.auth-header": major
"@pnpm/package-store": major
"@pnpm/parse-cli-args": major
"@pnpm/build-modules": major
"@pnpm/constants": major
"@pnpm/git-utils": major
"@pnpm/client": major
"@pnpm/outdated": major
"@pnpm/node.resolver": major
"@pnpm/hoist": major
"@pnpm/node.fetcher": major
"@pnpm/fs.find-packages": major
"@pnpm/fs.hard-link-dir": major
"@pnpm/core": major
"@pnpm/cafs-types": major
"@pnpm/store-path": major
"@pnpm/matcher": major
"@pnpm/lifecycle": major
"@pnpm/graceful-fs": major
"@pnpm/pnpmfile": major
"@pnpm/audit": major
"@pnpm/error": major
"@pnpm/types": major
"@pnpm/list": major
"@pnpm-private/updater": major
"@pnpm/cli-utils": major
"@pnpm/config": major
"@pnpm/fetch": major
"@pnpm/cli-meta": major
"@pnpm/run-npm": major
"@pnpm/server": major
"@pnpm/command": major
"@pnpm/cafs": major
"pnpm": major
"@pnpm/make-dedicated-lockfile": minor
"@pnpm/mount-modules": minor
---

Node.js 14 support dropped.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ jobs:
fail-fast: false
matrix:
node:
- '14.6'
- '16'
- '16.14'
- '18'
- '19'
platform:
Expand Down
2 changes: 1 addition & 1 deletion .meta-updater/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ async function updateManifest (workspaceDir: string, manifest: ProjectManifest,
url: 'https://github.com/pnpm/pnpm/issues',
},
engines: {
node: '>=14.6',
node: '>=16.14',
},
files,
funding: 'https://opencollective.com/pnpm',
Expand Down
2 changes: 1 addition & 1 deletion cli/cli-meta/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"!*.map"
],
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"scripts": {
"lint": "eslint \"src/**/*.ts\"",
Expand Down
2 changes: 1 addition & 1 deletion cli/cli-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"!*.map"
],
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"scripts": {
"lint": "eslint \"src/**/*.ts\"",
Expand Down
2 changes: 1 addition & 1 deletion cli/command/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"!*.map"
],
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"scripts": {
"lint": "eslint \"src/**/*.ts\"",
Expand Down
2 changes: 1 addition & 1 deletion cli/common-cli-options-help/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"!*.map"
],
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"scripts": {
"lint": "eslint \"src/**/*.ts\"",
Expand Down
2 changes: 1 addition & 1 deletion cli/default-reporter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"pnpm-reporter"
],
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"license": "MIT",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion cli/parse-cli-args/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"!*.map"
],
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"scripts": {
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
Expand Down
2 changes: 1 addition & 1 deletion config/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"config"
],
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"license": "MIT",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion config/matcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "lib/index.js",
"types": "lib/index.d.ts",
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"files": [
"lib",
Expand Down
2 changes: 1 addition & 1 deletion config/normalize-registries/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"license": "MIT",
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"repository": "https://github.com/pnpm/pnpm/blob/main/config/normalize-registries",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion config/package-is-installable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"license": "MIT",
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"peerDependencies": {
"@pnpm/logger": "^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion config/parse-overrides/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"license": "MIT",
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"repository": "https://github.com/pnpm/pnpm/blob/main/config/parse-overrides",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion config/pick-registry-for-package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"license": "MIT",
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"repository": "https://github.com/pnpm/pnpm/blob/main/config/pick-registry-for-package",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion config/plugin-commands-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"!*.map"
],
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"scripts": {
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
Expand Down
2 changes: 1 addition & 1 deletion env/node.fetcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
".": "./lib/index.js"
},
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"scripts": {
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
Expand Down
2 changes: 1 addition & 1 deletion env/node.resolver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
".": "./lib/index.js"
},
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"scripts": {
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
Expand Down
2 changes: 1 addition & 1 deletion env/plugin-commands-env/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"!*.map"
],
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"scripts": {
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
Expand Down
2 changes: 1 addition & 1 deletion exec/build-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"!*.map"
],
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"scripts": {
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
Expand Down
2 changes: 1 addition & 1 deletion exec/lifecycle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"!*.map"
],
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"scripts": {
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
Expand Down
2 changes: 1 addition & 1 deletion exec/plugin-commands-rebuild/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"!*.map"
],
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"scripts": {
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
Expand Down
2 changes: 1 addition & 1 deletion exec/plugin-commands-script-runners/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"!*.map"
],
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"scripts": {
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
Expand Down
2 changes: 1 addition & 1 deletion exec/prepare-package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"!*.map"
],
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"scripts": {
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
Expand Down
2 changes: 1 addition & 1 deletion exec/run-npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"!*.map"
],
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"scripts": {
"lint": "eslint \"src/**/*.ts\"",
Expand Down
2 changes: 1 addition & 1 deletion fetching/directory-fetcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"repository": "https://github.com/pnpm/pnpm/blob/main/fetching/directory-fetcher",
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"keywords": [
"pnpm8",
Expand Down
2 changes: 1 addition & 1 deletion fetching/fetcher-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"fetcher"
],
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"license": "MIT",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion fetching/git-fetcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"repository": "https://github.com/pnpm/pnpm/blob/main/fetching/git-fetcher",
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"keywords": [
"pnpm8",
Expand Down
2 changes: 1 addition & 1 deletion fetching/pick-fetcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"repository": "https://github.com/pnpm/pnpm/blob/main/fetching/pick-fetcher",
"license": "MIT",
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"bugs": {
"url": "https://github.com/pnpm/pnpm/issues"
Expand Down
2 changes: 1 addition & 1 deletion fetching/tarball-fetcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"tarball"
],
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"license": "MIT",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion fs/find-packages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"package"
],
"engines": {
"node": ">=14.6"
"node": ">=16.14"
},
"license": "MIT",
"bugs": {
Expand Down
Loading

0 comments on commit eceaa8b

Please sign in to comment.