@storybook/angular-vite 11.0.0-alpha.2 → 11.0.0-alpha.3
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-EOBWXGRJ.js → chunk-HHUGSUIO.js} +6 -6
- package/dist/_node-chunks/{chunk-KE55VWWH.js → chunk-O35HWOQ7.js} +7 -7
- package/dist/_node-chunks/{chunk-IISTVQWO.js → chunk-ZBMRBZHK.js} +6 -6
- package/dist/_node-chunks/{story-docs-template-analysis-FVKKDKOD.js → story-docs-template-analysis-PQ3TSQNO.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 +9 -9
- package/package.json +5 -5
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_cipcs4hoxti from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_cipcs4hoxti from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_cipcs4hoxti from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_cipcs4hoxti.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_cipcs4hoxti.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_cipcs4hoxti.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_cipcs4hoxti from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_cipcs4hoxti from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_cipcs4hoxti from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_cipcs4hoxti.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_cipcs4hoxti.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_cipcs4hoxti.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-ZBMRBZHK.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_cipcs4hoxti from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_cipcs4hoxti from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_cipcs4hoxti from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_cipcs4hoxti.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_cipcs4hoxti.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_cipcs4hoxti.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_cipcs4hoxti from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_cipcs4hoxti from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_cipcs4hoxti from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_cipcs4hoxti.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_cipcs4hoxti.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_cipcs4hoxti.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_cipcs4hoxti from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_cipcs4hoxti from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_cipcs4hoxti from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_cipcs4hoxti.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_cipcs4hoxti.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_cipcs4hoxti.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
printErrorDetails,
|
|
16
16
|
requireBuilderTarget,
|
|
17
17
|
up
|
|
18
|
-
} from "../../_node-chunks/chunk-
|
|
18
|
+
} from "../../_node-chunks/chunk-O35HWOQ7.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveTsconfig
|
|
21
|
-
} from "../../_node-chunks/chunk-
|
|
21
|
+
} from "../../_node-chunks/chunk-ZBMRBZHK.js";
|
|
22
22
|
|
|
23
23
|
// src/builders/build-storybook/index.ts
|
|
24
24
|
import { readFileSync } from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_cipcs4hoxti from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_cipcs4hoxti from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_cipcs4hoxti from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_cipcs4hoxti.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_cipcs4hoxti.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_cipcs4hoxti.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
printErrorDetails,
|
|
16
16
|
requireBuilderTarget,
|
|
17
17
|
up
|
|
18
|
-
} from "../../_node-chunks/chunk-
|
|
18
|
+
} from "../../_node-chunks/chunk-O35HWOQ7.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveTsconfig
|
|
21
|
-
} from "../../_node-chunks/chunk-
|
|
21
|
+
} from "../../_node-chunks/chunk-ZBMRBZHK.js";
|
|
22
22
|
|
|
23
23
|
// src/builders/start-storybook/index.ts
|
|
24
24
|
import { readFileSync } from "node:fs";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_cipcs4hoxti from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_cipcs4hoxti from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_cipcs4hoxti from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_cipcs4hoxti.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_cipcs4hoxti.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_cipcs4hoxti.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-HHUGSUIO.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_n3zwgwgiksg from "node:url";
|
|
22
|
+
import CJS_COMPAT_NODE_PATH_n3zwgwgiksg from "node:path";
|
|
23
|
+
import CJS_COMPAT_NODE_MODULE_n3zwgwgiksg from "node:module";
|
|
24
24
|
import { isInNodeModules } from "storybook/internal/common";
|
|
25
25
|
import {
|
|
26
26
|
ComponentMetaManager,
|
|
@@ -36,7 +36,7 @@ import { logger as logger3 } from "storybook/internal/node-logger";
|
|
|
36
36
|
import * as path from "node:path";
|
|
37
37
|
import { logger as logger2 } from "storybook/internal/node-logger";
|
|
38
38
|
import { logger } from "storybook/internal/node-logger";
|
|
39
|
-
var __filename =
|
|
39
|
+
var __filename = CJS_COMPAT_NODE_URL_n3zwgwgiksg.fileURLToPath(import.meta.url), __dirname = CJS_COMPAT_NODE_PATH_n3zwgwgiksg.dirname(__filename), require2 = CJS_COMPAT_NODE_MODULE_n3zwgwgiksg.createRequire(import.meta.url), resolvedSymbol = (ctx, node) => {
|
|
40
40
|
let symbol = ctx.checker.getSymbolAtLocation(node);
|
|
41
41
|
return symbol && symbol.flags & ctx.ts.SymbolFlags.Alias ? ctx.checker.getAliasedSymbol(symbol) : symbol;
|
|
42
42
|
}, resolvedNameSymbol = (ctx, name) => {
|
package/dist/node/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_cipcs4hoxti from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_cipcs4hoxti from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_cipcs4hoxti from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_cipcs4hoxti.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_cipcs4hoxti.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_cipcs4hoxti.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_cipcs4hoxti from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_cipcs4hoxti from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_cipcs4hoxti from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_cipcs4hoxti.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_cipcs4hoxti.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_cipcs4hoxti.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_cipcs4hoxti from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_cipcs4hoxti from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_cipcs4hoxti from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_cipcs4hoxti.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_cipcs4hoxti.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_cipcs4hoxti.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-ZBMRBZHK.js";
|
|
15
15
|
import {
|
|
16
16
|
parseStoryFile
|
|
17
|
-
} from "./_node-chunks/chunk-
|
|
17
|
+
} from "./_node-chunks/chunk-HHUGSUIO.js";
|
|
18
18
|
|
|
19
19
|
// src/preset.ts
|
|
20
20
|
import { findConfigFile } from "storybook/internal/common";
|
|
@@ -938,7 +938,7 @@ var buildStoryDocsPayload = async (input, context) => {
|
|
|
938
938
|
fields: fields2
|
|
939
939
|
});
|
|
940
940
|
if (userMarkup?.kind === "literal") {
|
|
941
|
-
let { analyzeStoryTemplate } = await import("./_node-chunks/story-docs-template-analysis-
|
|
941
|
+
let { analyzeStoryTemplate } = await import("./_node-chunks/story-docs-template-analysis-PQ3TSQNO.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(
|
|
942
942
|
referencedNames,
|
|
943
943
|
userMarkup.representedArgs,
|
|
944
944
|
shape,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/angular-vite",
|
|
3
|
-
"version": "11.0.0-alpha.
|
|
3
|
+
"version": "11.0.0-alpha.3",
|
|
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": "11.0.0-alpha.
|
|
66
|
+
"@storybook/builder-vite": "11.0.0-alpha.3",
|
|
67
67
|
"@storybook/global": "^5.0.0",
|
|
68
68
|
"telejson": "8.0.0",
|
|
69
69
|
"ts-dedent": "^2.0.0",
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
"@angular/platform-browser": "^21.2.14",
|
|
83
83
|
"@angular/platform-browser-dynamic": "^21.2.14",
|
|
84
84
|
"@babel/types": "^7.28.5",
|
|
85
|
-
"@storybook/angular-cm": "11.0.0-alpha.
|
|
86
|
-
"@storybook/angular-compodoc": "11.0.0-alpha.
|
|
85
|
+
"@storybook/angular-cm": "11.0.0-alpha.3",
|
|
86
|
+
"@storybook/angular-compodoc": "11.0.0-alpha.3",
|
|
87
87
|
"@types/node": "^22.19.1",
|
|
88
88
|
"empathic": "^2.0.0",
|
|
89
89
|
"memfs": "^4.11.1",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"rxjs": "^7.4.0",
|
|
107
107
|
"sass": "^1.0.0",
|
|
108
108
|
"sass-embedded": "^1.0.0",
|
|
109
|
-
"storybook": "^11.0.0-alpha.
|
|
109
|
+
"storybook": "^11.0.0-alpha.3",
|
|
110
110
|
"typescript": "^5.9.0 || ^6.0.0",
|
|
111
111
|
"vite": ">=8.0.0",
|
|
112
112
|
"zone.js": ">=0.14.0"
|