@storybook/angular 8.0.0-alpha.0 → 8.0.0-alpha.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.
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { BuilderOutput } from '@angular-devkit/architect';
|
|
2
|
+
import { JsonObject } from '@angular-devkit/core';
|
|
3
|
+
import { StylePreprocessorOptions } from '@angular-devkit/build-angular';
|
|
4
|
+
import { CLIOptions } from '@storybook/types';
|
|
5
|
+
import { AssetPattern, SourceMapUnion, StyleElement } from '@angular-devkit/build-angular/src/builders/browser/schema';
|
|
6
|
+
export type StorybookBuilderOptions = JsonObject & {
|
|
7
|
+
browserTarget?: string | null;
|
|
8
|
+
tsConfig?: string;
|
|
9
|
+
test: boolean;
|
|
10
|
+
docs: boolean;
|
|
11
|
+
compodoc: boolean;
|
|
12
|
+
compodocArgs: string[];
|
|
13
|
+
enableProdMode?: boolean;
|
|
14
|
+
styles?: StyleElement[];
|
|
15
|
+
stylePreprocessorOptions?: StylePreprocessorOptions;
|
|
16
|
+
assets?: AssetPattern[];
|
|
17
|
+
sourceMap?: SourceMapUnion;
|
|
18
|
+
} & Pick<CLIOptions, 'outputDir' | 'configDir' | 'loglevel' | 'quiet' | 'webpackStatsJson' | 'disableTelemetry' | 'debugWebpack' | 'previewUrl'>;
|
|
19
|
+
export type StorybookBuilderOutput = JsonObject & BuilderOutput & {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
};
|
|
22
|
+
declare const _default: import("@angular-devkit/architect/src/internal").Builder<JsonObject & {
|
|
23
|
+
browserTarget?: string | null | undefined;
|
|
24
|
+
tsConfig?: string | undefined;
|
|
25
|
+
test: boolean;
|
|
26
|
+
docs: boolean;
|
|
27
|
+
compodoc: boolean;
|
|
28
|
+
compodocArgs: string[];
|
|
29
|
+
enableProdMode?: boolean | undefined;
|
|
30
|
+
styles?: StyleElement[] | undefined;
|
|
31
|
+
stylePreprocessorOptions?: StylePreprocessorOptions | undefined;
|
|
32
|
+
assets?: AssetPattern[] | undefined;
|
|
33
|
+
sourceMap?: SourceMapUnion | undefined;
|
|
34
|
+
} & Pick<CLIOptions, "webpackStatsJson" | "outputDir" | "configDir" | "loglevel" | "quiet" | "disableTelemetry" | "debugWebpack" | "previewUrl">>;
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { BuilderOutput } from '@angular-devkit/architect';
|
|
2
|
+
import { JsonObject } from '@angular-devkit/core';
|
|
3
|
+
import { StylePreprocessorOptions } from '@angular-devkit/build-angular';
|
|
4
|
+
import { CLIOptions } from '@storybook/types';
|
|
5
|
+
import { AssetPattern, SourceMapUnion, StyleElement } from '@angular-devkit/build-angular/src/builders/browser/schema';
|
|
6
|
+
export type StorybookBuilderOptions = JsonObject & {
|
|
7
|
+
browserTarget?: string | null;
|
|
8
|
+
tsConfig?: string;
|
|
9
|
+
compodoc: boolean;
|
|
10
|
+
compodocArgs: string[];
|
|
11
|
+
enableProdMode?: boolean;
|
|
12
|
+
styles?: StyleElement[];
|
|
13
|
+
stylePreprocessorOptions?: StylePreprocessorOptions;
|
|
14
|
+
assets?: AssetPattern[];
|
|
15
|
+
sourceMap?: SourceMapUnion;
|
|
16
|
+
} & Pick<CLIOptions, 'port' | 'host' | 'configDir' | 'https' | 'sslCa' | 'sslCert' | 'sslKey' | 'smokeTest' | 'ci' | 'quiet' | 'disableTelemetry' | 'initialPath' | 'open' | 'docs' | 'debugWebpack' | 'webpackStatsJson' | 'loglevel' | 'previewUrl'>;
|
|
17
|
+
export type StorybookBuilderOutput = JsonObject & BuilderOutput & {};
|
|
18
|
+
declare const _default: import("@angular-devkit/architect/src/internal").Builder<JsonObject & {
|
|
19
|
+
browserTarget?: string | null | undefined;
|
|
20
|
+
tsConfig?: string | undefined;
|
|
21
|
+
compodoc: boolean;
|
|
22
|
+
compodocArgs: string[];
|
|
23
|
+
enableProdMode?: boolean | undefined;
|
|
24
|
+
styles?: StyleElement[] | undefined;
|
|
25
|
+
stylePreprocessorOptions?: StylePreprocessorOptions | undefined;
|
|
26
|
+
assets?: AssetPattern[] | undefined;
|
|
27
|
+
sourceMap?: SourceMapUnion | undefined;
|
|
28
|
+
} & Pick<CLIOptions, "docs" | "webpackStatsJson" | "configDir" | "loglevel" | "quiet" | "disableTelemetry" | "debugWebpack" | "previewUrl" | "port" | "host" | "initialPath" | "https" | "sslCa" | "sslCert" | "sslKey" | "smokeTest" | "open" | "ci">>;
|
|
29
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/angular",
|
|
3
|
-
"version": "8.0.0-alpha.
|
|
3
|
+
"version": "8.0.0-alpha.2",
|
|
4
4
|
"description": "Storybook for Angular: Develop Angular components in isolation with hot reloading.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -37,19 +37,19 @@
|
|
|
37
37
|
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/tsc.ts"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@storybook/builder-webpack5": "8.0.0-alpha.
|
|
41
|
-
"@storybook/cli": "8.0.0-alpha.
|
|
42
|
-
"@storybook/client-logger": "8.0.0-alpha.
|
|
43
|
-
"@storybook/core-common": "8.0.0-alpha.
|
|
44
|
-
"@storybook/core-events": "8.0.0-alpha.
|
|
45
|
-
"@storybook/core-server": "8.0.0-alpha.
|
|
46
|
-
"@storybook/core-webpack": "8.0.0-alpha.
|
|
47
|
-
"@storybook/docs-tools": "8.0.0-alpha.
|
|
40
|
+
"@storybook/builder-webpack5": "8.0.0-alpha.2",
|
|
41
|
+
"@storybook/cli": "8.0.0-alpha.2",
|
|
42
|
+
"@storybook/client-logger": "8.0.0-alpha.2",
|
|
43
|
+
"@storybook/core-common": "8.0.0-alpha.2",
|
|
44
|
+
"@storybook/core-events": "8.0.0-alpha.2",
|
|
45
|
+
"@storybook/core-server": "8.0.0-alpha.2",
|
|
46
|
+
"@storybook/core-webpack": "8.0.0-alpha.2",
|
|
47
|
+
"@storybook/docs-tools": "8.0.0-alpha.2",
|
|
48
48
|
"@storybook/global": "^5.0.0",
|
|
49
|
-
"@storybook/node-logger": "8.0.0-alpha.
|
|
50
|
-
"@storybook/preview-api": "8.0.0-alpha.
|
|
51
|
-
"@storybook/telemetry": "8.0.0-alpha.
|
|
52
|
-
"@storybook/types": "8.0.0-alpha.
|
|
49
|
+
"@storybook/node-logger": "8.0.0-alpha.2",
|
|
50
|
+
"@storybook/preview-api": "8.0.0-alpha.2",
|
|
51
|
+
"@storybook/telemetry": "8.0.0-alpha.2",
|
|
52
|
+
"@storybook/types": "8.0.0-alpha.2",
|
|
53
53
|
"@types/node": "^18.0.0",
|
|
54
54
|
"@types/react": "^18.0.37",
|
|
55
55
|
"@types/react-dom": "^18.0.11",
|
|
@@ -65,18 +65,18 @@
|
|
|
65
65
|
"webpack": "5"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@angular-devkit/architect": "^0.
|
|
69
|
-
"@angular-devkit/build-angular": "^
|
|
70
|
-
"@angular-devkit/core": "^
|
|
71
|
-
"@angular/animations": "^
|
|
72
|
-
"@angular/cli": "^
|
|
73
|
-
"@angular/common": "^
|
|
74
|
-
"@angular/compiler": "^
|
|
75
|
-
"@angular/compiler-cli": "^
|
|
76
|
-
"@angular/core": "^
|
|
77
|
-
"@angular/forms": "^
|
|
78
|
-
"@angular/platform-browser": "^
|
|
79
|
-
"@angular/platform-browser-dynamic": "^
|
|
68
|
+
"@angular-devkit/architect": "^0.1700.5",
|
|
69
|
+
"@angular-devkit/build-angular": "^17.0.5",
|
|
70
|
+
"@angular-devkit/core": "^17.0.5",
|
|
71
|
+
"@angular/animations": "^17.0.5",
|
|
72
|
+
"@angular/cli": "^17.0.5",
|
|
73
|
+
"@angular/common": "^17.0.5",
|
|
74
|
+
"@angular/compiler": "^17.0.5",
|
|
75
|
+
"@angular/compiler-cli": "^17.0.5",
|
|
76
|
+
"@angular/core": "^17.0.5",
|
|
77
|
+
"@angular/forms": "^17.0.5",
|
|
78
|
+
"@angular/platform-browser": "^17.0.5",
|
|
79
|
+
"@angular/platform-browser-dynamic": "^17.0.5",
|
|
80
80
|
"@types/cross-spawn": "^6.0.2",
|
|
81
81
|
"@types/tmp": "^0.2.3",
|
|
82
82
|
"cross-spawn": "^7.0.3",
|
|
@@ -86,20 +86,20 @@
|
|
|
86
86
|
"tmp": "^0.2.1",
|
|
87
87
|
"typescript": "^5.3.2",
|
|
88
88
|
"webpack": "5",
|
|
89
|
-
"zone.js": "^0.
|
|
89
|
+
"zone.js": "^0.14.2"
|
|
90
90
|
},
|
|
91
91
|
"peerDependencies": {
|
|
92
|
-
"@angular-devkit/architect": ">=0.
|
|
93
|
-
"@angular-devkit/build-angular": ">=
|
|
94
|
-
"@angular-devkit/core": ">=
|
|
95
|
-
"@angular/cli": ">=
|
|
96
|
-
"@angular/common": ">=
|
|
97
|
-
"@angular/compiler": ">=
|
|
98
|
-
"@angular/compiler-cli": ">=
|
|
99
|
-
"@angular/core": ">=
|
|
100
|
-
"@angular/forms": ">=
|
|
101
|
-
"@angular/platform-browser": ">=
|
|
102
|
-
"@angular/platform-browser-dynamic": ">=
|
|
92
|
+
"@angular-devkit/architect": ">=0.1500.0 < 0.1800.0",
|
|
93
|
+
"@angular-devkit/build-angular": ">=15.0.0 < 18.0.0",
|
|
94
|
+
"@angular-devkit/core": ">=15.0.0 < 18.0.0",
|
|
95
|
+
"@angular/cli": ">=15.0.0 < 18.0.0",
|
|
96
|
+
"@angular/common": ">=15.0.0 < 18.0.0",
|
|
97
|
+
"@angular/compiler": ">=15.0.0 < 18.0.0",
|
|
98
|
+
"@angular/compiler-cli": ">=15.0.0 < 18.0.0",
|
|
99
|
+
"@angular/core": ">=15.0.0 < 18.0.0",
|
|
100
|
+
"@angular/forms": ">=15.0.0 < 18.0.0",
|
|
101
|
+
"@angular/platform-browser": ">=15.0.0 < 18.0.0",
|
|
102
|
+
"@angular/platform-browser-dynamic": ">=15.0.0 < 18.0.0",
|
|
103
103
|
"@babel/core": "*",
|
|
104
104
|
"rxjs": "^6.0.0 || ^7.4.0",
|
|
105
105
|
"typescript": "^4.0.0 || ^5.0.0",
|