@storybook/angular 10.0.0-rc.4 → 10.1.0-alpha.0

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.
@@ -1,20 +1,20 @@
1
- import CJS_COMPAT_NODE_URL_z5ltto4ycip from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_z5ltto4ycip from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_z5ltto4ycip from "node:module";
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";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_z5ltto4ycip.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_z5ltto4ycip.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_z5ltto4ycip.createRequire(import.meta.url);
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);
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-34HADQ7U.js";
14
+ } from "./chunk-LE6MPWGD.js";
15
15
  import {
16
16
  __name
17
- } from "./chunk-5MNTKSCL.js";
17
+ } from "./chunk-GTYH7YON.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_z5ltto4ycip from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_z5ltto4ycip from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_z5ltto4ycip from "node:module";
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";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_z5ltto4ycip.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_z5ltto4ycip.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_z5ltto4ycip.createRequire(import.meta.url);
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);
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_z5ltto4ycip from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_z5ltto4ycip from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_z5ltto4ycip from "node:module";
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";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_z5ltto4ycip.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_z5ltto4ycip.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_z5ltto4ycip.createRequire(import.meta.url);
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);
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-5MNTKSCL.js";
14
+ } from "./chunk-GTYH7YON.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_z5ltto4ycip from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_z5ltto4ycip from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_z5ltto4ycip from "node:module";
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";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_z5ltto4ycip.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_z5ltto4ycip.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_z5ltto4ycip.createRequire(import.meta.url);
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);
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-TUQATD2S.js";
17
+ } from "../../_node-chunks/chunk-5V22TADZ.js";
18
18
  import {
19
19
  up
20
- } from "../../_node-chunks/chunk-34HADQ7U.js";
20
+ } from "../../_node-chunks/chunk-LE6MPWGD.js";
21
21
  import {
22
22
  __name
23
- } from "../../_node-chunks/chunk-5MNTKSCL.js";
23
+ } from "../../_node-chunks/chunk-GTYH7YON.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_z5ltto4ycip from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_z5ltto4ycip from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_z5ltto4ycip from "node:module";
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";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_z5ltto4ycip.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_z5ltto4ycip.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_z5ltto4ycip.createRequire(import.meta.url);
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);
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-TUQATD2S.js";
17
+ } from "../../_node-chunks/chunk-5V22TADZ.js";
18
18
  import {
19
19
  up
20
- } from "../../_node-chunks/chunk-34HADQ7U.js";
20
+ } from "../../_node-chunks/chunk-LE6MPWGD.js";
21
21
  import {
22
22
  __name
23
- } from "../../_node-chunks/chunk-5MNTKSCL.js";
23
+ } from "../../_node-chunks/chunk-GTYH7YON.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_z5ltto4ycip from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_z5ltto4ycip from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_z5ltto4ycip from "node:module";
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";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_z5ltto4ycip.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_z5ltto4ycip.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_z5ltto4ycip.createRequire(import.meta.url);
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);
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-5MNTKSCL.js";
14
+ } from "../_node-chunks/chunk-GTYH7YON.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_z5ltto4ycip from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_z5ltto4ycip from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_z5ltto4ycip from "node:module";
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";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_z5ltto4ycip.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_z5ltto4ycip.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_z5ltto4ycip.createRequire(import.meta.url);
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);
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-5MNTKSCL.js";
14
+ } from "./_node-chunks/chunk-GTYH7YON.js";
15
15
 
16
16
  // src/preset.ts
17
17
  import { fileURLToPath } from "node:url";
@@ -23,13 +23,17 @@ var previewAnnotations = /* @__PURE__ */ __name(async (entries = [], options) =>
23
23
  const config = fileURLToPath(import.meta.resolve("@storybook/angular/client/config"));
24
24
  const annotations = [...entries, config];
25
25
  if (options.enableProdMode) {
26
- const previewProdPath = import.meta.resolve("@storybook/angular/client/preview-prod");
26
+ const previewProdPath = fileURLToPath(
27
+ import.meta.resolve("@storybook/angular/client/preview-prod")
28
+ );
27
29
  annotations.unshift(previewProdPath);
28
30
  }
29
31
  const docsConfig = await options.presets.apply("docs", {}, options);
30
32
  const docsEnabled = Object.keys(docsConfig).length > 0;
31
33
  if (docsEnabled) {
32
- const docsConfigPath = import.meta.resolve("@storybook/angular/client/docs/config");
34
+ const docsConfigPath = fileURLToPath(
35
+ import.meta.resolve("@storybook/angular/client/docs/config")
36
+ );
33
37
  annotations.push(docsConfigPath);
34
38
  }
35
39
  return annotations;
@@ -1,20 +1,20 @@
1
- import CJS_COMPAT_NODE_URL_z5ltto4ycip from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_z5ltto4ycip from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_z5ltto4ycip from "node:module";
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";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_z5ltto4ycip.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_z5ltto4ycip.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_z5ltto4ycip.createRequire(import.meta.url);
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);
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-34HADQ7U.js";
14
+ } from "../_node-chunks/chunk-LE6MPWGD.js";
15
15
  import {
16
16
  __name
17
- } from "../_node-chunks/chunk-5MNTKSCL.js";
17
+ } from "../_node-chunks/chunk-GTYH7YON.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_z5ltto4ycip from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_z5ltto4ycip from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_z5ltto4ycip from "node:module";
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";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_z5ltto4ycip.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_z5ltto4ycip.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_z5ltto4ycip.createRequire(import.meta.url);
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);
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-5MNTKSCL.js";
14
+ } from "../_node-chunks/chunk-GTYH7YON.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.0.0-rc.4",
3
+ "version": "10.1.0-alpha.0",
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.0.0-rc.4",
64
+ "@storybook/builder-webpack5": "10.1.0-alpha.0",
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.0.0-rc.4",
84
+ "@storybook/core-webpack": "10.1.0-alpha.0",
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.0.0-rc.4",
106
+ "storybook": "^10.1.0-alpha.0",
107
107
  "typescript": "^4.9.0 || ^5.0.0",
108
108
  "zone.js": ">=0.14.0"
109
109
  },