diff --git a/.changeset/few-stingrays-shake.md b/.changeset/few-stingrays-shake.md new file mode 100644 index 000000000..387a35979 --- /dev/null +++ b/.changeset/few-stingrays-shake.md @@ -0,0 +1,6 @@ +--- +'@keystatic/core': patch +'@keystar/ui': patch +--- + +Make `react-aria`, `react-stately` and `@keystar/ui` non-optional peer dependencies + normal dependencies instead of optional peer dependencies + normal dependencies to fix installing with pnpm diff --git a/design-system/pkg/package.json b/design-system/pkg/package.json index 1aebbc738..82df20513 100644 --- a/design-system/pkg/package.json +++ b/design-system/pkg/package.json @@ -1516,12 +1516,6 @@ "peerDependenciesMeta": { "next": { "optional": true - }, - "react-aria": { - "optional": true - }, - "react-stately": { - "optional": true } }, "imports": { diff --git a/packages/keystatic/package.json b/packages/keystatic/package.json index 2c2fec9dc..b41b8ac43 100644 --- a/packages/keystatic/package.json +++ b/packages/keystatic/package.json @@ -210,17 +210,6 @@ "react-dom": "^18.2.0 || ^19.0.0", "react-stately": "catalog:" }, - "peerDependenciesMeta": { - "@keystar/ui": { - "optional": true - }, - "react-aria": { - "optional": true - }, - "react-stately": { - "optional": true - } - }, "preconstruct": { "entrypoints": [ "index.ts",