@storybook/angular 10.3.0-alpha.2 → 10.3.0-alpha.4

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/build-schema.json CHANGED
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "loglevel": {
33
33
  "type": "string",
34
- "description": "Controls level of logging during build. Can be one of: [silly, verbose, info (default), warn, error, silent].",
34
+ "description": "Controls level of logging during build. Can be one of: [trace, debug, info (default), warn, error, silent].",
35
35
  "pattern": "(trace|debug|info|warn|error|silent)"
36
36
  },
37
37
  "logfile": {
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_2h7747pau0d from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_2h7747pau0d from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_2h7747pau0d from "node:module";
1
+ import CJS_COMPAT_NODE_URL_wkf6hvwvcng from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_wkf6hvwvcng from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_wkf6hvwvcng from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_2h7747pau0d.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_2h7747pau0d.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_2h7747pau0d.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_wkf6hvwvcng.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_wkf6hvwvcng.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_wkf6hvwvcng.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-SJRJ7CVN.js";
14
+ } from "./chunk-RZDYUCFG.js";
15
15
 
16
16
  // ../../../node_modules/empathic/package.mjs
17
17
  function up2(options) {
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_2h7747pau0d from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_2h7747pau0d from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_2h7747pau0d from "node:module";
1
+ import CJS_COMPAT_NODE_URL_wkf6hvwvcng from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_wkf6hvwvcng from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_wkf6hvwvcng from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_2h7747pau0d.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_2h7747pau0d.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_2h7747pau0d.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_wkf6hvwvcng.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_wkf6hvwvcng.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_wkf6hvwvcng.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 CJS_COMPAT_NODE_URL_2h7747pau0d from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_2h7747pau0d from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_2h7747pau0d from "node:module";
1
+ import CJS_COMPAT_NODE_URL_wkf6hvwvcng from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_wkf6hvwvcng from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_wkf6hvwvcng from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_2h7747pau0d.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_2h7747pau0d.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_2h7747pau0d.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_wkf6hvwvcng.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_wkf6hvwvcng.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_wkf6hvwvcng.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-E2K46GF3.js";
17
+ } from "../../_node-chunks/chunk-2SBY3MG4.js";
18
18
  import {
19
19
  up
20
- } from "../../_node-chunks/chunk-SJRJ7CVN.js";
20
+ } from "../../_node-chunks/chunk-RZDYUCFG.js";
21
21
 
22
22
  // src/builders/build-storybook/index.ts
23
23
  import { readFileSync } from "node:fs";
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_2h7747pau0d from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_2h7747pau0d from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_2h7747pau0d from "node:module";
1
+ import CJS_COMPAT_NODE_URL_wkf6hvwvcng from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_wkf6hvwvcng from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_wkf6hvwvcng from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_2h7747pau0d.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_2h7747pau0d.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_2h7747pau0d.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_wkf6hvwvcng.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_wkf6hvwvcng.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_wkf6hvwvcng.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-E2K46GF3.js";
17
+ } from "../../_node-chunks/chunk-2SBY3MG4.js";
18
18
  import {
19
19
  up
20
- } from "../../_node-chunks/chunk-SJRJ7CVN.js";
20
+ } from "../../_node-chunks/chunk-RZDYUCFG.js";
21
21
 
22
22
  // src/builders/start-storybook/index.ts
23
23
  import { readFileSync } from "node:fs";
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_2h7747pau0d from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_2h7747pau0d from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_2h7747pau0d from "node:module";
1
+ import CJS_COMPAT_NODE_URL_wkf6hvwvcng from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_wkf6hvwvcng from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_wkf6hvwvcng from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_2h7747pau0d.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_2h7747pau0d.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_2h7747pau0d.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_wkf6hvwvcng.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_wkf6hvwvcng.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_wkf6hvwvcng.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 CJS_COMPAT_NODE_URL_2h7747pau0d from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_2h7747pau0d from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_2h7747pau0d from "node:module";
1
+ import CJS_COMPAT_NODE_URL_wkf6hvwvcng from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_wkf6hvwvcng from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_wkf6hvwvcng from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_2h7747pau0d.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_2h7747pau0d.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_2h7747pau0d.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_wkf6hvwvcng.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_wkf6hvwvcng.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_wkf6hvwvcng.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 CJS_COMPAT_NODE_URL_2h7747pau0d from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_2h7747pau0d from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_2h7747pau0d from "node:module";
1
+ import CJS_COMPAT_NODE_URL_wkf6hvwvcng from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_wkf6hvwvcng from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_wkf6hvwvcng from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_2h7747pau0d.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_2h7747pau0d.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_2h7747pau0d.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_wkf6hvwvcng.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_wkf6hvwvcng.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_wkf6hvwvcng.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-SJRJ7CVN.js";
14
+ } from "../_node-chunks/chunk-RZDYUCFG.js";
15
15
 
