@storybook/angular 6.5.0-beta.0 → 6.5.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.
@@ -9,7 +9,7 @@ export declare type StorybookBuilderOptions = JsonObject & {
9
9
  compodocArgs: string[];
10
10
  styles?: ExtraEntryPoint[];
11
11
  stylePreprocessorOptions?: StylePreprocessorOptions;
12
- } & Pick<CLIOptions, 'outputDir' | 'configDir' | 'loglevel' | 'quiet' | 'docs'>;
12
+ } & Pick<CLIOptions, 'outputDir' | 'configDir' | 'loglevel' | 'quiet' | 'docs' | 'webpackStatsJson'>;
13
13
  export declare type StorybookBuilderOutput = JsonObject & BuilderOutput & {};
14
14
  declare const _default: import("@angular-devkit/architect/src/internal").Builder<StorybookBuilderOptions>;
15
15
  export default _default;
@@ -9,7 +9,7 @@ export declare type StorybookBuilderOptions = JsonObject & {
9
9
  compodocArgs: string[];
10
10
  styles?: ExtraEntryPoint[];
11
11
  stylePreprocessorOptions?: StylePreprocessorOptions;
12
- } & Pick<CLIOptions, 'outputDir' | 'configDir' | 'loglevel' | 'quiet' | 'docs'>;
12
+ } & Pick<CLIOptions, 'outputDir' | 'configDir' | 'loglevel' | 'quiet' | 'docs' | 'webpackStatsJson'>;
13
13
  export declare type StorybookBuilderOutput = JsonObject & BuilderOutput & {};
14
14
  declare const _default: import("@angular-devkit/architect/src/internal").Builder<StorybookBuilderOptions>;
15
15
  export default _default;
@@ -28,7 +28,7 @@ function commandBuilder(options, context) {
28
28
  : rxjs_1.of({});
29
29
  return runCompodoc$.pipe(operators_1.mapTo({ tsConfig }));
30
30
  }), operators_1.map(({ tsConfig }) => {
31
- const { browserTarget, stylePreprocessorOptions, styles, configDir, docs, loglevel, outputDir, quiet, } = options;
31
+ const { browserTarget, stylePreprocessorOptions, styles, configDir, docs, loglevel, outputDir, quiet, webpackStatsJson, } = options;
32
32
  const standaloneOptions = {
33
33
  configDir,
34
34
  docs,
@@ -39,6 +39,7 @@ function commandBuilder(options, context) {
39
39
  angularBuilderContext: context,
40
40
  angularBuilderOptions: Object.assign(Object.assign({}, (stylePreprocessorOptions ? { stylePreprocessorOptions } : {})), (styles ? { styles } : {})),
41
41
  tsConfig,
42
+ webpackStatsJson,
42
43
  };
43
44
  return standaloneOptions;
44
45
  }), operators_1.switchMap((standaloneOptions) => runInstance(Object.assign(Object.assign({}, standaloneOptions), { mode: 'static' }))), operators_1.map(() => {
@@ -52,6 +52,11 @@
52
52
  "type": "string"
53
53
  }
54
54
  },
55
+ "webpackStatsJson": {
56
+ "type": "boolean",
57
+ "description": "Write Webpack Stats JSON to disk",
58
+ "default": false
59
+ },
55
60
  "styles": {
56
61
  "type": "array",
57
62
  "description": "Global styles to be included in the build.",
@@ -28,11 +28,11 @@ exports.buildStandaloneErrorHandler = (error) => {
28
28
  node_logger_1.logger.line();
29
29
  return error.close
30
30
  ? ts_dedent_1.default `
31
- FATAL broken build!, will close the process,
32
- Fix the error below and restart storybook.
33
- `
31
+ FATAL broken build!, will close the process,
32
+ Fix the error below and restart storybook.
33
+ `
34
34
  : ts_dedent_1.default `
35
- Broken build, fix the error above.
36
- You may need to refresh the browser.
37
- `;
35
+ Broken build, fix the error above.
36
+ You may need to refresh the browser.
37
+ `;
38
38
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/angular",
3
- "version": "6.5.0-beta.0",
3
+ "version": "6.5.0-beta.3",
4
4
  "description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "storybook"
@@ -45,17 +45,17 @@
45
45
  "prepare": "node ../../scripts/prepare.js"
46
46
  },
47
47
  "dependencies": {
48
- "@storybook/addons": "6.5.0-beta.0",
49
- "@storybook/api": "6.5.0-beta.0",
50
- "@storybook/client-logger": "6.5.0-beta.0",
51
- "@storybook/core": "6.5.0-beta.0",
52
- "@storybook/core-common": "6.5.0-beta.0",
53
- "@storybook/core-events": "6.5.0-beta.0",
54
- "@storybook/csf": "0.0.2--canary.7c6c115.0",
55
- "@storybook/docs-tools": "6.5.0-beta.0",
56
- "@storybook/node-logger": "6.5.0-beta.0",
48
+ "@storybook/addons": "6.5.0-beta.3",
49
+ "@storybook/api": "6.5.0-beta.3",
50
+ "@storybook/client-logger": "6.5.0-beta.3",
51
+ "@storybook/core": "6.5.0-beta.3",
52
+ "@storybook/core-common": "6.5.0-beta.3",
53
+ "@storybook/core-events": "6.5.0-beta.3",
54
+ "@storybook/csf": "0.0.2--canary.4566f4d.1",
55
+ "@storybook/docs-tools": "6.5.0-beta.3",
56
+ "@storybook/node-logger": "6.5.0-beta.3",
57
57
  "@storybook/semver": "^7.3.2",
58
- "@storybook/store": "6.5.0-beta.0",
58
+ "@storybook/store": "6.5.0-beta.3",
59
59
  "@types/node": "^14.14.20 || ^16.0.0",
60
60
  "@types/react": "^16.14.23",
61
61
  "@types/react-dom": "^16.9.14",
@@ -137,5 +137,5 @@
137
137
  "access": "public"
138
138
  },
139
139
  "builders": "dist/ts3.9/builders/builders.json",
140
- "gitHead": "b2e85f3599c043815b18bbfc5ca563bf1c6e4add"
140
+ "gitHead": "04007f4e887328c7337e2798a36358da85765197"
141
141
  }