@storybook/angular 11.0.0-beta.2 → 11.0.0-beta.3
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 +1 -1
- package/dist/_node-chunks/{angular-cli-webpack-LKSQAEX2.js → angular-cli-webpack-B2M2YNNX.js} +6 -6
- package/dist/_node-chunks/{chunk-H5UZHPEP.js → chunk-5U4KHEQJ.js} +6 -6
- package/dist/_node-chunks/{chunk-7XVO2L2W.js → chunk-XUKONNYE.js} +7 -7
- 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 +5 -5
- package/start-schema.json +1 -1
package/build-schema.json
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"loglevel": {
|
|
33
33
|
"type": "string",
|
|
34
34
|
"description": "Controls level of logging during build. Can be one of: [trace, debug, info (default), warn, error, silent].",
|
|
35
|
-
"
|
|
35
|
+
"enum": ["trace", "debug", "info", "warn", "error", "silent"]
|
|
36
36
|
},
|
|
37
37
|
"logfile": {
|
|
38
38
|
"type": "string",
|
package/dist/_node-chunks/{angular-cli-webpack-LKSQAEX2.js → angular-cli-webpack-B2M2YNNX.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_h9algpddlcw from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_h9algpddlcw from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_h9algpddlcw from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_h9algpddlcw.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_h9algpddlcw.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_h9algpddlcw.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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_h9algpddlcw from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_h9algpddlcw from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_h9algpddlcw from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_h9algpddlcw.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_h9algpddlcw.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_h9algpddlcw.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_h9algpddlcw from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_h9algpddlcw from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_h9algpddlcw from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_h9algpddlcw.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_h9algpddlcw.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_h9algpddlcw.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-5U4KHEQJ.js";
|
|
15
15
|
|
|
16
16
|
// ../../../node_modules/empathic/package.mjs
|
|
17
17
|
function up2(options) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_h9algpddlcw from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_h9algpddlcw from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_h9algpddlcw from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_h9algpddlcw.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_h9algpddlcw.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_h9algpddlcw.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-XUKONNYE.js";
|
|
18
18
|
import {
|
|
19
19
|
up
|
|
20
|
-
} from "../../_node-chunks/chunk-
|
|
20
|
+
} from "../../_node-chunks/chunk-5U4KHEQJ.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_h9algpddlcw from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_h9algpddlcw from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_h9algpddlcw from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_h9algpddlcw.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_h9algpddlcw.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_h9algpddlcw.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-XUKONNYE.js";
|
|
18
18
|
import {
|
|
19
19
|
up
|
|
20
|
-
} from "../../_node-chunks/chunk-
|
|
20
|
+
} from "../../_node-chunks/chunk-5U4KHEQJ.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_h9algpddlcw from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_h9algpddlcw from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_h9algpddlcw from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_h9algpddlcw.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_h9algpddlcw.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_h9algpddlcw.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_h9algpddlcw from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_h9algpddlcw from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_h9algpddlcw from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_h9algpddlcw.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_h9algpddlcw.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_h9algpddlcw.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_h9algpddlcw from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_h9algpddlcw from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_h9algpddlcw from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_h9algpddlcw.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_h9algpddlcw.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_h9algpddlcw.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-5U4KHEQJ.js";
|
|
15
15
|
|
|
16
16
|
// src/server/framework-preset-angular-cli.ts
|
|
17
17
|
import { logger } from "storybook/internal/node-logger";
|
|
@@ -314,7 +314,7 @@ var delimiter = globalThis.process?.platform === "win32" ? ";" : ":", _platforms
|
|
|
314
314
|
async function webpackFinal(baseConfig, options) {
|
|
315
315
|
if (!resolvePackageDir("@angular-devkit/build-angular"))
|
|
316
316
|
return logger.info('Using base config because "@angular-devkit/build-angular" is not installed'), baseConfig;
|
|
317
|
-
let { WebpackDefinePlugin, WebpackIgnorePlugin } = await import("@storybook/builder-webpack5"), { getWebpackConfig: getCustomWebpackConfig } = await import("../_node-chunks/angular-cli-webpack-
|
|
317
|
+
let { WebpackDefinePlugin, WebpackIgnorePlugin } = await import("@storybook/builder-webpack5"), { getWebpackConfig: getCustomWebpackConfig } = await import("../_node-chunks/angular-cli-webpack-B2M2YNNX.js");
|
|
318
318
|
checkForLegacyBuildOptions(options);
|
|
319
319
|
let builderContext = getBuilderContext(options), builderOptions = await getBuilderOptions(options, builderContext), webpackConfig = await getCustomWebpackConfig(baseConfig, {
|
|
320
320
|
builderOptions: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_h9algpddlcw from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_h9algpddlcw from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_h9algpddlcw from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_h9algpddlcw.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_h9algpddlcw.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_h9algpddlcw.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": "11.0.0-beta.
|
|
3
|
+
"version": "11.0.0-beta.3",
|
|
4
4
|
"description": "Storybook for Angular: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"!src/**/*"
|
|
60
60
|
],
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@storybook/builder-webpack5": "11.0.0-beta.
|
|
62
|
+
"@storybook/builder-webpack5": "11.0.0-beta.3",
|
|
63
63
|
"@storybook/global": "^5.0.0",
|
|
64
64
|
"telejson": "8.0.0",
|
|
65
65
|
"ts-dedent": "^2.2.0",
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
"@angular/forms": "^21.0.0",
|
|
80
80
|
"@angular/platform-browser": "^21.0.0",
|
|
81
81
|
"@angular/platform-browser-dynamic": "^21.0.0",
|
|
82
|
-
"@storybook/angular-compodoc": "11.0.0-beta.
|
|
83
|
-
"@storybook/core-webpack": "11.0.0-beta.
|
|
82
|
+
"@storybook/angular-compodoc": "11.0.0-beta.3",
|
|
83
|
+
"@storybook/core-webpack": "11.0.0-beta.3",
|
|
84
84
|
"@types/node": "^22.19.1",
|
|
85
85
|
"empathic": "^2.0.0",
|
|
86
86
|
"rimraf": "^6.0.1",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"@angular/platform-browser": ">=21.0.0 < 23.0.0",
|
|
102
102
|
"@angular/platform-browser-dynamic": ">=21.0.0 < 23.0.0",
|
|
103
103
|
"rxjs": "^6.5.3 || ^7.4.0",
|
|
104
|
-
"storybook": "^11.0.0-beta.
|
|
104
|
+
"storybook": "^11.0.0-beta.3",
|
|
105
105
|
"typescript": "^5.9.0 || ^6.0.0 || ^7.0.0",
|
|
106
106
|
"zone.js": ">=0.14.0"
|
|
107
107
|
},
|
package/start-schema.json
CHANGED
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
"loglevel": {
|
|
145
145
|
"type": "string",
|
|
146
146
|
"description": "Controls level of logging during build. Can be one of: [trace, debug, info (default), warn, error, silent].",
|
|
147
|
-
"
|
|
147
|
+
"enum": ["trace", "debug", "info", "warn", "error", "silent"]
|
|
148
148
|
},
|
|
149
149
|
"logfile": {
|
|
150
150
|
"type": "string",
|