@storybook/react-webpack5 7.0.0-beta.55 → 7.0.0-beta.56

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/preset.d.ts +5 -0
  2. package/package.json +5 -5
package/dist/preset.d.ts CHANGED
@@ -887,6 +887,7 @@ interface BuilderOptions {
887
887
  cache?: FileSystemCache;
888
888
  configDir: string;
889
889
  docsMode?: boolean;
890
+ env?: (envs: Record<string, string>) => Record<string, string>;
890
891
  features?: StorybookConfig['features'];
891
892
  versionCheck?: VersionCheck;
892
893
  releaseNotesData?: ReleaseNotesData;
@@ -996,6 +997,10 @@ interface StorybookConfig {
996
997
  * Use legacy MDX1, to help smooth migration to 7.0
997
998
  */
998
999
  legacyMdx1?: boolean;
1000
+ /**
1001
+ * Apply decorators from preview.js before decorators from addons or frameworks
1002
+ */
1003
+ legacyDecoratorFileOrder?: boolean;
999
1004
  };
1000
1005
  /**
1001
1006
  * Tells Storybook where to find stories.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react-webpack5",
3
- "version": "7.0.0-beta.55",
3
+ "version": "7.0.0-beta.56",
4
4
  "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "storybook"
@@ -48,9 +48,9 @@
48
48
  "prep": "../../../scripts/prepare/bundle.ts"
49
49
  },
50
50
  "dependencies": {
51
- "@storybook/builder-webpack5": "7.0.0-beta.55",
52
- "@storybook/preset-react-webpack": "7.0.0-beta.55",
53
- "@storybook/react": "7.0.0-beta.55",
51
+ "@storybook/builder-webpack5": "7.0.0-beta.56",
52
+ "@storybook/preset-react-webpack": "7.0.0-beta.56",
53
+ "@storybook/react": "7.0.0-beta.56",
54
54
  "@types/node": "^16.0.0"
55
55
  },
56
56
  "devDependencies": {
@@ -83,5 +83,5 @@
83
83
  ],
84
84
  "platform": "node"
85
85
  },
86
- "gitHead": "fcabbb3d1837b193348cbdb7935d497049cd5243"
86
+ "gitHead": "26815b0ea07f3800cc514cccd242c8ab1f428b8c"
87
87
  }