Skip to content

Commit

Permalink
chore: drop support for node.js v16
Browse files Browse the repository at this point in the history
  • Loading branch information
emmenko committed Dec 5, 2024
1 parent 57ef01b commit 27e8ff1
Show file tree
Hide file tree
Showing 19 changed files with 34 additions and 18 deletions.
16 changes: 16 additions & 0 deletions .changeset/five-cougars-marry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
'@commercetools-frontend/application-shell-connectors': major
'@commercetools-backend/eslint-config-node': major
'@commercetools-frontend/mc-dev-authentication': major
'@commercetools-frontend/eslint-config-mc-app': major
'@commercetools-frontend/babel-preset-mc-app': major
'@commercetools-frontend/application-config': major
'@commercetools-frontend/application-shell': major
'@commercetools-frontend/mc-html-template': major
'@commercetools-frontend/create-mc-app': major
'@commercetools-frontend/mc-scripts': major
'@commercetools-frontend/codemod': major
'@commercetools-local/playground': major
---

Drop support for Node.js v16, which reached EOL. The minimal required version is v18 but we recommend to use v20 or v22 if possible.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
22
2 changes: 1 addition & 1 deletion application-templates/starter-typescript/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20
2 changes: 1 addition & 1 deletion application-templates/starter/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20
2 changes: 1 addition & 1 deletion custom-views-templates/starter-typescript/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20
2 changes: 1 addition & 1 deletion custom-views-templates/starter/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
}
},
"engines": {
"node": "18.x",
"node": "20.x || >=22",
"npm": ">=6",
"pnpm": ">=8"
},
Expand Down
2 changes: 1 addition & 1 deletion packages-backend/eslint-config-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"eslint": "8.57.0"
},
"engines": {
"node": "16.x || >=18.0.0"
"node": "18.x || 20.x || >=22.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/application-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@
"shelljs": "0.8.5"
},
"engines": {
"node": "16.x || >=18.0.0"
"node": "18.x || 20.x || >=22.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/application-shell-connectors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@
"react": "17.x"
},
"engines": {
"node": "16.x || >=18.0.0"
"node": "18.x || 20.x || >=22.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/application-shell/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,6 @@
"redux": "4.x"
},
"engines": {
"node": "16.x || >=18.0.0"
"node": "18.x || 20.x || >=22.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/babel-preset-mc-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@
"core-js": "^3.32.2"
},
"engines": {
"node": "16.x || >=18.0.0"
"node": "18.x || 20.x || >=22.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/codemod/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@
"typescript": "5.0.4"
},
"engines": {
"node": "16.x || >=18.0.0"
"node": "18.x || 20.x || >=22.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/create-mc-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
"@tsconfig/node16": "^16.1.1"
},
"engines": {
"node": "16.x || >=18.0.0"
"node": "18.x || 20.x || >=22.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/eslint-config-mc-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@
"eslint": "8.57.0"
},
"engines": {
"node": "16.x || >=18.0.0"
"node": "18.x || 20.x || >=22.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/mc-dev-authentication/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
"connect": "^3.7.0"
},
"engines": {
"node": "16.x || >=18.0.0"
"node": "18.x || 20.x || >=22.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/mc-html-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@
"webpack": "5.94.0"
},
"engines": {
"node": "16.x || >=18.0.0"
"node": "18.x || 20.x || >=22.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/mc-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@
"rimraf": "5.0.7"
},
"engines": {
"node": "16.x || >=18.0.0"
"node": "18.x || 20.x || >=22.0.0"
}
}
2 changes: 1 addition & 1 deletion playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
},
"packageManager": "[email protected]",
"engines": {
"node": "18.x",
"node": ">=22",
"pnpm": ">=8"
}
}

0 comments on commit 27e8ff1

Please sign in to comment.