storybook 8.3.0-alpha.9 → 8.3.0-beta.0

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.
@@ -0,0 +1 @@
1
+ module.exports = require('@storybook/core/babel');
@@ -0,0 +1,2 @@
1
+ export * from '@storybook/core/babel';
2
+ export type * from '@storybook/core/babel';
@@ -0,0 +1 @@
1
+ export * from '@storybook/core/babel';
package/dist/proxy.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";var import_common=require("@storybook/core/common"),import_child_process=require("child_process"),args=process.argv.slice(2);if(["dev","build"].includes(args[0]))require("@storybook/core/cli/bin");else{let command=["npx","--yes",...args[0]==="init"?[`create-storybook@${import_common.versions.storybook}`,...args.slice(1)]:[`@storybook/cli@${import_common.versions.storybook}`,...args]];(0,import_child_process.spawn)(command[0],command.slice(1),{stdio:"inherit"}).on("exit",code=>{code!=null&&process.exit(code),process.exit(1)})}
1
+ "use strict";var import_common=require("@storybook/core/common"),import_child_process=require("child_process"),args=process.argv.slice(2);if(["dev","build"].includes(args[0]))require("@storybook/core/cli/bin");else{let command=["npx","--yes",...args[0]==="init"?[`create-storybook@${import_common.versions.storybook}`,...args.slice(1)]:[`@storybook/cli@${import_common.versions.storybook}`,...args]];(0,import_child_process.spawn)(command[0],command.slice(1),{stdio:"inherit",shell:!0}).on("exit",code=>{code!=null&&process.exit(code),process.exit(1)})}
package/dist/proxy.js CHANGED
@@ -2,4 +2,4 @@ import { __require } from './chunk-CQ7KV35C.js';
2
2
  import { versions } from '@storybook/core/common';
3
3
  import { spawn } from 'child_process';
4
4
 
5
- var args=process.argv.slice(2);if(["dev","build"].includes(args[0]))__require("@storybook/core/cli/bin");else {let command=["npx","--yes",...args[0]==="init"?[`create-storybook@${versions.storybook}`,...args.slice(1)]:[`@storybook/cli@${versions.storybook}`,...args]];spawn(command[0],command.slice(1),{stdio:"inherit"}).on("exit",code=>{code!=null&&process.exit(code),process.exit(1);});}
5
+ var args=process.argv.slice(2);if(["dev","build"].includes(args[0]))__require("@storybook/core/cli/bin");else {let command=["npx","--yes",...args[0]==="init"?[`create-storybook@${versions.storybook}`,...args.slice(1)]:[`@storybook/cli@${versions.storybook}`,...args]];spawn(command[0],command.slice(1),{stdio:"inherit",shell:!0}).on("exit",code=>{code!=null&&process.exit(code),process.exit(1);});}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "storybook",
3
- "version": "8.3.0-alpha.9",
3
+ "version": "8.3.0-beta.0",
4
4
  "description": "Storybook's CLI - install, dev, build, upgrade, and more",
5
5
  "keywords": [
6
6
  "cli",
@@ -182,6 +182,11 @@
182
182
  "types": "./core/manager/globals.d.ts",
183
183
  "import": "./core/manager/globals.js",
184
184
  "require": "./core/manager/globals.cjs"
185
+ },
186
+ "./internal/babel": {
187
+ "types": "./core/babel/index.d.ts",
188
+ "import": "./core/babel/index.js",
189
+ "require": "./core/babel/index.cjs"
185
190
  }
186
191
  },
187
192
  "main": "dist/index.cjs",
@@ -192,6 +197,9 @@
192
197
  "internal/*": [
193
198
  "./core/index.d.ts"
194
199
  ],
200
+ "internal/babel": [
201
+ "./core/babel/index.d.ts"
202
+ ],
195
203
  "internal/builder-manager": [
196
204
  "./core/builder-manager/index.d.ts"
197
205
  ],
@@ -309,7 +317,7 @@
309
317
  "prep": "jiti ../../../scripts/prepare/bundle.ts"
310
318
  },
311
319
  "dependencies": {
312
- "@storybook/core": "8.3.0-alpha.9"
320
+ "@storybook/core": "8.3.0-beta.0"
313
321
  },
314
322
  "devDependencies": {
315
323
  "typescript": "^5.3.2"