Skip to content

Commit

Permalink
Update package.json engines
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrtenz committed Nov 1, 2023
1 parent f244766 commit a28ea98
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 @@ -91,7 +91,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.16 || >=20').

% 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 @@ -82,7 +82,7 @@
},
"packageManager": "[email protected]",
"engines": {
"node": ">=16.0.0"
"node": "^18.16 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down

0 comments on commit a28ea98

Please sign in to comment.