Skip to content

Commit

Permalink
BREAKING: Drop support for Node.js 16 (#89)
Browse files Browse the repository at this point in the history
* Drop support for Node.js <18.18

* Update constraints
  • Loading branch information
Mrtenz authored Dec 17, 2024
1 parent 024e972 commit 5aaac76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion constraints.pro
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ gen_enforced_dependency(WorkspaceCwd, DependencyIdent, null, DependencyType) :-
DependencyType == 'devDependencies'.

% The package must specify a minimum Node version of 16.
gen_enforced_field(WorkspaceCwd, 'engines.node', '>=16.0.0').
gen_enforced_field(WorkspaceCwd, 'engines.node', '^18.18 || ^20.14 || >=22').

% The package is public.
gen_enforced_field(WorkspaceCwd, 'publishConfig.access', 'public').
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
},
"packageManager": "[email protected]",
"engines": {
"node": ">=16.0.0"
"node": "^18.18 || ^20.14 || >=22"
},
"publishConfig": {
"access": "public",
Expand Down

0 comments on commit 5aaac76

Please sign in to comment.