@storybook/angular-vite 10.5.0-alpha.8 → 10.5.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-RW7HFBKE.js → chunk-TP5DHYIU.js} +6 -6
- package/dist/_node-chunks/{run-compodoc-32ZKYDZQ.js → run-compodoc-FCWJOWCQ.js} +6 -6
- package/dist/builders/build-storybook/index.js +7 -7
- package/dist/builders/start-storybook/index.js +7 -7
- package/dist/node/index.js +6 -6
- package/dist/node/vitest.js +6 -6
- package/dist/preset.js +7 -7
- package/package.json +3 -3
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1pzgmqwhp9oi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1pzgmqwhp9oi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1pzgmqwhp9oi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1pzgmqwhp9oi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1pzgmqwhp9oi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1pzgmqwhp9oi.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_1pzgmqwhp9oi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1pzgmqwhp9oi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1pzgmqwhp9oi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1pzgmqwhp9oi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1pzgmqwhp9oi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1pzgmqwhp9oi.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_1pzgmqwhp9oi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1pzgmqwhp9oi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1pzgmqwhp9oi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1pzgmqwhp9oi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1pzgmqwhp9oi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1pzgmqwhp9oi.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
|
printErrorDetails,
|
|
15
15
|
up,
|
|
16
16
|
up2
|
|
17
|
-
} from "../../_node-chunks/chunk-
|
|
17
|
+
} from "../../_node-chunks/chunk-TP5DHYIU.js";
|
|
18
18
|
|
|
19
19
|
// src/builders/build-storybook/index.ts
|
|
20
20
|
import { readFileSync } from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1pzgmqwhp9oi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1pzgmqwhp9oi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1pzgmqwhp9oi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1pzgmqwhp9oi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1pzgmqwhp9oi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1pzgmqwhp9oi.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
|
printErrorDetails,
|
|
15
15
|
up,
|
|
16
16
|
up2
|
|
17
|
-
} from "../../_node-chunks/chunk-
|
|
17
|
+
} from "../../_node-chunks/chunk-TP5DHYIU.js";
|
|
18
18
|
|
|
19
19
|
// src/builders/start-storybook/index.ts
|
|
20
20
|
import { readFileSync } from "node:fs";
|
package/dist/node/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1pzgmqwhp9oi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1pzgmqwhp9oi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1pzgmqwhp9oi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1pzgmqwhp9oi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1pzgmqwhp9oi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1pzgmqwhp9oi.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_1pzgmqwhp9oi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1pzgmqwhp9oi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1pzgmqwhp9oi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1pzgmqwhp9oi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1pzgmqwhp9oi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1pzgmqwhp9oi.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,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1pzgmqwhp9oi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1pzgmqwhp9oi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1pzgmqwhp9oi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1pzgmqwhp9oi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1pzgmqwhp9oi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1pzgmqwhp9oi.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -64,7 +64,7 @@ var viteFinal = async (config, options) => {
|
|
|
64
64
|
if (framework.options?.compodoc !== !1) {
|
|
65
65
|
let { existsSync } = await import("node:fs"), path = await import("node:path"), workspaceRoot = options?.angularBuilderContext?.workspaceRoot ?? config?.root ?? process.cwd(), documentationJsonPath = path.resolve(workspaceRoot, "documentation.json");
|
|
66
66
|
if (!existsSync(documentationJsonPath)) {
|
|
67
|
-
let { runCompodoc } = await import("./_node-chunks/run-compodoc-
|
|
67
|
+
let { runCompodoc } = await import("./_node-chunks/run-compodoc-FCWJOWCQ.js"), tsconfig = framework.options?.tsconfig ?? options?.tsConfig ?? options?.angularBuilderOptions?.tsConfig ?? path.resolve(workspaceRoot, "tsconfig.json"), compodocArgs = framework.options?.compodocArgs ?? ["-e", "json", "-d", "."];
|
|
68
68
|
try {
|
|
69
69
|
await runCompodoc({ compodocArgs, tsconfig, workspaceRoot });
|
|
70
70
|
} catch (err) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/angular-vite",
|
|
3
|
-
"version": "10.5.0-alpha.
|
|
3
|
+
"version": "10.5.0-alpha.9",
|
|
4
4
|
"description": "Storybook for Angular: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"!src/**/*"
|
|
63
63
|
],
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@storybook/builder-vite": "10.5.0-alpha.
|
|
65
|
+
"@storybook/builder-vite": "10.5.0-alpha.9",
|
|
66
66
|
"@storybook/global": "^5.0.0",
|
|
67
67
|
"telejson": "8.0.0",
|
|
68
68
|
"ts-dedent": "^2.0.0",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"@angular/platform-browser": ">=21.0.0 < 23.0.0",
|
|
102
102
|
"@angular/platform-browser-dynamic": ">=21.0.0 < 23.0.0",
|
|
103
103
|
"rxjs": "^7.4.0",
|
|
104
|
-
"storybook": "^10.5.0-alpha.
|
|
104
|
+
"storybook": "^10.5.0-alpha.9",
|
|
105
105
|
"typescript": "^5.9.0",
|
|
106
106
|
"vite": ">=8.0.0",
|
|
107
107
|
"zone.js": ">=0.16.0"
|