create-storybook 10.0.0-rc.2 → 10.0.0-rc.3

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_b2dh6558a95 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_b2dh6558a95 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_b2dh6558a95 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_tcwzxm7761g from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_tcwzxm7761g from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_tcwzxm7761g from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_b2dh6558a95.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_b2dh6558a95.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_b2dh6558a95.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_tcwzxm7761g.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_tcwzxm7761g.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_tcwzxm7761g.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-FZRCQD22.js";
19
+ } from "./chunk-G6MJ4HRR.js";
20
20
 
21
21
  // ../../node_modules/boxen/node_modules/emoji-regex/index.js
22
22
  var require_emoji_regex = __commonJS({
@@ -14640,7 +14640,7 @@ import {
14640
14640
  versions as versions2
14641
14641
  } from "storybook/internal/common";
14642
14642
  import { withTelemetry } from "storybook/internal/core-server";
14643
- import { logger as logger4 } from "storybook/internal/node-logger";
14643
+ import { deprecate, logger as logger4 } from "storybook/internal/node-logger";
14644
14644
  import { NxProjectDetectedError } from "storybook/internal/server-errors";
14645
14645
  import { telemetry as telemetry2 } from "storybook/internal/telemetry";
14646
14646
 
@@ -17442,6 +17442,14 @@ var installStorybook = /* @__PURE__ */ __name(async (projectType, packageManager
17442
17442
  };
17443
17443
  const language = await detectLanguage3(packageManager);
17444
17444
  const pnp = await detectPnp();
17445
+ if (pnp) {
17446
+ deprecate(import_ts_dedent5.dedent`
17447
+ As of Storybook 10.0, PnP is deprecated.
17448
+ If you are using PnP, you can continue to use Storybook 10.0, but we recommend migrating to a different package manager or linker-mode.
17449
+
17450
+ In future versions, PnP compatibility will be removed.
17451
+ `);
17452
+ }
17445
17453
  const generatorOptions = {
17446
17454
  language,
17447
17455
  builder: options.builder,
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_b2dh6558a95 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_b2dh6558a95 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_b2dh6558a95 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_tcwzxm7761g from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_tcwzxm7761g from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_tcwzxm7761g from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_b2dh6558a95.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_b2dh6558a95.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_b2dh6558a95.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_tcwzxm7761g.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_tcwzxm7761g.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_tcwzxm7761g.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -1,23 +1,23 @@
1
- import CJS_COMPAT_NODE_URL_b2dh6558a95 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_b2dh6558a95 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_b2dh6558a95 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_tcwzxm7761g from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_tcwzxm7761g from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_tcwzxm7761g from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_b2dh6558a95.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_b2dh6558a95.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_b2dh6558a95.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_tcwzxm7761g.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_tcwzxm7761g.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_tcwzxm7761g.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-GXFAYS4H.js";
14
+ } from "./chunk-5AIMTH4W.js";
15
15
  import {
16
16
  __commonJS,
17
17
  __name,
18
18
  __require,
19
19
  __toESM
20
- } from "./chunk-FZRCQD22.js";
20
+ } from "./chunk-G6MJ4HRR.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-rc.2";
3502
+ var version = "10.0.0-rc.3";
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_b2dh6558a95 from 'node:url';
3
- import CJS_COMPAT_NODE_PATH_b2dh6558a95 from 'node:path';
4
- import CJS_COMPAT_NODE_MODULE_b2dh6558a95 from "node:module";
2
+ import CJS_COMPAT_NODE_URL_tcwzxm7761g from 'node:url';
3
+ import CJS_COMPAT_NODE_PATH_tcwzxm7761g from 'node:path';
4
+ import CJS_COMPAT_NODE_MODULE_tcwzxm7761g from "node:module";
5
5
 
6
- var __filename = CJS_COMPAT_NODE_URL_b2dh6558a95.fileURLToPath(import.meta.url);
7
- var __dirname = CJS_COMPAT_NODE_PATH_b2dh6558a95.dirname(__filename);
8
- var require = CJS_COMPAT_NODE_MODULE_b2dh6558a95.createRequire(import.meta.url);
6
+ var __filename = CJS_COMPAT_NODE_URL_tcwzxm7761g.fileURLToPath(import.meta.url);
7
+ var __dirname = CJS_COMPAT_NODE_PATH_tcwzxm7761g.dirname(__filename);
8
+ var require = CJS_COMPAT_NODE_MODULE_tcwzxm7761g.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_b2dh6558a95.createRequire(import.meta.url);
13
13
  import {
14
14
  __toESM,
15
15
  require_dist
16
- } from "../_node-chunks/chunk-FZRCQD22.js";
16
+ } from "../_node-chunks/chunk-G6MJ4HRR.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-TE5QL5WA.js");
29
+ import("../_node-chunks/run-MOMISCY3.js");
package/dist/index.js CHANGED
@@ -1,18 +1,18 @@
1
- import CJS_COMPAT_NODE_URL_b2dh6558a95 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_b2dh6558a95 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_b2dh6558a95 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_tcwzxm7761g from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_tcwzxm7761g from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_tcwzxm7761g from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_b2dh6558a95.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_b2dh6558a95.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_b2dh6558a95.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_tcwzxm7761g.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_tcwzxm7761g.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_tcwzxm7761g.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-GXFAYS4H.js";
15
- import "./_node-chunks/chunk-FZRCQD22.js";
14
+ } from "./_node-chunks/chunk-5AIMTH4W.js";
15
+ import "./_node-chunks/chunk-G6MJ4HRR.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-rc.2",
3
+ "version": "10.0.0-rc.3",
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-rc.2"
46
+ "storybook": "10.0.0-rc.3"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/prompts": "^2.0.9",