@storybook/angular 10.0.0-rc.0 → 10.0.0-rc.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-43AIQSRN.js +17 -0
- package/dist/_node-chunks/{chunk-65FPGA6D.js → chunk-GD7I6WZS.js} +7 -7
- package/dist/_node-chunks/{chunk-5DEWQLF6.js → chunk-OH7SKA4E.js} +8 -8
- package/dist/builders/build-storybook/index.js +9 -9
- package/dist/builders/start-storybook/index.js +9 -9
- package/dist/node/index.js +7 -7
- package/dist/preset.js +7 -7
- package/dist/server/framework-preset-angular-cli.js +8 -8
- package/dist/server/framework-preset-angular-ivy.js +7 -7
- package/package.json +4 -4
- package/dist/_node-chunks/chunk-JKTLUFRC.js +0 -17
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_adlftx8amau from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_adlftx8amau from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_adlftx8amau from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_adlftx8amau.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_adlftx8amau.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_adlftx8amau.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
var __defProp = Object.defineProperty;
|
|
13
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
__name
|
|
17
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_adlftx8amau from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_adlftx8amau from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_adlftx8amau from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_adlftx8amau.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_adlftx8amau.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_adlftx8amau.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-
|
|
14
|
+
} from "./chunk-43AIQSRN.js";
|
|
15
15
|
|
|
16
16
|
// ../../node_modules/empathic/find.mjs
|
|
17
17
|
import { join as join2 } from "node:path";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_adlftx8amau from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_adlftx8amau from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_adlftx8amau from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_adlftx8amau.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_adlftx8amau.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_adlftx8amau.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-GD7I6WZS.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-43AIQSRN.js";
|
|
18
18
|
|
|
19
19
|
// ../../node_modules/empathic/package.mjs
|
|
20
20
|
function up2(options) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_adlftx8amau from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_adlftx8amau from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_adlftx8amau from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_adlftx8amau.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_adlftx8amau.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_adlftx8amau.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-
|
|
17
|
+
} from "../../_node-chunks/chunk-OH7SKA4E.js";
|
|
18
18
|
import {
|
|
19
19
|
up
|
|
20
|
-
} from "../../_node-chunks/chunk-
|
|
20
|
+
} from "../../_node-chunks/chunk-GD7I6WZS.js";
|
|
21
21
|
import {
|
|
22
22
|
__name
|
|
23
|
-
} from "../../_node-chunks/chunk-
|
|
23
|
+
} from "../../_node-chunks/chunk-43AIQSRN.js";
|
|
24
24
|
|
|
25
25
|
// src/builders/build-storybook/index.ts
|
|
26
26
|
import { readFileSync } from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_adlftx8amau from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_adlftx8amau from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_adlftx8amau from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_adlftx8amau.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_adlftx8amau.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_adlftx8amau.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-
|
|
17
|
+
} from "../../_node-chunks/chunk-OH7SKA4E.js";
|
|
18
18
|
import {
|
|
19
19
|
up
|
|
20
|
-
} from "../../_node-chunks/chunk-
|
|
20
|
+
} from "../../_node-chunks/chunk-GD7I6WZS.js";
|
|
21
21
|
import {
|
|
22
22
|
__name
|
|
23
|
-
} from "../../_node-chunks/chunk-
|
|
23
|
+
} from "../../_node-chunks/chunk-43AIQSRN.js";
|
|
24
24
|
|
|
25
25
|
// src/builders/start-storybook/index.ts
|
|
26
26
|
import { readFileSync } from "node:fs";
|
package/dist/node/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_adlftx8amau from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_adlftx8amau from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_adlftx8amau from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_adlftx8amau.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_adlftx8amau.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_adlftx8amau.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-
|
|
14
|
+
} from "../_node-chunks/chunk-43AIQSRN.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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_adlftx8amau from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_adlftx8amau from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_adlftx8amau from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_adlftx8amau.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_adlftx8amau.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_adlftx8amau.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-
|
|
14
|
+
} from "./_node-chunks/chunk-43AIQSRN.js";
|
|
15
15
|
|
|
16
16
|
// src/preset.ts
|
|
17
17
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_adlftx8amau from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_adlftx8amau from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_adlftx8amau from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_adlftx8amau.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_adlftx8amau.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_adlftx8amau.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-GD7I6WZS.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-43AIQSRN.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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_adlftx8amau from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_adlftx8amau from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_adlftx8amau from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_adlftx8amau.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_adlftx8amau.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_adlftx8amau.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-
|
|
14
|
+
} from "../_node-chunks/chunk-43AIQSRN.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.
|
|
3
|
+
"version": "10.0.0-rc.2",
|
|
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.
|
|
64
|
+
"@storybook/builder-webpack5": "10.0.0-rc.2",
|
|
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.
|
|
84
|
+
"@storybook/core-webpack": "10.0.0-rc.2",
|
|
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.
|
|
106
|
+
"storybook": "^10.0.0-rc.2",
|
|
107
107
|
"typescript": "^4.9.0 || ^5.0.0",
|
|
108
108
|
"zone.js": ">=0.14.0"
|
|
109
109
|
},
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_jj0agnl0sv from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_jj0agnl0sv from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_jj0agnl0sv from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_jj0agnl0sv.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_jj0agnl0sv.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_jj0agnl0sv.createRequire(import.meta.url);
|
|
8
|
-
|
|
9
|
-
// ------------------------------------------------------------
|
|
10
|
-
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
-
// ------------------------------------------------------------
|
|
12
|
-
var __defProp = Object.defineProperty;
|
|
13
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
14
|
-
|
|
15
|
-
export {
|
|
16
|
-
__name
|
|
17
|
-
};
|