@angular/cli 14.1.0-next.1 → 14.1.0-next.4

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.
@@ -23,7 +23,7 @@
23
23
  "defaultProject": {
24
24
  "type": "string",
25
25
  "description": "Default project name used in commands.",
26
- "x-deprecated": "The project to use will be determined from the current working directory."
26
+ "deprecated": true
27
27
  },
28
28
  "projects": {
29
29
  "type": "object",
@@ -46,7 +46,7 @@
46
46
  "defaultCollection": {
47
47
  "description": "The default schematics collection to use.",
48
48
  "type": "string",
49
- "x-deprecated": "Use 'schematicCollections' instead."
49
+ "deprecated": true
50
50
  },
51
51
  "schematicCollections": {
52
52
  "type": "array",
@@ -74,7 +74,8 @@
74
74
  "description": "Show a warning when the global version is newer than the local one.",
75
75
  "type": "boolean"
76
76
  }
77
- }
77
+ },
78
+ "additionalProperties": false
78
79
  },
79
80
  "analytics": {
80
81
  "type": [
@@ -96,7 +97,8 @@
96
97
  "type": "string",
97
98
  "format": "uuid"
98
99
  }
99
- }
100
+ },
101
+ "additionalProperties": false
100
102
  },
101
103
  "cache": {
102
104
  "description": "Control disk cache.",
@@ -119,7 +121,82 @@
119
121
  "description": "Cache base path.",
120
122
  "type": "string"
121
123
  }
124
+ },
125
+ "additionalProperties": false
126
+ }
127
+ },
128
+ "additionalProperties": false
129
+ },
130
+ "cliGlobalOptions": {
131
+ "type": "object",
132
+ "properties": {
133
+ "defaultCollection": {
134
+ "description": "The default schematics collection to use.",
135
+ "type": "string",
136
+ "deprecated": true
137
+ },
138
+ "schematicCollections": {
139
+ "type": "array",
140
+ "description": "The list of schematic collections to use.",
141
+ "items": {
142
+ "type": "string",
143
+ "uniqueItems": true
122
144
  }
145
+ },
146
+ "packageManager": {
147
+ "description": "Specify which package manager tool to use.",
148
+ "type": "string",
149
+ "enum": [
150
+ "npm",
151
+ "cnpm",
152
+ "yarn",
153
+ "pnpm"
154
+ ]
155
+ },
156
+ "warnings": {
157
+ "description": "Control CLI specific console warnings",
158
+ "type": "object",
159
+ "properties": {
160
+ "versionMismatch": {
161
+ "description": "Show a warning when the global version is newer than the local one.",
162
+ "type": "boolean"
163
+ }
164
+ },
165
+ "additionalProperties": false
166
+ },
167
+ "analytics": {
168
+ "type": [
169
+ "boolean",
170
+ "string"
171
+ ],
172
+ "description": "Share anonymous usage data with the Angular Team at Google."
173
+ },
174
+ "analyticsSharing": {
175
+ "type": "object",
176
+ "properties": {
177
+ "tracking": {
178
+ "description": "Analytics sharing info tracking ID.",
179
+ "type": "string",
180
+ "pattern": "^(GA|UA)?-\\d+-\\d+$"
181
+ },
182
+ "uuid": {
183
+ "description": "Analytics sharing info universally unique identifier.",
184
+ "type": "string",
185
+ "format": "uuid"
186
+ }
187
+ },
188
+ "additionalProperties": false
189
+ },
190
+ "completion": {
191
+ "type": "object",
192
+ "description": "Angular CLI completion settings.",
193
+ "properties": {
194
+ "prompted": {
195
+ "type": "boolean",
196
+ "description": "Whether the user has been prompted to add completion command prompt."
197
+ }
198
+ },
199
+ "additionalProperties": false
123
200
  }
124
201
  },
125
202
  "additionalProperties": false
@@ -186,7 +263,7 @@
186
263
  "defaultCollection": {
187
264
  "description": "The default schematics collection to use.",
188
265
  "type": "string",
189
- "x-deprecated": "Use 'schematicCollections' instead."
266
+ "deprecated": true
190
267
  },
191
268
  "schematicCollections": {
192
269
  "type": "array",
@@ -372,6 +449,7 @@
372
449
  "enum": [
373
450
  "@angular-devkit/build-angular:app-shell",
374
451
  "@angular-devkit/build-angular:browser",
452
+ "@angular-devkit/build-angular:browser-esbuild",
375
453
  "@angular-devkit/build-angular:dev-server",
376
454
  "@angular-devkit/build-angular:extract-i18n",
377
455
  "@angular-devkit/build-angular:karma",
@@ -445,6 +523,28 @@
445
523
  }
446
524
  }
447
525
  },
