@storybook/angular 10.1.0-alpha.0 → 10.1.0-alpha.10

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
@@ -67,27 +67,18 @@
67
67
  "compodocArgs": {
68
68
  "type": "array",
69
69
  "description": "Compodoc options : https://compodoc.app/guides/options.html. Options `-p` with tsconfig path and `-d` with workspace root is always given.",
70
- "default": [
71
- "-e",
72
- "json"
73
- ],
70
+ "default": ["-e", "json"],
74
71
  "items": {
75
72
  "type": "string"
76
73
  }
77
74
  },
78
75
  "webpackStatsJson": {
79
- "type": [
80
- "boolean",
81
- "string"
82
- ],
76
+ "type": ["boolean", "string"],
83
77
  "description": "Write Webpack Stats JSON to disk",
84
78
  "default": false
85
79
  },
86
80
  "statsJson": {
87
- "type": [
88
- "boolean",
89
- "string"
90
- ],
81
+ "type": ["boolean", "string"],
91
82
  "description": "Write stats JSON to disk",
92
83
  "default": false
93
84
  },
@@ -125,10 +116,7 @@
125
116
  }
126
117
  },
127
118
  "sourceMap": {
128
- "type": [
129
- "boolean",
130
- "object"
131
- ],
119
+ "type": ["boolean", "object"],
132
120
  "description": "Configure sourcemaps. See: https://angular.io/guide/workspace-config#source-map-configuration",
133
121
  "default": false
134
122
  },
@@ -170,11 +158,7 @@
170
158
  }
171
159
  },
172
160
  "additionalProperties": false,
173
- "required": [
174
- "glob",
175
- "input",
176
- "output"
177
- ]
161
+ "required": ["glob", "input", "output"]
178
162
  },
179
163
  {
180
164
  "type": "string"
@@ -202,9 +186,7 @@
202
186
  }
203
187
  },
204
188
  "additionalProperties": false,
205
- "required": [
206
- "input"
207
- ]
189
+ "required": ["input"]
208
190
  },
209
191
  {
210
192
  "type": "string",
@@ -213,4 +195,4 @@
213
195
  ]
214
196
  }
215
197
  }
216
- }
198
+ }
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_ij9oculm48l from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_ij9oculm48l from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_ij9oculm48l from "node:module";
1
+ import CJS_COMPAT_NODE_URL_2x62fuu3g38 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_2x62fuu3g38 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_2x62fuu3g38 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_ij9oculm48l.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_ij9oculm48l.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_ij9oculm48l.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_2x62fuu3g38.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_2x62fuu3g38.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_2x62fuu3g38.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
  __name
14
- } from "./chunk-GTYH7YON.js";
14
+ } from "./chunk-CE4PZTEJ.js";
15
15
 
16
16
  // ../../node_modules/empathic/find.mjs
17
17
  import { join as join2 } from "node:path";
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_ij9oculm48l from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_ij9oculm48l from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_ij9oculm48l from "node:module";
1
+ import CJS_COMPAT_NODE_URL_2x62fuu3g38 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_2x62fuu3g38 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_2x62fuu3g38 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_ij9oculm48l.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_ij9oculm48l.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_ij9oculm48l.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_2x62fuu3g38.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_2x62fuu3g38.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_2x62fuu3g38.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -1,20 +1,20 @@
1
- import CJS_COMPAT_NODE_URL_ij9oculm48l from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_ij9oculm48l from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_ij9oculm48l from "node:module";
1
+ import CJS_COMPAT_NODE_URL_2x62fuu3g38 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_2x62fuu3g38 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_2x62fuu3g38 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_ij9oculm48l.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_ij9oculm48l.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_ij9oculm48l.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_2x62fuu3g38.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_2x62fuu3g38.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_2x62fuu3g38.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-LE6MPWGD.js";
14
+ } from "./chunk-4RJNAYZ2.js";
15
15
  import {
16
16
  __name
17
- } from "./chunk-GTYH7YON.js";
17
+ } from "./chunk-CE4PZTEJ.js";
18
18
 
19
19
  // ../../node_modules/empathic/package.mjs
20
20
  function up2(options) {
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_ij9oculm48l from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_ij9oculm48l from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_ij9oculm48l from "node:module";
1
+ import CJS_COMPAT_NODE_URL_2x62fuu3g38 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_2x62fuu3g38 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_2x62fuu3g38 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_ij9oculm48l.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_ij9oculm48l.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_ij9oculm48l.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_2x62fuu3g38.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_2x62fuu3g38.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_2x62fuu3g38.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -14,13 +14,13 @@ import {
14
14
  printErrorDetails,
15
15
  runCompodoc,
16
16
  up as up2
17
- } from "../../_node-chunks/chunk-5V22TADZ.js";
17
+ } from "../../_node-chunks/chunk-QC5VOLQ4.js";
18
18
  import {
19
19
  up
20
- } from "../../_node-chunks/chunk-LE6MPWGD.js";
20
+ } from "../../_node-chunks/chunk-4RJNAYZ2.js";
21
21
  import {
22
22
  __name
23
- } from "../../_node-chunks/chunk-GTYH7YON.js";
23
+ } from "../../_node-chunks/chunk-CE4PZTEJ.js";
24
24
 
