@storybook/angular 10.5.0-alpha.0 → 10.5.0-alpha.1
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 +2 -2
- package/dist/_node-chunks/{angular-cli-webpack-HHLJFTZG.js → angular-cli-webpack-5PCSFBDQ.js} +6 -6
- package/dist/_node-chunks/{chunk-D2ACSIZ7.js → chunk-MEOQKDJV.js} +6 -6
- package/dist/_node-chunks/{chunk-SSZZBV6O.js → chunk-ONUOPUYM.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 +4 -4
- package/start-schema.json +2 -2
package/build-schema.json
CHANGED
|
@@ -77,12 +77,12 @@
|
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
"webpackStatsJson": {
|
|
80
|
-
"type": ["
|
|
80
|
+
"type": ["string", "boolean"],
|
|
81
81
|
"description": "Write Webpack Stats JSON to disk",
|
|
82
82
|
"default": false
|
|
83
83
|
},
|
|
84
84
|
"statsJson": {
|
|
85
|
-
"type": ["
|
|
85
|
+
"type": ["string", "boolean"],
|
|
86
86
|
"description": "Write stats JSON to disk",
|
|
87
87
|
"default": false
|
|
88
88
|
},
|
package/dist/_node-chunks/{angular-cli-webpack-HHLJFTZG.js → angular-cli-webpack-5PCSFBDQ.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_0x2coytkgel from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0x2coytkgel from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0x2coytkgel from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0x2coytkgel.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0x2coytkgel.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0x2coytkgel.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_0x2coytkgel from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0x2coytkgel from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0x2coytkgel from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0x2coytkgel.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0x2coytkgel.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0x2coytkgel.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_0x2coytkgel from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0x2coytkgel from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0x2coytkgel from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0x2coytkgel.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0x2coytkgel.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0x2coytkgel.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-MEOQKDJV.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_0x2coytkgel from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0x2coytkgel from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0x2coytkgel from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0x2coytkgel.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0x2coytkgel.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0x2coytkgel.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-ONUOPUYM.js";
|
|
18
18
|
import {
|
|
19
19
|
up
|
|
20
|
-
} from "../../_node-chunks/chunk-
|
|
20
|
+
} from "../../_node-chunks/chunk-MEOQKDJV.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_0x2coytkgel from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0x2coytkgel from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0x2coytkgel from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0x2coytkgel.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0x2coytkgel.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0x2coytkgel.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-ONUOPUYM.js";
|
|
18
18
|
import {
|
|
19
19
|
up
|
|
20
|
-
} from "../../_node-chunks/chunk-
|
|
20
|
+
} from "../../_node-chunks/chunk-MEOQKDJV.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_0x2coytkgel from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0x2coytkgel from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0x2coytkgel from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0x2coytkgel.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0x2coytkgel.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0x2coytkgel.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_0x2coytkgel from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0x2coytkgel from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0x2coytkgel from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0x2coytkgel.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0x2coytkgel.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0x2coytkgel.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_0x2coytkgel from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0x2coytkgel from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0x2coytkgel from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0x2coytkgel.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0x2coytkgel.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0x2coytkgel.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-MEOQKDJV.js";
|
|
15
15
|
|
|
16
16
|
// src/server/framework-preset-angular-cli.ts
|
|
17
17
|
import { logger } from "storybook/internal/node-logger";
|
|
@@ -89,7 +89,7 @@ var relative = function(from, to) {
|
|
|
89
89
|
async function webpackFinal(baseConfig, options) {
|
|
90
90
|
if (!resolvePackageDir("@angular-devkit/build-angular"))
|
|
91
91
|
return logger.info('Using base config because "@angular-devkit/build-angular" is not installed'), baseConfig;
|
|
92
|
-
let { WebpackDefinePlugin, WebpackIgnorePlugin } = await import("@storybook/builder-webpack5"), { getWebpackConfig: getCustomWebpackConfig } = await import("../_node-chunks/angular-cli-webpack-
|
|
92
|
+
let { WebpackDefinePlugin, WebpackIgnorePlugin } = await import("@storybook/builder-webpack5"), { getWebpackConfig: getCustomWebpackConfig } = await import("../_node-chunks/angular-cli-webpack-5PCSFBDQ.js");
|
|
93
93
|
checkForLegacyBuildOptions(options);
|
|
94
94
|
let builderContext = getBuilderContext(options), builderOptions = await getBuilderOptions(options, builderContext), webpackConfig = await getCustomWebpackConfig(baseConfig, {
|
|
95
95
|
builderOptions: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_0x2coytkgel from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0x2coytkgel from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0x2coytkgel from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0x2coytkgel.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0x2coytkgel.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0x2coytkgel.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.5.0-alpha.
|
|
3
|
+
"version": "10.5.0-alpha.1",
|
|
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": "10.5.0-alpha.
|
|
62
|
+
"@storybook/builder-webpack5": "10.5.0-alpha.1",
|
|
63
63
|
"@storybook/global": "^5.0.0",
|
|
64
64
|
"telejson": "8.0.0",
|
|
65
65
|
"ts-dedent": "^2.0.0",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"@angular/forms": "^19.1.1",
|
|
80
80
|
"@angular/platform-browser": "^19.1.1",
|
|
81
81
|
"@angular/platform-browser-dynamic": "^19.1.1",
|
|
82
|
-
"@storybook/core-webpack": "10.5.0-alpha.
|
|
82
|
+
"@storybook/core-webpack": "10.5.0-alpha.1",
|
|
83
83
|
"@types/node": "^22.19.1",
|
|
84
84
|
"empathic": "^2.0.0",
|
|
85
85
|
"rimraf": "^6.0.1",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"@angular/platform-browser": ">=18.0.0 < 22.0.0",
|
|
101
101
|
"@angular/platform-browser-dynamic": ">=18.0.0 < 22.0.0",
|
|
102
102
|
"rxjs": "^6.5.3 || ^7.4.0",
|
|
103
|
-
"storybook": "^10.5.0-alpha.
|
|
103
|
+
"storybook": "^10.5.0-alpha.1",
|
|
104
104
|
"typescript": "^4.9.0 || ^5.0.0",
|
|
105
105
|
"zone.js": ">=0.14.0"
|
|
106
106
|
},
|
package/start-schema.json
CHANGED
|
@@ -132,12 +132,12 @@
|
|
|
132
132
|
"description": "URL path to be appended when visiting Storybook for the first time"
|
|
133
133
|
},
|
|
134
134
|
"webpackStatsJson": {
|
|
135
|
-
"type": ["
|
|
135
|
+
"type": ["string", "boolean"],
|
|
136
136
|
"description": "Write Webpack Stats JSON to disk",
|
|
137
137
|
"default": false
|
|
138
138
|
},
|
|
139
139
|
"statsJson": {
|
|
140
|
-
"type": ["
|
|
140
|
+
"type": ["string", "boolean"],
|
|
141
141
|
"description": "Write stats JSON to disk",
|
|
142
142
|
"default": false
|
|
143
143
|
},
|