@modern-js/storybook 0.0.0-next-20230913035856 → 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 CHANGED
@@ -1,10 +1,10 @@
1
1
  # @modern-js/storybook
2
2
 
3
- ## 0.0.0-next-20230913035856
3
+ ## 0.0.0-next-20230913105449
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - aec9975f8: feat: add storybook-framework
7
+ - 366c3528a: feat: add storybook-framework
8
8
  feat: 支持 storybook-framework
9
- - Updated dependencies [aec9975f8]
10
- - @modern-js/storybook-builder@0.0.0-next-20230913035856
9
+ - Updated dependencies [366c3528a]
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 { FrameworkOptions } from '.';
3
- export { defineConfig, type FrameworkOptions, } from '@modern-js/storybook-builder';
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: FrameworkOptions;
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-20230913035856",
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-20230913035856"
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 { FrameworkOptions } from '.';
2
+ import type { BuilderOptions } from '@modern-js/storybook-builder';
3
3
 
4
4
  export {
5
5
  defineConfig,
6
- type FrameworkOptions,
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: FrameworkOptions;
16
+ options: BuilderOptions;
17
17
  };
18
18
  typescript?: {
19
19
  reactDocgen?: 'react-docgen' | 'react-docgen-typescript' | false;