25
25
  // src/builders/build-storybook/index.ts
26
26
  import { readFileSync } from "node:fs";
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_ij9oculm48l from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_ij9oculm48l from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_ij9oculm48l from "node:module";
1
+ import CJS_COMPAT_NODE_URL_2x62fuu3g38 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_2x62fuu3g38 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_2x62fuu3g38 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_ij9oculm48l.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_ij9oculm48l.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_ij9oculm48l.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_2x62fuu3g38.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_2x62fuu3g38.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_2x62fuu3g38.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -14,13 +14,13 @@ import {
14
14
  printErrorDetails,
15
15
  runCompodoc,
16
16
  up as up2
17
- } from "../../_node-chunks/chunk-5V22TADZ.js";
17
+ } from "../../_node-chunks/chunk-QC5VOLQ4.js";
18
18
  import {
19
19
  up
20
- } from "../../_node-chunks/chunk-LE6MPWGD.js";
20
+ } from "../../_node-chunks/chunk-4RJNAYZ2.js";
21
21
  import {
22
22
  __name
23
- } from "../../_node-chunks/chunk-GTYH7YON.js";
23
+ } from "../../_node-chunks/chunk-CE4PZTEJ.js";
24
24
 
25
25
  // src/builders/start-storybook/index.ts
26
26
  import { readFileSync } from "node:fs";
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_ij9oculm48l from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_ij9oculm48l from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_ij9oculm48l from "node:module";
1
+ import CJS_COMPAT_NODE_URL_2x62fuu3g38 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_2x62fuu3g38 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_2x62fuu3g38 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_ij9oculm48l.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_ij9oculm48l.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_ij9oculm48l.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_2x62fuu3g38.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_2x62fuu3g38.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_2x62fuu3g38.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
  __name
14
- } from "../_node-chunks/chunk-GTYH7YON.js";
14
+ } from "../_node-chunks/chunk-CE4PZTEJ.js";
15
15
 
16
16
  // src/node/index.ts
17
17
  function defineMain(config) {
package/dist/preset.js CHANGED
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_ij9oculm48l from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_ij9oculm48l from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_ij9oculm48l from "node:module";
1
+ import CJS_COMPAT_NODE_URL_2x62fuu3g38 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_2x62fuu3g38 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_2x62fuu3g38 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_ij9oculm48l.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_ij9oculm48l.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_ij9oculm48l.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_2x62fuu3g38.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_2x62fuu3g38.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_2x62fuu3g38.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
  __name
14
- } from "./_node-chunks/chunk-GTYH7YON.js";
14
+ } from "./_node-chunks/chunk-CE4PZTEJ.js";
15
15
 
16
16
  // src/preset.ts
17
17
  import { fileURLToPath } from "node:url";
@@ -1,20 +1,20 @@
1
- import CJS_COMPAT_NODE_URL_ij9oculm48l from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_ij9oculm48l from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_ij9oculm48l from "node:module";
1
+ import CJS_COMPAT_NODE_URL_2x62fuu3g38 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_2x62fuu3g38 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_2x62fuu3g38 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_ij9oculm48l.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_ij9oculm48l.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_ij9oculm48l.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_2x62fuu3g38.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_2x62fuu3g38.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_2x62fuu3g38.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-LE6MPWGD.js";
14
+ } from "../_node-chunks/chunk-4RJNAYZ2.js";
15
15
  import {
16
16
  __name
17
- } from "../_node-chunks/chunk-GTYH7YON.js";
17
+ } from "../_node-chunks/chunk-CE4PZTEJ.js";
18
18
 
19
19
  // src/server/framework-preset-angular-cli.ts
20
20
  import { logger } from "storybook/internal/node-logger";
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_ij9oculm48l from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_ij9oculm48l from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_ij9oculm48l from "node:module";
1
+ import CJS_COMPAT_NODE_URL_2x62fuu3g38 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_2x62fuu3g38 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_2x62fuu3g38 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_ij9oculm48l.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_ij9oculm48l.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_ij9oculm48l.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_2x62fuu3g38.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_2x62fuu3g38.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_2x62fuu3g38.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
  __name
