Skip to content

Commit

Permalink
Merge pull request #22038 from storybookjs/shilman/21935-remove-mdx1-…
Browse files Browse the repository at this point in the history
…peer-dep

Addon-docs: Remove mdx1-csf as optional peer dep
  • Loading branch information
shilman authored Apr 12, 2023
2 parents 2909c40 + 48a9cea commit abeb853
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 467 deletions.
9 changes: 3 additions & 6 deletions code/addons/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,9 @@
"typescript": "~4.9.3"
},
"peerDependencies": {
"@storybook/mdx1-csf": ">=1.0.0-0",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"@storybook/mdx1-csf": {
"optional": true
}
},
"publishConfig": {
"access": "public"
},
Expand All @@ -146,6 +140,9 @@
"./src/preview.ts",
"./src/blocks.ts",
"./src/shims/mdx-react-shim.ts"
],
"externals": [
"@storybook/mdx1-csf"
]
},
"gitHead": "48a1df25493b1cc26a405096e723301f4bb04b4e",
Expand Down
8 changes: 3 additions & 5 deletions code/lib/builder-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
"rollup": "^2.25.0 || ^3.3.0"
},
"devDependencies": {
"@storybook/mdx1-csf": ">=1.0.0-next.1",
"@types/express": "^4.17.13",
"@types/node": "^16.0.0",
"rollup": "^3.20.1",
Expand All @@ -74,7 +73,6 @@
},
"peerDependencies": {
"@preact/preset-vite": "*",
"@storybook/mdx1-csf": ">=1.0.0-next.1",
"typescript": ">= 4.3.x",
"vite": "^3.0.0 || ^4.0.0",
"vite-plugin-glimmerx": "*"
Expand All @@ -83,9 +81,6 @@
"@preact/preset-vite": {
"optional": true
},
"@storybook/mdx1-csf": {
"optional": true
},
"typescript": {
"optional": true
},
Expand All @@ -100,6 +95,9 @@
"entries": [
"./src/index.ts"
],
"externals": [
"@storybook/mdx1-csf"
],
"platform": "node"
},
"gitHead": "48a1df25493b1cc26a405096e723301f4bb04b4e"
Expand Down
Loading

0 comments on commit abeb853

Please sign in to comment.