diff --git a/.changeset/cuddly-baboons-nail.md b/.changeset/cuddly-baboons-nail.md new file mode 100644 index 0000000..6b7dc42 --- /dev/null +++ b/.changeset/cuddly-baboons-nail.md @@ -0,0 +1,5 @@ +--- +"@stainless-code/react-modal-manager": patch +--- + +Update `peerDependencies` for `react` and `react-dom` to allow versions `>=16` diff --git a/bun.lock b/bun.lock index 3e89220..287f80a 100644 --- a/bun.lock +++ b/bun.lock @@ -30,8 +30,8 @@ "vitest": "3.2.4", }, "peerDependencies": { - "react": "^19.1.1", - "react-dom": "^19.1.1", + "react": ">=16", + "react-dom": ">=16", }, }, }, diff --git a/package.json b/package.json index 0ee095c..8b806a4 100644 --- a/package.json +++ b/package.json @@ -77,8 +77,8 @@ "vitest": "3.2.4" }, "peerDependencies": { - "react": "^19.1.1", - "react-dom": "^19.1.1" + "react": ">=16", + "react-dom": ">=16" }, "clean-package": { "remove": [ diff --git a/prettier.config.js b/prettier.config.js index 48f68d3..d3ab52b 100644 --- a/prettier.config.js +++ b/prettier.config.js @@ -1,4 +1,4 @@ /** @type {import('prettier').Config} */ export default { - plugins: ["prettier-plugin-packagejson", ], + plugins: ["prettier-plugin-packagejson"], };