create-storybook 10.0.0-beta.2 → 10.0.0-beta.4

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.
@@ -1,23 +1,23 @@
1
- import CJS_COMPAT_NODE_URL_r3aub8o168l from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_r3aub8o168l from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_r3aub8o168l from "node:module";
1
+ import CJS_COMPAT_NODE_URL_0v69wlcypqha from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_0v69wlcypqha from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_0v69wlcypqha from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_r3aub8o168l.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_r3aub8o168l.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_r3aub8o168l.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_0v69wlcypqha.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_0v69wlcypqha.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_0v69wlcypqha.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
- doInitiate
14
- } from "./chunk-SQD57AXM.js";
13
+ initiate
14
+ } from "./chunk-THF6B443.js";
15
15
  import {
16
16
  __commonJS,
17
17
  __name,
18
18
  __require,
19
19
  __toESM
20
- } from "./chunk-VG5HPX7P.js";
20
+ } from "./chunk-CELW5TN7.js";
21
21
 
22
22
  // ../../node_modules/commander/lib/error.js
23
23
  var require_error = __commonJS({
@@ -3065,7 +3065,7 @@ var {
3065
3065
  } = import_index.default;
3066
3066
 
3067
3067
  // package.json
3068
- var version = "10.0.0-beta.2";
3068
+ var version = "10.0.0-beta.4";
3069
3069
 
3070
3070
  // src/bin/run.ts
3071
3071
  addToGlobalContext("cliVersion", version);
@@ -3087,5 +3087,5 @@ createStorybookProgram.action(async (options) => {
3087
3087
  const isNeitherCiNorSandbox = !isCI() && !optionalEnvToBoolean(process.env.IN_STORYBOOK_SANDBOX);
3088
3088
  options.debug = options.debug ?? false;
3089
3089
  options.dev = options.dev ?? isNeitherCiNorSandbox;
3090
- await doInitiate(options).catch(() => process.exit(1));
3090
+ await initiate(options).catch(() => process.exit(1));
3091
3091
  }).version(String(version)).parse(process.argv);
package/dist/bin/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
- import CJS_COMPAT_NODE_URL_r3aub8o168l from 'node:url';
3
- import CJS_COMPAT_NODE_PATH_r3aub8o168l from 'node:path';
4
- import CJS_COMPAT_NODE_MODULE_r3aub8o168l from "node:module";
2
+ import CJS_COMPAT_NODE_URL_0v69wlcypqha from 'node:url';
3
+ import CJS_COMPAT_NODE_PATH_0v69wlcypqha from 'node:path';
4
+ import CJS_COMPAT_NODE_MODULE_0v69wlcypqha from "node:module";
5
5
 
6
- var __filename = CJS_COMPAT_NODE_URL_r3aub8o168l.fileURLToPath(import.meta.url);
7
- var __dirname = CJS_COMPAT_NODE_PATH_r3aub8o168l.dirname(__filename);
8
- var require = CJS_COMPAT_NODE_MODULE_r3aub8o168l.createRequire(import.meta.url);
6
+ var __filename = CJS_COMPAT_NODE_URL_0v69wlcypqha.fileURLToPath(import.meta.url);
7
+ var __dirname = CJS_COMPAT_NODE_PATH_0v69wlcypqha.dirname(__filename);
8
+ var require = CJS_COMPAT_NODE_MODULE_0v69wlcypqha.createRequire(import.meta.url);
9
9
 
10
10
  // ------------------------------------------------------------
11
11
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -13,7 +13,7 @@ var require = CJS_COMPAT_NODE_MODULE_r3aub8o168l.createRequire(import.meta.url);
13
13
  import {
14
14
  __toESM,
15
15
  require_dist
16
- } from "../_node-chunks/chunk-VG5HPX7P.js";
16
+ } from "../_node-chunks/chunk-CELW5TN7.js";
17
17
 
18
18
  // src/bin/index.ts
19
19
  var import_ts_dedent = __toESM(require_dist(), 1);
@@ -26,4 +26,4 @@ if (majorNodeVersion < 20 || majorNodeVersion === 20 && minorNodeVersion < 19 ||
26
26
  );
27
27
  process.exit(1);
28
28
  }
29
- import("../_node-chunks/run-DHV7GLTX.js");
29
+ import("../_node-chunks/run-YL2NHMIB.js");
package/dist/index.js CHANGED
@@ -1,18 +1,18 @@
1
- import CJS_COMPAT_NODE_URL_r3aub8o168l from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_r3aub8o168l from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_r3aub8o168l from "node:module";
1
+ import CJS_COMPAT_NODE_URL_0v69wlcypqha from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_0v69wlcypqha from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_0v69wlcypqha from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_r3aub8o168l.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_r3aub8o168l.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_r3aub8o168l.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_0v69wlcypqha.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_0v69wlcypqha.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_0v69wlcypqha.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  doInitiate
14
- } from "./_node-chunks/chunk-SQD57AXM.js";
15
- import "./_node-chunks/chunk-VG5HPX7P.js";
14
+ } from "./_node-chunks/chunk-THF6B443.js";
15
+ import "./_node-chunks/chunk-CELW5TN7.js";
16
16
  export {
17
17
  doInitiate as initiate
18
18
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-storybook",
3
- "version": "10.0.0-beta.2",
3
+ "version": "10.0.0-beta.4",
4
4
  "description": "Storybook installer: Develop, document, and test UI components in isolation",
5
5
  "keywords": [
6
6
  "storybook",
@@ -43,17 +43,18 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "semver": "^7.6.2",
46
- "storybook": "10.0.0-beta.2"
46
+ "storybook": "10.0.0-beta.4"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/prompts": "^2.0.9",
50
50
  "@types/semver": "^7.3.4",
51
51
  "boxen": "^7.1.1",
52
52
  "commander": "^12.1.0",
53
+ "empathic": "^2.0.0",
53
54
  "execa": "^5.0.0",
54
- "find-up": "^7.0.0",
55
55
  "ora": "^5.4.1",
56
56
  "picocolors": "^1.1.0",
57
+ "process-ancestry": "^0.0.2",
57
58
  "prompts": "^2.4.0",
58
59
  "react": "^18.2.0",
59
60
  "tiny-invariant": "^1.3.1",