diff --git a/constraints.pro b/constraints.pro index a892c67..8c301c1 100644 --- a/constraints.pro +++ b/constraints.pro @@ -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'). diff --git a/package.json b/package.json index c71c555..294692b 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ }, "packageManager": "yarn@3.2.1", "engines": { - "node": ">=16.0.0" + "node": "^18.16 || >=20" }, "publishConfig": { "access": "public",