526
+ {
527
+ "type": "object",
528
+ "additionalProperties": false,
529
+ "properties": {
530
+ "builder": {
531
+ "const": "@angular-devkit/build-angular:browser-esbuild"
532
+ },
533
+ "defaultConfiguration": {
534
+ "type": "string",
535
+ "description": "A default named configuration to use when a target configuration is not provided."
536
+ },
537
+ "options": {
538
+ "$ref": "#/definitions/AngularDevkitBuildAngularBuildersBrowserEsbuildSchema"
539
+ },
540
+ "configurations": {
541
+ "type": "object",
542
+ "additionalProperties": {
543
+ "$ref": "#/definitions/AngularDevkitBuildAngularBuildersBrowserEsbuildSchema"
544
+ }
545
+ }
546
+ }
547
+ },
448
548
  {
449
549
  "type": "object",
450
550
  "additionalProperties": false,
@@ -585,14 +685,13 @@
585
685
  "type": "object",
586
686
  "properties": {
587
687
  "$schema": {
588
- "type": "string",
589
- "format": "uri"
688
+ "type": "string"
590
689
  },
591
690
  "version": {
592
691
  "$ref": "#/definitions/fileVersion"
593
692
  },
594
693
  "cli": {
595
- "$ref": "#/definitions/cliOptions"
694
+ "$ref": "#/definitions/cliGlobalOptions"
596
695
  },
597
696
  "schematics": {
598
697
  "$ref": "#/definitions/schematicOptions"
@@ -620,20 +719,17 @@
620
719
  "$default": {
621
720
  "$source": "argv",
622
721
  "index": 0
623
- },
624
- "x-prompt": "What name would you like to use for the application?"
722
+ }
625
723
  },
626
724
  "inlineStyle": {
627
725
  "description": "Include styles inline in the root component.ts file. Only CSS styles can be included inline. Default is false, meaning that an external styles file is created and referenced in the root component.ts file.",
628
726
  "type": "boolean",
629
- "alias": "s",
630
- "x-user-analytics": 9
727
+ "alias": "s"
631
728
  },
632
729
  "inlineTemplate": {
633
730
  "description": "Include template inline in the root component.ts file. Default is false, meaning that an external template file is created and referenced in the root component.ts file. ",
634
731
  "type": "boolean",
635
- "alias": "t",
636
- "x-user-analytics": 10
732
+ "alias": "t"
637
733
  },
638
734
  "viewEncapsulation": {
639
735
  "description": "The view encapsulation strategy to use in the new application.",
@@ -642,15 +738,12 @@
642
738
  "None",
643
739
  "ShadowDom"
644
740
  ],
645
- "type": "string",
646
- "x-user-analytics": 11
741
+ "type": "string"
647
742
  },
648
743
  "routing": {
649
744
  "type": "boolean",
650
745
  "description": "Create a routing NgModule.",
651
- "default": false,
652
- "x-prompt": "Would you like to add Angular routing?",
653
- "x-user-analytics": 17
746
+ "default": false
654
747
  },
655
748
  "prefix": {
656
749
  "type": "string",
@@ -668,37 +761,13 @@
668
761
  "scss",
669
762
  "sass",
670
763
  "less"
671
- ],
672
- "x-prompt": {
673
- "message": "Which stylesheet format would you like to use?",
674
- "type": "list",
675
- "items": [
676
- {
677
- "value": "css",
678
- "label": "CSS"
679
- },
680
- {
681
- "value": "scss",
682
- "label": "SCSS [ https://sass-lang.com/documentation/syntax#scss ]"
683
- },
684
- {
685
- "value": "sass",
686
- "label": "Sass [ https://sass-lang.com/documentation/syntax#the-indented-syntax ]"
687
- },
688
- {
689
- "value": "less",
690
- "label": "Less [ http://lesscss.org ]"
691
- }
692
- ]
693
- },
694
- "x-user-analytics": 5
764
+ ]
695
765
  },
696
766
  "skipTests": {
697
767
  "description": "Do not create \"spec.ts\" test files for the application.",
698
768
  "type": "boolean",
699
769
  "default": false,
700
- "alias": "S",
701
- "x-user-analytics": 12
770
+ "alias": "S"
702
771
  },
703
772
  "skipPackageJson": {
704
773
  "type": "boolean",
@@ -708,8 +777,7 @@
708
777
  "minimal": {
709
778
  "description": "Create a bare-bones project without any testing frameworks. (Use for learning purposes only.)",
710
779
  "type": "boolean",
711
- "default": false,
712
- "x-user-analytics": 14
780
+ "default": false
713
781
  },
714
782
  "skipInstall": {
715
783
  "description": "Skip installing dependency packages.",
@@ -719,8 +787,7 @@
719
787
  "strict": {
720
788
  "description": "Creates an application with stricter bundle budgets settings.",
721
789
  "type": "boolean",
722
- "default": true,
723
- "x-user-analytics": 7
790
+ "default": true
724
791
  }
725
792
  }
726
793
  },
@@ -736,8 +803,7 @@
736
803
  "$default": {
737
804
  "$source": "argv",
738
805
  "index": 0
739
- },
740
- "x-prompt": "What name would you like to use for the class?"
806
+ }
741
807
  },
742
808
  "path": {
743
809
  "type": "string",
@@ -758,8 +824,7 @@
758
824
  "skipTests": {
759
825
  "type": "boolean",
760
826
  "description": "Do not create \"spec.ts\" test files for the new class.",
761
- "default": false,
762
- "x-user-analytics": 12
827
+ "default": false
763
828
  },
764
829
  "type": {
765
830
  "type": "string",
@@ -795,8 +860,7 @@
795
860
  "$default": {
796
861
  "$source": "argv",
797
862
  "index": 0
798
- },
799
- "x-prompt": "What name would you like to use for the component?"
863
+ }
800
864
  },
801
865
  "displayBlock": {
802
866
  "description": "Specifies if the style will contain `:host { display: block; }`.",
@@ -808,21 +872,18 @@
808
872
  "description": "Include styles inline in the component.ts file. Only CSS styles can be included inline. By default, an external styles file is created and referenced in the component.ts file.",
809
873
  "type": "boolean",
810
874
  "default": false,
811
- "alias": "s",
812
- "x-user-analytics": 9
875
+ "alias": "s"
813
876
  },
814
877
  "inlineTemplate": {
815
878
  "description": "Include template inline in the component.ts file. By default, an external template file is created and referenced in the component.ts file.",
816
879
  "type": "boolean",
817
880
  "default": false,
818
- "alias": "t",
819
- "x-user-analytics": 10
881
+ "alias": "t"
820
882
  },
821
883
  "standalone": {
822
884
  "description": "Whether the generated component is standalone.",
823
885
  "type": "boolean",
824
- "default": false,
825
- "x-user-analytics": 15
886
+ "default": false
826
887
  },
