diff --git a/code/presets/create-react-app/package.json b/code/presets/create-react-app/package.json index 58fd590e700..9539c5f5123 100644 --- a/code/presets/create-react-app/package.json +++ b/code/presets/create-react-app/package.json @@ -50,6 +50,7 @@ "dependencies": { "@pmmmwh/react-refresh-webpack-plugin": "^0.5.1", "@storybook/react-docgen-typescript-plugin": "canary", + "@storybook/types": "7.0.0-beta.48", "@types/babel__core": "^7.1.7", "babel-plugin-react-docgen": "^4.1.0", "pnp-webpack-plugin": "^1.7.0", @@ -57,14 +58,11 @@ }, "devDependencies": { "@storybook/node-logger": "7.0.0-beta.48", - "@storybook/types": "7.0.0-beta.48", "@types/semver": "^7.3.6", "typescript": "~4.9.3" }, "peerDependencies": { "@babel/core": "*", - "@storybook/node-logger": "*", - "@storybook/react": "7.0.0-beta.48", "react-scripts": ">=5.0.0" }, "publishConfig": { @@ -74,7 +72,9 @@ "entries": [ "./src/index.ts" ], - "platform": "node" + "formats": [ + "cjs" + ] }, "gitHead": "8c9765f9cd204fc63b928526941d8d8bffaf7c38" } diff --git a/code/yarn.lock b/code/yarn.lock index f9cf9e1a2b3..584be174633 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -6088,8 +6088,6 @@ __metadata: typescript: ~4.9.3 peerDependencies: "@babel/core": "*" - "@storybook/node-logger": "*" - "@storybook/react": 7.0.0-beta.48 react-scripts: ">=5.0.0" languageName: unknown linkType: soft