@storybook/angular 10.0.0-beta.6 → 10.0.0-beta.8
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 +26 -9
- package/dist/_node-chunks/{chunk-34R42NZA.js → chunk-5ZB7XZCR.js} +7 -7
- package/dist/_node-chunks/{chunk-643YHP4B.js → chunk-Q4Z3REWE.js} +8 -8
- package/dist/_node-chunks/chunk-VZLYEATF.js +17 -0
- package/dist/builders/build-storybook/index.js +11 -10
- package/dist/builders/start-storybook/index.js +11 -10
- package/dist/node/index.js +7 -7
- package/dist/preset.js +11 -10
- package/dist/server/framework-preset-angular-cli.js +9 -8
- package/dist/server/framework-preset-angular-ivy.js +7 -7
- package/package.json +4 -4
- package/start-schema.json +26 -9
- package/dist/_node-chunks/chunk-4JLVBKPM.js +0 -17
- package/preset.js +0 -1
package/build-schema.json
CHANGED
|
@@ -67,18 +67,27 @@
|
|
|
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": [
|
|
70
|
+
"default": [
|
|
71
|
+
"-e",
|
|
72
|
+
"json"
|
|
73
|
+
],
|
|
71
74
|
"items": {
|
|
72
75
|
"type": "string"
|
|
73
76
|
}
|
|
74
77
|
},
|
|
75
78
|
"webpackStatsJson": {
|
|
76
|
-
"type": [
|
|
79
|
+
"type": [
|
|
80
|
+
"boolean",
|
|
81
|
+
"string"
|
|
82
|
+
],
|
|
77
83
|
"description": "Write Webpack Stats JSON to disk",
|
|
78
84
|
"default": false
|
|
79
85
|
},
|
|
80
86
|
"statsJson": {
|
|
81
|
-
"type": [
|
|
87
|
+
"type": [
|
|
88
|
+
"boolean",
|
|
89
|
+
"string"
|
|
90
|
+
],
|
|
82
91
|
"description": "Write stats JSON to disk",
|
|
83
92
|
"default": false
|
|
84
93
|
},
|
|
@@ -116,14 +125,16 @@
|
|
|
116
125
|
}
|
|
117
126
|
},
|
|
118
127
|
"sourceMap": {
|
|
119
|
-
"type": [
|
|
128
|
+
"type": [
|
|
129
|
+
"boolean",
|
|
130
|
+
"object"
|
|
131
|
+
],
|
|
120
132
|
"description": "Configure sourcemaps. See: https://angular.io/guide/workspace-config#source-map-configuration",
|
|
121
133
|
"default": false
|
|
122
134
|
},
|
|
123
135
|
"experimentalZoneless": {
|
|
124
136
|
"type": "boolean",
|
|
125
|
-
"description": "Experimental: Use zoneless change detection."
|
|
126
|
-
"default": false
|
|
137
|
+
"description": "Experimental: Use zoneless change detection."
|
|
127
138
|
}
|
|
128
139
|
},
|
|
129
140
|
"additionalProperties": false,
|
|
@@ -159,7 +170,11 @@
|
|
|
159
170
|
}
|
|
160
171
|
},
|
|
161
172
|
"additionalProperties": false,
|
|
162
|
-
"required": [
|
|
173
|
+
"required": [
|
|
174
|
+
"glob",
|
|
175
|
+
"input",
|
|
176
|
+
"output"
|
|
177
|
+
]
|
|
163
178
|
},
|
|
164
179
|
{
|
|
165
180
|
"type": "string"
|
|
@@ -187,7 +202,9 @@
|
|
|
187
202
|
}
|
|
188
203
|
},
|
|
189
204
|
"additionalProperties": false,
|
|
190
|
-
"required": [
|
|
205
|
+
"required": [
|
|
206
|
+
"input"
|
|
207
|
+
]
|
|
191
208
|
},
|
|
192
209
|
{
|
|
193
210
|
"type": "string",
|
|
@@ -196,4 +213,4 @@
|
|
|
196
213
|
]
|
|
197
214
|
}
|
|
198
215
|
}
|
|
199
|
-
}
|
|
216
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vmy7jnxbzzi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vmy7jnxbzzi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vmy7jnxbzzi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vmy7jnxbzzi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vmy7jnxbzzi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vmy7jnxbzzi.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-VZLYEATF.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_vmy7jnxbzzi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vmy7jnxbzzi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vmy7jnxbzzi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vmy7jnxbzzi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vmy7jnxbzzi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vmy7jnxbzzi.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-5ZB7XZCR.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VZLYEATF.js";
|
|
18
18
|
|
|
19
19
|
// ../../node_modules/empathic/package.mjs
|
|
20
20
|
function up2(options) {
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vmy7jnxbzzi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vmy7jnxbzzi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vmy7jnxbzzi from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vmy7jnxbzzi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vmy7jnxbzzi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vmy7jnxbzzi.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,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vmy7jnxbzzi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vmy7jnxbzzi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vmy7jnxbzzi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vmy7jnxbzzi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vmy7jnxbzzi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vmy7jnxbzzi.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-Q4Z3REWE.js";
|
|
18
18
|
import {
|
|
19
19
|
up
|
|
20
|
-
} from "../../_node-chunks/chunk-
|
|
20
|
+
} from "../../_node-chunks/chunk-5ZB7XZCR.js";
|
|
21
21
|
import {
|
|
22
22
|
__name
|
|
23
|
-
} from "../../_node-chunks/chunk-
|
|
23
|
+
} from "../../_node-chunks/chunk-VZLYEATF.js";
|
|
24
24
|
|
|
25
25
|
// src/builders/build-storybook/index.ts
|
|
26
26
|
import { readFileSync } from "node:fs";
|
|
@@ -30,6 +30,7 @@ import { addToGlobalContext } from "storybook/internal/telemetry";
|
|
|
30
30
|
import { createBuilder, targetFromTargetString } from "@angular-devkit/architect";
|
|
31
31
|
import { from, of, throwError } from "rxjs";
|
|
32
32
|
import { catchError, map, mapTo, switchMap } from "rxjs/operators";
|
|
33
|
+
import { VERSION } from "@angular/core";
|
|
33
34
|
addToGlobalContext("cliVersion", versions.storybook);
|
|
34
35
|
var commandBuilder = /* @__PURE__ */ __name((options, context) => {
|
|
35
36
|
const builder = from(setup(options, context)).pipe(
|
|
@@ -69,7 +70,7 @@ var commandBuilder = /* @__PURE__ */ __name((options, context) => {
|
|
|
69
70
|
previewUrl,
|
|
70
71
|
sourceMap = false,
|
|
71
72
|
preserveSymlinks = false,
|
|
72
|
-
experimentalZoneless =
|
|
73
|
+
experimentalZoneless = !!(VERSION.major && Number(VERSION.major) >= 21)
|
|
73
74
|
} = options;
|
|
74
75
|
const packageJsonPath = up2({ cwd: __dirname });
|
|
75
76
|
const packageJson = packageJsonPath != null ? JSON.parse(readFileSync(packageJsonPath, "utf8")) : null;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vmy7jnxbzzi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vmy7jnxbzzi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vmy7jnxbzzi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vmy7jnxbzzi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vmy7jnxbzzi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vmy7jnxbzzi.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-Q4Z3REWE.js";
|
|
18
18
|
import {
|
|
19
19
|
up
|
|
20
|
-
} from "../../_node-chunks/chunk-
|
|
20
|
+
} from "../../_node-chunks/chunk-5ZB7XZCR.js";
|
|
21
21
|
import {
|
|
22
22
|
__name
|
|
23
|
-
} from "../../_node-chunks/chunk-
|
|
23
|
+
} from "../../_node-chunks/chunk-VZLYEATF.js";
|
|
24
24
|
|
|
25
25
|
// src/builders/start-storybook/index.ts
|
|
26
26
|
import { readFileSync } from "node:fs";
|
|
@@ -30,6 +30,7 @@ import { addToGlobalContext } from "storybook/internal/telemetry";
|
|
|
30
30
|
import { createBuilder, targetFromTargetString } from "@angular-devkit/architect";
|
|
31
31
|
import { Observable, from, of } from "rxjs";
|
|
32
32
|
import { map, mapTo, switchMap } from "rxjs/operators";
|
|
33
|
+
import { VERSION } from "@angular/core";
|
|
33
34
|
addToGlobalContext("cliVersion", versions.storybook);
|
|
34
35
|
var commandBuilder = /* @__PURE__ */ __name((options, context) => {
|
|
35
36
|
const builder = from(setup(options, context)).pipe(
|
|
@@ -83,7 +84,7 @@ var commandBuilder = /* @__PURE__ */ __name((options, context) => {
|
|
|
83
84
|
previewUrl,
|
|
84
85
|
sourceMap = false,
|
|
85
86
|
preserveSymlinks = false,
|
|
86
|
-
experimentalZoneless =
|
|
87
|
+
experimentalZoneless = !!(VERSION.major && Number(VERSION.major) >= 21)
|
|
87
88
|
} = options;
|
|
88
89
|
const packageJsonPath = up2({ cwd: __dirname });
|
|
89
90
|
const packageJson = packageJsonPath != null ? JSON.parse(readFileSync(packageJsonPath, "utf8")) : null;
|
package/dist/node/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vmy7jnxbzzi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vmy7jnxbzzi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vmy7jnxbzzi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vmy7jnxbzzi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vmy7jnxbzzi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vmy7jnxbzzi.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-VZLYEATF.js";
|
|
15
15
|
|
|
16
16
|
// src/node/index.ts
|
|
17
17
|
function defineMain(config) {
|
package/dist/preset.js
CHANGED
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vmy7jnxbzzi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vmy7jnxbzzi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vmy7jnxbzzi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vmy7jnxbzzi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vmy7jnxbzzi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vmy7jnxbzzi.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-VZLYEATF.js";
|
|
15
15
|
|
|
16
16
|
// src/preset.ts
|
|
17
|
+
import { fileURLToPath } from "node:url";
|
|
17
18
|
var addons = [
|
|
18
|
-
import.meta.resolve("@storybook/angular/server/framework-preset-angular-cli"),
|
|
19
|
-
import.meta.resolve("@storybook/angular/server/framework-preset-angular-ivy")
|
|
19
|
+
fileURLToPath(import.meta.resolve("@storybook/angular/server/framework-preset-angular-cli")),
|
|
20
|
+
fileURLToPath(import.meta.resolve("@storybook/angular/server/framework-preset-angular-ivy"))
|
|
20
21
|
];
|
|
21
22
|
var previewAnnotations = /* @__PURE__ */ __name(async (entries = [], options) => {
|
|
22
|
-
const config = import.meta.resolve("@storybook/angular/client/config");
|
|
23
|
+
const config = fileURLToPath(import.meta.resolve("@storybook/angular/client/config"));
|
|
23
24
|
const annotations = [...entries, config];
|
|
24
25
|
if (options.enableProdMode) {
|
|
25
26
|
const previewProdPath = import.meta.resolve("@storybook/angular/client/preview-prod");
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vmy7jnxbzzi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vmy7jnxbzzi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vmy7jnxbzzi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vmy7jnxbzzi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vmy7jnxbzzi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vmy7jnxbzzi.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-5ZB7XZCR.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-VZLYEATF.js";
|
|
18
18
|
|
|
19
19
|
// src/server/framework-preset-angular-cli.ts
|
|
20
20
|
import { logger } from "storybook/internal/node-logger";
|
|
@@ -300,6 +300,7 @@ async function getBuilderOptions(options, builderContext) {
|
|
|
300
300
|
const builderOptions = deepMerge(browserTargetOptions, explicitAngularBuilderOptions || {});
|
|
301
301
|
builderOptions.tsConfig = options.tsConfig ?? up("tsconfig.json", { cwd: options.configDir, last: getProjectRoot() }) ?? browserTargetOptions.tsConfig;
|
|
302
302
|
logger.info(`=> Using angular project with "tsConfig:${builderOptions.tsConfig}"`);
|
|
303
|
+
builderOptions.experimentalZoneless = options.angularBuilderOptions?.experimentalZoneless;
|
|
303
304
|
return builderOptions;
|
|
304
305
|
}
|
|
305
306
|
__name(getBuilderOptions, "getBuilderOptions");
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vmy7jnxbzzi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vmy7jnxbzzi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vmy7jnxbzzi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vmy7jnxbzzi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vmy7jnxbzzi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vmy7jnxbzzi.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-VZLYEATF.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-beta.
|
|
3
|
+
"version": "10.0.0-beta.8",
|
|
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-beta.
|
|
64
|
+
"@storybook/builder-webpack5": "10.0.0-beta.8",
|
|
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-beta.
|
|
84
|
+
"@storybook/core-webpack": "10.0.0-beta.8",
|
|
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-beta.
|
|
106
|
+
"storybook": "^10.0.0-beta.8",
|
|
107
107
|
"typescript": "^4.9.0 || ^5.0.0",
|
|
108
108
|
"zone.js": ">=0.14.0"
|
|
109
109
|
},
|
package/start-schema.json
CHANGED
|
@@ -93,7 +93,10 @@
|
|
|
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": [
|
|
96
|
+
"default": [
|
|
97
|
+
"-e",
|
|
98
|
+
"json"
|
|
99
|
+
],
|
|
97
100
|
"items": {
|
|
98
101
|
"type": "string"
|
|
99
102
|
}
|
|
@@ -132,12 +135,18 @@
|
|
|
132
135
|
"description": "URL path to be appended when visiting Storybook for the first time"
|
|
133
136
|
},
|
|
134
137
|
"webpackStatsJson": {
|
|
135
|
-
"type": [
|
|
138
|
+
"type": [
|
|
139
|
+
"boolean",
|
|
140
|
+
"string"
|
|
141
|
+
],
|
|
136
142
|
"description": "Write Webpack Stats JSON to disk",
|
|
137
143
|
"default": false
|
|
138
144
|
},
|
|
139
145
|
"statsJson": {
|
|
140
|
-
"type": [
|
|
146
|
+
"type": [
|
|
147
|
+
"boolean",
|
|
148
|
+
"string"
|
|
149
|
+
],
|
|
141
150
|
"description": "Write stats JSON to disk",
|
|
142
151
|
"default": false
|
|
143
152
|
},
|
|
@@ -151,14 +160,16 @@
|
|
|
151
160
|
"pattern": "(silly|verbose|info|warn|silent)"
|
|
152
161
|
},
|
|
153
162
|
"sourceMap": {
|
|
154
|
-
"type": [
|
|
163
|
+
"type": [
|
|
164
|
+
"boolean",
|
|
165
|
+
"object"
|
|
166
|
+
],
|
|
155
167
|
"description": "Configure sourcemaps. See: https://angular.io/guide/workspace-config#source-map-configuration",
|
|
156
168
|
"default": false
|
|
157
169
|
},
|
|
158
170
|
"experimentalZoneless": {
|
|
159
171
|
"type": "boolean",
|
|
160
|
-
"description": "Experimental: Use zoneless change detection."
|
|
161
|
-
"default": false
|
|
172
|
+
"description": "Experimental: Use zoneless change detection."
|
|
162
173
|
}
|
|
163
174
|
},
|
|
164
175
|
"additionalProperties": false,
|
|
@@ -194,7 +205,11 @@
|
|
|
194
205
|
}
|
|
195
206
|
},
|
|
196
207
|
"additionalProperties": false,
|
|
197
|
-
"required": [
|
|
208
|
+
"required": [
|
|
209
|
+
"glob",
|
|
210
|
+
"input",
|
|
211
|
+
"output"
|
|
212
|
+
]
|
|
198
213
|
},
|
|
199
214
|
{
|
|
200
215
|
"type": "string"
|
|
@@ -222,7 +237,9 @@
|
|
|
222
237
|
}
|
|
223
238
|
},
|
|
224
239
|
"additionalProperties": false,
|
|
225
|
-
"required": [
|
|
240
|
+
"required": [
|
|
241
|
+
"input"
|
|
242
|
+
]
|
|
226
243
|
},
|
|
227
244
|
{
|
|
228
245
|
"type": "string",
|
|
@@ -231,4 +248,4 @@
|
|
|
231
248
|
]
|
|
232
249
|
}
|
|
233
250
|
}
|
|
234
|
-
}
|
|
251
|
+
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_65nrxpql1m from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_65nrxpql1m from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_65nrxpql1m from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_65nrxpql1m.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_65nrxpql1m.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_65nrxpql1m.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
|
-
};
|
package/preset.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './dist/preset.js';
|