14
- } from "../_node-chunks/chunk-GTYH7YON.js";
14
+ } from "../_node-chunks/chunk-CE4PZTEJ.js";
15
15
 
16
16
  // src/server/framework-preset-angular-ivy.ts
17
17
  import { join } from "node:path";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/angular",
3
- "version": "10.1.0-alpha.0",
3
+ "version": "10.1.0-alpha.10",
4
4
  "description": "Storybook for Angular: Develop, document, and test UI components in isolation",
5
5
  "keywords": [
6
6
  "storybook",
@@ -61,7 +61,7 @@
61
61
  "prep": "jiti ../../../scripts/build/build-package.ts"
62
62
  },
63
63
  "dependencies": {
64
- "@storybook/builder-webpack5": "10.1.0-alpha.0",
64
+ "@storybook/builder-webpack5": "10.1.0-alpha.10",
65
65
  "@storybook/global": "^5.0.0",
66
66
  "telejson": "8.0.0",
67
67
  "ts-dedent": "^2.0.0",
@@ -81,7 +81,7 @@
81
81
  "@angular/forms": "^19.1.1",
82
82
  "@angular/platform-browser": "^19.1.1",
83
83
  "@angular/platform-browser-dynamic": "^19.1.1",
84
- "@storybook/core-webpack": "10.1.0-alpha.0",
84
+ "@storybook/core-webpack": "10.1.0-alpha.10",
85
85
  "@types/node": "^22.0.0",
86
86
  "empathic": "^2.0.0",
87
87
  "rimraf": "^6.0.1",
@@ -103,7 +103,7 @@
103
103
  "@angular/platform-browser": ">=18.0.0 < 21.0.0",
104
104
  "@angular/platform-browser-dynamic": ">=18.0.0 < 21.0.0",
105
105
  "rxjs": "^6.5.3 || ^7.4.0",
106
- "storybook": "^10.1.0-alpha.0",
106
+ "storybook": "^10.1.0-alpha.10",
107
107
  "typescript": "^4.9.0 || ^5.0.0",
108
108
  "zone.js": ">=0.14.0"
109
109
  },
@@ -122,5 +122,5 @@
122
122
  "access": "public"
123
123
  },
124
124
  "builders": "builders.json",
125
- "gitHead": "a8e7fd8a655c69780bc20b9749d2699e45beae16"
125
+ "gitHead": "a8e7fd8a655c69780bc20b9749d2699e45beae17"
126
126
  }
package/start-schema.json CHANGED
@@ -93,10 +93,7 @@
93
93
  "compodocArgs": {
94
94
  "type": "array",
95
95
  "description": "Compodoc options : https://compodoc.app/guides/options.html. Options `-p` with tsconfig path and `-d` with workspace root is always given.",
96
- "default": [
97
- "-e",
98
- "json"
99
- ],
96
+ "default": ["-e", "json"],
100
97
  "items": {
101
98
  "type": "string"
102
99
  }
@@ -135,18 +132,12 @@
135
132
  "description": "URL path to be appended when visiting Storybook for the first time"
136
133
  },
137
134
  "webpackStatsJson": {
138
- "type": [
139
- "boolean",
140
- "string"
141
- ],
135
+ "type": ["boolean", "string"],
142
136
  "description": "Write Webpack Stats JSON to disk",
143
137
  "default": false
144
138
  },
145
139
  "statsJson": {
146
- "type": [
147
- "boolean",
148
- "string"
149
- ],
140
+ "type": ["boolean", "string"],
150
141
  "description": "Write stats JSON to disk",
151
142
  "default": false
152
143
  },
@@ -160,10 +151,7 @@
160
151
  "pattern": "(silly|verbose|info|warn|silent)"
161
152
  },
162
153
  "sourceMap": {
163
- "type": [
164
- "boolean",
165
- "object"
166
- ],
154
+ "type": ["boolean", "object"],
167
155
  "description": "Configure sourcemaps. See: https://angular.io/guide/workspace-config#source-map-configuration",
168
156
  "default": false
169
157
  },
@@ -205,11 +193,7 @@
205
193
  }
206
194
  },
207
195
  "additionalProperties": false,
208
- "required": [
209
- "glob",
210
- "input",
211
- "output"
212
- ]
196
+ "required": ["glob", "input", "output"]
213
197
  },
214
198
  {
215
199
  "type": "string"
@@ -237,9 +221,7 @@
237
221
  }
238
222
  },
239
223
  "additionalProperties": false,
240
- "required": [
241
- "input"
242
- ]
224
+ "required": ["input"]
243
225
  },
244
226
  {
245
227
  "type": "string",
@@ -248,4 +230,4 @@
248
230
  ]
249
231
  }
250
232
  }
251
- }
233
+ }