create-storybook 10.0.0-rc.1 → 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.
- package/dist/_node-chunks/{chunk-FHKRFZWL.js → chunk-5AIMTH4W.js} +19 -11
- package/dist/_node-chunks/{chunk-KOJSGT76.js → chunk-G6MJ4HRR.js} +6 -6
- package/dist/_node-chunks/{run-DWFWTCF2.js → run-MOMISCY3.js} +9 -9
- package/dist/bin/index.js +8 -8
- package/dist/index.js +8 -8
- package/package.json +2 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
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 =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
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-
|
|
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
|
|
|
@@ -17257,10 +17257,10 @@ var SUPPORTED_PROJECTS = {
|
|
|
17257
17257
|
language: "TS"
|
|
17258
17258
|
},
|
|
17259
17259
|
createScript: {
|
|
17260
|
-
npm: 'npm create next-app . -- --turbopack --typescript --use-npm --eslint --tailwind --no-app --import-alias="@/*" --src-dir',
|
|
17260
|
+
npm: 'npm create next-app . -- --turbopack --typescript --use-npm --eslint --tailwind --no-app --import-alias="@/*" --src-dir --no-react-compiler',
|
|
17261
17261
|
// yarn doesn't support version ranges, so we have to use npx
|
|
17262
|
-
yarn: 'npx create-next-app . --turbopack --typescript --use-yarn --eslint --tailwind --no-app --import-alias="@/*" --src-dir',
|
|
17263
|
-
pnpm: 'pnpm create next-app . --turbopack --typescript --use-pnpm --eslint --tailwind --no-app --import-alias="@/*" --src-dir'
|
|
17262
|
+
yarn: 'npx create-next-app . --turbopack --typescript --use-yarn --eslint --tailwind --no-app --import-alias="@/*" --src-dir --no-react-compiler',
|
|
17263
|
+
pnpm: 'pnpm create next-app . --turbopack --typescript --use-pnpm --eslint --tailwind --no-app --import-alias="@/*" --src-dir --no-react-compiler'
|
|
17264
17264
|
}
|
|
17265
17265
|
},
|
|
17266
17266
|
"vue-vite-ts": {
|
|
@@ -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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
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 =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
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 =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
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-
|
|
14
|
+
} from "./chunk-5AIMTH4W.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__name,
|
|
18
18
|
__require,
|
|
19
19
|
__toESM
|
|
20
|
-
} from "./chunk-
|
|
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.
|
|
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
|
|
3
|
-
import
|
|
4
|
-
import
|
|
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 =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
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_nxs8wmiukd.createRequire(import.meta.url);
|
|
|
13
13
|
import {
|
|
14
14
|
__toESM,
|
|
15
15
|
require_dist
|
|
16
|
-
} from "../_node-chunks/chunk-
|
|
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-
|
|
29
|
+
import("../_node-chunks/run-MOMISCY3.js");
|
package/dist/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
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 =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
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-
|
|
15
|
-
import "./_node-chunks/chunk-
|
|
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.
|
|
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.
|
|
46
|
+
"storybook": "10.0.0-rc.3"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@types/prompts": "^2.0.9",
|