@abp/ng.schematics 10.5.0 → 10.6.0-rc.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/commands/ai-config/index.d.ts +3 -3
- package/commands/ai-config/index.js +88 -88
- package/commands/ai-config/index.js.map +1 -1
- package/commands/ai-config/model.d.ts +10 -10
- package/commands/ai-config/model.js +2 -2
- package/commands/api/files-service/proxy/__namespace@dir__/__name@kebab__.service.ts.template +6 -4
- package/commands/api/index.d.ts +2 -2
- package/commands/api/index.js +139 -138
- package/commands/api/index.js.map +1 -1
- package/commands/change-theme/index.d.ts +28 -28
- package/commands/change-theme/index.js +474 -473
- package/commands/change-theme/index.js.map +1 -1
- package/commands/change-theme/model.d.ts +5 -5
- package/commands/change-theme/model.js +2 -2
- package/commands/change-theme/style-map.d.ts +16 -16
- package/commands/change-theme/style-map.js +424 -424
- package/commands/change-theme/theme-options.enum.d.ts +6 -6
- package/commands/change-theme/theme-options.enum.js +11 -11
- package/commands/change-theme/theme-options.enum.js.map +1 -1
- package/commands/create-lib/index.d.ts +13 -13
- package/commands/create-lib/index.js +298 -298
- package/commands/create-lib/index.js.map +1 -1
- package/commands/create-lib/models/generate-lib-schema.d.ts +20 -20
- package/commands/create-lib/models/generate-lib-schema.js +8 -8
- package/commands/create-lib/models/generate-lib-schema.js.map +1 -1
- package/commands/create-lib/models/index.d.ts +1 -1
- package/commands/create-lib/models/index.js +4 -17
- package/commands/create-lib/models/index.js.map +1 -1
- package/commands/proxy-add/index.d.ts +2 -2
- package/commands/proxy-add/index.js +41 -41
- package/commands/proxy-add/index.js.map +1 -1
- package/commands/proxy-index/index.d.ts +5 -5
- package/commands/proxy-index/index.js +14 -14
- package/commands/proxy-index/index.js.map +1 -1
- package/commands/proxy-refresh/index.d.ts +3 -3
- package/commands/proxy-refresh/index.js +27 -27
- package/commands/proxy-refresh/index.js.map +1 -1
- package/commands/proxy-remove/index.d.ts +3 -3
- package/commands/proxy-remove/index.js +33 -33
- package/commands/proxy-remove/index.js.map +1 -1
- package/commands/ssr-add/index.d.ts +11 -11
- package/commands/ssr-add/index.js +360 -361
- package/commands/ssr-add/index.js.map +1 -1
- package/commands/ssr-add/server/index.d.ts +10 -10
- package/commands/ssr-add/server/index.js +209 -205
- package/commands/ssr-add/server/index.js.map +1 -1
- package/commands/ssr-add/server/index.ts +6 -2
- package/constants/api.d.ts +1 -1
- package/constants/api.js +4 -4
- package/constants/index.d.ts +4 -4
- package/constants/index.js +7 -20
- package/constants/index.js.map +1 -1
- package/constants/proxy.d.ts +4 -4
- package/constants/proxy.js +7 -7
- package/constants/symbols.d.ts +1 -1
- package/constants/symbols.js +4 -4
- package/constants/system-types.d.ts +1 -1
- package/constants/system-types.js +29 -29
- package/constants/volo.d.ts +5 -5
- package/constants/volo.js +34 -34
- package/enums/binding-source-id.d.ts +8 -7
- package/enums/binding-source-id.js +12 -11
- package/enums/binding-source-id.js.map +1 -1
- package/enums/exception.d.ts +17 -17
- package/enums/exception.js +2 -2
- package/enums/import-keyword.d.ts +4 -4
- package/enums/import-keyword.js +8 -8
- package/enums/import-keyword.js.map +1 -1
- package/enums/index.d.ts +5 -5
- package/enums/index.js +8 -21
- package/enums/index.js.map +1 -1
- package/enums/method-modifier.d.ts +6 -6
- package/enums/method-modifier.js +10 -10
- package/enums/method-modifier.js.map +1 -1
- package/enums/service-types.d.ts +6 -6
- package/enums/service-types.js +10 -10
- package/enums/service-types.js.map +1 -1
- package/index.d.ts +3 -3
- package/index.js +6 -19
- package/index.js.map +1 -1
- package/models/api-definition.d.ts +97 -93
- package/models/api-definition.js +2 -2
- package/models/generate-proxy-schema.d.ts +28 -28
- package/models/generate-proxy-schema.js +2 -2
- package/models/import.d.ts +11 -11
- package/models/import.js +13 -13
- package/models/index.d.ts +11 -11
- package/models/index.js +14 -27
- package/models/index.js.map +1 -1
- package/models/method.d.ts +36 -34
- package/models/method.js +73 -70
- package/models/method.js.map +1 -1
- package/models/model.d.ts +48 -48
- package/models/model.js +76 -76
- package/models/model.js.map +1 -1
- package/models/project.d.ts +5 -5
- package/models/project.js +2 -2
- package/models/proxy-config.d.ts +4 -4
- package/models/proxy-config.js +2 -2
- package/models/rule.d.ts +2 -2
- package/models/rule.js +2 -2
- package/models/service.d.ts +21 -21
- package/models/service.js +11 -11
- package/models/tree.d.ts +1 -1
- package/models/tree.js +2 -2
- package/models/util.d.ts +7 -7
- package/models/util.js +2 -2
- package/package.json +6 -6
- package/utils/angular/add-declaration-to-ng-module.d.ts +20 -20
- package/utils/angular/add-declaration-to-ng-module.js +45 -45
- package/utils/angular/add-declaration-to-ng-module.js.map +1 -1
- package/utils/angular/ast-utils.d.ts +106 -106
- package/utils/angular/ast-utils.js +518 -518
- package/utils/angular/ast-utils.js.map +1 -1
- package/utils/angular/change.d.ts +68 -68
- package/utils/angular/change.js +121 -121
- package/utils/angular/change.js.map +1 -1
- package/utils/angular/dependencies.d.ts +23 -23
- package/utils/angular/dependencies.js +56 -56
- package/utils/angular/dependencies.js.map +1 -1
- package/utils/angular/dependency.d.ts +96 -96
- package/utils/angular/dependency.js +123 -122
- package/utils/angular/dependency.js.map +1 -1
- package/utils/angular/eol.d.ts +8 -8
- package/utils/angular/eol.js +22 -23
- package/utils/angular/eol.js.map +1 -1
- package/utils/angular/find-module.d.ts +33 -33
- package/utils/angular/find-module.js +105 -105
- package/utils/angular/find-module.js.map +1 -1
- package/utils/angular/generate-from-files.d.ts +19 -19
- package/utils/angular/generate-from-files.js +48 -49
- package/utils/angular/generate-from-files.js.map +1 -1
- package/utils/angular/index.d.ts +15 -15
- package/utils/angular/index.js +18 -31
- package/utils/angular/index.js.map +1 -1
- package/utils/angular/json-file.d.ts +24 -24
- package/utils/angular/json-file.js +71 -71
- package/utils/angular/json-file.js.map +1 -1
- package/utils/angular/latest-versions/index.d.ts +28 -28
- package/utils/angular/latest-versions/index.js +31 -31
- package/utils/angular/ng-ast-utils.d.ts +12 -12
- package/utils/angular/ng-ast-utils.js +79 -79
- package/utils/angular/ng-ast-utils.js.map +1 -1
- package/utils/angular/parse-name.d.ts +13 -13
- package/utils/angular/parse-name.js +19 -20
- package/utils/angular/parse-name.js.map +1 -1
- package/utils/angular/paths.d.ts +8 -8
- package/utils/angular/paths.js +17 -18
- package/utils/angular/paths.js.map +1 -1
- package/utils/angular/project-targets.d.ts +11 -11
- package/utils/angular/project-targets.js +21 -22
- package/utils/angular/project-targets.js.map +1 -1
- package/utils/angular/standalone/app_component.d.ts +29 -29
- package/utils/angular/standalone/app_component.js +107 -107
- package/utils/angular/standalone/app_component.js.map +1 -1
- package/utils/angular/standalone/app_config.d.ts +23 -23
- package/utils/angular/standalone/app_config.js +89 -89
- package/utils/angular/standalone/app_config.js.map +1 -1
- package/utils/angular/standalone/code_block.d.ts +53 -53
- package/utils/angular/standalone/code_block.js +80 -79
- package/utils/angular/standalone/code_block.js.map +1 -1
- package/utils/angular/standalone/index.d.ts +9 -9
- package/utils/angular/standalone/index.js +13 -13
- package/utils/angular/standalone/rules.d.ts +45 -45
- package/utils/angular/standalone/rules.js +187 -188
- package/utils/angular/standalone/rules.js.map +1 -1
- package/utils/angular/standalone/util.d.ts +35 -35
- package/utils/angular/standalone/util.js +135 -135
- package/utils/angular/standalone/util.js.map +1 -1
- package/utils/angular/test/create-app-module.d.ts +9 -9
- package/utils/angular/test/create-app-module.js +14 -15
- package/utils/angular/test/create-app-module.js.map +1 -1
- package/utils/angular/test/get-file-content.d.ts +9 -9
- package/utils/angular/test/get-file-content.js +17 -18
- package/utils/angular/test/get-file-content.js.map +1 -1
- package/utils/angular/test/index.d.ts +9 -9
- package/utils/angular/test/index.js +12 -25
- package/utils/angular/test/index.js.map +1 -1
- package/utils/angular/validation.d.ts +10 -10
- package/utils/angular/validation.js +28 -28
- package/utils/angular/validation.js.map +1 -1
- package/utils/angular/workspace-models.d.ts +167 -167
- package/utils/angular/workspace-models.js +43 -43
- package/utils/angular/workspace-models.js.map +1 -1
- package/utils/angular/workspace.d.ts +65 -65
- package/utils/angular/workspace.js +135 -135
- package/utils/angular/workspace.js.map +1 -1
- package/utils/angular-schematic/generate-lib.d.ts +3 -3
- package/utils/angular-schematic/generate-lib.js +52 -53
- package/utils/angular-schematic/generate-lib.js.map +1 -1
- package/utils/angular-schematic/index.d.ts +1 -1
- package/utils/angular-schematic/index.js +4 -17
- package/utils/angular-schematic/index.js.map +1 -1
- package/utils/api.d.ts +2 -2
- package/utils/api.js +7 -8
- package/utils/api.js.map +1 -1
- package/utils/ast.d.ts +5 -5
- package/utils/ast.js +28 -28
- package/utils/ast.js.map +1 -1
- package/utils/barrel.d.ts +4 -4
- package/utils/barrel.js +86 -87
- package/utils/barrel.js.map +1 -1
- package/utils/common.d.ts +11 -11
- package/utils/common.js +78 -78
- package/utils/common.js.map +1 -1
- package/utils/enum.d.ts +18 -18
- package/utils/enum.js +39 -40
- package/utils/enum.js.map +1 -1
- package/utils/file.d.ts +2 -2
- package/utils/file.js +8 -9
- package/utils/file.js.map +1 -1
- package/utils/generics.d.ts +26 -26
- package/utils/generics.js +89 -89
- package/utils/generics.js.map +1 -1
- package/utils/import.d.ts +3 -3
- package/utils/import.js +10 -11
- package/utils/import.js.map +1 -1
- package/utils/index.d.ts +22 -22
- package/utils/index.js +25 -38
- package/utils/index.js.map +1 -1
- package/utils/methods.d.ts +4 -4
- package/utils/methods.js +31 -31
- package/utils/methods.js.map +1 -1
- package/utils/model.d.ts +14 -14
- package/utils/model.js +217 -211
- package/utils/model.js.map +1 -1
- package/utils/namespace.d.ts +1 -1
- package/utils/namespace.js +17 -18
- package/utils/namespace.js.map +1 -1
- package/utils/ng-module.d.ts +46 -46
- package/utils/ng-module.js +126 -125
- package/utils/ng-module.js.map +1 -1
- package/utils/path.d.ts +2 -2
- package/utils/path.js +35 -36
- package/utils/path.js.map +1 -1
- package/utils/rule.d.ts +4 -4
- package/utils/rule.js +32 -33
- package/utils/rule.js.map +1 -1
- package/utils/service.d.ts +8 -8
- package/utils/service.js +280 -171
- package/utils/service.js.map +1 -1
- package/utils/source.d.ts +13 -13
- package/utils/source.js +165 -165
- package/utils/source.js.map +1 -1
- package/utils/standalone.d.ts +59 -59
- package/utils/standalone.js +146 -145
- package/utils/standalone.js.map +1 -1
- package/utils/text.d.ts +10 -10
- package/utils/text.js +59 -59
- package/utils/text.js.map +1 -1
- package/utils/tree.d.ts +14 -14
- package/utils/tree.js +83 -83
- package/utils/tree.js.map +1 -1
- package/utils/type.d.ts +13 -13
- package/utils/type.js +112 -113
- package/utils/type.js.map +1 -1
- package/utils/workspace.d.ts +20 -20
- package/utils/workspace.js +113 -114
- package/utils/workspace.js.map +1 -1
|
@@ -1,167 +1,167 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
7
|
-
*/
|
|
8
|
-
export declare enum ProjectType {
|
|
9
|
-
Application = "application",
|
|
10
|
-
Library = "library"
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* An enum of the official Angular builders.
|
|
14
|
-
* Each enum value provides the fully qualified name of the associated builder.
|
|
15
|
-
* This enum can be used when analyzing the `builder` fields of project configurations from the
|
|
16
|
-
* `angular.json` workspace file.
|
|
17
|
-
*/
|
|
18
|
-
export declare enum Builders {
|
|
19
|
-
Application = "@angular-devkit/build-angular:application",
|
|
20
|
-
AppShell = "@angular-devkit/build-angular:app-shell",
|
|
21
|
-
Server = "@angular-devkit/build-angular:server",
|
|
22
|
-
Browser = "@angular-devkit/build-angular:browser",
|
|
23
|
-
SsrDevServer = "@angular-devkit/build-angular:ssr-dev-server",
|
|
24
|
-
Prerender = "@angular-devkit/build-angular:prerender",
|
|
25
|
-
BrowserEsbuild = "@angular-devkit/build-angular:browser-esbuild",
|
|
26
|
-
Karma = "@angular-devkit/build-angular:karma",
|
|
27
|
-
BuildKarma = "@angular/build:karma",
|
|
28
|
-
TsLint = "@angular-devkit/build-angular:tslint",
|
|
29
|
-
NgPackagr = "@angular-devkit/build-angular:ng-packagr",
|
|
30
|
-
BuildNgPackagr = "@angular/build:ng-packagr",
|
|
31
|
-
DevServer = "@angular-devkit/build-angular:dev-server",
|
|
32
|
-
BuildDevServer = "@angular/build:dev-server",
|
|
33
|
-
ExtractI18n = "@angular-devkit/build-angular:extract-i18n",
|
|
34
|
-
BuildExtractI18n = "@angular/build:extract-i18n",
|
|
35
|
-
Protractor = "@angular-devkit/build-angular:private-protractor",
|
|
36
|
-
BuildApplication = "@angular/build:application",
|
|
37
|
-
UnitTest = "@angular/build:unit-test"
|
|
38
|
-
}
|
|
39
|
-
export interface FileReplacements {
|
|
40
|
-
replace: string;
|
|
41
|
-
with: string;
|
|
42
|
-
}
|
|
43
|
-
export interface BrowserBuilderBaseOptions {
|
|
44
|
-
main: string;
|
|
45
|
-
tsConfig: string;
|
|
46
|
-
fileReplacements?: FileReplacements[];
|
|
47
|
-
outputPath?: string;
|
|
48
|
-
index?: string;
|
|
49
|
-
polyfills: string;
|
|
50
|
-
assets?: (object | string)[];
|
|
51
|
-
styles?: (object | string)[];
|
|
52
|
-
scripts?: (object | string)[];
|
|
53
|
-
sourceMap?: boolean;
|
|
54
|
-
}
|
|
55
|
-
export
|
|
56
|
-
export interface BrowserBuilderOptions extends BrowserBuilderBaseOptions {
|
|
57
|
-
serviceWorker?: boolean;
|
|
58
|
-
optimization?: boolean;
|
|
59
|
-
outputHashing?: OutputHashing;
|
|
60
|
-
resourcesOutputPath?: string;
|
|
61
|
-
namedChunks?: boolean;
|
|
62
|
-
aot?: boolean;
|
|
63
|
-
extractLicenses?: boolean;
|
|
64
|
-
vendorChunk?: boolean;
|
|
65
|
-
buildOptimizer?: boolean;
|
|
66
|
-
ngswConfigPath?: string;
|
|
67
|
-
budgets?: {
|
|
68
|
-
type: string;
|
|
69
|
-
maximumWarning?: string;
|
|
70
|
-
maximumError?: string;
|
|
71
|
-
}[];
|
|
72
|
-
webWorkerTsConfig?: string;
|
|
73
|
-
}
|
|
74
|
-
export interface ServeBuilderOptions {
|
|
75
|
-
buildTarget: string;
|
|
76
|
-
}
|
|
77
|
-
export interface LibraryBuilderOptions {
|
|
78
|
-
tsConfig: string;
|
|
79
|
-
project: string;
|
|
80
|
-
}
|
|
81
|
-
export interface ServerBuilderOptions {
|
|
82
|
-
outputPath: string;
|
|
83
|
-
tsConfig: string;
|
|
84
|
-
main: string;
|
|
85
|
-
fileReplacements?: FileReplacements[];
|
|
86
|
-
optimization?: boolean | {
|
|
87
|
-
scripts?: boolean;
|
|
88
|
-
styles?: boolean;
|
|
89
|
-
};
|
|
90
|
-
sourceMap?: boolean | {
|
|
91
|
-
scripts?: boolean;
|
|
92
|
-
styles?: boolean;
|
|
93
|
-
hidden?: boolean;
|
|
94
|
-
vendor?: boolean;
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
export interface AppShellBuilderOptions {
|
|
98
|
-
browserTarget: string;
|
|
99
|
-
serverTarget: string;
|
|
100
|
-
route: string;
|
|
101
|
-
}
|
|
102
|
-
export interface TestBuilderOptions extends Partial<BrowserBuilderBaseOptions> {
|
|
103
|
-
karmaConfig: string;
|
|
104
|
-
}
|
|
105
|
-
export interface ExtractI18nOptions {
|
|
106
|
-
browserTarget: string;
|
|
107
|
-
}
|
|
108
|
-
export interface E2EOptions {
|
|
109
|
-
protractorConfig: string;
|
|
110
|
-
devServerTarget: string;
|
|
111
|
-
}
|
|
112
|
-
export interface BuilderTarget<TBuilder extends Builders, TOptions> {
|
|
113
|
-
builder: TBuilder;
|
|
114
|
-
options: TOptions;
|
|
115
|
-
configurations?: {
|
|
116
|
-
production: Partial<TOptions>;
|
|
117
|
-
[key: string]: Partial<TOptions>;
|
|
118
|
-
};
|
|
119
|
-
}
|
|
120
|
-
export
|
|
121
|
-
export
|
|
122
|
-
export
|
|
123
|
-
export
|
|
124
|
-
export
|
|
125
|
-
export
|
|
126
|
-
export
|
|
127
|
-
export
|
|
128
|
-
interface WorkspaceCLISchema {
|
|
129
|
-
warnings?: Record<string, boolean>;
|
|
130
|
-
schematicCollections?: string[];
|
|
131
|
-
}
|
|
132
|
-
export interface WorkspaceSchema {
|
|
133
|
-
version: 1;
|
|
134
|
-
cli?: WorkspaceCLISchema;
|
|
135
|
-
projects: {
|
|
136
|
-
[key: string]: WorkspaceProject<ProjectType.Application | ProjectType.Library>;
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
export interface WorkspaceProject<TProjectType extends ProjectType = ProjectType.Application> {
|
|
140
|
-
/**
|
|
141
|
-
* Project type.
|
|
142
|
-
*/
|
|
143
|
-
projectType: ProjectType;
|
|
144
|
-
root: string;
|
|
145
|
-
sourceRoot: string;
|
|
146
|
-
prefix: string;
|
|
147
|
-
cli?: WorkspaceCLISchema;
|
|
148
|
-
/**
|
|
149
|
-
* Tool options.
|
|
150
|
-
*/
|
|
151
|
-
architect?: WorkspaceTargets<TProjectType>;
|
|
152
|
-
/**
|
|
153
|
-
* Tool options.
|
|
154
|
-
*/
|
|
155
|
-
targets?: WorkspaceTargets<TProjectType>;
|
|
156
|
-
}
|
|
157
|
-
export interface WorkspaceTargets<TProjectType extends ProjectType = ProjectType.Application> {
|
|
158
|
-
build?: TProjectType extends ProjectType.Library ? LibraryBuilderTarget : BrowserBuilderTarget;
|
|
159
|
-
server?: ServerBuilderTarget;
|
|
160
|
-
test?: TestBuilderTarget;
|
|
161
|
-
serve?: ServeBuilderTarget;
|
|
162
|
-
e2e?: E2EBuilderTarget;
|
|
163
|
-
'app-shell'?: AppShellBuilderTarget;
|
|
164
|
-
'extract-i18n'?: ExtractI18nBuilderTarget;
|
|
165
|
-
[key: string]: any;
|
|
166
|
-
}
|
|
167
|
-
export {};
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Google LLC All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
|
+
*/
|
|
8
|
+
export declare enum ProjectType {
|
|
9
|
+
Application = "application",
|
|
10
|
+
Library = "library"
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* An enum of the official Angular builders.
|
|
14
|
+
* Each enum value provides the fully qualified name of the associated builder.
|
|
15
|
+
* This enum can be used when analyzing the `builder` fields of project configurations from the
|
|
16
|
+
* `angular.json` workspace file.
|
|
17
|
+
*/
|
|
18
|
+
export declare enum Builders {
|
|
19
|
+
Application = "@angular-devkit/build-angular:application",
|
|
20
|
+
AppShell = "@angular-devkit/build-angular:app-shell",
|
|
21
|
+
Server = "@angular-devkit/build-angular:server",
|
|
22
|
+
Browser = "@angular-devkit/build-angular:browser",
|
|
23
|
+
SsrDevServer = "@angular-devkit/build-angular:ssr-dev-server",
|
|
24
|
+
Prerender = "@angular-devkit/build-angular:prerender",
|
|
25
|
+
BrowserEsbuild = "@angular-devkit/build-angular:browser-esbuild",
|
|
26
|
+
Karma = "@angular-devkit/build-angular:karma",
|
|
27
|
+
BuildKarma = "@angular/build:karma",
|
|
28
|
+
TsLint = "@angular-devkit/build-angular:tslint",
|
|
29
|
+
NgPackagr = "@angular-devkit/build-angular:ng-packagr",
|
|
30
|
+
BuildNgPackagr = "@angular/build:ng-packagr",
|
|
31
|
+
DevServer = "@angular-devkit/build-angular:dev-server",
|
|
32
|
+
BuildDevServer = "@angular/build:dev-server",
|
|
33
|
+
ExtractI18n = "@angular-devkit/build-angular:extract-i18n",
|
|
34
|
+
BuildExtractI18n = "@angular/build:extract-i18n",
|
|
35
|
+
Protractor = "@angular-devkit/build-angular:private-protractor",
|
|
36
|
+
BuildApplication = "@angular/build:application",
|
|
37
|
+
UnitTest = "@angular/build:unit-test"
|
|
38
|
+
}
|
|
39
|
+
export interface FileReplacements {
|
|
40
|
+
replace: string;
|
|
41
|
+
with: string;
|
|
42
|
+
}
|
|
43
|
+
export interface BrowserBuilderBaseOptions {
|
|
44
|
+
main: string;
|
|
45
|
+
tsConfig: string;
|
|
46
|
+
fileReplacements?: FileReplacements[];
|
|
47
|
+
outputPath?: string;
|
|
48
|
+
index?: string;
|
|
49
|
+
polyfills: string;
|
|
50
|
+
assets?: (object | string)[];
|
|
51
|
+
styles?: (object | string)[];
|
|
52
|
+
scripts?: (object | string)[];
|
|
53
|
+
sourceMap?: boolean;
|
|
54
|
+
}
|
|
55
|
+
export type OutputHashing = 'all' | 'media' | 'none' | 'bundles';
|
|
56
|
+
export interface BrowserBuilderOptions extends BrowserBuilderBaseOptions {
|
|
57
|
+
serviceWorker?: boolean;
|
|
58
|
+
optimization?: boolean;
|
|
59
|
+
outputHashing?: OutputHashing;
|
|
60
|
+
resourcesOutputPath?: string;
|
|
61
|
+
namedChunks?: boolean;
|
|
62
|
+
aot?: boolean;
|
|
63
|
+
extractLicenses?: boolean;
|
|
64
|
+
vendorChunk?: boolean;
|
|
65
|
+
buildOptimizer?: boolean;
|
|
66
|
+
ngswConfigPath?: string;
|
|
67
|
+
budgets?: {
|
|
68
|
+
type: string;
|
|
69
|
+
maximumWarning?: string;
|
|
70
|
+
maximumError?: string;
|
|
71
|
+
}[];
|
|
72
|
+
webWorkerTsConfig?: string;
|
|
73
|
+
}
|
|
74
|
+
export interface ServeBuilderOptions {
|
|
75
|
+
buildTarget: string;
|
|
76
|
+
}
|
|
77
|
+
export interface LibraryBuilderOptions {
|
|
78
|
+
tsConfig: string;
|
|
79
|
+
project: string;
|
|
80
|
+
}
|
|
81
|
+
export interface ServerBuilderOptions {
|
|
82
|
+
outputPath: string;
|
|
83
|
+
tsConfig: string;
|
|
84
|
+
main: string;
|
|
85
|
+
fileReplacements?: FileReplacements[];
|
|
86
|
+
optimization?: boolean | {
|
|
87
|
+
scripts?: boolean;
|
|
88
|
+
styles?: boolean;
|
|
89
|
+
};
|
|
90
|
+
sourceMap?: boolean | {
|
|
91
|
+
scripts?: boolean;
|
|
92
|
+
styles?: boolean;
|
|
93
|
+
hidden?: boolean;
|
|
94
|
+
vendor?: boolean;
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
export interface AppShellBuilderOptions {
|
|
98
|
+
browserTarget: string;
|
|
99
|
+
serverTarget: string;
|
|
100
|
+
route: string;
|
|
101
|
+
}
|
|
102
|
+
export interface TestBuilderOptions extends Partial<BrowserBuilderBaseOptions> {
|
|
103
|
+
karmaConfig: string;
|
|
104
|
+
}
|
|
105
|
+
export interface ExtractI18nOptions {
|
|
106
|
+
browserTarget: string;
|
|
107
|
+
}
|
|
108
|
+
export interface E2EOptions {
|
|
109
|
+
protractorConfig: string;
|
|
110
|
+
devServerTarget: string;
|
|
111
|
+
}
|
|
112
|
+
export interface BuilderTarget<TBuilder extends Builders, TOptions> {
|
|
113
|
+
builder: TBuilder;
|
|
114
|
+
options: TOptions;
|
|
115
|
+
configurations?: {
|
|
116
|
+
production: Partial<TOptions>;
|
|
117
|
+
[key: string]: Partial<TOptions>;
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
export type LibraryBuilderTarget = BuilderTarget<Builders.NgPackagr, LibraryBuilderOptions>;
|
|
121
|
+
export type BrowserBuilderTarget = BuilderTarget<Builders.Browser, BrowserBuilderOptions>;
|
|
122
|
+
export type ServerBuilderTarget = BuilderTarget<Builders.Server, ServerBuilderOptions>;
|
|
123
|
+
export type AppShellBuilderTarget = BuilderTarget<Builders.AppShell, AppShellBuilderOptions>;
|
|
124
|
+
export type TestBuilderTarget = BuilderTarget<Builders.Karma, TestBuilderOptions>;
|
|
125
|
+
export type ServeBuilderTarget = BuilderTarget<Builders.DevServer, ServeBuilderOptions>;
|
|
126
|
+
export type ExtractI18nBuilderTarget = BuilderTarget<Builders.ExtractI18n, ExtractI18nOptions>;
|
|
127
|
+
export type E2EBuilderTarget = BuilderTarget<Builders.Protractor, E2EOptions>;
|
|
128
|
+
interface WorkspaceCLISchema {
|
|
129
|
+
warnings?: Record<string, boolean>;
|
|
130
|
+
schematicCollections?: string[];
|
|
131
|
+
}
|
|
132
|
+
export interface WorkspaceSchema {
|
|
133
|
+
version: 1;
|
|
134
|
+
cli?: WorkspaceCLISchema;
|
|
135
|
+
projects: {
|
|
136
|
+
[key: string]: WorkspaceProject<ProjectType.Application | ProjectType.Library>;
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
export interface WorkspaceProject<TProjectType extends ProjectType = ProjectType.Application> {
|
|
140
|
+
/**
|
|
141
|
+
* Project type.
|
|
142
|
+
*/
|
|
143
|
+
projectType: ProjectType;
|
|
144
|
+
root: string;
|
|
145
|
+
sourceRoot: string;
|
|
146
|
+
prefix: string;
|
|
147
|
+
cli?: WorkspaceCLISchema;
|
|
148
|
+
/**
|
|
149
|
+
* Tool options.
|
|
150
|
+
*/
|
|
151
|
+
architect?: WorkspaceTargets<TProjectType>;
|
|
152
|
+
/**
|
|
153
|
+
* Tool options.
|
|
154
|
+
*/
|
|
155
|
+
targets?: WorkspaceTargets<TProjectType>;
|
|
156
|
+
}
|
|
157
|
+
export interface WorkspaceTargets<TProjectType extends ProjectType = ProjectType.Application> {
|
|
158
|
+
build?: TProjectType extends ProjectType.Library ? LibraryBuilderTarget : BrowserBuilderTarget;
|
|
159
|
+
server?: ServerBuilderTarget;
|
|
160
|
+
test?: TestBuilderTarget;
|
|
161
|
+
serve?: ServeBuilderTarget;
|
|
162
|
+
e2e?: E2EBuilderTarget;
|
|
163
|
+
'app-shell'?: AppShellBuilderTarget;
|
|
164
|
+
'extract-i18n'?: ExtractI18nBuilderTarget;
|
|
165
|
+
[key: string]: any;
|
|
166
|
+
}
|
|
167
|
+
export {};
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* @license
|
|
4
|
-
* Copyright Google LLC All Rights Reserved.
|
|
5
|
-
*
|
|
6
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.Builders = exports.ProjectType = void 0;
|
|
11
|
-
var ProjectType;
|
|
12
|
-
(function (ProjectType) {
|
|
13
|
-
ProjectType["Application"] = "application";
|
|
14
|
-
ProjectType["Library"] = "library";
|
|
15
|
-
})(ProjectType
|
|
16
|
-
/**
|
|
17
|
-
* An enum of the official Angular builders.
|
|
18
|
-
* Each enum value provides the fully qualified name of the associated builder.
|
|
19
|
-
* This enum can be used when analyzing the `builder` fields of project configurations from the
|
|
20
|
-
* `angular.json` workspace file.
|
|
21
|
-
*/
|
|
22
|
-
var Builders;
|
|
23
|
-
(function (Builders) {
|
|
24
|
-
Builders["Application"] = "@angular-devkit/build-angular:application";
|
|
25
|
-
Builders["AppShell"] = "@angular-devkit/build-angular:app-shell";
|
|
26
|
-
Builders["Server"] = "@angular-devkit/build-angular:server";
|
|
27
|
-
Builders["Browser"] = "@angular-devkit/build-angular:browser";
|
|
28
|
-
Builders["SsrDevServer"] = "@angular-devkit/build-angular:ssr-dev-server";
|
|
29
|
-
Builders["Prerender"] = "@angular-devkit/build-angular:prerender";
|
|
30
|
-
Builders["BrowserEsbuild"] = "@angular-devkit/build-angular:browser-esbuild";
|
|
31
|
-
Builders["Karma"] = "@angular-devkit/build-angular:karma";
|
|
32
|
-
Builders["BuildKarma"] = "@angular/build:karma";
|
|
33
|
-
Builders["TsLint"] = "@angular-devkit/build-angular:tslint";
|
|
34
|
-
Builders["NgPackagr"] = "@angular-devkit/build-angular:ng-packagr";
|
|
35
|
-
Builders["BuildNgPackagr"] = "@angular/build:ng-packagr";
|
|
36
|
-
Builders["DevServer"] = "@angular-devkit/build-angular:dev-server";
|
|
37
|
-
Builders["BuildDevServer"] = "@angular/build:dev-server";
|
|
38
|
-
Builders["ExtractI18n"] = "@angular-devkit/build-angular:extract-i18n";
|
|
39
|
-
Builders["BuildExtractI18n"] = "@angular/build:extract-i18n";
|
|
40
|
-
Builders["Protractor"] = "@angular-devkit/build-angular:private-protractor";
|
|
41
|
-
Builders["BuildApplication"] = "@angular/build:application";
|
|
42
|
-
Builders["UnitTest"] = "@angular/build:unit-test";
|
|
43
|
-
})(Builders
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright Google LLC All Rights Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.Builders = exports.ProjectType = void 0;
|
|
11
|
+
var ProjectType;
|
|
12
|
+
(function (ProjectType) {
|
|
13
|
+
ProjectType["Application"] = "application";
|
|
14
|
+
ProjectType["Library"] = "library";
|
|
15
|
+
})(ProjectType || (exports.ProjectType = ProjectType = {}));
|
|
16
|
+
/**
|
|
17
|
+
* An enum of the official Angular builders.
|
|
18
|
+
* Each enum value provides the fully qualified name of the associated builder.
|
|
19
|
+
* This enum can be used when analyzing the `builder` fields of project configurations from the
|
|
20
|
+
* `angular.json` workspace file.
|
|
21
|
+
*/
|
|
22
|
+
var Builders;
|
|
23
|
+
(function (Builders) {
|
|
24
|
+
Builders["Application"] = "@angular-devkit/build-angular:application";
|
|
25
|
+
Builders["AppShell"] = "@angular-devkit/build-angular:app-shell";
|
|
26
|
+
Builders["Server"] = "@angular-devkit/build-angular:server";
|
|
27
|
+
Builders["Browser"] = "@angular-devkit/build-angular:browser";
|
|
28
|
+
Builders["SsrDevServer"] = "@angular-devkit/build-angular:ssr-dev-server";
|
|
29
|
+
Builders["Prerender"] = "@angular-devkit/build-angular:prerender";
|
|
30
|
+
Builders["BrowserEsbuild"] = "@angular-devkit/build-angular:browser-esbuild";
|
|
31
|
+
Builders["Karma"] = "@angular-devkit/build-angular:karma";
|
|
32
|
+
Builders["BuildKarma"] = "@angular/build:karma";
|
|
33
|
+
Builders["TsLint"] = "@angular-devkit/build-angular:tslint";
|
|
34
|
+
Builders["NgPackagr"] = "@angular-devkit/build-angular:ng-packagr";
|
|
35
|
+
Builders["BuildNgPackagr"] = "@angular/build:ng-packagr";
|
|
36
|
+
Builders["DevServer"] = "@angular-devkit/build-angular:dev-server";
|
|
37
|
+
Builders["BuildDevServer"] = "@angular/build:dev-server";
|
|
38
|
+
Builders["ExtractI18n"] = "@angular-devkit/build-angular:extract-i18n";
|
|
39
|
+
Builders["BuildExtractI18n"] = "@angular/build:extract-i18n";
|
|
40
|
+
Builders["Protractor"] = "@angular-devkit/build-angular:private-protractor";
|
|
41
|
+
Builders["BuildApplication"] = "@angular/build:application";
|
|
42
|
+
Builders["UnitTest"] = "@angular/build:unit-test";
|
|
43
|
+
})(Builders || (exports.Builders = Builders = {}));
|
|
44
44
|
//# sourceMappingURL=workspace-models.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-models.js","sourceRoot":"","sources":["../../../../../packages/schematics/src/utils/angular/workspace-models.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,0CAA2B,CAAA;IAC3B,kCAAmB,CAAA;AACrB,CAAC,EAHW,WAAW,
|
|
1
|
+
{"version":3,"file":"workspace-models.js","sourceRoot":"","sources":["../../../../../packages/schematics/src/utils/angular/workspace-models.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,0CAA2B,CAAA;IAC3B,kCAAmB,CAAA;AACrB,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB;AAED;;;;;GAKG;AACH,IAAY,QAoBX;AApBD,WAAY,QAAQ;IAClB,qEAAyD,CAAA;IACzD,gEAAoD,CAAA;IACpD,2DAA+C,CAAA;IAC/C,6DAAiD,CAAA;IACjD,yEAA6D,CAAA;IAC7D,iEAAqD,CAAA;IACrD,4EAAgE,CAAA;IAChE,yDAA6C,CAAA;IAC7C,+CAAmC,CAAA;IACnC,2DAA+C,CAAA;IAC/C,kEAAsD,CAAA;IACtD,wDAA4C,CAAA;IAC5C,kEAAsD,CAAA;IACtD,wDAA4C,CAAA;IAC5C,sEAA0D,CAAA;IAC1D,4DAAgD,CAAA;IAChD,2EAA+D,CAAA;IAC/D,2DAA+C,CAAA;IAC/C,iDAAqC,CAAA;AACvC,CAAC,EApBW,QAAQ,wBAAR,QAAQ,QAoBnB"}
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
7
|
-
*/
|
|
8
|
-
import { json, workspaces } from '@angular-devkit/core';
|
|
9
|
-
import { Rule, Tree } from '@angular-devkit/schematics';
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
/**
|
|
14
|
-
* A {@link workspaces.WorkspaceHost} backed by a Schematics {@link Tree} instance.
|
|
15
|
-
*/
|
|
16
|
-
export declare class TreeWorkspaceHost implements workspaces.WorkspaceHost {
|
|
17
|
-
private readonly tree;
|
|
18
|
-
constructor(tree: Tree);
|
|
19
|
-
readFile(path: string): Promise<string>;
|
|
20
|
-
writeFile(path: string, data: string): Promise<void>;
|
|
21
|
-
isDirectory(path: string): Promise<boolean>;
|
|
22
|
-
isFile(path: string): Promise<boolean>;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Updates the workspace file (`angular.json`) found within the root of the schematic's tree.
|
|
26
|
-
* The workspace object model can be directly modified within the provided updater function
|
|
27
|
-
* with changes being written to the workspace file after the updater function returns.
|
|
28
|
-
* The spacing and overall layout of the file (including comments) will be maintained where
|
|
29
|
-
* possible when updating the file.
|
|
30
|
-
*
|
|
31
|
-
* @param updater An update function that can be used to modify the object model for the
|
|
32
|
-
* workspace. A {@link WorkspaceDefinition} is provided as the first argument to the function.
|
|
33
|
-
*/
|
|
34
|
-
export declare function updateWorkspace(updater: (workspace: WorkspaceDefinition) => void | Rule | PromiseLike<void | Rule>): Rule;
|
|
35
|
-
/**
|
|
36
|
-
* Reads a workspace file (`angular.json`) from the provided {@link Tree} instance.
|
|
37
|
-
*
|
|
38
|
-
* @param tree A schematics {@link Tree} instance used to access the workspace file.
|
|
39
|
-
* @param path The path where a workspace file should be found. If a file is specified, the file
|
|
40
|
-
* path will be used. If a directory is specified, the file `angular.json` will be used from
|
|
41
|
-
* within the specified directory. Defaults to `/angular.json`.
|
|
42
|
-
* @returns A {@link WorkspaceDefinition} representing the workspace found at the specified path.
|
|
43
|
-
*/
|
|
44
|
-
export declare function getWorkspace(tree: Tree, path?: string): Promise<WorkspaceDefinition>;
|
|
45
|
-
/**
|
|
46
|
-
* Writes a workspace file (`angular.json`) to the provided {@link Tree} instance.
|
|
47
|
-
* The spacing and overall layout of an exisitng file (including comments) will be maintained where
|
|
48
|
-
* possible when writing the file.
|
|
49
|
-
*
|
|
50
|
-
* @param tree A schematics {@link Tree} instance used to access the workspace file.
|
|
51
|
-
* @param workspace The {@link WorkspaceDefinition} to write.
|
|
52
|
-
* @param path The path where a workspace file should be written. If a file is specified, the file
|
|
53
|
-
* path will be used. If not provided, the definition's underlying file path stored during reading
|
|
54
|
-
* will be used.
|
|
55
|
-
*/
|
|
56
|
-
export declare function writeWorkspace(tree: Tree, workspace: WorkspaceDefinition, path?: string): Promise<void>;
|
|
57
|
-
/**
|
|
58
|
-
* Build a default project path for generating.
|
|
59
|
-
* @param project The project which will have its default path generated.
|
|
60
|
-
*/
|
|
61
|
-
export declare function buildDefaultPath(project: workspaces.ProjectDefinition): string;
|
|
62
|
-
export declare function createDefaultPath(tree: Tree, projectName: string): Promise<string>;
|
|
63
|
-
export declare function allWorkspaceTargets(workspace: workspaces.WorkspaceDefinition): Iterable<[string, workspaces.TargetDefinition, string, workspaces.ProjectDefinition]>;
|
|
64
|
-
export declare function allTargetOptions(target: workspaces.TargetDefinition, skipBaseOptions?: boolean): Iterable<[string | undefined, Record<string, json.JsonValue | undefined>]>;
|
|
65
|
-
export { getWorkspace as readWorkspace } from './workspace';
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Google LLC All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
|
+
*/
|
|
8
|
+
import { json, workspaces } from '@angular-devkit/core';
|
|
9
|
+
import { Rule, Tree } from '@angular-devkit/schematics';
|
|
10
|
+
export type WorkspaceDefinition = workspaces.WorkspaceDefinition;
|
|
11
|
+
export type ProjectDefinition = workspaces.ProjectDefinition;
|
|
12
|
+
export type TargetDefinition = workspaces.TargetDefinition;
|
|
13
|
+
/**
|
|
14
|
+
* A {@link workspaces.WorkspaceHost} backed by a Schematics {@link Tree} instance.
|
|
15
|
+
*/
|
|
16
|
+
export declare class TreeWorkspaceHost implements workspaces.WorkspaceHost {
|
|
17
|
+
private readonly tree;
|
|
18
|
+
constructor(tree: Tree);
|
|
19
|
+
readFile(path: string): Promise<string>;
|
|
20
|
+
writeFile(path: string, data: string): Promise<void>;
|
|
21
|
+
isDirectory(path: string): Promise<boolean>;
|
|
22
|
+
isFile(path: string): Promise<boolean>;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Updates the workspace file (`angular.json`) found within the root of the schematic's tree.
|
|
26
|
+
* The workspace object model can be directly modified within the provided updater function
|
|
27
|
+
* with changes being written to the workspace file after the updater function returns.
|
|
28
|
+
* The spacing and overall layout of the file (including comments) will be maintained where
|
|
29
|
+
* possible when updating the file.
|
|
30
|
+
*
|
|
31
|
+
* @param updater An update function that can be used to modify the object model for the
|
|
32
|
+
* workspace. A {@link WorkspaceDefinition} is provided as the first argument to the function.
|
|
33
|
+
*/
|
|
34
|
+
export declare function updateWorkspace(updater: (workspace: WorkspaceDefinition) => void | Rule | PromiseLike<void | Rule>): Rule;
|
|
35
|
+
/**
|
|
36
|
+
* Reads a workspace file (`angular.json`) from the provided {@link Tree} instance.
|
|
37
|
+
*
|
|
38
|
+
* @param tree A schematics {@link Tree} instance used to access the workspace file.
|
|
39
|
+
* @param path The path where a workspace file should be found. If a file is specified, the file
|
|
40
|
+
* path will be used. If a directory is specified, the file `angular.json` will be used from
|
|
41
|
+
* within the specified directory. Defaults to `/angular.json`.
|
|
42
|
+
* @returns A {@link WorkspaceDefinition} representing the workspace found at the specified path.
|
|
43
|
+
*/
|
|
44
|
+
export declare function getWorkspace(tree: Tree, path?: string): Promise<WorkspaceDefinition>;
|
|
45
|
+
/**
|
|
46
|
+
* Writes a workspace file (`angular.json`) to the provided {@link Tree} instance.
|
|
47
|
+
* The spacing and overall layout of an exisitng file (including comments) will be maintained where
|
|
48
|
+
* possible when writing the file.
|
|
49
|
+
*
|
|
50
|
+
* @param tree A schematics {@link Tree} instance used to access the workspace file.
|
|
51
|
+
* @param workspace The {@link WorkspaceDefinition} to write.
|
|
52
|
+
* @param path The path where a workspace file should be written. If a file is specified, the file
|
|
53
|
+
* path will be used. If not provided, the definition's underlying file path stored during reading
|
|
54
|
+
* will be used.
|
|
55
|
+
*/
|
|
56
|
+
export declare function writeWorkspace(tree: Tree, workspace: WorkspaceDefinition, path?: string): Promise<void>;
|
|
57
|
+
/**
|
|
58
|
+
* Build a default project path for generating.
|
|
59
|
+
* @param project The project which will have its default path generated.
|
|
60
|
+
*/
|
|
61
|
+
export declare function buildDefaultPath(project: workspaces.ProjectDefinition): string;
|
|
62
|
+
export declare function createDefaultPath(tree: Tree, projectName: string): Promise<string>;
|
|
63
|
+
export declare function allWorkspaceTargets(workspace: workspaces.WorkspaceDefinition): Iterable<[string, workspaces.TargetDefinition, string, workspaces.ProjectDefinition]>;
|
|
64
|
+
export declare function allTargetOptions(target: workspaces.TargetDefinition, skipBaseOptions?: boolean): Iterable<[string | undefined, Record<string, json.JsonValue | undefined>]>;
|
|
65
|
+
export { getWorkspace as readWorkspace } from './workspace';
|