Skip to content

Commit 1c41140

Browse files
author
Angular Builds
committed
c63b4d8 ci: disable bazel in devkit-admin build
1 parent 314867e commit 1c41140

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+505
-427
lines changed

app-shell/schema.d.ts

Lines changed: 28 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,28 @@
1-
/**
2-
* @license
3-
* Copyright Google Inc. 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.io/license
7-
*/
8-
91
export interface Schema {
2+
/**
3+
* The name of the application directory.
4+
*/
5+
appDir?: string;
6+
/**
7+
* The appId to use withServerTransition.
8+
*/
9+
appId?: string;
1010
/**
1111
* Name of related client app.
1212
*/
1313
clientProject: string;
1414
/**
15-
* Name of related universal app.
15+
* Name of the index file
1616
*/
17-
universalProject: string;
17+
index?: string;
1818
/**
19-
* Route path used to produce the app shell.
19+
* The name of the main entry-point file.
2020
*/
21-
route?: string;
21+
main?: string;
2222
/**
2323
* Name of the universal app
2424
*/
2525
name?: string;
26-
/**
27-
* The appId to use withServerTransition.
28-
*/
29-
appId?: string;
3026
/**
3127
* The output directory for build results.
3228
*/
@@ -36,36 +32,35 @@ export interface Schema {
3632
*/
3733
root?: string;
3834
/**
39-
* Name of the index file
35+
* The name of the root module class.
4036
*/
41-
index?: string;
37+
rootModuleClassName?: string;
4238
/**
43-
* The name of the main entry-point file.
39+
* The name of the root module file
4440
*/
45-
main?: string;
41+
rootModuleFileName?: string;
4642
/**
47-
* The name of the test entry-point file.
43+
* Route path used to produce the app shell.
4844
*/
49-
test?: string;
45+
route?: string;
5046
/**
51-
* The name of the TypeScript configuration file.
47+
* The path of the source directory.
5248
*/
53-
tsconfigFileName?: string;
49+
sourceDir?: string;
5450
/**
55-
* The name of the TypeScript configuration file for tests.
51+
* The name of the test entry-point file.
5652
*/
57-
testTsconfigFileName?: string;
53+
test?: string;
5854
/**
59-
* The name of the application directory.
55+
* The name of the TypeScript configuration file for tests.
6056
*/
61-
appDir?: string;
57+
testTsconfigFileName?: string;
6258
/**
63-
* The name of the root module file
59+
* The name of the TypeScript configuration file.
6460
*/
65-
rootModuleFileName?: string;
61+
tsconfigFileName?: string;
6662
/**
67-
* The name of the root module class.
63+
* Name of related universal app.
6864
*/
69-
rootModuleClassName?: string;
70-
sourceDir?: string;
65+
universalProject: string;
7166
}

app-shell/schema.js

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

application/schema.d.ts

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,4 @@
1-
/**
2-
* @license
3-
* Copyright Google Inc. 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.io/license
7-
*/
8-
91
export interface Schema {
10-
/**
11-
* The root directory of the new application.
12-
*/
13-
projectRoot?: string;
14-
/**
15-
* The name of the application.
16-
*/
17-
name: string;
182
/**
193
* EXPERIMENTAL: Specifies whether to create a new application which uses the Ivy rendering
204
* engine.
@@ -29,27 +13,43 @@ export interface Schema {
2913
*/
3014
inlineTemplate?: boolean;
3115
/**
32-
* Specifies the view encapsulation strategy.
16+
* The name of the application.
17+
*/
18+
name: string;
19+
/**
20+
* The prefix to apply to generated selectors.
21+
*/
22+
prefix?: string;
23+
/**
24+
* The root directory of the new application.
3325
*/
34-
viewEncapsulation?: ('Emulated' | 'Native' | 'None');
26+
projectRoot?: string;
3527
/**
3628
* Generates a routing module.
3729
*/
3830
routing?: boolean;
3931
/**
40-
* The prefix to apply to generated selectors.
32+
* Do not add dependencies to package.json.
4133
*/
42-
prefix?: string;
34+
skipPackageJson?: boolean;
35+
/**
36+
* Skip creating spec files.
37+
*/
38+
skipTests?: boolean;
4339
/**
4440
* The file extension to be used for style files.
4541
*/
4642
style?: string;
4743
/**
48-
* Skip creating spec files.
44+
* Specifies the view encapsulation strategy.
4945
*/
50-
skipTests?: boolean;
51-
/**
52-
* Do not add dependencies to package.json (e.g., --skipPackageJson)
53-
*/
54-
skipPackageJson?: boolean;
46+
viewEncapsulation?: ViewEncapsulation;
47+
}
48+
/**
49+
* Specifies the view encapsulation strategy.
50+
*/
51+
export declare enum ViewEncapsulation {
52+
Emulated = "Emulated",
53+
Native = "Native",
54+
None = "None"
5555
}

application/schema.js

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

application/schema.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,7 @@
6868
"description": "Do not add dependencies to package.json."
6969
}
7070
},
71-
"required": []
71+
"required": [
72+
"name"
73+
]
7274
}

