@storybook/angular-vite 10.6.0-alpha.8 → 10.6.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/{chunk-5GTDRCMW.js → chunk-J7Q36IIJ.js} +6 -6
- package/dist/_node-chunks/{chunk-DQYSVBAE.js → chunk-O34PJOHH.js} +7 -7
- package/dist/_node-chunks/{chunk-FLU3HTGB.js → chunk-P24L7BWR.js} +6 -6
- package/dist/_node-chunks/{story-docs-template-analysis-LGFOFAHO.js → story-docs-template-analysis-JA5UX2A5.js} +6 -6
- package/dist/builders/build-storybook/index.js +8 -8
- package/dist/builders/start-storybook/index.js +8 -8
- package/dist/docgen/docgen-worker.js +11 -11
- package/dist/node/index.js +6 -6
- package/dist/node/vitest.js +6 -6
- package/dist/preset.js +10 -9
- package/package.json +5 -5
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1shzp5v8e5k from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1shzp5v8e5k from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1shzp5v8e5k from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1shzp5v8e5k.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1shzp5v8e5k.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1shzp5v8e5k.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_1shzp5v8e5k from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1shzp5v8e5k from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1shzp5v8e5k from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1shzp5v8e5k.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1shzp5v8e5k.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1shzp5v8e5k.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
|
up
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-J7Q36IIJ.js";
|
|
15
15
|
|
|
16
16
|
// ../../../node_modules/empathic/package.mjs
|
|
17
17
|
function up2(options) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1shzp5v8e5k from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1shzp5v8e5k from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1shzp5v8e5k from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1shzp5v8e5k.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1shzp5v8e5k.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1shzp5v8e5k.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_1shzp5v8e5k from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1shzp5v8e5k from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1shzp5v8e5k from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1shzp5v8e5k.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1shzp5v8e5k.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1shzp5v8e5k.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_1shzp5v8e5k from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1shzp5v8e5k from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1shzp5v8e5k from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1shzp5v8e5k.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1shzp5v8e5k.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1shzp5v8e5k.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
errorSummary,
|
|
14
14
|
printErrorDetails,
|
|
15
15
|
up
|
|
16
|
-
} from "../../_node-chunks/chunk-
|
|
16
|
+
} from "../../_node-chunks/chunk-O34PJOHH.js";
|
|
17
17
|
import {
|
|
18
18
|
resolveTsconfig
|
|
19
|
-
} from "../../_node-chunks/chunk-
|
|
19
|
+
} from "../../_node-chunks/chunk-J7Q36IIJ.js";
|
|
20
20
|
|
|
21
21
|
// src/builders/build-storybook/index.ts
|
|
22
22
|
import { readFileSync } from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1shzp5v8e5k from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1shzp5v8e5k from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1shzp5v8e5k from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1shzp5v8e5k.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1shzp5v8e5k.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1shzp5v8e5k.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
errorSummary,
|
|
14
14
|
printErrorDetails,
|
|
15
15
|
up
|
|
16
|
-
} from "../../_node-chunks/chunk-
|
|
16
|
+
} from "../../_node-chunks/chunk-O34PJOHH.js";
|
|
17
17
|
import {
|
|
18
18
|
resolveTsconfig
|
|
19
|
-
} from "../../_node-chunks/chunk-
|
|
19
|
+
} from "../../_node-chunks/chunk-J7Q36IIJ.js";
|
|
20
20
|
|
|
21
21
|
// src/builders/start-storybook/index.ts
|
|
22
22
|
import { readFileSync } from "node:fs";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1shzp5v8e5k from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1shzp5v8e5k from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1shzp5v8e5k from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1shzp5v8e5k.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1shzp5v8e5k.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1shzp5v8e5k.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
|
resolveStoryComponent
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-P24L7BWR.js";
|
|
15
15
|
|
|
16
16
|
// src/docgen/docgen-worker.ts
|
|
17
17
|
import { STORY_FILE_TEST_REGEXP, getStoryImportPathFromEntry as getStoryImportPathFromEntry2 } from "storybook/internal/common";
|
|
18
18
|
import { logger as logger4 } from "storybook/internal/node-logger";
|
|
19
19
|
|
|
20
20
|
// ../../lib/angular-cm/dist/index.js
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
21
|
+
import CJS_COMPAT_NODE_URL_ir09rvpsc8 from "node:url";
|
|
22
|
+
import CJS_COMPAT_NODE_PATH_ir09rvpsc8 from "node:path";
|
|
23
|
+
import CJS_COMPAT_NODE_MODULE_ir09rvpsc8 from "node:module";
|
|
24
24
|
import {
|
|
25
25
|
ComponentMetaManager,
|
|
26
26
|
parseTsconfigCommandLine
|
|
@@ -35,7 +35,7 @@ import { logger as logger3 } from "storybook/internal/node-logger";
|
|
|
35
35
|
import * as path from "node:path";
|
|
36
36
|
import { logger as logger2 } from "storybook/internal/node-logger";
|
|
37
37
|
import { logger } from "storybook/internal/node-logger";
|
|
38
|
-
var __filename =
|
|
38
|
+
var __filename = CJS_COMPAT_NODE_URL_ir09rvpsc8.fileURLToPath(import.meta.url), __dirname = CJS_COMPAT_NODE_PATH_ir09rvpsc8.dirname(__filename), require2 = CJS_COMPAT_NODE_MODULE_ir09rvpsc8.createRequire(import.meta.url), NOOP_LOGGER = {
|
|
39
39
|
warn: () => {
|
|
40
40
|
},
|
|
41
41
|
debug: () => {
|
package/dist/node/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1shzp5v8e5k from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1shzp5v8e5k from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1shzp5v8e5k from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1shzp5v8e5k.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1shzp5v8e5k.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1shzp5v8e5k.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
package/dist/node/vitest.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1shzp5v8e5k from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1shzp5v8e5k from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1shzp5v8e5k from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1shzp5v8e5k.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1shzp5v8e5k.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1shzp5v8e5k.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,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1shzp5v8e5k from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1shzp5v8e5k from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1shzp5v8e5k from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1shzp5v8e5k.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1shzp5v8e5k.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1shzp5v8e5k.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
|
findTsconfigUp
|
|
14
|
-
} from "./_node-chunks/chunk-
|
|
14
|
+
} from "./_node-chunks/chunk-J7Q36IIJ.js";
|
|
15
15
|
import {
|
|
16
16
|
parseStoryFile
|
|
17
|
-
} from "./_node-chunks/chunk-
|
|
17
|
+
} from "./_node-chunks/chunk-P24L7BWR.js";
|
|
18
18
|
|
|
19
19
|
// src/preset.ts
|
|
20
20
|
import { findConfigFile } from "storybook/internal/common";
|
|
@@ -934,7 +934,7 @@ var buildStoryDocsPayload = async (input, context) => {
|
|
|
934
934
|
fields: fields2
|
|
935
935
|
});
|
|
936
936
|
if (userMarkup?.kind === "literal") {
|
|
937
|
-
let { analyzeStoryTemplate } = await import("./_node-chunks/story-docs-template-analysis-
|
|
937
|
+
let { analyzeStoryTemplate } = await import("./_node-chunks/story-docs-template-analysis-JA5UX2A5.js"), analysis = analyzeStoryTemplate(userMarkup.markup, userMarkup.expansions), referencedNames = new Set(analysis.kind === "resolved" ? analysis.referencedNames : []), boundOutputs = analysis.kind === "resolved" ? snippetMeta.outputs.filter((name) => analysis.boundOutputs.includes(name)) : [], hostArgs = referencedArgFields(
|
|
938
938
|
referencedNames,
|
|
939
939
|
userMarkup.representedArgs,
|
|
940
940
|
shape,
|
|
@@ -1344,6 +1344,7 @@ export {
|
|
|
1344
1344
|
experimental_storyDocsProvider,
|
|
1345
1345
|
features,
|
|
1346
1346
|
previewAnnotations,
|
|
1347
|
+
resolveZoneless,
|
|
1347
1348
|
typescript,
|
|
1348
1349
|
viteFinal
|
|
1349
1350
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/angular-vite",
|
|
3
|
-
"version": "10.6.0-alpha.
|
|
3
|
+
"version": "10.6.0-alpha.9",
|
|
4
4
|
"description": "Storybook for Angular: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"!src/**/*"
|
|
64
64
|
],
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@storybook/builder-vite": "10.6.0-alpha.
|
|
66
|
+
"@storybook/builder-vite": "10.6.0-alpha.9",
|
|
67
67
|
"@storybook/global": "^5.0.0",
|
|
68
68
|
"telejson": "8.0.0",
|
|
69
69
|
"ts-dedent": "^2.0.0",
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
"@angular/platform-browser": "^21.2.14",
|
|
84
84
|
"@angular/platform-browser-dynamic": "^21.2.14",
|
|
85
85
|
"@babel/types": "^7.28.5",
|
|
86
|
-
"@storybook/angular-cm": "10.6.0-alpha.
|
|
87
|
-
"@storybook/angular-compodoc": "10.6.0-alpha.
|
|
86
|
+
"@storybook/angular-cm": "10.6.0-alpha.9",
|
|
87
|
+
"@storybook/angular-compodoc": "10.6.0-alpha.9",
|
|
88
88
|
"@types/node": "^22.19.1",
|
|
89
89
|
"empathic": "^2.0.0",
|
|
90
90
|
"memfs": "^4.11.1",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"@angular/core": ">=21.0.0 < 23.0.0",
|
|
106
106
|
"@angular/platform-browser": ">=21.0.0 < 23.0.0",
|
|
107
107
|
"rxjs": "^7.4.0",
|
|
108
|
-
"storybook": "^10.6.0-alpha.
|
|
108
|
+
"storybook": "^10.6.0-alpha.9",
|
|
109
109
|
"typescript": ">= 5.9.x",
|
|
110
110
|
"vite": ">=8.0.0",
|
|
111
111
|
"zone.js": ">=0.14.0"
|