827
888
  "viewEncapsulation": {
828
889
  "description": "The view encapsulation strategy to use in the new component.",
@@ -832,8 +893,7 @@
832
893
  "ShadowDom"
833
894
  ],
834
895
  "type": "string",
835
- "alias": "v",
836
- "x-user-analytics": 11
896
+ "alias": "v"
837
897
  },
838
898
  "changeDetection": {
839
899
  "description": "The change detection strategy to use in the new component.",
@@ -869,8 +929,7 @@
869
929
  "sass",
870
930
  "less",
871
931
  "none"
872
- ],
873
- "x-user-analytics": 5
932
+ ]
874
933
  },
875
934
  "type": {
876
935
  "type": "string",
@@ -880,8 +939,7 @@
880
939
  "skipTests": {
881
940
  "type": "boolean",
882
941
  "description": "Do not create \"spec.ts\" test files for the new component.",
883
- "default": false,
884
- "x-user-analytics": 12
942
+ "default": false
885
943
  },
886
944
  "flat": {
887
945
  "type": "boolean",
@@ -891,8 +949,7 @@
891
949
  "skipImport": {
892
950
  "type": "boolean",
893
951
  "description": "Do not import this component into the owning NgModule.",
894
- "default": false,
895
- "x-user-analytics": 18
952
+ "default": false
896
953
  },
897
954
  "selector": {
898
955
  "type": "string",
@@ -912,8 +969,7 @@
912
969
  "export": {
913
970
  "type": "boolean",
914
971
  "default": false,
915
- "description": "The declaring NgModule exports this component.",
916
- "x-user-analytics": 19
972
+ "description": "The declaring NgModule exports this component."
917
973
  }
918
974
  }
919
975
  },
@@ -929,8 +985,7 @@
929
985
  "$default": {
930
986
  "$source": "argv",
931
987
  "index": 0
932
- },
933
- "x-prompt": "What name would you like to use for the directive?"
988
+ }
934
989
  },
935
990
  "path": {
936
991
  "type": "string",
@@ -965,14 +1020,12 @@
965
1020
  "skipTests": {
966
1021
  "type": "boolean",
967
1022
  "description": "Do not create \"spec.ts\" test files for the new class.",
968
- "default": false,
969
- "x-user-analytics": 12
1023
+ "default": false
970
1024
  },
971
1025
  "skipImport": {
972
1026
  "type": "boolean",
973
1027
  "description": "Do not import this directive into the owning NgModule.",
974
- "default": false,
975
- "x-user-analytics": 18
1028
+ "default": false
976
1029
  },
977
1030
  "selector": {
978
1031
  "type": "string",
@@ -982,8 +1035,7 @@
982
1035
  "standalone": {
983
1036
  "description": "Whether the generated directive is standalone.",
984
1037
  "type": "boolean",
985
- "default": false,
986
- "x-user-analytics": 15
1038
+ "default": false
987
1039
  },
988
1040
  "flat": {
989
1041
  "type": "boolean",
@@ -998,8 +1050,7 @@
998
1050
  "export": {
999
1051
  "type": "boolean",
1000
1052
  "default": false,
1001
- "description": "The declaring NgModule exports this directive.",
1002
- "x-user-analytics": 19
1053
+ "description": "The declaring NgModule exports this directive."
1003
1054
  }
1004
1055
  }
1005
1056
  },
@@ -1015,8 +1066,7 @@
1015
1066
  "$default": {
1016
1067
  "$source": "argv",
1017
1068
  "index": 0
1018
- },
1019
- "x-prompt": "What name would you like to use for the enum?"
1069
+ }
1020
1070
  },
1021
1071
  "path": {
1022
1072
  "type": "string",
@@ -1052,14 +1102,12 @@
1052
1102
  "$default": {
1053
1103
  "$source": "argv",
1054
1104
  "index": 0
1055
- },
1056
- "x-prompt": "What name would you like to use for the guard?"
1105
+ }
1057
1106
  },
1058
1107
  "skipTests": {
1059
1108
  "type": "boolean",
1060
1109
  "description": "Do not create \"spec.ts\" test files for the new guard.",
1061
- "default": false,
1062
- "x-user-analytics": 12
1110
+ "default": false
1063
1111
  },
1064
1112
  "flat": {
1065
1113
  "type": "boolean",
@@ -1098,8 +1146,7 @@
1098
1146
  },
1099
1147
  "default": [
1100
1148
  "CanActivate"
1101
- ],
1102
- "x-prompt": "Which interfaces would you like to implement?"
1149
+ ]
1103
1150
  }
1104
1151
  }
1105
1152
  },
@@ -1115,8 +1162,7 @@
1115
1162
  "$default": {
1116
1163
  "$source": "argv",
1117
1164
  "index": 0
1118
- },
1119
- "x-prompt": "What name would you like to use for the interceptor?"
1165
+ }
1120
1166
  },
1121
1167
  "path": {
1122
1168
  "type": "string",
@@ -1142,8 +1188,7 @@
1142
1188
  "skipTests": {
1143
1189
  "type": "boolean",
1144
1190
  "description": "Do not create \"spec.ts\" test files for the new interceptor.",
1145
- "default": false,
1146
- "x-user-analytics": 12
1191
+ "default": false
1147
1192
  }
1148
1193
  }
1149
1194
  },
@@ -1159,8 +1204,7 @@
1159
1204
  "$default": {
1160
1205
  "$source": "argv",
1161
1206
  "index": 0
1162
- },
1163
- "x-prompt": "What name would you like to use for the interface?"
1207
+ }
1164
1208
  },
1165
1209
  "path": {
1166
1210
  "type": "string",
@@ -1206,8 +1250,7 @@
1206
1250
  "$default": {
1207
1251
  "$source": "argv",
1208
1252
  "index": 0
1209
- },
1210
- "x-prompt": "What name would you like to use for the library?"
1253
+ }
1211
1254
  },