16
16
  // src/server/framework-preset-angular-cli.ts
17
17
  import { logger } from "storybook/internal/node-logger";
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_2h7747pau0d from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_2h7747pau0d from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_2h7747pau0d from "node:module";
1
+ import CJS_COMPAT_NODE_URL_wkf6hvwvcng from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_wkf6hvwvcng from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_wkf6hvwvcng from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_2h7747pau0d.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_2h7747pau0d.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_2h7747pau0d.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_wkf6hvwvcng.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_wkf6hvwvcng.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_wkf6hvwvcng.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.3.0-alpha.2",
3
+ "version": "10.3.0-alpha.4",
4
4
  "description": "Storybook for Angular: Develop, document, and test UI components in isolation",
5
5
  "keywords": [
6
6
  "storybook",
@@ -27,6 +27,7 @@
27
27
  "exports": {
28
28
  ".": {
29
29
  "types": "./dist/index.d.ts",
30
+ "code": "./src/index.ts",
30
31
  "default": "./dist/index.js"
31
32
  },
32
33
  "./builders/build-storybook": "./dist/builders/build-storybook/index.js",
@@ -37,6 +38,7 @@
37
38
  "./client/preview-prod": "./dist/client/preview-prod.js",
38
39
  "./node": {
39
40
  "types": "./dist/node/index.d.ts",
41
+ "code": "./src/node/index.ts",
40
42
  "default": "./dist/node/index.js"
41
43
  },
42
44
  "./package.json": "./package.json",
@@ -57,7 +59,7 @@
57
59
  "!src/**/*"
58
60
  ],
59
61
  "dependencies": {
60
- "@storybook/builder-webpack5": "10.3.0-alpha.2",
62
+ "@storybook/builder-webpack5": "10.3.0-alpha.4",
61
63
  "@storybook/global": "^5.0.0",
62
64
  "telejson": "8.0.0",
63
65
  "ts-dedent": "^2.0.0",
@@ -77,7 +79,7 @@
77
79
  "@angular/forms": "^19.1.1",
78
80
  "@angular/platform-browser": "^19.1.1",
79
81
  "@angular/platform-browser-dynamic": "^19.1.1",
80
- "@storybook/core-webpack": "10.3.0-alpha.2",
82
+ "@storybook/core-webpack": "10.3.0-alpha.4",
81
83
  "@types/node": "^22.19.1",
82
84
  "empathic": "^2.0.0",
83
85
  "rimraf": "^6.0.1",
@@ -98,7 +100,7 @@
98
100
  "@angular/platform-browser": ">=18.0.0 < 22.0.0",
99
101
  "@angular/platform-browser-dynamic": ">=18.0.0 < 22.0.0",
100
102
  "rxjs": "^6.5.3 || ^7.4.0",
101
- "storybook": "^10.3.0-alpha.2",
103
+ "storybook": "^10.3.0-alpha.4",
102
104
  "typescript": "^4.9.0 || ^5.0.0",
103
105
  "zone.js": ">=0.14.0"
104
106
  },
package/start-schema.json CHANGED
@@ -147,7 +147,7 @@
147
147
  },
148
148
  "loglevel": {
149
149
  "type": "string",
150
- "description": "Controls level of logging during build. Can be one of: [silly, verbose, info (default), warn, error, silent].",
150
+ "description": "Controls level of logging during build. Can be one of: [trace, debug, info (default), warn, error, silent].",
151
151
  "pattern": "(trace|debug|info|warn|error|silent)"
152
152
  },
153
153
  "logfile": {