@storybook/angular 10.2.0-alpha.0 → 10.2.0-alpha.2
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-5UVNGYOY.js → chunk-X2FUKJ5W.js} +8 -8
- package/dist/_node-chunks/{chunk-B4YQUI4W.js → chunk-XLLYNKIQ.js} +11 -11
- package/dist/builders/build-storybook/index.js +8 -8
- package/dist/builders/start-storybook/index.js +8 -8
- package/dist/node/index.js +6 -6
- package/dist/preset.js +6 -6
- package/dist/server/framework-preset-angular-cli.js +8 -8
- package/dist/server/framework-preset-angular-ivy.js +6 -6
- package/package.json +4 -8
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_0z4r065u38aq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0z4r065u38aq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0z4r065u38aq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0z4r065u38aq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0z4r065u38aq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0z4r065u38aq.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-XLLYNKIQ.js";
|
|
15
15
|
|
|
16
|
-
//
|
|
16
|
+
// ../../../node_modules/empathic/package.mjs
|
|
17
17
|
function up2(options) {
|
|
18
18
|
return up("package.json", options);
|
|
19
19
|
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_0z4r065u38aq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0z4r065u38aq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0z4r065u38aq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0z4r065u38aq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0z4r065u38aq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0z4r065u38aq.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
|
|
|
13
|
-
//
|
|
13
|
+
// ../../../node_modules/empathic/find.mjs
|
|
14
14
|
import { join as join2 } from "node:path";
|
|
15
15
|
import { existsSync, statSync } from "node:fs";
|
|
16
16
|
|
|
17
|
-
//
|
|
17
|
+
// ../../../node_modules/empathic/walk.mjs
|
|
18
18
|
import { dirname } from "node:path";
|
|
19
19
|
|
|
20
|
-
//
|
|
20
|
+
// ../../../node_modules/empathic/resolve.mjs
|
|
21
21
|
import { isAbsolute, join, resolve } from "node:path";
|
|
22
22
|
function absolute(input, root) {
|
|
23
23
|
return isAbsolute(input) ? input : resolve(root || ".", input);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
//
|
|
26
|
+
// ../../../node_modules/empathic/walk.mjs
|
|
27
27
|
function up(base, options) {
|
|
28
28
|
let { last, cwd } = options || {}, tmp = absolute(base, cwd), root = absolute(last || "/", cwd), prev, arr = [];
|
|
29
29
|
for (; prev !== root && (arr.push(tmp), tmp = dirname(prev = tmp), tmp !== prev); )
|
|
@@ -31,7 +31,7 @@ function up(base, options) {
|
|
|
31
31
|
return arr;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
//
|
|
34
|
+
// ../../../node_modules/empathic/find.mjs
|
|
35
35
|
function up2(name, options) {
|
|
36
36
|
let dir, tmp, start = options && options.cwd || "";
|
|
37
37
|
for (dir of up(start, options))
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_0z4r065u38aq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0z4r065u38aq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0z4r065u38aq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0z4r065u38aq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0z4r065u38aq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0z4r065u38aq.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
printErrorDetails,
|
|
15
15
|
runCompodoc,
|
|
16
16
|
up as up2
|
|
17
|
-
} from "../../_node-chunks/chunk-
|
|
17
|
+
} from "../../_node-chunks/chunk-X2FUKJ5W.js";
|
|
18
18
|
import {
|
|
19
19
|
up
|
|
20
|
-
} from "../../_node-chunks/chunk-
|
|
20
|
+
} from "../../_node-chunks/chunk-XLLYNKIQ.js";
|
|
21
21
|
|
|
22
22
|
// src/builders/build-storybook/index.ts
|
|
23
23
|
import { readFileSync } from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_0z4r065u38aq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0z4r065u38aq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0z4r065u38aq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0z4r065u38aq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0z4r065u38aq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0z4r065u38aq.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
printErrorDetails,
|
|
15
15
|
runCompodoc,
|
|
16
16
|
up as up2
|
|
17
|
-
} from "../../_node-chunks/chunk-
|
|
17
|
+
} from "../../_node-chunks/chunk-X2FUKJ5W.js";
|
|
18
18
|
import {
|
|
19
19
|
up
|
|
20
|
-
} from "../../_node-chunks/chunk-
|
|
20
|
+
} from "../../_node-chunks/chunk-XLLYNKIQ.js";
|
|
21
21
|
|
|
22
22
|
// src/builders/start-storybook/index.ts
|
|
23
23
|
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_0z4r065u38aq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0z4r065u38aq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0z4r065u38aq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0z4r065u38aq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0z4r065u38aq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0z4r065u38aq.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_0z4r065u38aq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0z4r065u38aq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0z4r065u38aq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0z4r065u38aq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0z4r065u38aq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0z4r065u38aq.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_0z4r065u38aq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0z4r065u38aq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0z4r065u38aq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0z4r065u38aq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0z4r065u38aq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0z4r065u38aq.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 "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-XLLYNKIQ.js";
|
|
15
15
|
|
|
16
16
|
// src/server/framework-preset-angular-cli.ts
|
|
17
17
|
import { logger } from "storybook/internal/node-logger";
|
|
@@ -172,7 +172,7 @@ var require2 = createRequire(import.meta.url), {
|
|
|
172
172
|
// src/server/framework-preset-angular-cli.ts
|
|
173
173
|
import { getProjectRoot, resolvePackageDir } from "storybook/internal/common";
|
|
174
174
|
|
|
175
|
-
//
|
|
175
|
+
// ../../../node_modules/pathe/dist/shared/pathe.ff20891b.mjs
|
|
176
176
|
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
177
177
|
function normalizeWindowsPath(input = "") {
|
|
178
178
|
return input && input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE, (r) => r.toUpperCase());
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_0z4r065u38aq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0z4r065u38aq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0z4r065u38aq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0z4r065u38aq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0z4r065u38aq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0z4r065u38aq.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/angular",
|
|
3
|
-
"version": "10.2.0-alpha.
|
|
3
|
+
"version": "10.2.0-alpha.2",
|
|
4
4
|
"description": "Storybook for Angular: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -56,12 +56,8 @@
|
|
|
56
56
|
"*.d.ts",
|
|
57
57
|
"!src/**/*"
|
|
58
58
|
],
|
|
59
|
-
"scripts": {
|
|
60
|
-
"check": "jiti ../../../scripts/check/check-package.ts",
|
|
61
|
-
"prep": "jiti ../../../scripts/build/build-package.ts"
|
|
62
|
-
},
|
|
63
59
|
"dependencies": {
|
|
64
|
-
"@storybook/builder-webpack5": "10.2.0-alpha.
|
|
60
|
+
"@storybook/builder-webpack5": "10.2.0-alpha.2",
|
|
65
61
|
"@storybook/global": "^5.0.0",
|
|
66
62
|
"telejson": "8.0.0",
|
|
67
63
|
"ts-dedent": "^2.0.0",
|
|
@@ -81,7 +77,7 @@
|
|
|
81
77
|
"@angular/forms": "^19.1.1",
|
|
82
78
|
"@angular/platform-browser": "^19.1.1",
|
|
83
79
|
"@angular/platform-browser-dynamic": "^19.1.1",
|
|
84
|
-
"@storybook/core-webpack": "10.2.0-alpha.
|
|
80
|
+
"@storybook/core-webpack": "10.2.0-alpha.2",
|
|
85
81
|
"@types/node": "^22.0.0",
|
|
86
82
|
"empathic": "^2.0.0",
|
|
87
83
|
"rimraf": "^6.0.1",
|
|
@@ -102,7 +98,7 @@
|
|
|
102
98
|
"@angular/platform-browser": ">=18.0.0 < 22.0.0",
|
|
103
99
|
"@angular/platform-browser-dynamic": ">=18.0.0 < 22.0.0",
|
|
104
100
|
"rxjs": "^6.5.3 || ^7.4.0",
|
|
105
|
-
"storybook": "^10.2.0-alpha.
|
|
101
|
+
"storybook": "^10.2.0-alpha.2",
|
|
106
102
|
"typescript": "^4.9.0 || ^5.0.0",
|
|
107
103
|
"zone.js": ">=0.14.0"
|
|
108
104
|
},
|