storybook 10.2.0-alpha.8 → 10.2.0-alpha.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/{builder-manager-2XASU3VS.js → builder-manager-FTCODGJP.js} +12 -12
- package/dist/_node-chunks/{camelcase-KIWRHB2G.js → camelcase-5XDKQT3J.js} +7 -7
- package/dist/_node-chunks/{chunk-5BRYY6XB.js → chunk-33XC4R6P.js} +9 -9
- package/dist/_node-chunks/{chunk-MLYPMYG5.js → chunk-3DPKKQ6P.js} +6 -6
- package/dist/_node-chunks/{chunk-5GRHJJHD.js → chunk-3Y5VHKPI.js} +9 -9
- package/dist/_node-chunks/{chunk-2KSITKBI.js → chunk-6ABJZZWS.js} +7 -7
- package/dist/_node-chunks/{chunk-LEZENLG7.js → chunk-6SH5SI6S.js} +7 -7
- package/dist/_node-chunks/{chunk-LOXLI4XT.js → chunk-73GYSTNZ.js} +6 -6
- package/dist/_node-chunks/{chunk-DYQ6QR45.js → chunk-BQX766MA.js} +13 -13
- package/dist/_node-chunks/{chunk-WKC523P7.js → chunk-CO7N5AG7.js} +7 -7
- package/dist/_node-chunks/{chunk-COGO4JMD.js → chunk-D4TCQXIF.js} +7 -7
- package/dist/_node-chunks/{chunk-6TJUL42C.js → chunk-FGI35IGB.js} +12 -12
- package/dist/_node-chunks/chunk-GXQRT5M6.js +61 -0
- package/dist/_node-chunks/{chunk-Q6WPGVIW.js → chunk-IIBBQZLT.js} +6 -6
- package/dist/_node-chunks/{chunk-7B4JYHGV.js → chunk-LB74XOLW.js} +6 -6
- package/dist/_node-chunks/{chunk-TTGXODEY.js → chunk-LRBEW57O.js} +7 -7
- package/dist/_node-chunks/{chunk-3TW66YXG.js → chunk-MOQRBTWA.js} +6 -6
- package/dist/_node-chunks/{chunk-IJ34563N.js → chunk-MWWAQ5S4.js} +20 -20
- package/dist/_node-chunks/{chunk-S7FIFCTX.js → chunk-NYUFS6LX.js} +10 -10
- package/dist/_node-chunks/{chunk-2OC7H5MZ.js → chunk-OUDQWDHY.js} +7 -7
- package/dist/_node-chunks/chunk-PRNP2HO6.js +23 -0
- package/dist/_node-chunks/{chunk-5WQXPM6D.js → chunk-PZCWRKQE.js} +6 -6
- package/dist/_node-chunks/{chunk-DTM4A3DJ.js → chunk-RF3L36MK.js} +12 -12
- package/dist/_node-chunks/{chunk-JWL5NLJU.js → chunk-SBPB3VWI.js} +6 -6
- package/dist/_node-chunks/{chunk-ZKB7MQRR.js → chunk-SPOUBCPJ.js} +8 -8
- package/dist/_node-chunks/chunk-VKMYOVNS.js +18 -0
- package/dist/_node-chunks/{chunk-3K6P75SS.js → chunk-WTQGSYRO.js} +7 -7
- package/dist/_node-chunks/{chunk-VJFHZL2T.js → chunk-XZ6V3G6J.js} +8 -9
- package/dist/_node-chunks/{chunk-UNHOAAXU.js → chunk-YN6FEZAF.js} +7 -7
- package/dist/_node-chunks/{dist-GICI6ZHU.js → dist-YRSVYE5A.js} +9 -9
- package/dist/_node-chunks/{globby-FWMT4OOQ.js → globby-AXGFF6I5.js} +9 -9
- package/dist/_node-chunks/{lib-YCGXIMW5.js → lib-ESB7KQ6D.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-CRGM5LTU.js → mdx-N42X6CFJ-XXQ6YIDF.js} +8 -8
- package/dist/_node-chunks/{p-limit-UJIYI4QT.js → p-limit-P6ND7SUA.js} +7 -7
- package/dist/babel/index.js +10 -10
- package/dist/bin/core.js +12 -12
- package/dist/bin/dispatcher.js +11 -11
- package/dist/bin/loader.js +9 -9
- package/dist/cli/index.js +18 -18
- package/dist/common/index.js +22 -22
- package/dist/core-server/index.d.ts +3 -1
- package/dist/core-server/index.js +3001 -3007
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +42 -26
- package/dist/csf-tools/index.js +9 -9
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager-api/index.js +1 -1
- package/dist/mocking-utils/index.js +8 -8
- package/dist/node-logger/index.js +9 -9
- package/dist/server-errors.js +11 -11
- package/dist/telemetry/index.js +22 -22
- package/dist/types/index.d.ts +3 -2
- package/package.json +1 -1
- package/dist/_node-chunks/chunk-2ANLCK4Y.js +0 -18
- package/dist/_node-chunks/chunk-UFXCGC4W.js +0 -23
- package/dist/_node-chunks/chunk-X4YDIHYE.js +0 -61
package/dist/cli/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -33,24 +33,24 @@ import {
|
|
|
33
33
|
readFileAsJson,
|
|
34
34
|
suggestESLintPlugin,
|
|
35
35
|
writeFileAsJson
|
|
36
|
-
} from "../_node-chunks/chunk-
|
|
36
|
+
} from "../_node-chunks/chunk-FGI35IGB.js";
|
|
37
37
|
import {
|
|
38
38
|
detectPnp
|
|
39
|
-
} from "../_node-chunks/chunk-
|
|
39
|
+
} from "../_node-chunks/chunk-PRNP2HO6.js";
|
|
40
40
|
import {
|
|
41
41
|
Settings,
|
|
42
42
|
_clearGlobalSettings,
|
|
43
43
|
globalSettings
|
|
44
|
-
} from "../_node-chunks/chunk-
|
|
45
|
-
import "../_node-chunks/chunk-
|
|
46
|
-
import "../_node-chunks/chunk-
|
|
47
|
-
import "../_node-chunks/chunk-
|
|
48
|
-
import "../_node-chunks/chunk-
|
|
49
|
-
import "../_node-chunks/chunk-
|
|
50
|
-
import "../_node-chunks/chunk-
|
|
51
|
-
import "../_node-chunks/chunk-
|
|
52
|
-
import "../_node-chunks/chunk-
|
|
53
|
-
import "../_node-chunks/chunk-
|
|
44
|
+
} from "../_node-chunks/chunk-3Y5VHKPI.js";
|
|
45
|
+
import "../_node-chunks/chunk-MOQRBTWA.js";
|
|
46
|
+
import "../_node-chunks/chunk-3DPKKQ6P.js";
|
|
47
|
+
import "../_node-chunks/chunk-OUDQWDHY.js";
|
|
48
|
+
import "../_node-chunks/chunk-LB74XOLW.js";
|
|
49
|
+
import "../_node-chunks/chunk-LRBEW57O.js";
|
|
50
|
+
import "../_node-chunks/chunk-33XC4R6P.js";
|
|
51
|
+
import "../_node-chunks/chunk-D4TCQXIF.js";
|
|
52
|
+
import "../_node-chunks/chunk-6ABJZZWS.js";
|
|
53
|
+
import "../_node-chunks/chunk-PZCWRKQE.js";
|
|
54
54
|
export {
|
|
55
55
|
ANGULAR_JSON_PATH,
|
|
56
56
|
AddonVitestService,
|
package/dist/common/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -102,29 +102,29 @@ import {
|
|
|
102
102
|
validateConfigurationFiles,
|
|
103
103
|
validateFrameworkName,
|
|
104
104
|
wrapValueWithGetAbsolutePathWrapper
|
|
105
|
-
} from "../_node-chunks/chunk-
|
|
105
|
+
} from "../_node-chunks/chunk-MWWAQ5S4.js";
|
|
106
106
|
import {
|
|
107
107
|
versions_default
|
|
108
|
-
} from "../_node-chunks/chunk-
|
|
109
|
-
import "../_node-chunks/chunk-
|
|
110
|
-
import "../_node-chunks/chunk-
|
|
111
|
-
import "../_node-chunks/chunk-
|
|
108
|
+
} from "../_node-chunks/chunk-GXQRT5M6.js";
|
|
109
|
+
import "../_node-chunks/chunk-CO7N5AG7.js";
|
|
110
|
+
import "../_node-chunks/chunk-SPOUBCPJ.js";
|
|
111
|
+
import "../_node-chunks/chunk-MOQRBTWA.js";
|
|
112
|
+
import {
|
|
113
|
+
groupBy,
|
|
114
|
+
invariant
|
|
115
|
+
} from "../_node-chunks/chunk-3DPKKQ6P.js";
|
|
112
116
|
import {
|
|
113
117
|
importMetaResolve,
|
|
114
118
|
importModule,
|
|
115
119
|
resolvePackageDir,
|
|
116
120
|
safeResolveModule
|
|
117
|
-
} from "../_node-chunks/chunk-
|
|
118
|
-
import
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
import "../_node-chunks/chunk-
|
|
123
|
-
import "../_node-chunks/chunk-
|
|
124
|
-
import "../_node-chunks/chunk-LOXLI4XT.js";
|
|
125
|
-
import "../_node-chunks/chunk-TTGXODEY.js";
|
|
126
|
-
import "../_node-chunks/chunk-2KSITKBI.js";
|
|
127
|
-
import "../_node-chunks/chunk-5WQXPM6D.js";
|
|
121
|
+
} from "../_node-chunks/chunk-OUDQWDHY.js";
|
|
122
|
+
import "../_node-chunks/chunk-LB74XOLW.js";
|
|
123
|
+
import "../_node-chunks/chunk-WTQGSYRO.js";
|
|
124
|
+
import "../_node-chunks/chunk-73GYSTNZ.js";
|
|
125
|
+
import "../_node-chunks/chunk-LRBEW57O.js";
|
|
126
|
+
import "../_node-chunks/chunk-6ABJZZWS.js";
|
|
127
|
+
import "../_node-chunks/chunk-PZCWRKQE.js";
|
|
128
128
|
export {
|
|
129
129
|
DEFAULT_FILES_PATTERN,
|
|
130
130
|
FileSystemCache,
|
|
@@ -199,6 +199,7 @@ declare class StoryIndexGenerator {
|
|
|
199
199
|
private lastIndex?;
|
|
200
200
|
private lastStats?;
|
|
201
201
|
private lastError?;
|
|
202
|
+
private invalidationListeners;
|
|
202
203
|
constructor(specifiers: NormalizedStoriesSpecifier[], options: StoryIndexGeneratorOptions);
|
|
203
204
|
/** Generate a cache key for findMatchingFiles */
|
|
204
205
|
private static getFindMatchingFilesCacheKey;
|
|
@@ -234,7 +235,8 @@ declare class StoryIndexGenerator {
|
|
|
234
235
|
stats: IndexStatsSummary;
|
|
235
236
|
}>;
|
|
236
237
|
invalidateAll(): void;
|
|
237
|
-
invalidate(
|
|
238
|
+
invalidate(importPath: Path$1, removed: boolean): void;
|
|
239
|
+
onInvalidated(listener: () => void): () => void;
|
|
238
240
|
getPreviewCode(): Promise<string | undefined>;
|
|
239
241
|
getProjectTags(previewCode?: string): string[];
|
|
240
242
|
static storyFileNames(specifierToCache: Map<NormalizedStoriesSpecifier, SpecifierStoriesCache>): string[];
|