@storybook/nextjs-vite 10.6.0-alpha.4 → 10.6.0-alpha.6
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-PR7EREUF.js → api-AUNLTNHD.js} +8 -8
- package/dist/_node-chunks/{chunk-QIZXQ6SU.js → chunk-C4FYPDMB.js} +6 -6
- package/dist/_node-chunks/{dist-ELDIWSZ4.js → dist-OIEZO4L7.js} +7 -7
- package/dist/_node-chunks/{jiti-72DGFPUA.js → jiti-EGVTUNCM.js} +7 -7
- package/dist/_node-chunks/{lexer-DQCqS3nf-I64F6RPV.js → lexer-DQCqS3nf-TCD6GHDZ.js} +7 -7
- package/dist/export-mocks/cache/index.d.ts +13 -1
- package/dist/export-mocks/cache/index.js +15 -3
- package/dist/node/index.js +7 -7
- package/dist/preset.js +15 -15
- package/dist/vite-plugin/index.d.ts +2 -2
- package/dist/vite-plugin/index.js +9 -9
- package/package.json +6 -6
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_zugat1myfjc from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_zugat1myfjc from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_zugat1myfjc from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_zugat1myfjc.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_zugat1myfjc.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_zugat1myfjc.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-C4FYPDMB.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-TCD6GHDZ.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_zugat1myfjc from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_zugat1myfjc from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_zugat1myfjc from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_zugat1myfjc.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_zugat1myfjc.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_zugat1myfjc.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_zugat1myfjc from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_zugat1myfjc from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_zugat1myfjc from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_zugat1myfjc.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_zugat1myfjc.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_zugat1myfjc.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_b1pqnke72l8.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-C4FYPDMB.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_zugat1myfjc from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_zugat1myfjc from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_zugat1myfjc from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_zugat1myfjc.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_zugat1myfjc.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_zugat1myfjc.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-C4FYPDMB.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_zugat1myfjc from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_zugat1myfjc from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_zugat1myfjc from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_zugat1myfjc.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_zugat1myfjc.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_zugat1myfjc.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-C4FYPDMB.js";
|
|
15
15
|
|
|
16
16
|
// ../../../node_modules/tsx/dist/lexer-DQCqS3nf.mjs
|
|
17
17
|
function F(A, E = "@") {
|
|
@@ -3,13 +3,25 @@ import { t as Mock } from "../../chunk-Crpg_HiB.js";
|
|
|
3
3
|
//#region code/frameworks/nextjs-vite/.dts-emit/code/frameworks/nextjs-vite/src/export-mocks/cache/index.d.ts
|
|
4
4
|
declare const revalidatePath: Mock<(...args: any[]) => any>;
|
|
5
5
|
declare const revalidateTag: Mock<(...args: any[]) => any>;
|
|
6
|
+
declare const updateTag: Mock<(...args: any[]) => any>;
|
|
6
7
|
declare const unstable_cache: Mock<(...args: any[]) => any>;
|
|
7
8
|
declare const unstable_noStore: Mock<(...args: any[]) => any>;
|
|
9
|
+
declare const refresh: Mock<(...args: any[]) => any>;
|
|
10
|
+
declare const cacheLife: Mock<(...args: any[]) => any>;
|
|
11
|
+
declare const cacheTag: Mock<(...args: any[]) => any>;
|
|
12
|
+
declare const unstable_cacheLife: Mock<(...args: any[]) => any>;
|
|
13
|
+
declare const unstable_cacheTag: Mock<(...args: any[]) => any>;
|
|
8
14
|
declare const cacheExports: {
|
|
9
15
|
unstable_cache: Mock<(...args: any[]) => any>;
|
|
10
16
|
revalidateTag: Mock<(...args: any[]) => any>;
|
|
11
17
|
revalidatePath: Mock<(...args: any[]) => any>;
|
|
18
|
+
updateTag: Mock<(...args: any[]) => any>;
|
|
19
|
+
refresh: Mock<(...args: any[]) => any>;
|
|
12
20
|
unstable_noStore: Mock<(...args: any[]) => any>;
|
|
21
|
+
cacheLife: Mock<(...args: any[]) => any>;
|
|
22
|
+
cacheTag: Mock<(...args: any[]) => any>;
|
|
23
|
+
unstable_cacheLife: Mock<(...args: any[]) => any>;
|
|
24
|
+
unstable_cacheTag: Mock<(...args: any[]) => any>;
|
|
13
25
|
};
|
|
14
26
|
//#endregion
|
|
15
|
-
export { cacheExports as default, revalidatePath, revalidateTag, unstable_cache, unstable_noStore };
|
|
27
|
+
export { cacheLife, cacheTag, cacheExports as default, refresh, revalidatePath, revalidateTag, unstable_cache, unstable_cacheLife, unstable_cacheTag, unstable_noStore, updateTag };
|
|
@@ -2,16 +2,28 @@ import "../../_browser-chunks/chunk-UAWMPV5J.js";
|
|
|
2
2
|
|
|
3
3
|
// src/export-mocks/cache/index.ts
|
|
4
4
|
import { fn } from "storybook/test";
|
|
5
|
-
var revalidatePath = fn().mockName("next/cache::revalidatePath"), revalidateTag = fn().mockName("next/cache::revalidateTag"), unstable_cache = fn().mockName("next/cache::unstable_cache").mockImplementation((cb) => cb), unstable_noStore = fn().mockName("next/cache::unstable_noStore"), cacheExports = {
|
|
5
|
+
var revalidatePath = fn().mockName("next/cache::revalidatePath"), revalidateTag = fn().mockName("next/cache::revalidateTag"), updateTag = fn().mockName("next/cache::updateTag"), unstable_cache = fn().mockName("next/cache::unstable_cache").mockImplementation((cb) => cb), unstable_noStore = fn().mockName("next/cache::unstable_noStore"), refresh = fn().mockName("next/cache::refresh"), cacheLife = fn().mockName("next/cache::cacheLife"), cacheTag = fn().mockName("next/cache::cacheTag"), unstable_cacheLife = cacheLife, unstable_cacheTag = cacheTag, cacheExports = {
|
|
6
6
|
unstable_cache,
|
|
7
7
|
revalidateTag,
|
|
8
8
|
revalidatePath,
|
|
9
|
-
|
|
9
|
+
updateTag,
|
|
10
|
+
refresh,
|
|
11
|
+
unstable_noStore,
|
|
12
|
+
cacheLife,
|
|
13
|
+
cacheTag,
|
|
14
|
+
unstable_cacheLife,
|
|
15
|
+
unstable_cacheTag
|
|
10
16
|
}, cache_default = cacheExports;
|
|
11
17
|
export {
|
|
18
|
+
cacheLife,
|
|
19
|
+
cacheTag,
|
|
12
20
|
cache_default as default,
|
|
21
|
+
refresh,
|
|
13
22
|
revalidatePath,
|
|
14
23
|
revalidateTag,
|
|
15
24
|
unstable_cache,
|
|
16
|
-
|
|
25
|
+
unstable_cacheLife,
|
|
26
|
+
unstable_cacheTag,
|
|
27
|
+
unstable_noStore,
|
|
28
|
+
updateTag
|
|
17
29
|
};
|
package/dist/node/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_zugat1myfjc from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_zugat1myfjc from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_zugat1myfjc from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_zugat1myfjc.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_zugat1myfjc.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_zugat1myfjc.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-C4FYPDMB.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_zugat1myfjc from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_zugat1myfjc from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_zugat1myfjc from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_zugat1myfjc.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_zugat1myfjc.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_zugat1myfjc.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-C4FYPDMB.js";
|
|
17
17
|
|
|
18
18
|
// ../../../node_modules/semver/internal/constants.js
|
|
19
19
|
var require_constants = __commonJS({
|
|
@@ -1503,9 +1503,9 @@ var require_src = __commonJS({
|
|
|
1503
1503
|
// ../../../node_modules/postcss-load-config/src/req.js
|
|
1504
1504
|
var require_req = __commonJS({
|
|
1505
1505
|
"../../../node_modules/postcss-load-config/src/req.js"(exports, module) {
|
|
1506
|
-
var { createRequire:
|
|
1506
|
+
var { createRequire: createRequire3 } = __require("node:module"), { pathToFileURL: pathToFileURL2 } = __require("node:url"), TS_EXT_RE = /\.[mc]?ts$/, tsx, jiti, importError = [];
|
|
1507
1507
|
async function req(name, rootFile = __filename) {
|
|
1508
|
-
let url =
|
|
1508
|
+
let url = createRequire3(rootFile).resolve(name);
|
|
1509
1509
|
try {
|
|
1510
1510
|
return (await import(`${pathToFileURL2(url)}?t=${Date.now()}`)).default;
|
|
1511
1511
|
} catch (err) {
|
|
@@ -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-AUNLTNHD.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-EGVTUNCM.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-OIEZO4L7.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
|
|
@@ -1700,10 +1700,10 @@ Error: ${e.message}`
|
|
|
1700
1700
|
|
|
1701
1701
|
// src/preset.ts
|
|
1702
1702
|
var import_semver = __toESM(require_semver2(), 1);
|
|
1703
|
-
import { createRequire as createRequire3 } from "node:module";
|
|
1704
1703
|
import { dirname as dirname2 } from "node:path";
|
|
1705
1704
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
1706
1705
|
import { viteFinal as reactViteFinal } from "@storybook/react-vite/preset";
|
|
1706
|
+
import vitePluginStorybookNextjs from "vite-plugin-storybook-nextjs";
|
|
1707
1707
|
|
|
1708
1708
|
// src/find-postcss-config.ts
|
|
1709
1709
|
var import_lilconfig = __toESM(require_src(), 1), import_postcss_load_config = __toESM(require_src2(), 1);
|
|
@@ -1911,7 +1911,7 @@ var hasOwnProperty = {}.hasOwnProperty;
|
|
|
1911
1911
|
var RegExpPrototypeSymbolReplace = RegExp.prototype[Symbol.replace], own = {}.hasOwnProperty;
|
|
1912
1912
|
var isWindows = process.platform === "win32", globalCache = globalThis.__EXSOLVE_CACHE__ ||= /* @__PURE__ */ new Map();
|
|
1913
1913
|
|
|
1914
|
-
//
|
|
1914
|
+
// ../../core/node_modules/pathe/dist/shared/pathe.ff20891b.mjs
|
|
1915
1915
|
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
1916
1916
|
function normalizeWindowsPath(input = "") {
|
|
1917
1917
|
return input && input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE, (r) => r.toUpperCase());
|
|
@@ -1989,7 +1989,7 @@ var importMetaResolve = (...args) => typeof import.meta.resolve != "function" &&
|
|
|
1989
1989
|
var getNextjsVersion = () => JSON.parse(readFileSync(join2(resolvePackageDir("next"), "package.json"), "utf8")).version;
|
|
1990
1990
|
|
|
1991
1991
|
// src/preset.ts
|
|
1992
|
-
var
|
|
1992
|
+
var core = {
|
|
1993
1993
|
builder: import.meta.resolve("@storybook/builder-vite"),
|
|
1994
1994
|
renderer: import.meta.resolve("@storybook/react/preset")
|
|
1995
1995
|
}, previewAnnotations = (entry = []) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import vitePluginStorybookNextjs from "vite-plugin-storybook-nextjs";
|
|
2
2
|
|
|
3
3
|
//#region code/frameworks/nextjs-vite/.dts-emit/code/frameworks/nextjs-vite/src/vite-plugin/index.d.ts
|
|
4
|
-
declare const storybookNextJsPlugin: typeof
|
|
4
|
+
declare const storybookNextJsPlugin: typeof vitePluginStorybookNextjs;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { storybookNextJsPlugin };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_zugat1myfjc from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_zugat1myfjc from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_zugat1myfjc from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_zugat1myfjc.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_zugat1myfjc.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_zugat1myfjc.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-C4FYPDMB.js";
|
|
13
13
|
|
|
14
14
|
// src/vite-plugin/index.ts
|
|
15
|
-
import
|
|
16
|
-
var
|
|
15
|
+
import vitePluginStorybookNextjs from "vite-plugin-storybook-nextjs";
|
|
16
|
+
var storybookNextJsPlugin = vitePluginStorybookNextjs;
|
|
17
17
|
export {
|
|
18
18
|
storybookNextJsPlugin
|
|
19
19
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/nextjs-vite",
|
|
3
|
-
"version": "10.6.0-alpha.
|
|
3
|
+
"version": "10.6.0-alpha.6",
|
|
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-alpha.
|
|
92
|
-
"@storybook/react": "10.6.0-alpha.
|
|
93
|
-
"@storybook/react-vite": "10.6.0-alpha.
|
|
91
|
+
"@storybook/builder-vite": "10.6.0-alpha.6",
|
|
92
|
+
"@storybook/react": "10.6.0-alpha.6",
|
|
93
|
+
"@storybook/react-vite": "10.6.0-alpha.6",
|
|
94
94
|
"styled-jsx": "5.1.6",
|
|
95
|
-
"vite-plugin-storybook-nextjs": "
|
|
95
|
+
"vite-plugin-storybook-nextjs": "10.6.0-alpha.6"
|
|
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-alpha.
|
|
111
|
+
"storybook": "^10.6.0-alpha.6",
|
|
112
112
|
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
|
|
113
113
|
},
|
|
114
114
|
"peerDependenciesMeta": {
|