@storybook/nextjs-vite 10.6.0-beta.1 → 10.6.0-beta.2
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/{api-DB7LTHCX.js → api-W6NTZLUO.js} +8 -8
- package/dist/_node-chunks/{chunk-KINOWRIX.js → chunk-JVXORKQC.js} +6 -6
- package/dist/_node-chunks/{dist-7WS7IJWG.js → dist-DJ7J2NXE.js} +7 -7
- package/dist/_node-chunks/{jiti-4KSL6GXV.js → jiti-XXAIPPM3.js} +7 -7
- package/dist/_node-chunks/{lexer-DQCqS3nf-VU6NQYLR.js → lexer-DQCqS3nf-SCQHASLW.js} +7 -7
- package/dist/node/index.js +7 -7
- package/dist/preset.js +10 -10
- package/dist/vite-plugin/index.js +7 -7
- package/package.json +6 -6
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qtmxgl7txv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qtmxgl7txv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qtmxgl7txv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qtmxgl7txv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qtmxgl7txv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qtmxgl7txv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
__esm,
|
|
15
15
|
__require,
|
|
16
16
|
__toESM
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JVXORKQC.js";
|
|
18
18
|
|
|
19
19
|
// ../../../node_modules/tsx/dist/temporary-directory-CwHp0_NW.mjs
|
|
20
20
|
import r from "node:path";
|
|
@@ -4796,7 +4796,7 @@ var import_esbuild, Pt, f2, Ne2, Ie2, Yt, Me2, $e2, Ue2, me2, ae2, ee2, nn2, rn,
|
|
|
4796
4796
|
f2(Be2, "u");
|
|
4797
4797
|
f2(D, "o");
|
|
4798
4798
|
typeof WebAssembly < "u" && (async () => {
|
|
4799
|
-
let { parse: s4, init: e5 } = await import("./lexer-DQCqS3nf-
|
|
4799
|
+
let { parse: s4, init: e5 } = await import("./lexer-DQCqS3nf-SCQHASLW.js");
|
|
4800
4800
|
await e5, Se2 = s4;
|
|
4801
4801
|
})();
|
|
4802
4802
|
Pe2 = f2((s4, e5) => Se2 ? Se2(s4, e5) : fn(s4, e5), "parseEsm"), gn = f2((s4) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qtmxgl7txv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qtmxgl7txv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qtmxgl7txv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qtmxgl7txv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qtmxgl7txv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qtmxgl7txv.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_qtmxgl7txv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qtmxgl7txv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qtmxgl7txv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qtmxgl7txv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qtmxgl7txv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qtmxgl7txv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,7 +12,7 @@ var require = CJS_COMPAT_NODE_MODULE_yn9nzwv8w5q.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JVXORKQC.js";
|
|
16
16
|
|
|
17
17
|
// ../../../node_modules/yaml/dist/nodes/identity.js
|
|
18
18
|
var require_identity = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qtmxgl7txv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qtmxgl7txv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qtmxgl7txv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qtmxgl7txv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qtmxgl7txv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qtmxgl7txv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
__esm,
|
|
15
15
|
__require,
|
|
16
16
|
__toESM
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JVXORKQC.js";
|
|
18
18
|
|
|
19
19
|
// ../../../node_modules/jiti/dist/jiti.cjs
|
|
20
20
|
var require_jiti = __commonJS({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qtmxgl7txv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qtmxgl7txv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qtmxgl7txv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qtmxgl7txv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qtmxgl7txv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qtmxgl7txv.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
|
__esm
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JVXORKQC.js";
|
|
15
15
|
|
|
16
16
|
// ../../../node_modules/tsx/dist/lexer-DQCqS3nf.mjs
|
|
17
17
|
function F(A, E = "@") {
|
package/dist/node/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qtmxgl7txv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qtmxgl7txv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qtmxgl7txv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qtmxgl7txv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qtmxgl7txv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qtmxgl7txv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "../_node-chunks/chunk-
|
|
12
|
+
import "../_node-chunks/chunk-JVXORKQC.js";
|
|
13
13
|
|
|
14
14
|
// src/node/index.ts
|
|
15
15
|
function defineMain(config) {
|
package/dist/preset.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qtmxgl7txv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qtmxgl7txv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qtmxgl7txv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qtmxgl7txv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qtmxgl7txv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qtmxgl7txv.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
|
__commonJS,
|
|
14
14
|
__require,
|
|
15
15
|
__toESM
|
|
16
|
-
} from "./_node-chunks/chunk-
|
|
16
|
+
} from "./_node-chunks/chunk-JVXORKQC.js";
|
|
17
17
|
|
|
18
18
|
// ../../../node_modules/semver/internal/constants.js
|
|
19
19
|
var require_constants = __commonJS({
|
|
@@ -1514,7 +1514,7 @@ var require_req = __commonJS({
|
|
|
1514
1514
|
}
|
|
1515
1515
|
if (tsx === void 0)
|
|
1516
1516
|
try {
|
|
1517
|
-
tsx = await import("./_node-chunks/api-
|
|
1517
|
+
tsx = await import("./_node-chunks/api-W6NTZLUO.js");
|
|
1518
1518
|
} catch (error) {
|
|
1519
1519
|
importError.push(error);
|
|
1520
1520
|
}
|
|
@@ -1524,7 +1524,7 @@ var require_req = __commonJS({
|
|
|
1524
1524
|
}
|
|
1525
1525
|
if (jiti === void 0)
|
|
1526
1526
|
try {
|
|
1527
|
-
jiti = (await import("./_node-chunks/jiti-
|
|
1527
|
+
jiti = (await import("./_node-chunks/jiti-XXAIPPM3.js")).default;
|
|
1528
1528
|
} catch (error) {
|
|
1529
1529
|
importError.push(error);
|
|
1530
1530
|
}
|
|
@@ -1641,7 +1641,7 @@ var require_src2 = __commonJS({
|
|
|
1641
1641
|
async function yamlLoader(_, content) {
|
|
1642
1642
|
if (!yaml)
|
|
1643
1643
|
try {
|
|
1644
|
-
yaml = await import("./_node-chunks/dist-
|
|
1644
|
+
yaml = await import("./_node-chunks/dist-DJ7J2NXE.js");
|
|
1645
1645
|
} catch (e) {
|
|
1646
1646
|
throw new Error(
|
|
1647
1647
|
`'yaml' is required for the YAML configuration files. Make sure it is installed
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qtmxgl7txv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qtmxgl7txv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qtmxgl7txv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qtmxgl7txv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qtmxgl7txv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qtmxgl7txv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "../_node-chunks/chunk-
|
|
12
|
+
import "../_node-chunks/chunk-JVXORKQC.js";
|
|
13
13
|
|
|
14
14
|
// src/vite-plugin/index.ts
|
|
15
15
|
import vitePluginStorybookNextjs from "vite-plugin-storybook-nextjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/nextjs-vite",
|
|
3
|
-
"version": "10.6.0-beta.
|
|
3
|
+
"version": "10.6.0-beta.2",
|
|
4
4
|
"description": "Storybook for Next.js and Vite: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -88,11 +88,11 @@
|
|
|
88
88
|
"!src/**/*"
|
|
89
89
|
],
|
|
90
90
|
"dependencies": {
|
|
91
|
-
"@storybook/builder-vite": "10.6.0-beta.
|
|
92
|
-
"@storybook/react": "10.6.0-beta.
|
|
93
|
-
"@storybook/react-vite": "10.6.0-beta.
|
|
91
|
+
"@storybook/builder-vite": "10.6.0-beta.2",
|
|
92
|
+
"@storybook/react": "10.6.0-beta.2",
|
|
93
|
+
"@storybook/react-vite": "10.6.0-beta.2",
|
|
94
94
|
"styled-jsx": "5.1.6",
|
|
95
|
-
"vite-plugin-storybook-nextjs": "10.6.0-beta.
|
|
95
|
+
"vite-plugin-storybook-nextjs": "10.6.0-beta.2"
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
98
98
|
"@types/node": "^22.19.1",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"next": "^14.1.0 || ^15.0.0 || ^16.0.0",
|
|
109
109
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
110
110
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
111
|
-
"storybook": "^10.6.0-beta.
|
|
111
|
+
"storybook": "^10.6.0-beta.2",
|
|
112
112
|
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
|
|
113
113
|
},
|
|
114
114
|
"peerDependenciesMeta": {
|