@storybook/angular 6.4.0-beta.23 → 6.4.0-beta.24
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/package.json +9 -9
- package/types-7-0.d.ts +1 -0
- package/dist/ts3.4/builders/build-storybook/index.d.ts +0 -12
- package/dist/ts3.4/builders/start-storybook/index.d.ts +0 -12
- package/dist/ts3.4/builders/utils/build-standalone-errors-handler.d.ts +0 -1
- package/dist/ts3.4/builders/utils/run-compodoc.d.ts +0 -6
- package/dist/ts3.4/client/index.d.ts +0 -4
- package/dist/ts3.4/client/preview/angular/app.token.d.ts +0 -3
- package/dist/ts3.4/client/preview/angular/components/app.component.d.ts +0 -38
- package/dist/ts3.4/client/preview/angular/helpers.d.ts +0 -8
- package/dist/ts3.4/client/preview/angular-beta/AbstractRenderer.d.ts +0 -44
- package/dist/ts3.4/client/preview/angular-beta/CanvasRenderer.d.ts +0 -14
- package/dist/ts3.4/client/preview/angular-beta/ComputesTemplateFromComponent.d.ts +0 -17
- package/dist/ts3.4/client/preview/angular-beta/DocsRenderer.d.ts +0 -14
- package/dist/ts3.4/client/preview/angular-beta/RendererFactory.d.ts +0 -11
- package/dist/ts3.4/client/preview/angular-beta/StorybookModule.d.ts +0 -9
- package/dist/ts3.4/client/preview/angular-beta/StorybookProvider.d.ts +0 -5
- package/dist/ts3.4/client/preview/angular-beta/StorybookWrapperComponent.d.ts +0 -9
- package/dist/ts3.4/client/preview/angular-beta/utils/NgComponentAnalyzer.d.ts +0 -26
- package/dist/ts3.4/client/preview/angular-beta/utils/NgModulesAnalyzer.d.ts +0 -6
- package/dist/ts3.4/client/preview/angular-polyfills.d.ts +0 -41
- package/dist/ts3.4/client/preview/config.d.ts +0 -4
- package/dist/ts3.4/client/preview/decorateStory.d.ts +0 -3
- package/dist/ts3.4/client/preview/decorators.d.ts +0 -6
- package/dist/ts3.4/client/preview/globals.d.ts +0 -1
- package/dist/ts3.4/client/preview/index.d.ts +0 -25
- package/dist/ts3.4/client/preview/render.d.ts +0 -7
- package/dist/ts3.4/client/preview/types-6-0.d.ts +0 -42
- package/dist/ts3.4/client/preview/types-7-0.d.ts +0 -9
- package/dist/ts3.4/client/preview/types.d.ts +0 -29
- package/dist/ts3.4/demo/button.component.d.ts +0 -5
- package/dist/ts3.4/demo/welcome.component.d.ts +0 -4
- package/dist/ts3.4/public_api.d.ts +0 -1
- package/dist/ts3.4/renderer.d.ts +0 -4
- package/dist/ts3.4/server/__mocks-ng-workspace__/minimal-config/src/main.d.ts +0 -1
- package/dist/ts3.4/server/__mocks-ng-workspace__/some-config/src/main.d.ts +0 -1
- package/dist/ts3.4/server/__mocks-ng-workspace__/with-angularBrowserTarget/src/main.d.ts +0 -1
- package/dist/ts3.4/server/__mocks-ng-workspace__/with-lib/projects/pattern-lib/src/main.d.ts +0 -1
- package/dist/ts3.4/server/__mocks-ng-workspace__/with-nx/src/main.d.ts +0 -1
- package/dist/ts3.4/server/__mocks-ng-workspace__/with-nx-workspace/src/main.d.ts +0 -1
- package/dist/ts3.4/server/__mocks-ng-workspace__/with-options-styles/src/main.d.ts +0 -1
- package/dist/ts3.4/server/__mocks-ng-workspace__/without-projects-entry/projects/pattern-lib/src/main.d.ts +0 -1
- package/dist/ts3.4/server/__mocks-ng-workspace__/without-tsConfig/src/main.d.ts +0 -1
- package/dist/ts3.4/server/angular-devkit-build-webpack.d.ts +0 -30
- package/dist/ts3.4/server/angular-read-workspace.d.ts +0 -13
- package/dist/ts3.4/server/build.d.ts +0 -1
- package/dist/ts3.4/server/create-fork-ts-checker-plugin.d.ts +0 -3
- package/dist/ts3.4/server/framework-preset-angular-cli.d.ts +0 -73
- package/dist/ts3.4/server/framework-preset-angular-ivy.d.ts +0 -10
- package/dist/ts3.4/server/framework-preset-angular.d.ts +0 -4
- package/dist/ts3.4/server/index.d.ts +0 -1
- package/dist/ts3.4/server/ngx-template-loader/index.d.ts +0 -1
- package/dist/ts3.4/server/options.d.ts +0 -3
- package/dist/ts3.4/server/preset.d.ts +0 -3
- package/dist/ts3.4/server/ts_config.d.ts +0 -2
- package/dist/ts3.4/server/utils/filter-out-styling-rules.d.ts +0 -2
- package/dist/ts3.4/server/utils/module-is-available.d.ts +0 -1
- package/dist/ts3.4/server/utils/normalize-asset-patterns.d.ts +0 -6
- package/dist/ts3.4/server/utils/normalize-optimization.d.ts +0 -3
- package/dist/ts3.4/types/index.d.ts +0 -6
- package/dist/ts3.9/builders/build-storybook/index.d.ts +0 -12
- package/dist/ts3.9/builders/build-storybook/index.js +0 -114
- package/dist/ts3.9/builders/build-storybook/schema.json +0 -72
- package/dist/ts3.9/builders/builders.json +0 -14
- package/dist/ts3.9/builders/start-storybook/index.d.ts +0 -12
- package/dist/ts3.9/builders/start-storybook/index.js +0 -117
- package/dist/ts3.9/builders/start-storybook/schema.json +0 -99
- package/dist/ts3.9/builders/utils/build-standalone-errors-handler.d.ts +0 -1
- package/dist/ts3.9/builders/utils/build-standalone-errors-handler.js +0 -36
- package/dist/ts3.9/builders/utils/run-compodoc.d.ts +0 -6
- package/dist/ts3.9/builders/utils/run-compodoc.js +0 -45
- package/dist/ts3.9/client/index.d.ts +0 -4
- package/dist/ts3.9/client/index.js +0 -28
- package/dist/ts3.9/client/preview/angular/app.token.d.ts +0 -3
- package/dist/ts3.9/client/preview/angular/app.token.js +0 -5
- package/dist/ts3.9/client/preview/angular/components/app.component.d.ts +0 -38
- package/dist/ts3.9/client/preview/angular/components/app.component.js +0 -146
- package/dist/ts3.9/client/preview/angular/helpers.d.ts +0 -8
- package/dist/ts3.9/client/preview/angular/helpers.js +0 -165
- package/dist/ts3.9/client/preview/angular-beta/AbstractRenderer.d.ts +0 -44
- package/dist/ts3.9/client/preview/angular-beta/AbstractRenderer.js +0 -215
- package/dist/ts3.9/client/preview/angular-beta/CanvasRenderer.d.ts +0 -14
- package/dist/ts3.9/client/preview/angular-beta/CanvasRenderer.js +0 -97
- package/dist/ts3.9/client/preview/angular-beta/ComputesTemplateFromComponent.d.ts +0 -17
- package/dist/ts3.9/client/preview/angular-beta/ComputesTemplateFromComponent.js +0 -112
- package/dist/ts3.9/client/preview/angular-beta/DocsRenderer.d.ts +0 -14
- package/dist/ts3.9/client/preview/angular-beta/DocsRenderer.js +0 -145
- package/dist/ts3.9/client/preview/angular-beta/RendererFactory.d.ts +0 -11
- package/dist/ts3.9/client/preview/angular-beta/RendererFactory.js +0 -101
- package/dist/ts3.9/client/preview/angular-beta/StorybookModule.d.ts +0 -9
- package/dist/ts3.9/client/preview/angular-beta/StorybookModule.js +0 -78
- package/dist/ts3.9/client/preview/angular-beta/StorybookProvider.d.ts +0 -5
- package/dist/ts3.9/client/preview/angular-beta/StorybookProvider.js +0 -27
- package/dist/ts3.9/client/preview/angular-beta/StorybookWrapperComponent.d.ts +0 -9
- package/dist/ts3.9/client/preview/angular-beta/StorybookWrapperComponent.js +0 -155
- package/dist/ts3.9/client/preview/angular-beta/utils/NgComponentAnalyzer.d.ts +0 -26
- package/dist/ts3.9/client/preview/angular-beta/utils/NgComponentAnalyzer.js +0 -124
- package/dist/ts3.9/client/preview/angular-beta/utils/NgModulesAnalyzer.d.ts +0 -6
- package/dist/ts3.9/client/preview/angular-beta/utils/NgModulesAnalyzer.js +0 -44
- package/dist/ts3.9/client/preview/angular-polyfills.d.ts +0 -41
- package/dist/ts3.9/client/preview/angular-polyfills.js +0 -61
- package/dist/ts3.9/client/preview/config.d.ts +0 -4
- package/dist/ts3.9/client/preview/config.js +0 -7
- package/dist/ts3.9/client/preview/decorateStory.d.ts +0 -3
- package/dist/ts3.9/client/preview/decorateStory.js +0 -62
- package/dist/ts3.9/client/preview/decorators.d.ts +0 -6
- package/dist/ts3.9/client/preview/decorators.js +0 -49
- package/dist/ts3.9/client/preview/globals.d.ts +0 -1
- package/dist/ts3.9/client/preview/globals.js +0 -9
- package/dist/ts3.9/client/preview/index.d.ts +0 -25
- package/dist/ts3.9/client/preview/index.js +0 -40
- package/dist/ts3.9/client/preview/render.d.ts +0 -7
- package/dist/ts3.9/client/preview/render.js +0 -73
- package/dist/ts3.9/client/preview/types-6-0.d.ts +0 -42
- package/dist/ts3.9/client/preview/types-6-0.js +0 -2
- package/dist/ts3.9/client/preview/types-7-0.d.ts +0 -9
- package/dist/ts3.9/client/preview/types-7-0.js +0 -2
- package/dist/ts3.9/client/preview/types.d.ts +0 -29
- package/dist/ts3.9/client/preview/types.js +0 -2
- package/dist/ts3.9/demo/button.component.d.ts +0 -5
- package/dist/ts3.9/demo/button.component.js +0 -37
- package/dist/ts3.9/demo/welcome.component.d.ts +0 -4
- package/dist/ts3.9/demo/welcome.component.js +0 -32
- package/dist/ts3.9/public_api.d.ts +0 -1
- package/dist/ts3.9/public_api.js +0 -24
- package/dist/ts3.9/renderer.d.ts +0 -4
- package/dist/ts3.9/renderer.js +0 -10
- package/dist/ts3.9/server/__mocks-ng-workspace__/empty-projects-entry/angular.json +0 -4
- package/dist/ts3.9/server/__mocks-ng-workspace__/minimal-config/angular.json +0 -17
- package/dist/ts3.9/server/__mocks-ng-workspace__/minimal-config/src/main.d.ts +0 -1
- package/dist/ts3.9/server/__mocks-ng-workspace__/minimal-config/src/main.js +0 -5
- package/dist/ts3.9/server/__mocks-ng-workspace__/minimal-config/src/tsconfig.app.json +0 -9
- package/dist/ts3.9/server/__mocks-ng-workspace__/minimal-config/tsconfig.json +0 -13
- package/dist/ts3.9/server/__mocks-ng-workspace__/some-config/angular.json +0 -18
- package/dist/ts3.9/server/__mocks-ng-workspace__/some-config/src/main.d.ts +0 -1
- package/dist/ts3.9/server/__mocks-ng-workspace__/some-config/src/main.js +0 -5
- package/dist/ts3.9/server/__mocks-ng-workspace__/some-config/src/tsconfig.app.json +0 -9
- package/dist/ts3.9/server/__mocks-ng-workspace__/some-config/tsconfig.json +0 -13
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-angularBrowserTarget/angular.json +0 -60
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-angularBrowserTarget/src/main.d.ts +0 -1
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-angularBrowserTarget/src/main.js +0 -5
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-angularBrowserTarget/src/tsconfig.app.json +0 -9
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-angularBrowserTarget/tsconfig.json +0 -13
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-lib/angular.json +0 -28
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-lib/projects/pattern-lib/src/main.d.ts +0 -1
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-lib/projects/pattern-lib/src/main.js +0 -5
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-lib/projects/pattern-lib/tsconfig.lib.json +0 -25
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-lib/tsconfig.json +0 -13
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-nx/angular.json +0 -17
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-nx/nx.json +0 -3
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-nx/src/main.d.ts +0 -1
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-nx/src/main.js +0 -5
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-nx/src/tsconfig.app.json +0 -8
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-nx/tsconfig.json +0 -14
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-nx-workspace/nx.json +0 -3
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-nx-workspace/src/main.d.ts +0 -1
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-nx-workspace/src/main.js +0 -5
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-nx-workspace/src/tsconfig.app.json +0 -8
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-nx-workspace/tsconfig.json +0 -14
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-nx-workspace/workspace.json +0 -17
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-options-styles/angular.json +0 -17
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-options-styles/src/main.d.ts +0 -1
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-options-styles/src/main.js +0 -5
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-options-styles/src/tsconfig.app.json +0 -9
- package/dist/ts3.9/server/__mocks-ng-workspace__/with-options-styles/tsconfig.json +0 -13
- package/dist/ts3.9/server/__mocks-ng-workspace__/without-architect-build/angular.json +0 -5
- package/dist/ts3.9/server/__mocks-ng-workspace__/without-architect-build-options/angular.json +0 -11
- package/dist/ts3.9/server/__mocks-ng-workspace__/without-compatible-projects/angular.json +0 -7
- package/dist/ts3.9/server/__mocks-ng-workspace__/without-projects-entry/angular.json +0 -3
- package/dist/ts3.9/server/__mocks-ng-workspace__/without-projects-entry/projects/pattern-lib/src/main.d.ts +0 -1
- package/dist/ts3.9/server/__mocks-ng-workspace__/without-projects-entry/projects/pattern-lib/src/main.js +0 -5
- package/dist/ts3.9/server/__mocks-ng-workspace__/without-projects-entry/projects/pattern-lib/tsconfig.lib.json +0 -25
- package/dist/ts3.9/server/__mocks-ng-workspace__/without-projects-entry/tsconfig.json +0 -13
- package/dist/ts3.9/server/__mocks-ng-workspace__/without-tsConfig/angular.json +0 -16
- package/dist/ts3.9/server/__mocks-ng-workspace__/without-tsConfig/src/main.d.ts +0 -1
- package/dist/ts3.9/server/__mocks-ng-workspace__/without-tsConfig/src/main.js +0 -5
- package/dist/ts3.9/server/__mocks-ng-workspace__/without-tsConfig/src/tsconfig.app.json +0 -9
- package/dist/ts3.9/server/__mocks-ng-workspace__/without-tsConfig/tsconfig.json +0 -13
- package/dist/ts3.9/server/angular-devkit-build-webpack.d.ts +0 -30
- package/dist/ts3.9/server/angular-devkit-build-webpack.js +0 -213
- package/dist/ts3.9/server/angular-read-workspace.d.ts +0 -13
- package/dist/ts3.9/server/angular-read-workspace.js +0 -118
- package/dist/ts3.9/server/build.d.ts +0 -1
- package/dist/ts3.9/server/build.js +0 -65
- package/dist/ts3.9/server/create-fork-ts-checker-plugin.d.ts +0 -3
- package/dist/ts3.9/server/create-fork-ts-checker-plugin.js +0 -19
- package/dist/ts3.9/server/framework-preset-angular-cli.d.ts +0 -73
- package/dist/ts3.9/server/framework-preset-angular-cli.js +0 -159
- package/dist/ts3.9/server/framework-preset-angular-ivy.d.ts +0 -10
- package/dist/ts3.9/server/framework-preset-angular-ivy.js +0 -111
- package/dist/ts3.9/server/framework-preset-angular.d.ts +0 -4
- package/dist/ts3.9/server/framework-preset-angular.js +0 -74
- package/dist/ts3.9/server/index.d.ts +0 -1
- package/dist/ts3.9/server/index.js +0 -8
- package/dist/ts3.9/server/ngx-template-loader/index.d.ts +0 -1
- package/dist/ts3.9/server/ngx-template-loader/index.js +0 -46
- package/dist/ts3.9/server/options.d.ts +0 -3
- package/dist/ts3.9/server/options.js +0 -8
- package/dist/ts3.9/server/preset.d.ts +0 -3
- package/dist/ts3.9/server/preset.js +0 -21
- package/dist/ts3.9/server/ts_config.d.ts +0 -2
- package/dist/ts3.9/server/ts_config.js +0 -28
- package/dist/ts3.9/server/utils/filter-out-styling-rules.d.ts +0 -2
- package/dist/ts3.9/server/utils/filter-out-styling-rules.js +0 -16
- package/dist/ts3.9/server/utils/module-is-available.d.ts +0 -1
- package/dist/ts3.9/server/utils/module-is-available.js +0 -12
- package/dist/ts3.9/server/utils/normalize-asset-patterns.d.ts +0 -6
- package/dist/ts3.9/server/utils/normalize-asset-patterns.js +0 -79
- package/dist/ts3.9/server/utils/normalize-optimization.d.ts +0 -3
- package/dist/ts3.9/server/utils/normalize-optimization.js +0 -20
- package/dist/ts3.9/types/index.d.ts +0 -6
- package/dist/ts3.9/types/index.js +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/angular",
|
|
3
|
-
"version": "6.4.0-beta.
|
|
3
|
+
"version": "6.4.0-beta.24",
|
|
4
4
|
"description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
"prepare": "node ../../scripts/prepare.js"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@storybook/addons": "6.4.0-beta.
|
|
49
|
-
"@storybook/api": "6.4.0-beta.
|
|
50
|
-
"@storybook/core": "6.4.0-beta.
|
|
51
|
-
"@storybook/core-common": "6.4.0-beta.
|
|
52
|
-
"@storybook/core-events": "6.4.0-beta.
|
|
48
|
+
"@storybook/addons": "6.4.0-beta.24",
|
|
49
|
+
"@storybook/api": "6.4.0-beta.24",
|
|
50
|
+
"@storybook/core": "6.4.0-beta.24",
|
|
51
|
+
"@storybook/core-common": "6.4.0-beta.24",
|
|
52
|
+
"@storybook/core-events": "6.4.0-beta.24",
|
|
53
53
|
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
|
54
|
-
"@storybook/node-logger": "6.4.0-beta.
|
|
55
|
-
"@storybook/store": "6.4.0-beta.
|
|
54
|
+
"@storybook/node-logger": "6.4.0-beta.24",
|
|
55
|
+
"@storybook/store": "6.4.0-beta.24",
|
|
56
56
|
"@types/webpack-env": "^1.16.0",
|
|
57
57
|
"autoprefixer": "^9.8.6",
|
|
58
58
|
"core-js": "^3.8.2",
|
|
@@ -131,5 +131,5 @@
|
|
|
131
131
|
"access": "public"
|
|
132
132
|
},
|
|
133
133
|
"builders": "dist/ts3.9/builders/builders.json",
|
|
134
|
-
"gitHead": "
|
|
134
|
+
"gitHead": "f53ba4d7210b5c4809d57c74d7a42314172aa63e"
|
|
135
135
|
}
|
package/types-7-0.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dist/ts3.9/client/preview/types-7-0.d';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BuilderOutput } from '@angular-devkit/architect';
|
|
2
|
-
import { JsonObject } from '@angular-devkit/core';
|
|
3
|
-
import { CLIOptions } from '@storybook/core-common';
|
|
4
|
-
export declare type StorybookBuilderOptions = JsonObject & {
|
|
5
|
-
browserTarget?: string | null;
|
|
6
|
-
tsConfig?: string;
|
|
7
|
-
compodoc: boolean;
|
|
8
|
-
compodocArgs: string[];
|
|
9
|
-
} & Pick<CLIOptions, 'staticDir' | 'outputDir' | 'configDir' | 'loglevel' | 'quiet' | 'docs'>;
|
|
10
|
-
export declare type StorybookBuilderOutput = JsonObject & BuilderOutput & {};
|
|
11
|
-
declare const _default: import("@angular-devkit/architect/src/internal").Builder<StorybookBuilderOptions>;
|
|
12
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BuilderOutput } from '@angular-devkit/architect';
|
|
2
|
-
import { JsonObject } from '@angular-devkit/core';
|
|
3
|
-
import { CLIOptions } from '@storybook/core-common';
|
|
4
|
-
export declare type StorybookBuilderOptions = JsonObject & {
|
|
5
|
-
browserTarget?: string | null;
|
|
6
|
-
tsConfig?: string;
|
|
7
|
-
compodoc: boolean;
|
|
8
|
-
compodocArgs: string[];
|
|
9
|
-
} & Pick<CLIOptions, 'port' | 'host' | 'staticDir' | 'configDir' | 'https' | 'sslCa' | 'sslCert' | 'sslKey' | 'smokeTest' | 'ci' | 'quiet' | 'docs'>;
|
|
10
|
-
export declare type StorybookBuilderOutput = JsonObject & BuilderOutput & {};
|
|
11
|
-
declare const _default: import("@angular-devkit/architect/src/internal").Builder<StorybookBuilderOptions>;
|
|
12
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const buildStandaloneErrorHandler: (error: any) => any;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { storiesOf, setAddon, addDecorator, addParameters, configure, getStorybook, forceReRender, raw, } from './preview';
|
|
2
|
-
export * from './preview/types-6-0';
|
|
3
|
-
export { StoryFnAngularReturnType as IStory } from './preview/types';
|
|
4
|
-
export { moduleMetadata, componentWrapperDecorator } from './preview/decorators';
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { OnInit, ViewContainerRef, ComponentFactoryResolver, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { Observable, Subscription } from 'rxjs';
|
|
3
|
-
import { StoryFnAngularReturnType } from '../../types';
|
|
4
|
-
export declare class AppComponent implements OnInit, OnDestroy {
|
|
5
|
-
private cfr;
|
|
6
|
-
private changeDetectorRef;
|
|
7
|
-
private data;
|
|
8
|
-
target: ViewContainerRef;
|
|
9
|
-
readonly previousValues: {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
};
|
|
12
|
-
subscription: Subscription;
|
|
13
|
-
propSubscriptions: Map<any, {
|
|
14
|
-
prop: any;
|
|
15
|
-
sub: Subscription;
|
|
16
|
-
}>;
|
|
17
|
-
constructor(cfr: ComponentFactoryResolver, changeDetectorRef: ChangeDetectorRef, data: Observable<StoryFnAngularReturnType>);
|
|
18
|
-
ngOnInit(): void;
|
|
19
|
-
ngOnDestroy(): void;
|
|
20
|
-
/**
|
|
21
|
-
* Set inputs and outputs
|
|
22
|
-
*/
|
|
23
|
-
private setProps;
|
|
24
|
-
/**
|
|
25
|
-
* Manually call 'ngOnChanges' hook because angular doesn't do that for dynamic components
|
|
26
|
-
* Issue: [https://github.com/angular/angular/issues/8903]
|
|
27
|
-
*/
|
|
28
|
-
private callNgOnChangesHook;
|
|
29
|
-
/**
|
|
30
|
-
* If component implements ControlValueAccessor interface try to set ngModel
|
|
31
|
-
*/
|
|
32
|
-
private setNgModel;
|
|
33
|
-
/**
|
|
34
|
-
* Store ref to subscription for cleanup in 'ngOnDestroy' and check if
|
|
35
|
-
* observable needs to be resubscribed to, before creating a new subscription.
|
|
36
|
-
*/
|
|
37
|
-
private setPropSubscription;
|
|
38
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PartialStoryFn } from '@storybook/csf';
|
|
2
|
-
import { AngularFramework } from '../types-6-0';
|
|
3
|
-
declare global {
|
|
4
|
-
interface Window {
|
|
5
|
-
NODE_ENV: 'string' | 'development' | undefined;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
export declare const renderNgApp: (storyFn: PartialStoryFn<AngularFramework>, forced: boolean) => void;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { Subject } from 'rxjs';
|
|
2
|
-
import { ICollection, StoryFnAngularReturnType } from '../types';
|
|
3
|
-
import { Parameters } from '../types-6-0';
|
|
4
|
-
declare type StoryRenderInfo = {
|
|
5
|
-
storyFnAngular: StoryFnAngularReturnType;
|
|
6
|
-
moduleMetadataSnapshot: string;
|
|
7
|
-
};
|
|
8
|
-
export declare abstract class AbstractRenderer {
|
|
9
|
-
storyId: string;
|
|
10
|
-
/**
|
|
11
|
-
* Wait and destroy the platform
|
|
12
|
-
*/
|
|
13
|
-
static resetPlatformBrowserDynamic(): Promise<void>;
|
|
14
|
-
/**
|
|
15
|
-
* Reset compiled components because we often want to compile the same component with
|
|
16
|
-
* more than one NgModule.
|
|
17
|
-
*/
|
|
18
|
-
protected static resetCompiledComponents: () => Promise<void>;
|
|
19
|
-
protected previousStoryRenderInfo: StoryRenderInfo;
|
|
20
|
-
protected storyProps$: Subject<ICollection | undefined>;
|
|
21
|
-
constructor(storyId: string);
|
|
22
|
-
protected abstract beforeFullRender(): Promise<void>;
|
|
23
|
-
protected abstract afterFullRender(): Promise<void>;
|
|
24
|
-
/**
|
|
25
|
-
* Bootstrap main angular module with main component or send only new `props` with storyProps$
|
|
26
|
-
*
|
|
27
|
-
* @param storyFnAngular {StoryFnAngularReturnType}
|
|
28
|
-
* @param forced {boolean} If :
|
|
29
|
-
* - true render will only use the StoryFn `props' in storyProps observable that will update sotry's component/template properties. Improves performance without reloading the whole module&component if props changes
|
|
30
|
-
* - false fully recharges or initializes angular module & component
|
|
31
|
-
* @param component {Component}
|
|
32
|
-
* @param parameters {Parameters}
|
|
33
|
-
*/
|
|
34
|
-
render({ storyFnAngular, forced, parameters, component, targetDOMNode, }: {
|
|
35
|
-
storyFnAngular: StoryFnAngularReturnType;
|
|
36
|
-
forced: boolean;
|
|
37
|
-
component?: any;
|
|
38
|
-
parameters: Parameters;
|
|
39
|
-
targetDOMNode: HTMLElement;
|
|
40
|
-
}): Promise<void>;
|
|
41
|
-
protected initAngularRootElement(targetDOMNode: HTMLElement, targetSelector: string): void;
|
|
42
|
-
private fullRendererRequired;
|
|
43
|
-
}
|
|
44
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { AbstractRenderer } from './AbstractRenderer';
|
|
2
|
-
import { StoryFnAngularReturnType } from '../types';
|
|
3
|
-
import { Parameters } from '../types-6-0';
|
|
4
|
-
export declare class CanvasRenderer extends AbstractRenderer {
|
|
5
|
-
render(options: {
|
|
6
|
-
storyFnAngular: StoryFnAngularReturnType;
|
|
7
|
-
forced: boolean;
|
|
8
|
-
parameters: Parameters;
|
|
9
|
-
component: any;
|
|
10
|
-
targetDOMNode: HTMLElement;
|
|
11
|
-
}): Promise<void>;
|
|
12
|
-
beforeFullRender(): Promise<void>;
|
|
13
|
-
afterFullRender(): Promise<void>;
|
|
14
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Type } from '@angular/core';
|
|
2
|
-
import { ArgTypes } from '@storybook/api';
|
|
3
|
-
import { ICollection } from '../types';
|
|
4
|
-
/**
|
|
5
|
-
* Converts a component into a template with inputs/outputs present in initial props
|
|
6
|
-
* @param component
|
|
7
|
-
* @param initialProps
|
|
8
|
-
* @param innerTemplate
|
|
9
|
-
*/
|
|
10
|
-
export declare const computesTemplateFromComponent: (component: Type<unknown>, initialProps?: ICollection, innerTemplate?: string) => string;
|
|
11
|
-
/**
|
|
12
|
-
* Converts a component into a template with inputs/outputs present in initial props
|
|
13
|
-
* @param component
|
|
14
|
-
* @param initialProps
|
|
15
|
-
* @param innerTemplate
|
|
16
|
-
*/
|
|
17
|
-
export declare const computesTemplateSourceFromComponent: (component: Type<unknown>, initialProps?: ICollection, argTypes?: ArgTypes) => string;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { AbstractRenderer } from './AbstractRenderer';
|
|
2
|
-
import { StoryFnAngularReturnType } from '../types';
|
|
3
|
-
import { Parameters } from '../types-6-0';
|
|
4
|
-
export declare class DocsRenderer extends AbstractRenderer {
|
|
5
|
-
render(options: {
|
|
6
|
-
storyFnAngular: StoryFnAngularReturnType;
|
|
7
|
-
forced: boolean;
|
|
8
|
-
component: any;
|
|
9
|
-
parameters: Parameters;
|
|
10
|
-
targetDOMNode: HTMLElement;
|
|
11
|
-
}): Promise<void>;
|
|
12
|
-
beforeFullRender(): Promise<void>;
|
|
13
|
-
afterFullRender(): Promise<void>;
|
|
14
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { AbstractRenderer } from './AbstractRenderer';
|
|
2
|
-
declare type RenderType = 'canvas' | 'docs';
|
|
3
|
-
export declare class RendererFactory {
|
|
4
|
-
private lastRenderType;
|
|
5
|
-
private rendererMap;
|
|
6
|
-
getRendererInstance(storyId: string, targetDOMNode: HTMLElement): Promise<AbstractRenderer | null>;
|
|
7
|
-
private buildRenderer;
|
|
8
|
-
}
|
|
9
|
-
export declare const getRenderType: (targetDOMNode: HTMLElement) => RenderType;
|
|
10
|
-
export declare function clearRootHTMLElement(renderType: RenderType): void;
|
|
11
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { NgModule, Type } from '@angular/core';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import { ICollection, StoryFnAngularReturnType } from '../types';
|
|
4
|
-
export declare const getStorybookModuleMetadata: ({ storyFnAngular, component: annotatedComponent, targetSelector, }: {
|
|
5
|
-
storyFnAngular: StoryFnAngularReturnType;
|
|
6
|
-
component?: any;
|
|
7
|
-
targetSelector: string;
|
|
8
|
-
}, storyProps$: Subject<ICollection>) => NgModule;
|
|
9
|
-
export declare const createStorybookModule: (ngModule: NgModule) => Type<unknown>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import { ICollection } from '../types';
|
|
4
|
-
export declare const STORY_PROPS: InjectionToken<Subject<ICollection>>;
|
|
5
|
-
export declare const storyPropsProvider: (storyProps$: Subject<ICollection | undefined>) => Provider;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Type } from '@angular/core';
|
|
2
|
-
import { ICollection } from '../types';
|
|
3
|
-
/**
|
|
4
|
-
* Wraps the story template into a component
|
|
5
|
-
*
|
|
6
|
-
* @param storyComponent
|
|
7
|
-
* @param initialProps
|
|
8
|
-
*/
|
|
9
|
-
export declare const createStorybookWrapperComponent: (selector: string, template: string, storyComponent: Type<unknown> | undefined, styles: string[], initialProps?: ICollection) => Type<any>;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Component, Input, Output, Type } from '@angular/core';
|
|
2
|
-
export declare type ComponentInputsOutputs = {
|
|
3
|
-
inputs: {
|
|
4
|
-
propName: string;
|
|
5
|
-
templateName: string;
|
|
6
|
-
}[];
|
|
7
|
-
outputs: {
|
|
8
|
-
propName: string;
|
|
9
|
-
templateName: string;
|
|
10
|
-
}[];
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* Returns component Inputs / Outputs by browsing these properties and decorator
|
|
14
|
-
*/
|
|
15
|
-
export declare const getComponentInputsOutputs: (component: any) => ComponentInputsOutputs;
|
|
16
|
-
export declare const isDeclarable: (component: any) => boolean;
|
|
17
|
-
export declare const isComponent: (component: any) => component is Type<unknown>;
|
|
18
|
-
/**
|
|
19
|
-
* Returns all component decorator properties
|
|
20
|
-
* is used to get all `@Input` and `@Output` Decorator
|
|
21
|
-
*/
|
|
22
|
-
export declare const getComponentPropsDecoratorMetadata: (component: any) => Record<string, (Input | Output)[]>;
|
|
23
|
-
/**
|
|
24
|
-
* Returns component decorator `@Component`
|
|
25
|
-
*/
|
|
26
|
-
export declare const getComponentDecoratorMetadata: (component: any) => Component | undefined;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Avoid component redeclaration
|
|
3
|
-
*
|
|
4
|
-
* Checks recursively if the component has already been declared in all import Module
|
|
5
|
-
*/
|
|
6
|
-
export declare const isComponentAlreadyDeclaredInModules: (componentToFind: any, moduleDeclarations: any[], moduleImports: any[]) => boolean;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file includes polyfills needed by Angular and is loaded before the app.
|
|
3
|
-
* You can add your own extra polyfills to this file.
|
|
4
|
-
*
|
|
5
|
-
* This file is divided into 2 sections:
|
|
6
|
-
* 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
|
|
7
|
-
* 2. Application imports. Files imported after ZoneJS that should be loaded before your main
|
|
8
|
-
* file.
|
|
9
|
-
*
|
|
10
|
-
* The current setup is for so-called "evergreen" browsers; the last versions of browsers that
|
|
11
|
-
* automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
|
|
12
|
-
* Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
|
|
13
|
-
*
|
|
14
|
-
* Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html
|
|
15
|
-
*/
|
|
16
|
-
/** *************************************************************************************************
|
|
17
|
-
* BROWSER POLYFILLS
|
|
18
|
-
*/
|
|
19
|
-
/** IE9, IE10 and IE11 requires all of the following polyfills. * */
|
|
20
|
-
/** IE10 and IE11 requires the following for NgClass support on SVG elements */
|
|
21
|
-
/** Evergreen browsers require these. * */
|
|
22
|
-
import 'core-js/es/reflect';
|
|
23
|
-
import 'core-js/proposals/reflect-metadata';
|
|
24
|
-
/**
|
|
25
|
-
* Required to support Web Animations `@angular/animation`.
|
|
26
|
-
* Needed for: All but Chrome, Firefox and Opera. http://caniuse.com/#feat=web-animation
|
|
27
|
-
* */
|
|
28
|
-
/** *************************************************************************************************
|
|
29
|
-
* Zone JS is required by Angular itself.
|
|
30
|
-
*/
|
|
31
|
-
import 'zone.js/dist/zone';
|
|
32
|
-
/** *************************************************************************************************
|
|
33
|
-
* APPLICATION IMPORTS
|
|
34
|
-
*/
|
|
35
|
-
/**
|
|
36
|
-
* Date, currency, decimal and percent pipes.
|
|
37
|
-
* Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10
|
|
38
|
-
*/
|
|
39
|
-
/**
|
|
40
|
-
* Need to import at least one locale-data with intl.
|
|
41
|
-
*/
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { DecoratorFunction, LegacyStoryFn } from '@storybook/csf';
|
|
2
|
-
import { AngularFramework } from './types-6-0';
|
|
3
|
-
export default function decorateStory(mainStoryFn: LegacyStoryFn<AngularFramework>, decorators: DecoratorFunction<AngularFramework>[]): LegacyStoryFn<AngularFramework>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Type } from '@angular/core';
|
|
2
|
-
import { DecoratorFunction, StoryContext } from '@storybook/csf';
|
|
3
|
-
import { ICollection, NgModuleMetadata } from './types';
|
|
4
|
-
import { AngularFramework } from './types-6-0';
|
|
5
|
-
export declare const moduleMetadata: <TArgs = any>(metadata: Partial<NgModuleMetadata>) => DecoratorFunction<AngularFramework, TArgs>;
|
|
6
|
-
export declare const componentWrapperDecorator: <TArgs = any>(element: Type<unknown> | ((story: string) => string), props?: ICollection | ((storyContext: StoryContext<AngularFramework, TArgs>) => ICollection)) => DecoratorFunction<AngularFramework, TArgs>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './angular-polyfills';
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/// <reference types="webpack-env" />
|
|
2
|
-
/// <reference types="node" />
|
|
3
|
-
import { ClientStoryApi, Loadable } from '@storybook/addons';
|
|
4
|
-
import './globals';
|
|
5
|
-
import { IStorybookSection } from './types';
|
|
6
|
-
import { AngularFramework } from './types-6-0';
|
|
7
|
-
interface ClientApi extends ClientStoryApi<AngularFramework['storyResult']> {
|
|
8
|
-
setAddon(addon: any): void;
|
|
9
|
-
configure(loader: Loadable, module: NodeModule): void;
|
|
10
|
-
getStorybook(): IStorybookSection[];
|
|
11
|
-
clearDecorators(): void;
|
|
12
|
-
forceReRender(): void;
|
|
13
|
-
raw: () => any;
|
|
14
|
-
load: (...args: any[]) => void;
|
|
15
|
-
}
|
|
16
|
-
export declare const storiesOf: ClientApi['storiesOf'];
|
|
17
|
-
export declare const configure: ClientApi['configure'];
|
|
18
|
-
export declare const addDecorator: ClientApi['addDecorator'];
|
|
19
|
-
export declare const addParameters: ClientApi['addParameters'];
|
|
20
|
-
export declare const clearDecorators: ClientApi['clearDecorators'];
|
|
21
|
-
export declare const setAddon: ClientApi['setAddon'];
|
|
22
|
-
export declare const forceReRender: ClientApi['forceReRender'];
|
|
23
|
-
export declare const getStorybook: ClientApi['getStorybook'];
|
|
24
|
-
export declare const raw: ClientApi['raw'];
|
|
25
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { RenderContext } from '@storybook/store';
|
|
2
|
-
import { ArgsStoryFn } from '@storybook/csf';
|
|
3
|
-
import { AngularFramework } from './types-6-0';
|
|
4
|
-
import { RendererFactory } from './angular-beta/RendererFactory';
|
|
5
|
-
export declare const rendererFactory: RendererFactory;
|
|
6
|
-
export declare const render: ArgsStoryFn<AngularFramework>;
|
|
7
|
-
export declare function renderToDOM({ storyFn, showMain, forceRemount, storyContext: { parameters, component }, id, }: RenderContext<AngularFramework>, element: HTMLElement): Promise<void>;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { Args, Parameters as DefaultParameters, StoryContext as DefaultStoryContext, ComponentAnnotations, StoryAnnotations, AnnotatedStoryFn } from '@storybook/csf';
|
|
2
|
-
import { StoryFnAngularReturnType } from './types';
|
|
3
|
-
export { Args, ArgTypes } from '@storybook/csf';
|
|
4
|
-
export declare type AngularFramework = {
|
|
5
|
-
component: any;
|
|
6
|
-
storyResult: StoryFnAngularReturnType;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Metadata to configure the stories for a component.
|
|
10
|
-
*
|
|
11
|
-
* @see [Default export](https://storybook.js.org/docs/formats/component-story-format/#default-export)
|
|
12
|
-
*/
|
|
13
|
-
export declare type Meta<TArgs = Args> = ComponentAnnotations<AngularFramework, TArgs>;
|
|
14
|
-
/**
|
|
15
|
-
* Story function that represents a CSFv2 component example.
|
|
16
|
-
*
|
|
17
|
-
* @see [Named Story exports](https://storybook.js.org/docs/formats/component-story-format/#named-story-exports)
|
|
18
|
-
*/
|
|
19
|
-
export declare type StoryFn<TArgs = Args> = AnnotatedStoryFn<AngularFramework, TArgs>;
|
|
20
|
-
/**
|
|
21
|
-
* Story function that represents a CSFv3 component example.
|
|
22
|
-
*
|
|
23
|
-
* @see [Named Story exports](https://storybook.js.org/docs/formats/component-story-format/#named-story-exports)
|
|
24
|
-
*/
|
|
25
|
-
export declare type StoryObj<TArgs = Args> = StoryAnnotations<AngularFramework, TArgs>;
|
|
26
|
-
/**
|
|
27
|
-
* Story function that represents a CSFv2 component example.
|
|
28
|
-
*
|
|
29
|
-
* @see [Named Story exports](https://storybook.js.org/docs/formats/component-story-format/#named-story-exports)
|
|
30
|
-
*
|
|
31
|
-
* NOTE that in Storybook 7.0, this type will be renamed to `StoryFn` and replaced by the current `StoryObj` type.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
|
-
export declare type Story<TArgs = Args> = StoryFn<TArgs>;
|
|
35
|
-
export declare type Parameters = DefaultParameters & {
|
|
36
|
-
/** Uses legacy angular rendering engine that use dynamic component */
|
|
37
|
-
angularLegacyRendering?: boolean;
|
|
38
|
-
bootstrapModuleOptions?: unknown;
|
|
39
|
-
};
|
|
40
|
-
export declare type StoryContext = DefaultStoryContext<AngularFramework> & {
|
|
41
|
-
parameters: Parameters;
|
|
42
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Args } from '@storybook/csf';
|
|
2
|
-
import { StoryObj } from './types-6-0';
|
|
3
|
-
export { StoryFn, StoryObj, Meta } from './types-6-0';
|
|
4
|
-
/**
|
|
5
|
-
* Story function that represents a CSFv3 component example.
|
|
6
|
-
*
|
|
7
|
-
* @see [Named Story exports](https://storybook.js.org/docs/formats/component-story-format/#named-story-exports)
|
|
8
|
-
*/
|
|
9
|
-
export declare type Story<TArgs = Args> = StoryObj<TArgs>;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export interface NgModuleMetadata {
|
|
2
|
-
declarations?: any[];
|
|
3
|
-
entryComponents?: any[];
|
|
4
|
-
imports?: any[];
|
|
5
|
-
schemas?: any[];
|
|
6
|
-
providers?: any[];
|
|
7
|
-
}
|
|
8
|
-
export interface ICollection {
|
|
9
|
-
[p: string]: any;
|
|
10
|
-
}
|
|
11
|
-
export interface IStorybookStory {
|
|
12
|
-
name: string;
|
|
13
|
-
render: (context: any) => any;
|
|
14
|
-
}
|
|
15
|
-
export interface IStorybookSection {
|
|
16
|
-
kind: string;
|
|
17
|
-
stories: IStorybookStory[];
|
|
18
|
-
}
|
|
19
|
-
export interface StoryFnAngularReturnType {
|
|
20
|
-
/** @deprecated `component` story input is deprecated, and will be removed in Storybook 7.0. */
|
|
21
|
-
component?: any;
|
|
22
|
-
props?: ICollection;
|
|
23
|
-
/** @deprecated `propsMeta` story input is deprecated, and will be removed in Storybook 7.0. */
|
|
24
|
-
propsMeta?: ICollection;
|
|
25
|
-
moduleMetadata?: NgModuleMetadata;
|
|
26
|
-
template?: string;
|
|
27
|
-
styles?: string[];
|
|
28
|
-
userDefinedTemplate?: boolean;
|
|
29
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './client';
|
package/dist/ts3.4/renderer.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { computesTemplateSourceFromComponent } from './client/preview/angular-beta/ComputesTemplateFromComponent';
|
|
2
|
-
export { rendererFactory } from './client/preview/render';
|
|
3
|
-
export { AbstractRenderer } from './client/preview/angular-beta/AbstractRenderer';
|
|
4
|
-
export { getStorybookModuleMetadata } from './client/preview/angular-beta/StorybookModule';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const not = "empty";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const not = "empty";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const not = "empty";
|
package/dist/ts3.4/server/__mocks-ng-workspace__/with-lib/projects/pattern-lib/src/main.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const not = "empty";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const not = "empty";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const not = "empty";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const not = "empty";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const not = "empty";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const not = "empty";
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is to be watched !
|
|
3
|
-
* The code must be compatible from @angular-devkit version 6.1.0 to the latest supported
|
|
4
|
-
*
|
|
5
|
-
* It uses code block of angular cli to extract parts of webpack configuration
|
|
6
|
-
*/
|
|
7
|
-
import webpack from 'webpack';
|
|
8
|
-
import { workspaces } from '@angular-devkit/core';
|
|
9
|
-
export declare type AngularCliWebpackConfig = {
|
|
10
|
-
cliCommonWebpackConfig: {
|
|
11
|
-
plugins: webpack.Plugin[];
|
|
12
|
-
resolve: {
|
|
13
|
-
modules: string[];
|
|
14
|
-
};
|
|
15
|
-
resolveLoader: webpack.ResolveLoader;
|
|
16
|
-
};
|
|
17
|
-
cliStyleWebpackConfig: {
|
|
18
|
-
entry: string | string[] | webpack.Entry | webpack.EntryFunc;
|
|
19
|
-
module: {
|
|
20
|
-
rules: webpack.RuleSetRule[];
|
|
21
|
-
};
|
|
22
|
-
plugins: webpack.Plugin[];
|
|
23
|
-
};
|
|
24
|
-
tsConfigPath: string;
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* Uses angular cli to extract webpack configuration.
|
|
28
|
-
* The `AngularCliWebpackConfig` type lists the parts used by storybook
|
|
29
|
-
*/
|
|
30
|
-
export declare function extractAngularCliWebpackConfig(dirToSearch: string, project: workspaces.ProjectDefinition, target: workspaces.TargetDefinition, confName?: string): Promise<AngularCliWebpackConfig>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { workspaces } from '@angular-devkit/core';
|
|
2
|
-
/**
|
|
3
|
-
* Returns the workspace definition
|
|
4
|
-
*
|
|
5
|
-
* - Either from NX if it is present
|
|
6
|
-
* - Either from `@angular-devkit/core` -> https://github.com/angular/angular-cli/tree/master/packages/angular_devkit/core
|
|
7
|
-
*/
|
|
8
|
-
export declare const readAngularWorkspaceConfig: (dirToSearch: string) => Promise<workspaces.WorkspaceDefinition>;
|
|
9
|
-
export declare const getDefaultProjectName: (workspace: workspaces.WorkspaceDefinition) => string;
|
|
10
|
-
export declare const findAngularProjectTarget: (workspace: workspaces.WorkspaceDefinition, projectName: string, targetName: string) => {
|
|
11
|
-
project: workspaces.ProjectDefinition;
|
|
12
|
-
target: workspaces.TargetDefinition;
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|