Skip to content

Commit

Permalink
fix: remove npm engines pinning
Browse files Browse the repository at this point in the history
We decided we no longer need this now that we have no use of npm 7.
  • Loading branch information
rowanmanning committed Nov 25, 2024
1 parent 015c5d8 commit 9f51dab
Show file tree
Hide file tree
Showing 14 changed files with 27 additions and 54 deletions.
39 changes: 13 additions & 26 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,10 @@
"typescript": "^5.6.3"
},
"engines": {
"node": "18.x || 20.x || 22.x",
"npm": "8.x || 9.x || 10.x"
"node": "18.x || 20.x || 22.x"
},
"volta": {
"node": "20.10.0",
"npm": "10.2.5"
"node": "20.10.0"
},
"lint-staged": {
"**/*.js": [
Expand Down
3 changes: 1 addition & 2 deletions packages/app-info/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"bugs": "https://github.com/Financial-Times/dotcom-reliability-kit/issues?q=label:\"package: app-info\"",
"license": "MIT",
"engines": {
"node": "18.x || 20.x || 22.x",
"npm": "8.x || 9.x || 10.x"
"node": "18.x || 20.x || 22.x"
},
"main": "lib/index.js",
"types": "types/index.d.ts"
Expand Down
3 changes: 1 addition & 2 deletions packages/crash-handler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"bugs": "https://github.com/Financial-Times/dotcom-reliability-kit/issues?q=label:\"package: crash-handler\"",
"license": "MIT",
"engines": {
"node": "18.x || 20.x || 22.x",
"npm": "8.x || 9.x || 10.x"
"node": "18.x || 20.x || 22.x"
},
"main": "lib/index.js",
"types": "types/index.d.ts",
Expand Down
3 changes: 1 addition & 2 deletions packages/errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"bugs": "https://github.com/Financial-Times/dotcom-reliability-kit/issues?q=label:\"package: errors\"",
"license": "MIT",
"engines": {
"node": "18.x || 20.x || 22.x",
"npm": "8.x || 9.x || 10.x"
"node": "18.x || 20.x || 22.x"
},
"main": "lib/index.js",
"types": "types/index.d.ts"
Expand Down
3 changes: 1 addition & 2 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"bugs": "https://github.com/Financial-Times/dotcom-reliability-kit/issues?q=label:\"package: eslint-config\"",
"license": "MIT",
"engines": {
"node": "18.x || 20.x || 22.x",
"npm": "8.x || 9.x || 10.x"
"node": "18.x || 20.x || 22.x"
},
"main": "lib/index.js",
"types": "types/index.d.ts",
Expand Down
3 changes: 1 addition & 2 deletions packages/fetch-error-handler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"bugs": "https://github.com/Financial-Times/dotcom-reliability-kit/issues?q=label:\"package: fetch-error-handler\"",
"license": "MIT",
"engines": {
"node": "18.x || 20.x || 22.x",
"npm": "8.x || 9.x || 10.x"
"node": "18.x || 20.x || 22.x"
},
"main": "lib/index.js",
"types": "types/index.d.ts",
Expand Down
3 changes: 1 addition & 2 deletions packages/log-error/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"bugs": "https://github.com/Financial-Times/dotcom-reliability-kit/issues?q=label:\"package: log-error\"",
"license": "MIT",
"engines": {
"node": "18.x || 20.x || 22.x",
"npm": "8.x || 9.x || 10.x"
"node": "18.x || 20.x || 22.x"
},
"main": "lib/index.js",
"types": "types/index.d.ts",
Expand Down
3 changes: 1 addition & 2 deletions packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"bugs": "https://github.com/Financial-Times/dotcom-reliability-kit/issues?q=label:\"package: logger\"",
"license": "MIT",
"engines": {
"node": "18.x || 20.x || 22.x",
"npm": "8.x || 9.x || 10.x"
"node": "18.x || 20.x || 22.x"
},
"main": "lib/index.js",
"types": "types/index.d.ts",
Expand Down
3 changes: 1 addition & 2 deletions packages/middleware-log-errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"bugs": "https://github.com/Financial-Times/dotcom-reliability-kit/issues?q=label:\"package: middleware-log-errors\"",
"license": "MIT",
"engines": {
"node": "18.x || 20.x || 22.x",
"npm": "8.x || 9.x || 10.x"
"node": "18.x || 20.x || 22.x"
},
"main": "lib/index.js",
"types": "types/index.d.ts",
Expand Down
3 changes: 1 addition & 2 deletions packages/middleware-render-error-info/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"bugs": "https://github.com/Financial-Times/dotcom-reliability-kit/issues?q=label:\"package: middleware-render-error-info\"",
"license": "MIT",
"engines": {
"node": "18.x || 20.x || 22.x",
"npm": "8.x || 9.x || 10.x"
"node": "18.x || 20.x || 22.x"
},
"main": "lib/index.js",
"types": "types/index.d.ts",
Expand Down
3 changes: 1 addition & 2 deletions packages/serialize-error/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"bugs": "https://github.com/Financial-Times/dotcom-reliability-kit/issues?q=label:\"package: serialize-error\"",
"license": "MIT",
"engines": {
"node": "18.x || 20.x || 22.x",
"npm": "8.x || 9.x || 10.x"
"node": "18.x || 20.x || 22.x"
},
"main": "lib/index.js",
"types": "types/index.d.ts"
Expand Down
3 changes: 1 addition & 2 deletions packages/serialize-request/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"bugs": "https://github.com/Financial-Times/dotcom-reliability-kit/issues?q=label:\"package: serialize-request\"",
"license": "MIT",
"engines": {
"node": "18.x || 20.x || 22.x",
"npm": "8.x || 9.x || 10.x"
"node": "18.x || 20.x || 22.x"
},
"main": "lib/index.js",
"types": "types/index.d.ts",
Expand Down
3 changes: 1 addition & 2 deletions resources/logos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
"bugs": "https://github.com/Financial-Times/dotcom-reliability-kit/issues",
"license": "MIT",
"engines": {
"node": "18.x || 20.x || 22.x",
"npm": "8.x || 9.x || 10.x"
"node": "18.x || 20.x || 22.x"
},
"scripts": {
"build": "./scripts/build.js"
Expand Down

0 comments on commit 9f51dab

Please sign in to comment.