@modern-js/storybook 0.0.0-next-20230913081749 → 0.0.0-next-20230913105449
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/CHANGELOG.md +2 -2
- package/dist/types.d.ts +3 -3
- package/package.json +2 -2
- package/src/types.ts +3 -3
package/CHANGELOG.md
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
# @modern-js/storybook
|
2
2
|
|
3
|
-
## 0.0.0-next-
|
3
|
+
## 0.0.0-next-20230913105449
|
4
4
|
|
5
5
|
### Patch Changes
|
6
6
|
|
7
7
|
- 366c3528a: feat: add storybook-framework
|
8
8
|
feat: 支持 storybook-framework
|
9
9
|
- Updated dependencies [366c3528a]
|
10
|
-
- @modern-js/storybook-builder@0.0.0-next-
|
10
|
+
- @modern-js/storybook-builder@0.0.0-next-20230913105449
|
package/dist/types.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import type { StorybookConfig as StorybookConfigBase } from '@storybook/types';
|
2
|
-
import {
|
3
|
-
export { defineConfig, type
|
2
|
+
import type { BuilderOptions } from '@modern-js/storybook-builder';
|
3
|
+
export { defineConfig, type BuilderOptions, } from '@modern-js/storybook-builder';
|
4
4
|
export type FrameworkName = '@modern-js/storybook' | string;
|
5
5
|
export interface StorybookConfig extends StorybookConfigBase {
|
6
6
|
framework: FrameworkName | {
|
7
7
|
name: FrameworkName;
|
8
|
-
options:
|
8
|
+
options: BuilderOptions;
|
9
9
|
};
|
10
10
|
typescript?: {
|
11
11
|
reactDocgen?: 'react-docgen' | 'react-docgen-typescript' | false;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@modern-js/storybook",
|
3
|
-
"version": "0.0.0-next-
|
3
|
+
"version": "0.0.0-next-20230913105449",
|
4
4
|
"description": "modern.js support for storybook",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -36,7 +36,7 @@
|
|
36
36
|
"dependencies": {
|
37
37
|
"@storybook/react": "^7.4.0",
|
38
38
|
"storybook": "^7.4.0",
|
39
|
-
"@modern-js/storybook-builder": "0.0.0-next-
|
39
|
+
"@modern-js/storybook-builder": "0.0.0-next-20230913105449"
|
40
40
|
},
|
41
41
|
"devDependencies": {
|
42
42
|
"@storybook/types": "^7.4.0",
|
package/src/types.ts
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import type { StorybookConfig as StorybookConfigBase } from '@storybook/types';
|
2
|
-
import {
|
2
|
+
import type { BuilderOptions } from '@modern-js/storybook-builder';
|
3
3
|
|
4
4
|
export {
|
5
5
|
defineConfig,
|
6
|
-
type
|
6
|
+
type BuilderOptions,
|
7
7
|
} from '@modern-js/storybook-builder';
|
8
8
|
|
9
9
|
export type FrameworkName = '@modern-js/storybook' | string;
|
@@ -13,7 +13,7 @@ export interface StorybookConfig extends StorybookConfigBase {
|
|
13
13
|
| FrameworkName
|
14
14
|
| {
|
15
15
|
name: FrameworkName;
|
16
|
-
options:
|
16
|
+
options: BuilderOptions;
|
17
17
|
};
|
18
18
|
typescript?: {
|
19
19
|
reactDocgen?: 'react-docgen' | 'react-docgen-typescript' | false;
|