class/schema.d.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
/**
2-
* @license
3-
* Copyright Google Inc. 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.io/license
7-
*/
8-
91
export interface Schema {
102
/**
113
* The name of the class.
@@ -18,7 +10,7 @@ export interface Schema {
1810
/**
1911
* The name of the project.
2012
*/
21-
project?: string;
13+
project: string;
2214
/**
2315
* Specifies if a spec file is generated.
2416
*/

class/schema.js

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

class/schema.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,8 @@
3636
"default": ""
3737
}
3838
},
39-
"required": []
39+
"required": [
40+
"name",
41+
"project"
42+
]
4043
}

component/schema.d.ts

Lines changed: 47 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,20 @@
1-
/**
2-
* @license
3-
* Copyright Google Inc. 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.io/license
7-
*/
8-
91
export interface Schema {
102
/**
11-
* The path to create the component.
3+
* Specifies the change detection strategy.
124
*/
13-
path?: string;
5+
changeDetection?: ChangeDetection;
146
/**
15-
* The name of the project.
7+
* Specifies if the component is an entry component of declaring module.
168
*/
17-
project?: string;
9+
entryComponent?: boolean;
1810
/**
19-
* The name of the component.
11+
* Specifies if declaring module exports the component.
2012
*/
21-
name: string;
13+
export?: boolean;
14+
/**
15+
* Flag to indicate if a dir is created.
16+
*/
17+
flat?: boolean;
2218
/**
2319
* Specifies if the style will be in the ts file.
2420
*/
@@ -28,51 +24,62 @@ export interface Schema {
2824
*/
2925
inlineTemplate?: boolean;
3026
/**
31-
* Specifies the view encapsulation strategy.
32-
*/
33-
viewEncapsulation?: ('Emulated' | 'Native' | 'None');
34-
/**
35-
* Specifies the change detection strategy.
27+
* Specifies whether to apply lint fixes after generating the component.
3628
*/
37-
changeDetection?: ('Default' | 'OnPush');
29+
lintFix?: boolean;
3830
/**
39-
* The prefix to apply to generated selectors.
31+
* Allows specification of the declaring module.
4032
*/
41-
prefix?: string;
33+
module?: string;
4234
/**
43-
* The file extension to be used for style files.
35+
* The name of the component.
4436
*/
45-
styleext?: string;
37+
name: string;
4638
/**
47-
* Specifies if a spec file is generated.
39+
* The path to create the component.
4840
*/
49-
spec?: boolean;
41+
path?: string;
5042
/**
51-
* Flag to indicate if a dir is created.
43+
* The prefix to apply to generated selectors.
5244
*/
53-
flat?: boolean;
45+
prefix?: string;
5446
/**
55-
* Flag to skip the module import.
47+
* The name of the project.
5648
*/
57-
skipImport?: boolean;
49+
project?: string;
5850
/**
5951
* The selector to use for the component.
6052
*/
6153
selector?: string;
6254
/**
63-
* Allows specification of the declaring module.
55+
* Flag to skip the module import.
6456
*/
65-
module?: string;
57+
skipImport?: boolean;
6658
/**
67-
* Specifies if declaring module exports the component.
59+
* Specifies if a spec file is generated.
6860
*/
69-
export?: boolean;
70-
/**
71-
* Specifies if the component is an entry component of declaring module.
72-
*/
73-
entryComponent?: boolean;
61+
spec?: boolean;
7462
/**
75-
* Specifies whether to apply lint fixes after generating the component.
63+
* The file extension to be used for style files.
7664
*/
77-
lintFix?: boolean;
65+
styleext?: string;
66+
/**
67+
* Specifies the view encapsulation strategy.
68+
*/
69+
viewEncapsulation?: ViewEncapsulation;
70+
}
71+
/**
72+
* Specifies the change detection strategy.
73+
*/
74+
export declare enum ChangeDetection {
75+
Default = "Default",
76+
OnPush = "OnPush"
77+
}
78+
/**
79+
* Specifies the view encapsulation strategy.
80+
*/
81+
export declare enum ViewEncapsulation {
82+
Emulated = "Emulated",
83+
Native = "Native",
84+
None = "None"
7885
}

0 commit comments

Comments
 (0)