1212
1255
  "entryFile": {
1213
1256
  "type": "string",
@@ -1251,8 +1294,7 @@
1251
1294
  "$default": {
1252
1295
  "$source": "argv",
1253
1296
  "index": 0
1254
- },
1255
- "x-prompt": "What name would you like to use for the pipe?"
1297
+ }
1256
1298
  },
1257
1299
  "path": {
1258
1300
  "type": "string",
@@ -1278,20 +1320,17 @@
1278
1320
  "skipTests": {
1279
1321
  "type": "boolean",
1280
1322
  "description": "Do not create \"spec.ts\" test files for the new pipe.",
1281
- "default": false,
1282
- "x-user-analytics": 12
1323
+ "default": false
1283
1324
  },
1284
1325
  "skipImport": {
1285
1326
  "type": "boolean",
1286
1327
  "default": false,
1287
- "description": "Do not import this pipe into the owning NgModule.",
1288
- "x-user-analytics": 18
1328
+ "description": "Do not import this pipe into the owning NgModule."
1289
1329
  },
1290
1330
  "standalone": {
1291
1331
  "description": "Whether the generated pipe is standalone.",
1292
1332
  "type": "boolean",
1293
- "default": false,
1294
- "x-user-analytics": 15
1333
+ "default": false
1295
1334
  },
1296
1335
  "module": {
1297
1336
  "type": "string",
@@ -1301,8 +1340,7 @@
1301
1340
  "export": {
1302
1341
  "type": "boolean",
1303
1342
  "default": false,
1304
- "description": "The declaring NgModule exports this pipe.",
1305
- "x-user-analytics": 19
1343
+ "description": "The declaring NgModule exports this pipe."
1306
1344
  }
1307
1345
  }
1308
1346
  },
@@ -1322,8 +1360,7 @@
1322
1360
  "$default": {
1323
1361
  "$source": "argv",
1324
1362
  "index": 0
1325
- },
1326
- "x-prompt": "What name would you like to use for the new workspace and initial project?"
1363
+ }
1327
1364
  },
1328
1365
  "skipInstall": {
1329
1366
  "description": "Do not install dependency packages.",
@@ -1374,14 +1411,12 @@
1374
1411
  "inlineStyle": {
1375
1412
  "description": "Include styles inline in the component TS file. By default, an external styles file is created and referenced in the component TypeScript file.",
1376
1413
  "type": "boolean",
1377
- "alias": "s",
1378
- "x-user-analytics": 9
1414
+ "alias": "s"
1379
1415
  },
1380
1416
  "inlineTemplate": {
1381
1417
  "description": "Include template inline in the component TS file. By default, an external template file is created and referenced in the component TypeScript file.",
1382
1418
  "type": "boolean",
1383
- "alias": "t",
1384
- "x-user-analytics": 10
1419
+ "alias": "t"
1385
1420
  },
1386
1421
  "viewEncapsulation": {
1387
1422
  "description": "The view encapsulation strategy to use in the initial project.",
@@ -1390,8 +1425,7 @@
1390
1425
  "None",
1391
1426
  "ShadowDom"
1392
1427
  ],
1393
- "type": "string",
1394
- "x-user-analytics": 11
1428
+ "type": "string"
1395
1429
  },
1396
1430
  "version": {
1397
1431
  "type": "string",
@@ -1403,8 +1437,7 @@
1403
1437
  },
1404
1438
  "routing": {
1405
1439
  "type": "boolean",
1406
- "description": "Generate a routing module for the initial project.",
1407
- "x-user-analytics": 17
1440
+ "description": "Generate a routing module for the initial project."
1408
1441
  },
1409
1442
  "prefix": {
1410
1443
  "type": "string",
@@ -1422,15 +1455,13 @@
1422
1455
  "scss",
1423
1456
  "sass",
1424
1457
  "less"
1425
- ],
1426
- "x-user-analytics": 5
1458
+ ]
1427
1459
  },
1428
1460
  "skipTests": {
1429
1461
  "description": "Do not generate \"spec.ts\" test files for the new project.",
1430
1462
  "type": "boolean",
1431
1463
  "default": false,
1432
- "alias": "S",
1433
- "x-user-analytics": 12
1464
+ "alias": "S"
1434
1465
  },
1435
1466
  "createApplication": {
1436
1467
  "description": "Create a new initial application project in the 'src' folder of the new workspace. When false, creates an empty workspace with no initial application. You can then use the generate application command so that all applications are created in the projects folder.",
@@ -1440,14 +1471,12 @@
1440
1471
  "minimal": {
1441
1472
  "description": "Create a workspace without any testing frameworks. (Use for learning purposes only.)",
1442
1473
  "type": "boolean",
1443
- "default": false,
1444
- "x-user-analytics": 14
1474
+ "default": false
1445
1475
  },
1446
1476
  "strict": {
1447
1477
  "description": "Creates a workspace with stricter type checking and stricter bundle budgets settings. This setting helps improve maintainability and catch bugs ahead of time. For more information, see https://angular.io/guide/strict-mode",
1448
1478
  "type": "boolean",
1449
- "default": true,
1450
- "x-user-analytics": 7
1479
+ "default": true
1451
1480
  },
1452
1481
  "packageManager": {
1453
1482
  "description": "The package manager used to install dependencies.",
@@ -1473,14 +1502,12 @@
1473
1502
  "$default": {
1474
1503
  "$source": "argv",
1475
1504
  "index": 0
1476
- },
1477
- "x-prompt": "What name would you like to use for the resolver?"
1505
+ }
1478
1506
  },
1479
1507
  "skipTests": {
1480
1508
  "type": "boolean",
1481
1509
  "description": "Do not create \"spec.ts\" test files for the new resolver.",
1482
- "default": false,
1483
- "x-user-analytics": 12
1510
+ "default": false
1484
1511
  },
