diff --git a/package-lock.json b/package-lock.json index d2200643d1..36df7bdd4c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -65,7 +65,7 @@ "typescript": "5.1.6" }, "engines": { - "node": ">=16" + "node": ">=18" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index 07ae898c7d..950bb058c7 100644 --- a/package.json +++ b/package.json @@ -83,6 +83,6 @@ "typescript": "5.1.6" }, "engines": { - "node": ">=16" + "node": ">=18" } } diff --git a/rollup.config.js b/rollup.config.js index 49e6234469..7f5a8226da 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -371,9 +371,9 @@ function addPackageJson() { "module": "primereact.all.esm.min.js", "web-types": "web-types.json", "peerDependencies": { - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@types/react": {