storybook-vue3-rsbuild 0.0.1-beta.0 → 0.0.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -3
- package/dist/index.d.ts +27 -2
- package/dist/preset.d.ts +10 -2
- package/package.json +2 -2
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
@@ -1,2 +1,27 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import { StorybookConfig as StorybookConfig$1 } from '@storybook/types';
|
2
|
+
import { BuilderOptions, StorybookConfigRsbuild } from 'storybook-builder-rsbuild';
|
3
|
+
|
4
|
+
type FrameworkName = 'storybook-vue3-rsbuild';
|
5
|
+
type BuilderName = 'storybook-builder-rsbuild';
|
6
|
+
type FrameworkOptions = {
|
7
|
+
builder?: BuilderOptions;
|
8
|
+
};
|
9
|
+
type StorybookConfigFramework = {
|
10
|
+
framework: FrameworkName | {
|
11
|
+
name: FrameworkName;
|
12
|
+
options: FrameworkOptions;
|
13
|
+
};
|
14
|
+
core?: StorybookConfig$1['core'] & {
|
15
|
+
builder?: BuilderName | {
|
16
|
+
name: BuilderName;
|
17
|
+
options: BuilderOptions;
|
18
|
+
};
|
19
|
+
};
|
20
|
+
typescript?: StorybookConfig$1['typescript'];
|
21
|
+
};
|
22
|
+
/**
|
23
|
+
* The interface for Storybook configuration in `main.ts` files.
|
24
|
+
*/
|
25
|
+
type StorybookConfig = Omit<StorybookConfig$1, keyof StorybookConfigRsbuild | keyof StorybookConfigFramework> & StorybookConfigRsbuild & StorybookConfigFramework;
|
26
|
+
|
27
|
+
export { FrameworkOptions, StorybookConfig };
|
package/dist/preset.d.ts
CHANGED
@@ -1,2 +1,10 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import { PresetProperty } from '@storybook/types';
|
2
|
+
import { StorybookConfig } from './index.js';
|
3
|
+
import 'storybook-builder-rsbuild';
|
4
|
+
|
5
|
+
declare const rsbuildFinal: StorybookConfig['rsbuildFinal'];
|
6
|
+
|
7
|
+
declare const core: PresetProperty<'core'>;
|
8
|
+
declare const typescript: PresetProperty<'typescript'>;
|
9
|
+
|
10
|
+
export { core, rsbuildFinal, typescript };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "storybook-vue3-rsbuild",
|
3
|
-
"version": "0.0.1-beta.
|
3
|
+
"version": "0.0.1-beta.1",
|
4
4
|
"description": "Storybook for Vue3: Develop React Component in isolation with Hot Reloading.",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -39,7 +39,7 @@
|
|
39
39
|
"@storybook/docs-tools": "8.0.10",
|
40
40
|
"@storybook/types": "8.0.10",
|
41
41
|
"vue-docgen-loader": "^1.5.1",
|
42
|
-
"storybook-builder-rsbuild": "0.0.1-beta.
|
42
|
+
"storybook-builder-rsbuild": "0.0.1-beta.1"
|
43
43
|
},
|
44
44
|
"devDependencies": {
|
45
45
|
"@types/node": "^18.0.0",
|