storybook 8.3.0-alpha.4 → 8.3.0-alpha.5

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/dist/proxy.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";var import_child_process=require("child_process"),import_common=require("@storybook/core/common"),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"}).on("exit",code=>{code!=null&&process.exit(code),process.exit(1)})}
package/dist/proxy.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { __require } from './chunk-CQ7KV35C.js';
2
- import { spawn } from 'child_process';
3
2
  import { versions } from '@storybook/core/common';
3
+ import { spawn } from 'child_process';
4
4
 
5
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);});}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "storybook",
3
- "version": "8.3.0-alpha.4",
3
+ "version": "8.3.0-alpha.5",
4
4
  "description": "Storybook's CLI - install, dev, build, upgrade, and more",
5
5
  "keywords": [
6
6
  "cli",
@@ -305,11 +305,11 @@
305
305
  "!src/**/*"
306
306
  ],
307
307
  "scripts": {
308
- "check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
309
- "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
308
+ "check": "jiti ../../../scripts/prepare/check.ts",
309
+ "prep": "jiti ../../../scripts/prepare/bundle.ts"
310
310
  },
311
311
  "dependencies": {
312
- "@storybook/core": "8.3.0-alpha.4"
312
+ "@storybook/core": "8.3.0-alpha.5"
313
313
  },
314
314
  "devDependencies": {
315
315
  "typescript": "^5.3.2"