create-storybook 10.0.0-beta.6 → 10.0.0-beta.8

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,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_hf5xszobp2e from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_hf5xszobp2e from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_hf5xszobp2e from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ixpvjplu7b from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ixpvjplu7b from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ixpvjplu7b from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_hf5xszobp2e.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_hf5xszobp2e.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_hf5xszobp2e.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ixpvjplu7b.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ixpvjplu7b.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ixpvjplu7b.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_hf5xszobp2e from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_hf5xszobp2e from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_hf5xszobp2e from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ixpvjplu7b from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ixpvjplu7b from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ixpvjplu7b from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_hf5xszobp2e.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_hf5xszobp2e.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_hf5xszobp2e.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ixpvjplu7b.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ixpvjplu7b.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ixpvjplu7b.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -16,7 +16,7 @@ import {
16
16
  __require,
17
17
  __toESM,
18
18
  require_dist
19
- } from "./chunk-VI62S6P2.js";
19
+ } from "./chunk-I6KHQPCY.js";
20
20
 
21
21
  // ../../node_modules/boxen/node_modules/emoji-regex/index.js
22
22
  var require_emoji_regex = __commonJS({
@@ -16636,20 +16636,20 @@ async function baseGenerator(packageManager, npmOptions, { language, builder, pn
16636
16636
  }
16637
16637
  if (addMainFile) {
16638
16638
  const prefixes = shouldApplyRequireWrapperOnPackageNames ? [
16639
- 'import { join, dirname } from "path"',
16639
+ 'import { dirname } from "path"',
16640
16640
  'import { fileURLToPath } from "url"',
16641
16641
  language === SupportedLanguage2.JAVASCRIPT ? import_ts_dedent2.dedent`/**
16642
16642
  * This function is used to resolve the absolute path of a package.
16643
16643
  * It is needed in projects that use Yarn PnP or are set up within a monorepo.
16644
16644
  */
16645
16645
  function getAbsolutePath(value) {
16646
- return dirname(fileURLToPath(import.meta.resolve(join(value, 'package.json'))))
16646
+ return dirname(fileURLToPath(import.meta.resolve(\`\${value}/package.json\`)))
16647
16647
  }` : import_ts_dedent2.dedent`/**
16648
16648
  * This function is used to resolve the absolute path of a package.
16649
16649
  * It is needed in projects that use Yarn PnP or are set up within a monorepo.
16650
16650
  */
16651
16651
  function getAbsolutePath(value: string): any {
16652
- return dirname(fileURLToPath(import.meta.resolve(join(value, 'package.json'))))
16652
+ return dirname(fileURLToPath(import.meta.resolve(\`\${value}/package.json\`)))
16653
16653
  }`
16654
16654
  ] : [];
16655
16655
  await configureMain({
@@ -1,23 +1,23 @@
1
- import CJS_COMPAT_NODE_URL_hf5xszobp2e from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_hf5xszobp2e from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_hf5xszobp2e from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ixpvjplu7b from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ixpvjplu7b from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ixpvjplu7b from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_hf5xszobp2e.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_hf5xszobp2e.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_hf5xszobp2e.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ixpvjplu7b.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ixpvjplu7b.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ixpvjplu7b.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
  initiate
14
- } from "./chunk-MQIG53HB.js";
14
+ } from "./chunk-VUSVECPL.js";
15
15
  import {
16
16
  __commonJS,
17
17
  __name,
18
18
  __require,
19
19
  __toESM
20
- } from "./chunk-VI62S6P2.js";
20
+ } from "./chunk-I6KHQPCY.js";
21
21
 
22
22
  // ../../node_modules/commander/lib/error.js
23
23
  var require_error = __commonJS({
@@ -3499,7 +3499,7 @@ var {
3499
3499
  } = import_index.default;
3500
3500
 
3501
3501
  // package.json
3502
- var version = "10.0.0-beta.6";
3502
+ var version = "10.0.0-beta.8";
3503
3503
 
3504
3504
  // src/bin/run.ts
3505
3505
  addToGlobalContext("cliVersion", version);
package/dist/bin/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
- import CJS_COMPAT_NODE_URL_hf5xszobp2e from 'node:url';
3
- import CJS_COMPAT_NODE_PATH_hf5xszobp2e from 'node:path';
4
- import CJS_COMPAT_NODE_MODULE_hf5xszobp2e from "node:module";
2
+ import CJS_COMPAT_NODE_URL_ixpvjplu7b from 'node:url';
3
+ import CJS_COMPAT_NODE_PATH_ixpvjplu7b from 'node:path';
4
+ import CJS_COMPAT_NODE_MODULE_ixpvjplu7b from "node:module";
5
5
 
6
- var __filename = CJS_COMPAT_NODE_URL_hf5xszobp2e.fileURLToPath(import.meta.url);
7
- var __dirname = CJS_COMPAT_NODE_PATH_hf5xszobp2e.dirname(__filename);
8
- var require = CJS_COMPAT_NODE_MODULE_hf5xszobp2e.createRequire(import.meta.url);
6
+ var __filename = CJS_COMPAT_NODE_URL_ixpvjplu7b.fileURLToPath(import.meta.url);
7
+ var __dirname = CJS_COMPAT_NODE_PATH_ixpvjplu7b.dirname(__filename);
8
+ var require = CJS_COMPAT_NODE_MODULE_ixpvjplu7b.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_hf5xszobp2e.createRequire(import.meta.url);
13
13
  import {
14
14
  __toESM,
15
15
  require_dist
16
- } from "../_node-chunks/chunk-VI62S6P2.js";
16
+ } from "../_node-chunks/chunk-I6KHQPCY.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-XYL7DU5H.js");
29
+ import("../_node-chunks/run-U5QI7RO6.js");
package/dist/index.js CHANGED
@@ -1,18 +1,18 @@
1
- import CJS_COMPAT_NODE_URL_hf5xszobp2e from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_hf5xszobp2e from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_hf5xszobp2e from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ixpvjplu7b from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ixpvjplu7b from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ixpvjplu7b from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_hf5xszobp2e.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_hf5xszobp2e.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_hf5xszobp2e.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ixpvjplu7b.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ixpvjplu7b.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ixpvjplu7b.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-MQIG53HB.js";
15
- import "./_node-chunks/chunk-VI62S6P2.js";
14
+ } from "./_node-chunks/chunk-VUSVECPL.js";
15
+ import "./_node-chunks/chunk-I6KHQPCY.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.6",
3
+ "version": "10.0.0-beta.8",
4
4
  "description": "Storybook installer: Develop, document, and test UI components in isolation",
5
5
  "keywords": [
6
6
  "storybook",
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "semver": "^7.6.2",
46
- "storybook": "10.0.0-beta.6"
46
+ "storybook": "10.0.0-beta.8"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/prompts": "^2.0.9",