@storybook/react-dom-shim 7.6.0-alpha.6 → 7.6.0-alpha.7

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.
Files changed (2) hide show
  1. package/dist/preset.d.ts +13 -0
  2. package/package.json +4 -4
package/dist/preset.d.ts CHANGED
@@ -2872,8 +2872,15 @@ interface TypescriptOptions {
2872
2872
  * Disable parsing typescript files through babel.
2873
2873
  *
2874
2874
  * @default `false`
2875
+ * @deprecated use `skipCompiler` instead
2875
2876
  */
2876
2877
  skipBabel: boolean;
2878
+ /**
2879
+ * Disable parsing typescript files through compiler.
2880
+ *
2881
+ * @default `false`
2882
+ */
2883
+ skipCompiler: boolean;
2877
2884
  }
2878
2885
  type Preset = string | {
2879
2886
  name: string;
@@ -2993,6 +3000,12 @@ interface StorybookConfig {
2993
3000
  * Apply decorators from preview.js before decorators from addons or frameworks
2994
3001
  */
2995
3002
  legacyDecoratorFileOrder?: boolean;
3003
+ /**
3004
+ * Disallow implicit actions during rendering. This will be the default in Storybook 8.
3005
+ *
3006
+ * This will make sure that your story renders the same no matter if docgen is enabled or not.
3007
+ */
3008
+ disallowImplicitActionsInRenderV8?: boolean;
2996
3009
  };
2997
3010
  build?: TestBuildConfig;
2998
3011
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react-dom-shim",
3
- "version": "7.6.0-alpha.6",
3
+ "version": "7.6.0-alpha.7",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "storybook"
@@ -50,11 +50,11 @@
50
50
  "!src/**/*"
51
51
  ],
52
52
  "scripts": {
53
- "check": "../../../scripts/prepare/check.ts",
54
- "prep": "../../../scripts/prepare/bundle.ts"
53
+ "check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
54
+ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
55
55
  },
56
56
  "devDependencies": {
57
- "@storybook/types": "7.6.0-alpha.6",
57
+ "@storybook/types": "7.6.0-alpha.7",
58
58
  "typescript": "~4.9.3"
59
59
  },
60
60
  "peerDependencies": {