diff --git a/.changeset/studio-sdk-packaging.md b/.changeset/studio-sdk-packaging.md new file mode 100644 index 0000000..bd42c4e --- /dev/null +++ b/.changeset/studio-sdk-packaging.md @@ -0,0 +1,5 @@ +--- +"@runflow-io/studio": patch +--- + +Stop declaring `@runflow-io/sdk` as a peerDependency — it has always been bundled into the studio's dist (`tsup noExternal`), so consumers never needed to install it. This also stops changesets from major-bumping the studio whenever the bundled SDK takes a minor. The build now tracks the workspace SDK directly (`workspace:*` devDependency). diff --git a/bun.lock b/bun.lock index 2e2c864..14d36ed 100644 --- a/bun.lock +++ b/bun.lock @@ -46,7 +46,7 @@ "jszip": "^3.10.1", }, "devDependencies": { - "@runflow-io/sdk": "^0.0.3", + "@runflow-io/sdk": "workspace:*", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", "react": "^18.3.1", @@ -56,7 +56,6 @@ "vitest": "^2.1.8", }, "peerDependencies": { - "@runflow-io/sdk": "^0.0.3", "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0", }, diff --git a/packages/studio/package.json b/packages/studio/package.json index 0d23241..4a8428a 100644 --- a/packages/studio/package.json +++ b/packages/studio/package.json @@ -44,12 +44,11 @@ "jszip": "^3.10.1" }, "peerDependencies": { - "@runflow-io/sdk": "^0.0.3", "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0" }, "devDependencies": { - "@runflow-io/sdk": "^0.0.3", + "@runflow-io/sdk": "workspace:*", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", "react": "^18.3.1",