Skip to content

Commit aa59a30

Browse files
authored
fix(rslib): drop legacy Storybook packages (#353)
1 parent 53baf62 commit aa59a30

File tree

7 files changed

+4
-254
lines changed

7 files changed

+4
-254
lines changed

pnpm-lock.yaml

Lines changed: 0 additions & 234 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rslib/react-storybook/.storybook/main.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ const config: StorybookConfig = {
1717
addons: [
1818
'@storybook/addon-docs',
1919
'@storybook/addon-onboarding',
20-
'@storybook/addon-links',
21-
'@storybook/addon-essentials',
22-
'@storybook/addon-interactions',
2320
{
2421
name: getAbsolutePath('storybook-addon-rslib'),
2522
},

rslib/react-storybook/package.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,8 @@
2323
"@rsbuild/plugin-react": "^1.4.0",
2424
"@rslib/core": "^0.14.0",
2525
"@storybook/addon-docs": "^9.1.7",
26-
"@storybook/addon-essentials": "^9.0.0-alpha.12",
27-
"@storybook/addon-interactions": "^9.0.0-alpha.10",
28-
"@storybook/addon-links": "^9.1.7",
2926
"@storybook/addon-onboarding": "^9.1.7",
30-
"@storybook/blocks": "^9.0.0-alpha.17",
3127
"@storybook/react": "^9.1.7",
32-
"@storybook/test": "^9.0.0-alpha.2",
3328
"@types/react": "^19.1.13",
3429
"react": "^19.1.1",
3530
"storybook": "^9.1.7",
@@ -41,4 +36,4 @@
4136
"react": ">=16.9.0",
4237
"react-dom": ">=16.9.0"
4338
}
44-
}
39+
}

rslib/react-storybook/stories/Button.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Meta, StoryObj } from '@storybook/react';
2-
import { fn } from '@storybook/test';
2+
import { fn } from 'storybook/test';
33
import { Button } from '../src/Button';
44

55
// More on how to set up stories at: https://storybook.js.org/docs/writing-stories#default-export

rslib/vue-storybook/.storybook/main.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ const config: StorybookConfig = {
1717
addons: [
1818
'@storybook/addon-docs',
1919
'@storybook/addon-onboarding',
20-
'@storybook/addon-links',
21-
'@storybook/addon-essentials',
22-
'@storybook/addon-interactions',
2320
{
2421
name: getAbsolutePath('storybook-addon-rslib'),
2522
},

rslib/vue-storybook/package.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,7 @@
2222
"@rsbuild/core": "~1.5.11",
2323
"@rslib/core": "^0.14.0",
2424
"@storybook/addon-docs": "^9.1.7",
25-
"@storybook/addon-essentials": "^9.0.0-alpha.12",
26-
"@storybook/addon-interactions": "^9.0.0-alpha.10",
27-
"@storybook/addon-links": "^9.1.7",
2825
"@storybook/addon-onboarding": "^9.1.7",
29-
"@storybook/blocks": "^9.0.0-alpha.17",
30-
"@storybook/test": "^9.0.0-alpha.2",
3126
"@storybook/vue3": "^9.1.7",
3227
"rsbuild-plugin-unplugin-vue": "^0.1.0",
3328
"storybook": "^9.1.7",
@@ -40,4 +35,4 @@
4035
"peerDependencies": {
4136
"vue": "^3.2.0"
4237
}
43-
}
38+
}

rslib/vue-storybook/stories/Button.stories.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { fn } from '@storybook/test';
1+
import { fn } from 'storybook/test';
22
import Button from '../src/Button';
33

44
// More on how to set up stories at: https://storybook.js.org/docs/writing-stories#default-export

0 commit comments

Comments
 (0)