1485
1512
  "flat": {
1486
1513
  "type": "boolean",
@@ -1517,8 +1544,7 @@
1517
1544
  "$default": {
1518
1545
  "$source": "argv",
1519
1546
  "index": 0
1520
- },
1521
- "x-prompt": "What name would you like to use for the service?"
1547
+ }
1522
1548
  },
1523
1549
  "path": {
1524
1550
  "type": "string",
@@ -1543,8 +1569,7 @@
1543
1569
  "skipTests": {
1544
1570
  "type": "boolean",
1545
1571
  "description": "Do not create \"spec.ts\" test files for the new service.",
1546
- "default": false,
1547
- "x-user-analytics": 12
1572
+ "default": false
1548
1573
  }
1549
1574
  }
1550
1575
  },
@@ -1576,8 +1601,7 @@
1576
1601
  "$default": {
1577
1602
  "$source": "argv",
1578
1603
  "index": 0
1579
- },
1580
- "x-prompt": "What name would you like to use for the worker?"
1604
+ }
1581
1605
  },
1582
1606
  "snippet": {
1583
1607
  "type": "boolean",
@@ -1744,7 +1768,6 @@
1744
1768
  },
1745
1769
  "optimization": {
1746
1770
  "description": "Enables optimization of the build output. Including minification of scripts and styles, tree-shaking, dead-code elimination, inlining of critical CSS and fonts inlining. For more information, see https://angular.io/guide/workspace-config#optimization-configuration.",
1747
- "x-user-analytics": 16,
1748
1771
  "default": true,
1749
1772
  "oneOf": [
1750
1773
  {
@@ -1827,7 +1850,6 @@
1827
1850
  "aot": {
1828
1851
  "type": "boolean",
1829
1852
  "description": "Build using Ahead of Time compilation.",
1830
- "x-user-analytics": 13,
1831
1853
  "default": true
1832
1854
  },
1833
1855
  "sourceMap": {
@@ -1882,7 +1904,7 @@
1882
1904
  "deployUrl": {
1883
1905
  "type": "string",
1884
1906
  "description": "URL where files will be deployed.",
1885
- "x-deprecated": "Use \"baseHref\" option, \"APP_BASE_HREF\" DI token or a combination of both instead. For more information, see https://angular.io/guide/deployment#the-deploy-url."
1907
+ "deprecated": true
1886
1908
  },
1887
1909
  "verbose": {
1888
1910
  "type": "boolean",
@@ -2176,6 +2198,567 @@
2176
2198
  }
2177
2199
  }
2178
2200
  },
2201
+ "AngularDevkitBuildAngularBuildersBrowserEsbuildSchema": {
2202
+ "title": "Esbuild browser schema for Build Facade.",
2203
+ "description": "Browser target options",
2204
+ "type": "object",
2205
+ "properties": {
2206
+ "assets": {
2207
+ "type": "array",
2208
+ "description": "List of static application assets.",
2209
+ "default": [],
2210
+ "items": {
2211
+ "$ref": "#/definitions/AngularDevkitBuildAngularBuildersBrowserEsbuildSchema/definitions/assetPattern"
2212
+ }
2213
+ },
2214
+ "main": {
2215
+ "type": "string",
2216
+ "description": "The full path for the main entry point to the app, relative to the current workspace."
2217
+ },
2218
+ "polyfills": {
2219
+ "type": "string",
2220
+ "description": "The full path for the polyfills file, relative to the current workspace."
2221
+ },
2222
+ "tsConfig": {
2223
+ "type": "string",
2224
+ "description": "The full path for the TypeScript configuration file, relative to the current workspace."
2225
+ },
2226
+ "scripts": {
2227
+ "description": "Global scripts to be included in the build.",
2228
+ "type": "array",
2229
+ "default": [],
2230
+ "items": {
2231
+ "oneOf": [
2232
+ {
2233
+ "type": "object",
2234
+ "properties": {
2235
+ "input": {
2236
+ "type": "string",
2237
+ "description": "The file to include.",
2238
+ "pattern": "\\.[cm]?jsx?$"
2239
+ },
2240
+ "bundleName": {
2241
+ "type": "string",
2242
+ "pattern": "^[\\w\\-.]*$",
2243
+ "description": "The bundle name for this extra entry point."
2244
+ },
2245
+ "inject": {
2246
+ "type": "boolean",
2247
+ "description": "If the bundle will be referenced in the HTML file.",
2248
+ "default": true
2249
+ }
2250
+ },
2251
+ "additionalProperties": false
2252
+ },
2253
+ {
2254
+ "type": "string",
2255
+ "description": "The file to include.",
2256
+ "pattern": "\\.[cm]?jsx?$"
2257
+ }
2258
+ ]
2259
+ }
2260
+ },
2261
+ "styles": {
2262
+ "description": "Global styles to be included in the build.",
2263
+ "type": "array",
2264
+ "default": [],
2265
+ "items": {
2266
+ "oneOf": [
2267
+ {
2268
+ "type": "object",
2269
+ "properties": {
2270
+ "input": {
2271
+ "type": "string",
2272
+ "description": "The file to include.",
2273
+ "pattern": "\\.(?:css|scss|sass|less|styl)$"
2274
+ },
2275
+ "bundleName": {
2276
+ "type": "string",
2277
+ "pattern": "^[\\w\\-.]*$",
2278
+ "description": "The bundle name for this extra entry point."
2279
+ },
2280
+ "inject": {
2281
+ "type": "boolean",
2282
+ "description": "If the bundle will be referenced in the HTML file.",
2283
+ "default": true
2284
+ }
2285
+ },
2286
+ "additionalProperties": false
2287
+ },
2288
+ {
2289
+ "type": "string",
2290
+ "description": "The file to include.",
2291
+ "pattern": "\\.(?:css|scss|sass|less|styl)$"
2292
+ }
2293
+ ]
2294
+ }
2295
+ },
2296
+ "inlineStyleLanguage": {
2297
+ "description": "The stylesheet language to use for the application's inline component styles.",
2298
+ "type": "string",
2299
+ "default": "css",
2300
+ "enum": [
2301
+ "css",
2302
+ "less",
2303
+ "sass",
2304
+ "scss"
2305
+ ]
2306
+ },
2307
+ "stylePreprocessorOptions": {
2308
+ "description": "Options to pass to style preprocessors.",
2309
+ "type": "object",
2310
+ "properties": {
2311
+ "includePaths": {
2312
+ "description": "Paths to include. Paths will be resolved to workspace root.",
2313
+ "type": "array",
2314
+ "items": {
2315
+ "type": "string"
2316
+ },
2317
+ "default": []
2318
+ }
2319
+ },
2320
+ "additionalProperties": false
2321
+ },
2322
+ "externalDependencies": {
2323
+ "description": "Exclude the listed external dependencies from being bundled into the bundle. Instead, the created bundle relies on these dependencies to be available during runtime.",
2324
+ "type": "array",
2325
+ "items": {
2326
+ "type": "string"
2327
+ },
2328
+ "default": []
2329
+ },
2330
+ "optimization": {
2331
+ "description": "Enables optimization of the build output. Including minification of scripts and styles, tree-shaking, dead-code elimination, inlining of critical CSS and fonts inlining. For more information, see https://angular.io/guide/workspace-config#optimization-configuration.",
2332
+ "default": true,
2333
+ "oneOf": [
2334
+ {
2335
+ "type": "object",
2336
+ "properties": {
2337
+ "scripts": {
2338
+ "type": "boolean",
2339
+ "description": "Enables optimization of the scripts output.",
2340
+ "default": true
2341
+ },
2342
+ "styles": {
2343
+ "description": "Enables optimization of the styles output.",
2344
+ "default": true,
2345
+ "oneOf": [
2346
+ {
2347
+ "type": "object",
2348
+ "properties": {
2349
+ "minify": {
2350
+ "type": "boolean",
2351
+ "description": "Minify CSS definitions by removing extraneous whitespace and comments, merging identifiers and minimizing values.",
2352
+ "default": true
2353
+ },
2354
+ "inlineCritical": {
2355
+ "type": "boolean",
2356
+ "description": "Extract and inline critical CSS definitions to improve first paint time.",
2357
+ "default": true
2358
+ }
2359
+ },
2360
+ "additionalProperties": false
2361
+ },
2362
+ {
2363
+ "type": "boolean"
2364
+ }
2365
+ ]
2366
+ },
2367
+ "fonts": {
2368
+ "description": "Enables optimization for fonts. This option requires internet access. `HTTPS_PROXY` environment variable can be used to specify a proxy server.",
2369
+ "default": true,
2370
+ "oneOf": [
2371
+ {
2372
+ "type": "object",
2373
+ "properties": {
2374
+ "inline": {
2375
+ "type": "boolean",
2376
+ "description": "Reduce render blocking requests by inlining external Google Fonts and Adobe Fonts CSS definitions in the application's HTML index file. This option requires internet access. `HTTPS_PROXY` environment variable can be used to specify a proxy server.",
2377
+ "default": true
2378
+ }
2379
+ },
2380
+ "additionalProperties": false
2381
+ },
2382
+ {
2383
+ "type": "boolean"
2384
+ }
2385
+ ]
2386
+ }
2387
+ },
2388
+ "additionalProperties": false
2389
+ },
2390
+ {
2391
+ "type": "boolean"
2392
+ }
2393
+ ]
2394
+ },
2395
+ "fileReplacements": {
2396
+ "description": "Replace compilation source files with other compilation source files in the build.",
2397
+ "type": "array",
2398
+ "items": {
2399
+ "$ref": "#/definitions/AngularDevkitBuildAngularBuildersBrowserEsbuildSchema/definitions/fileReplacement"
2400
+ },
2401
+ "default": []
2402
+ },
2403
+ "outputPath": {
2404
+ "type": "string",
2405
+ "description": "The full path for the new output directory, relative to the current workspace.\nBy default, writes output to a folder named dist/ in the current project."
2406
+ },
2407
+ "resourcesOutputPath": {
2408
+ "type": "string",
2409
+ "description": "The path where style resources will be placed, relative to outputPath."
2410
+ },
2411
+ "aot": {
2412
+ "type": "boolean",
2413
+ "description": "Build using Ahead of Time compilation.",
2414
+ "default": true
2415
+ },
2416
+ "sourceMap": {
2417
+ "description": "Output source maps for scripts and styles. For more information, see https://angular.io/guide/workspace-config#source-map-configuration.",
2418
+ "default": false,
2419
+ "oneOf": [
2420
+ {
2421
+ "type": "object",
2422
+ "properties": {
2423
+ "scripts": {
2424
+ "type": "boolean",
2425
+ "description": "Output source maps for all scripts.",
2426
+ "default": true
2427
+ },
2428
+ "styles": {
2429
+ "type": "boolean",
2430
+ "description": "Output source maps for all styles.",
2431
+ "default": true
2432
+ },
2433
+ "hidden": {
2434
+ "type": "boolean",
2435
+ "description": "Output source maps used for error reporting tools.",
2436
+ "default": false
2437
+ },
2438
+ "vendor": {
2439
+ "type": "boolean",
2440
+ "description": "Resolve vendor packages source maps.",
2441
+ "default": false
2442
+ }
2443
+ },
2444
+ "additionalProperties": false
2445
+ },
2446
+ {
2447
+ "type": "boolean"
2448
+ }
2449
+ ]
2450
+ },
2451
+ "vendorChunk": {
2452
+ "type": "boolean",
2453
+ "description": "Generate a seperate bundle containing only vendor libraries. This option should only used for development.",
2454
+ "default": false
2455
+ },
2456
+ "commonChunk": {
2457
+ "type": "boolean",
2458
+ "description": "Generate a seperate bundle containing code used across multiple bundles.",
2459
+ "default": true
2460
+ },
2461
+ "baseHref": {
2462
+ "type": "string",
2463
+ "description": "Base url for the application being built."
2464
+ },
2465
+ "deployUrl": {
2466
+ "type": "string",
2467
+ "description": "URL where files will be deployed.",
2468
+ "deprecated": true
2469
+ },
2470
+ "verbose": {
2471
+ "type": "boolean",
2472
+ "description": "Adds more details to output logging.",
2473
+ "default": false
2474
+ },
2475
+ "progress": {
2476
+ "type": "boolean",
2477
+ "description": "Log progress to the console while building.",
2478
+ "default": true
2479
+ },
2480
+ "i18nMissingTranslation": {
2481
+ "type": "string",
2482
+ "description": "How to handle missing translations for i18n.",
2483
+ "enum": [
2484
+ "warning",
2485
+ "error",
2486
+ "ignore"
2487
+ ],
2488
+ "default": "warning"
2489
+ },
2490
+ "i18nDuplicateTranslation": {
2491
+ "type": "string",
2492
+ "description": "How to handle duplicate translations for i18n.",
2493
+ "enum": [
2494
+ "warning",
2495
+ "error",
2496
+ "ignore"
2497
+ ],
2498
+ "default": "warning"
2499
+ },
2500
+ "localize": {
2501
+ "description": "Translate the bundles in one or more locales.",
2502
+ "oneOf": [
2503
+ {
2504
+ "type": "boolean",
2505
+ "description": "Translate all locales."
2506
+ },
2507
+ {
2508
+ "type": "array",
2509
+ "description": "List of locales ID's to translate.",
2510
+ "minItems": 1,
2511
+ "items": {
2512
+ "type": "string",
2513
+ "pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-[a-zA-Z]{5,8})?(-x(-[a-zA-Z0-9]{1,8})+)?$"
2514
+ }
2515
+ }
2516
+ ]
2517
+ },
2518
+ "watch": {
2519
+ "type": "boolean",
2520
+ "description": "Run build when files change.",
2521
+ "default": false
2522
+ },
2523
+ "outputHashing": {
2524
+ "type": "string",
2525
+ "description": "Define the output filename cache-busting hashing mode.",
2526
+ "default": "none",
2527
+ "enum": [
2528
+ "none",
2529
+ "all",
2530
+ "media",
2531
+ "bundles"
2532
+ ]
2533
+ },
2534
+ "poll": {
2535
+ "type": "number",
2536
+ "description": "Enable and define the file watching poll time period in milliseconds."
2537
+ },
2538
+ "deleteOutputPath": {
2539
+ "type": "boolean",
2540
+ "description": "Delete the output path before building.",
2541
+ "default": true
2542
+ },
2543
+ "preserveSymlinks": {
2544
+ "type": "boolean",
2545
+ "description": "Do not use the real path when resolving modules. If unset then will default to `true` if NodeJS option --preserve-symlinks is set."
2546
+ },
2547
+ "extractLicenses": {
2548
+ "type": "boolean",
2549
+ "description": "Extract all licenses in a separate file.",
2550
+ "default": true
2551
+ },
2552
+ "buildOptimizer": {
2553
+ "type": "boolean",
2554
+ "description": "Enables advanced build optimizations when using the 'aot' option.",
2555
+ "default": true
2556
+ },
2557
+ "namedChunks": {
2558
+ "type": "boolean",
2559
+ "description": "Use file name for lazy loaded chunks.",
2560
+ "default": false
2561
+ },
2562
+ "subresourceIntegrity": {
2563
+ "type": "boolean",
2564
+ "description": "Enables the use of subresource integrity validation.",
2565
+ "default": false
2566
+ },
2567
+ "serviceWorker": {
2568
+ "type": "boolean",
2569
+ "description": "Generates a service worker config for production builds.",
2570
+ "default": false
2571
+ },
2572
+ "ngswConfigPath": {
2573
+ "type": "string",
2574
+ "description": "Path to ngsw-config.json."
2575
+ },
2576
+ "index": {
2577
+ "description": "Configures the generation of the application's HTML index.",
2578
+ "oneOf": [
2579
+ {
2580
+ "type": "string",
2581
+ "description": "The path of a file to use for the application's HTML index. The filename of the specified path will be used for the generated file and will be created in the root of the application's configured output path."
2582
+ },
2583
+ {
2584
+ "type": "object",
2585
+ "description": "",
2586
+ "properties": {
2587
+ "input": {
2588
+ "type": "string",
2589
+ "minLength": 1,
2590
+ "description": "The path of a file to use for the application's generated HTML index."
2591
+ },
2592
+ "output": {
2593
+ "type": "string",
2594
+ "minLength": 1,
2595
+ "default": "index.html",
2596
+ "description": "The output path of the application's generated HTML index file. The full provided path will be used and will be considered relative to the application's configured output path."
2597
+ }
2598
+ }
2599
+ }
2600
+ ]
2601
+ },
2602
+ "statsJson": {
2603
+ "type": "boolean",
2604
+ "description": "Generates a 'stats.json' file which can be analyzed using tools such as 'webpack-bundle-analyzer'.",
2605
+ "default": false
2606
+ },
2607
+ "budgets": {
2608
+ "description": "Budget thresholds to ensure parts of your application stay within boundaries which you set.",
2609
+ "type": "array",
2610
+ "items": {
2611
+ "$ref": "#/definitions/AngularDevkitBuildAngularBuildersBrowserEsbuildSchema/definitions/budget"
2612
+ },
2613
+ "default": []
2614
+ },
2615
+ "webWorkerTsConfig": {
2616
+ "type": "string",
2617
+ "description": "TypeScript configuration for Web Worker modules."
2618
+ },
2619
+ "crossOrigin": {
2620
+ "type": "string",
2621
+ "description": "Define the crossorigin attribute setting of elements that provide CORS support.",
2622
+ "default": "none",
2623
+ "enum": [
2624
+ "none",
2625
+ "anonymous",
2626
+ "use-credentials"
2627
+ ]
2628
+ },
2629
+ "allowedCommonJsDependencies": {
2630
+ "description": "A list of CommonJS packages that are allowed to be used without a build time warning.",
2631
+ "type": "array",
2632
+ "items": {
2633
+ "type": "string"
2634
+ },
2635
+ "default": []
2636
+ }
2637
+ },
2638
+ "additionalProperties": false,
2639
+ "definitions": {
2640
+ "assetPattern": {
2641
+ "oneOf": [
2642
+ {
2643
+ "type": "object",
2644
+ "properties": {
2645
+ "followSymlinks": {
2646
+ "type": "boolean",
2647
+ "default": false,
2648
+ "description": "Allow glob patterns to follow symlink directories. This allows subdirectories of the symlink to be searched."
2649
+ },
2650
+ "glob": {
2651
+ "type": "string",
2652
+ "description": "The pattern to match."
2653
+ },
2654
+ "input": {
2655
+ "type": "string",
2656
+ "description": "The input directory path in which to apply 'glob'. Defaults to the project root."
2657
+ },
2658
+ "ignore": {
2659
+ "description": "An array of globs to ignore.",
2660
+ "type": "array",
2661
+ "items": {
2662
+ "type": "string"
2663
+ }
2664
+ },
2665
+ "output": {
2666
+ "type": "string",
2667
+ "description": "Absolute path within the output."
2668
+ }
2669
+ },
2670
+ "additionalProperties": false
2671
+ },
2672
+ {
2673
+ "type": "string"
2674
+ }
2675
+ ]
2676
+ },
2677
+ "fileReplacement": {
2678
+ "oneOf": [
2679
+ {
2680
+ "type": "object",
2681
+ "properties": {
2682
+ "src": {
2683
+ "type": "string",
2684
+ "pattern": "\\.(([cm]?j|t)sx?|json)$"
2685
+ },
2686
+ "replaceWith": {
2687
+ "type": "string",
2688
+ "pattern": "\\.(([cm]?j|t)sx?|json)$"
2689
+ }
2690
+ },
2691
+ "additionalProperties": false
2692
+ },
2693
+ {
2694
+ "type": "object",
2695
+ "properties": {
2696
+ "replace": {
2697
+ "type": "string",
2698
+ "pattern": "\\.(([cm]?j|t)sx?|json)$"
2699
+ },
2700
+ "with": {
2701
+ "type": "string",
2702
+ "pattern": "\\.(([cm]?j|t)sx?|json)$"
2703
+ }
2704
+ },
2705
+ "additionalProperties": false
2706
+ }
2707
+ ]
2708
+ },
2709
+ "budget": {
2710
+ "type": "object",
2711
+ "properties": {
2712
+ "type": {
2713
+ "type": "string",
2714
+ "description": "The type of budget.",
2715
+ "enum": [
2716
+ "all",
2717
+ "allScript",
2718
+ "any",
2719
+ "anyScript",
2720
+ "anyComponentStyle",
2721
+ "bundle",
2722
+ "initial"
2723
+ ]
2724
+ },
2725
+ "name": {
2726
+ "type": "string",
2727
+ "description": "The name of the bundle."
2728
+ },
2729
+ "baseline": {
2730
+ "type": "string",
2731
+ "description": "The baseline size for comparison."
2732
+ },
2733
+ "maximumWarning": {
2734
+ "type": "string",
2735
+ "description": "The maximum threshold for warning relative to the baseline."
2736
+ },
2737
+ "maximumError": {
2738
+ "type": "string",
2739
+ "description": "The maximum threshold for error relative to the baseline."
2740
+ },
2741
+ "minimumWarning": {
2742
+ "type": "string",
2743
+ "description": "The minimum threshold for warning relative to the baseline."
2744
+ },
2745
+ "minimumError": {
2746
+ "type": "string",
2747
+ "description": "The minimum threshold for error relative to the baseline."
2748
+ },
2749
+ "warning": {
2750
+ "type": "string",
2751
+ "description": "The threshold for warning relative to the baseline (min & max)."
2752
+ },
2753
+ "error": {
2754
+ "type": "string",
2755
+ "description": "The threshold for error relative to the baseline (min & max)."
2756
+ }
2757
+ },
2758
+ "additionalProperties": false
2759
+ }
2760
+ }
2761
+ },
2179
2762
  "AngularDevkitBuildAngularBuildersDevServerSchema": {
2180
2763
  "title": "Dev Server Target",
2181
2764
  "description": "Dev Server target options for Build Facade.",
@@ -2692,7 +3275,6 @@
2692
3275
  },
2693
3276
  "optimization": {
2694
3277
  "description": "Enables optimization of the build output. Including minification of scripts and styles, tree-shaking and dead-code elimination. For more information, see https://angular.io/guide/workspace-config#optimization-configuration.",
2695
- "x-user-analytics": 16,
2696
3278
  "default": true,
2697
3279
  "oneOf": [
2698
3280
  {
@@ -2770,7 +3352,7 @@
2770
3352
  "deployUrl": {
2771
3353
  "type": "string",
2772
3354
  "description": "URL where files will be deployed.",
2773
- "x-deprecated": "Use \"baseHref\" browser builder option, \"APP_BASE_HREF\" DI token or a combination of both instead. For more information, see https://angular.io/guide/deployment#the-deploy-url."
3355
+ "deprecated": true
2774
3356
  },
2775
3357
  "verbose": {
2776
3358
  "type": "boolean",