@storybook/nextjs 10.1.8 → 10.1.9
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-JFIY5KKT.js → chunk-MIOTQYY5.js} +7 -7
- package/dist/_node-chunks/{chunk-7KA67HPQ.js → chunk-P7UZFXGD.js} +7 -7
- package/dist/_node-chunks/{chunk-62TLI4KX.js → chunk-ZPHP5BQW.js} +6 -6
- package/dist/_node-chunks/{configureNextFont-U7BKTCQ7.js → configureNextFont-IIKNRI37.js} +6 -6
- package/dist/_node-chunks/{loader-QS4OFKP4.js → loader-T6SZXLXI.js} +8 -8
- package/dist/_node-chunks/{loader-CUDPTVCV.js → loader-TZPBBNNQ.js} +8 -8
- package/dist/_node-chunks/{utils-7ANIUGO2.js → utils-4ADXBFSH.js} +8 -8
- package/dist/_node-chunks/{webpack-M5VHGHPT.js → webpack-6MC66YKJ.js} +6 -6
- package/dist/_node-chunks/{webpack-UYZCM3SX.js → webpack-B2RUGDOQ.js} +8 -8
- package/dist/_node-chunks/{webpack-K4Z77XUA.js → webpack-B5ZCMOCU.js} +9 -9
- package/dist/_node-chunks/{webpack-HJ5XHNBA.js → webpack-CGPR52KC.js} +6 -6
- package/dist/_node-chunks/{webpack-TYIXZLBL.js → webpack-K3YOEMKX.js} +8 -8
- package/dist/_node-chunks/{webpack-ULO2CYBK.js → webpack-L6OWLGDU.js} +6 -6
- package/dist/_node-chunks/{webpack-QYFONCBS.js → webpack-VEM7AS7G.js} +7 -7
- package/dist/_node-chunks/{webpack-IP472L3C.js → webpack-VOYYHIRY.js} +6 -6
- package/dist/export-mocks/index.js +9 -9
- package/dist/font/webpack/loader/storybook-nextjs-font-loader.js +6 -6
- package/dist/node/index.js +6 -6
- package/dist/preset.js +9 -9
- package/dist/swc/next-swc-loader-patch.js +6 -6
- package/package.json +5 -5
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_p9pfecwb9ta from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_p9pfecwb9ta from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_p9pfecwb9ta from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_p9pfecwb9ta.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_p9pfecwb9ta.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_p9pfecwb9ta.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
addScopedAlias,
|
|
14
14
|
getNextjsVersion,
|
|
15
15
|
setAlias
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-P7UZFXGD.js";
|
|
17
17
|
|
|
18
18
|
// src/compatibility/compatibility-map.ts
|
|
19
19
|
import semver from "semver";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_p9pfecwb9ta from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_p9pfecwb9ta from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_p9pfecwb9ta from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_p9pfecwb9ta.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_p9pfecwb9ta.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_p9pfecwb9ta.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
|
resolvePackageDir
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZPHP5BQW.js";
|
|
15
15
|
|
|
16
16
|
// src/utils.ts
|
|
17
17
|
import { readFileSync } from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_p9pfecwb9ta from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_p9pfecwb9ta from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_p9pfecwb9ta from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_p9pfecwb9ta.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_p9pfecwb9ta.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_p9pfecwb9ta.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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_p9pfecwb9ta from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_p9pfecwb9ta from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_p9pfecwb9ta from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_p9pfecwb9ta.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_p9pfecwb9ta.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_p9pfecwb9ta.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_p9pfecwb9ta from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_p9pfecwb9ta from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_p9pfecwb9ta from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_p9pfecwb9ta.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_p9pfecwb9ta.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_p9pfecwb9ta.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
|
getNodeModulesExcludeRegex
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-P7UZFXGD.js";
|
|
15
|
+
import "./chunk-ZPHP5BQW.js";
|
|
16
16
|
|
|
17
17
|
// src/babel/loader.ts
|
|
18
18
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_p9pfecwb9ta from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_p9pfecwb9ta from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_p9pfecwb9ta from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_p9pfecwb9ta.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_p9pfecwb9ta.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_p9pfecwb9ta.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
|
getNodeModulesExcludeRegex
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-P7UZFXGD.js";
|
|
15
|
+
import "./chunk-ZPHP5BQW.js";
|
|
16
16
|
|
|
17
17
|
// src/swc/loader.ts
|
|
18
18
|
import { join } from "node:path";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_p9pfecwb9ta from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_p9pfecwb9ta from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_p9pfecwb9ta from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_p9pfecwb9ta.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_p9pfecwb9ta.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_p9pfecwb9ta.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -18,8 +18,8 @@ import {
|
|
|
18
18
|
resolveNextConfig,
|
|
19
19
|
scopedResolve,
|
|
20
20
|
setAlias
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-P7UZFXGD.js";
|
|
22
|
+
import "./chunk-ZPHP5BQW.js";
|
|
23
23
|
export {
|
|
24
24
|
addScopedAlias,
|
|
25
25
|
configureRuntimeNextjsVersionResolution,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_p9pfecwb9ta from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_p9pfecwb9ta from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_p9pfecwb9ta from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_p9pfecwb9ta.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_p9pfecwb9ta.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_p9pfecwb9ta.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_p9pfecwb9ta from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_p9pfecwb9ta from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_p9pfecwb9ta from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_p9pfecwb9ta.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_p9pfecwb9ta.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_p9pfecwb9ta.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
|
addScopedAlias
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-P7UZFXGD.js";
|
|
15
|
+
import "./chunk-ZPHP5BQW.js";
|
|
16
16
|
|
|
17
17
|
// src/styledJsx/webpack.ts
|
|
18
18
|
var configureStyledJsx = (baseConfig) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_p9pfecwb9ta from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_p9pfecwb9ta from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_p9pfecwb9ta from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_p9pfecwb9ta.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_p9pfecwb9ta.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_p9pfecwb9ta.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,11 +12,11 @@ var require = CJS_COMPAT_NODE_MODULE_mrvpwbf9d4a.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
configureCompatibilityAliases,
|
|
14
14
|
configureNextExportMocks
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-MIOTQYY5.js";
|
|
16
|
+
import "./chunk-P7UZFXGD.js";
|
|
17
17
|
import {
|
|
18
18
|
resolvePackageDir
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZPHP5BQW.js";
|
|
20
20
|
|
|
21
21
|
// src/aliases/webpack.ts
|
|
22
22
|
var configureAliases = (baseConfig) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_p9pfecwb9ta from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_p9pfecwb9ta from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_p9pfecwb9ta from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_p9pfecwb9ta.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_p9pfecwb9ta.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_p9pfecwb9ta.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_p9pfecwb9ta from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_p9pfecwb9ta from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_p9pfecwb9ta from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_p9pfecwb9ta.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_p9pfecwb9ta.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_p9pfecwb9ta.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
|
getNextjsVersion
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-P7UZFXGD.js";
|
|
15
|
+
import "./chunk-ZPHP5BQW.js";
|
|
16
16
|
|
|
17
17
|
// src/images/webpack.ts
|
|
18
18
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_p9pfecwb9ta from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_p9pfecwb9ta from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_p9pfecwb9ta from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_p9pfecwb9ta.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_p9pfecwb9ta.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_p9pfecwb9ta.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_p9pfecwb9ta from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_p9pfecwb9ta from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_p9pfecwb9ta from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_p9pfecwb9ta.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_p9pfecwb9ta.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_p9pfecwb9ta.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
|
resolvePackageDir
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZPHP5BQW.js";
|
|
15
15
|
|
|
16
16
|
// src/css/webpack.ts
|
|
17
17
|
import { readFileSync } from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_p9pfecwb9ta from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_p9pfecwb9ta from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_p9pfecwb9ta from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_p9pfecwb9ta.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_p9pfecwb9ta.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_p9pfecwb9ta.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_p9pfecwb9ta from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_p9pfecwb9ta from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_p9pfecwb9ta from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_p9pfecwb9ta.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_p9pfecwb9ta.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_p9pfecwb9ta.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
|
getPackageAliases
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
15
|
-
import "../_node-chunks/chunk-
|
|
16
|
-
import "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-MIOTQYY5.js";
|
|
15
|
+
import "../_node-chunks/chunk-P7UZFXGD.js";
|
|
16
|
+
import "../_node-chunks/chunk-ZPHP5BQW.js";
|
|
17
17
|
export {
|
|
18
18
|
getPackageAliases
|
|
19
19
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_p9pfecwb9ta from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_p9pfecwb9ta from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_p9pfecwb9ta from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_p9pfecwb9ta.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_p9pfecwb9ta.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_p9pfecwb9ta.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
package/dist/node/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_p9pfecwb9ta from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_p9pfecwb9ta from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_p9pfecwb9ta from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_p9pfecwb9ta.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_p9pfecwb9ta.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_p9pfecwb9ta.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
package/dist/preset.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_p9pfecwb9ta from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_p9pfecwb9ta from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_p9pfecwb9ta from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_p9pfecwb9ta.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_p9pfecwb9ta.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_p9pfecwb9ta.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,8 +13,8 @@ import {
|
|
|
13
13
|
addScopedAlias,
|
|
14
14
|
isNextVersionGte,
|
|
15
15
|
resolveNextConfig
|
|
16
|
-
} from "./_node-chunks/chunk-
|
|
17
|
-
import "./_node-chunks/chunk-
|
|
16
|
+
} from "./_node-chunks/chunk-P7UZFXGD.js";
|
|
17
|
+
import "./_node-chunks/chunk-ZPHP5BQW.js";
|
|
18
18
|
|
|
19
19
|
// src/preset.ts
|
|
20
20
|
import { existsSync } from "node:fs";
|
|
@@ -546,7 +546,7 @@ var addons = [
|
|
|
546
546
|
let { nextConfigPath } = await options.presets.apply("frameworkOptions"), nextConfig = await configureConfig({
|
|
547
547
|
baseConfig,
|
|
548
548
|
nextConfigPath
|
|
549
|
-
}), { configureNextFont } = await import("./_node-chunks/configureNextFont-
|
|
549
|
+
}), { configureNextFont } = await import("./_node-chunks/configureNextFont-IIKNRI37.js"), { configureRuntimeNextjsVersionResolution, getNextjsVersion } = await import("./_node-chunks/utils-4ADXBFSH.js"), { configureImports } = await import("./_node-chunks/webpack-6MC66YKJ.js"), { configureCss } = await import("./_node-chunks/webpack-VEM7AS7G.js"), { configureImages } = await import("./_node-chunks/webpack-K3YOEMKX.js"), { configureStyledJsx } = await import("./_node-chunks/webpack-B2RUGDOQ.js"), { configureNodePolyfills } = await import("./_node-chunks/webpack-CGPR52KC.js"), { configureAliases } = await import("./_node-chunks/webpack-B5ZCMOCU.js"), { configureFastRefresh } = await import("./_node-chunks/webpack-L6OWLGDU.js"), { configureRSC } = await import("./_node-chunks/webpack-VOYYHIRY.js"), { configureSWCLoader } = await import("./_node-chunks/loader-TZPBBNNQ.js"), { configureBabelLoader } = await import("./_node-chunks/loader-T6SZXLXI.js"), babelRCPath = join(getProjectRoot(), ".babelrc"), babelConfigPath = join(getProjectRoot(), "babel.config.js"), hasBabelConfig = existsSync(babelRCPath) || existsSync(babelConfigPath), nextjsVersion = getNextjsVersion(), isDevelopment = options.configType !== "PRODUCTION", useSWC = semver.gte(nextjsVersion, "14.0.0") && (nextConfig.experimental?.forceSwcTransforms || !hasBabelConfig);
|
|
550
550
|
return configureNextFont(baseConfig, useSWC), configureRuntimeNextjsVersionResolution(baseConfig), configureImports({ baseConfig, configDir: options.configDir }), configureCss(baseConfig, nextConfig), configureImages(baseConfig, nextConfig), configureStyledJsx(baseConfig), configureNodePolyfills(baseConfig), configureAliases(baseConfig), isDevelopment && configureFastRefresh(baseConfig), options.features?.experimentalRSC && configureRSC(baseConfig), useSWC ? (logger.info("Using SWC as compiler"), await configureSWCLoader(baseConfig, options, nextConfig)) : (logger.info("Using Babel as compiler"), await configureBabelLoader(baseConfig, options, nextConfig)), baseConfig;
|
|
551
551
|
};
|
|
552
552
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_p9pfecwb9ta from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_p9pfecwb9ta from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_p9pfecwb9ta from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_p9pfecwb9ta.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_p9pfecwb9ta.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_p9pfecwb9ta.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/nextjs",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.9",
|
|
4
4
|
"description": "Storybook for Next.js: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -94,9 +94,9 @@
|
|
|
94
94
|
"@babel/preset-typescript": "^7.24.1",
|
|
95
95
|
"@babel/runtime": "^7.24.4",
|
|
96
96
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
|
|
97
|
-
"@storybook/builder-webpack5": "10.1.
|
|
98
|
-
"@storybook/preset-react-webpack": "10.1.
|
|
99
|
-
"@storybook/react": "10.1.
|
|
97
|
+
"@storybook/builder-webpack5": "10.1.9",
|
|
98
|
+
"@storybook/preset-react-webpack": "10.1.9",
|
|
99
|
+
"@storybook/react": "10.1.9",
|
|
100
100
|
"@types/semver": "^7.3.4",
|
|
101
101
|
"babel-loader": "^9.1.3",
|
|
102
102
|
"css-loader": "^6.7.3",
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
"next": "^14.1.0 || ^15.0.0 || ^16.0.0",
|
|
131
131
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
132
132
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
133
|
-
"storybook": "^10.1.
|
|
133
|
+
"storybook": "^10.1.9",
|
|
134
134
|
"webpack": "^5.0.0"
|
|
135
135
|
},
|
|
136
136
|
"peerDependenciesMeta": {
|