@angular/cli 20.0.0-next.7 → 20.0.0-next.9
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/lib/config/schema.json +100 -2
- package/lib/config/workspace-schema.d.ts +8 -8
- package/package.json +14 -14
- package/src/utilities/version.js +1 -1
package/lib/config/schema.json
CHANGED
|
@@ -470,6 +470,7 @@
|
|
|
470
470
|
"@angular/build:extract-i18n",
|
|
471
471
|
"@angular/build:karma",
|
|
472
472
|
"@angular/build:ng-packagr",
|
|
473
|
+
"@angular/build:unit-test",
|
|
473
474
|
"@angular-devkit/build-angular:application",
|
|
474
475
|
"@angular-devkit/build-angular:app-shell",
|
|
475
476
|
"@angular-devkit/build-angular:browser",
|
|
@@ -704,6 +705,28 @@
|
|
|
704
705
|
}
|
|
705
706
|
}
|
|
706
707
|
},
|
|
708
|
+
{
|
|
709
|
+
"type": "object",
|
|
710
|
+
"additionalProperties": false,
|
|
711
|
+
"properties": {
|
|
712
|
+
"builder": {
|
|
713
|
+
"const": "@angular/build:unit-test"
|
|
714
|
+
},
|
|
715
|
+
"defaultConfiguration": {
|
|
716
|
+
"type": "string",
|
|
717
|
+
"description": "A default named configuration to use when a target configuration is not provided."
|
|
718
|
+
},
|
|
719
|
+
"options": {
|
|
720
|
+
"$ref": "#/definitions/AngularBuildBuildersUnitTestSchema"
|
|
721
|
+
},
|
|
722
|
+
"configurations": {
|
|
723
|
+
"type": "object",
|
|
724
|
+
"additionalProperties": {
|
|
725
|
+
"$ref": "#/definitions/AngularBuildBuildersUnitTestSchema"
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
},
|
|
707
730
|
{
|
|
708
731
|
"type": "object",
|
|
709
732
|
"additionalProperties": false,
|
|
@@ -1023,7 +1046,7 @@
|
|
|
1023
1046
|
"type": "boolean",
|
|
1024
1047
|
"default": false
|
|
1025
1048
|
},
|
|
1026
|
-
"
|
|
1049
|
+
"zoneless": {
|
|
1027
1050
|
"description": "Generate an application that does not use `zone.js`.",
|
|
1028
1051
|
"type": "boolean",
|
|
1029
1052
|
"default": false
|
|
@@ -1790,7 +1813,7 @@
|
|
|
1790
1813
|
"description": "Configure the initial application for Server-Side Rendering (SSR) and Static Site Generation (SSG/Prerendering).",
|
|
1791
1814
|
"type": "boolean"
|
|
1792
1815
|
},
|
|
1793
|
-
"
|
|
1816
|
+
"zoneless": {
|
|
1794
1817
|
"description": "Create an initial application that does not utilize `zone.js`.",
|
|
1795
1818
|
"type": "boolean",
|
|
1796
1819
|
"default": false
|
|
@@ -4206,6 +4229,81 @@
|
|
|
4206
4229
|
},
|
|
4207
4230
|
"additionalProperties": false
|
|
4208
4231
|
},
|
|
4232
|
+
"AngularBuildBuildersUnitTestSchema": {
|
|
4233
|
+
"title": "Unit testing",
|
|
4234
|
+
"description": "Unit testing options for Angular applications.",
|
|
4235
|
+
"type": "object",
|
|
4236
|
+
"properties": {
|
|
4237
|
+
"buildTarget": {
|
|
4238
|
+
"type": "string",
|
|
4239
|
+
"description": "A build builder target to serve in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`.",
|
|
4240
|
+
"pattern": "^[^:\\s]*:[^:\\s]*(:[^\\s]+)?$"
|
|
4241
|
+
},
|
|
4242
|
+
"tsConfig": {
|
|
4243
|
+
"type": "string",
|
|
4244
|
+
"description": "The name of the TypeScript configuration file."
|
|
4245
|
+
},
|
|
4246
|
+
"runner": {
|
|
4247
|
+
"type": "string",
|
|
4248
|
+
"description": "The name of the test runner to use for test execution.",
|
|
4249
|
+
"enum": [
|
|
4250
|
+
"karma",
|
|
4251
|
+
"vitest"
|
|
4252
|
+
]
|
|
4253
|
+
},
|
|
4254
|
+
"browsers": {
|
|
4255
|
+
"description": "A list of browsers to use for test execution. If undefined, jsdom on Node.js will be used instead of a browser.",
|
|
4256
|
+
"type": "array",
|
|
4257
|
+
"items": {
|
|
4258
|
+
"type": "string"
|
|
4259
|
+
},
|
|
4260
|
+
"minItems": 1
|
|
4261
|
+
},
|
|
4262
|
+
"include": {
|
|
4263
|
+
"type": "array",
|
|
4264
|
+
"items": {
|
|
4265
|
+
"type": "string"
|
|
4266
|
+
},
|
|
4267
|
+
"default": [
|
|
4268
|
+
"**/*.spec.ts"
|
|
4269
|
+
],
|
|
4270
|
+
"description": "Globs of files to include, relative to project root. \nThere are 2 special cases:\n - when a path to directory is provided, all spec files ending \".spec.@(ts|tsx)\" will be included\n - when a path to a file is provided, and a matching spec file exists it will be included instead."
|
|
4271
|
+
},
|
|
4272
|
+
"exclude": {
|
|
4273
|
+
"type": "array",
|
|
4274
|
+
"items": {
|
|
4275
|
+
"type": "string"
|
|
4276
|
+
},
|
|
4277
|
+
"default": [],
|
|
4278
|
+
"description": "Globs of files to exclude, relative to the project root."
|
|
4279
|
+
},
|
|
4280
|
+
"watch": {
|
|
4281
|
+
"type": "boolean",
|
|
4282
|
+
"description": "Run build when files change."
|
|
4283
|
+
},
|
|
4284
|
+
"codeCoverage": {
|
|
4285
|
+
"type": "boolean",
|
|
4286
|
+
"description": "Output a code coverage report.",
|
|
4287
|
+
"default": false
|
|
4288
|
+
},
|
|
4289
|
+
"codeCoverageExclude": {
|
|
4290
|
+
"type": "array",
|
|
4291
|
+
"description": "Globs to exclude from code coverage.",
|
|
4292
|
+
"items": {
|
|
4293
|
+
"type": "string"
|
|
4294
|
+
},
|
|
4295
|
+
"default": []
|
|
4296
|
+
},
|
|
4297
|
+
"reporters": {
|
|
4298
|
+
"type": "array",
|
|
4299
|
+
"description": "Test runner reporters to use. Directly passed to the test runner.",
|
|
4300
|
+
"items": {
|
|
4301
|
+
"type": "string"
|
|
4302
|
+
}
|
|
4303
|
+
}
|
|
4304
|
+
},
|
|
4305
|
+
"additionalProperties": false
|
|
4306
|
+
},
|
|
4209
4307
|
"AngularBuildBuildersKarmaSchema": {
|
|
4210
4308
|
"title": "Karma Target",
|
|
4211
4309
|
"description": "Karma target options for Build Facade.",
|
|
@@ -106,10 +106,6 @@ export type SchematicOptions = {
|
|
|
106
106
|
* routing, styling, and testing.
|
|
107
107
|
*/
|
|
108
108
|
export type AngularApplicationOptionsSchema = {
|
|
109
|
-
/**
|
|
110
|
-
* Generate an application that does not use `zone.js`.
|
|
111
|
-
*/
|
|
112
|
-
experimentalZoneless?: boolean;
|
|
113
109
|
/**
|
|
114
110
|
* Include the styles for the root component directly within the `app.component.ts` file.
|
|
115
111
|
* Only CSS styles can be included inline. By default, a separate stylesheet file (e.g.,
|
|
@@ -186,6 +182,10 @@ export type AngularApplicationOptionsSchema = {
|
|
|
186
182
|
* component styles are scoped and applied.
|
|
187
183
|
*/
|
|
188
184
|
viewEncapsulation?: ViewEncapsulation;
|
|
185
|
+
/**
|
|
186
|
+
* Generate an application that does not use `zone.js`.
|
|
187
|
+
*/
|
|
188
|
+
zoneless?: boolean;
|
|
189
189
|
};
|
|
190
190
|
/**
|
|
191
191
|
* The type of stylesheet files to be created for components in the application.
|
|
@@ -688,10 +688,6 @@ export type AngularNgNewOptionsSchema = {
|
|
|
688
688
|
* the workspace will be created in the current directory.
|
|
689
689
|
*/
|
|
690
690
|
directory?: string;
|
|
691
|
-
/**
|
|
692
|
-
* Create an initial application that does not utilize `zone.js`.
|
|
693
|
-
*/
|
|
694
|
-
experimentalZoneless?: boolean;
|
|
695
691
|
/**
|
|
696
692
|
* Include the styles for the initial application's root component directly within the
|
|
697
693
|
* `app.component.ts` file. By default, a separate stylesheet file (e.g.,
|
|
@@ -778,6 +774,10 @@ export type AngularNgNewOptionsSchema = {
|
|
|
778
774
|
* encapsulated using Shadow DOM).
|
|
779
775
|
*/
|
|
780
776
|
viewEncapsulation?: ViewEncapsulation;
|
|
777
|
+
/**
|
|
778
|
+
* Create an initial application that does not utilize `zone.js`.
|
|
779
|
+
*/
|
|
780
|
+
zoneless?: boolean;
|
|
781
781
|
};
|
|
782
782
|
/**
|
|
783
783
|
* Configure the initial Git commit for the new repository.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/cli",
|
|
3
|
-
"version": "20.0.0-next.
|
|
3
|
+
"version": "20.0.0-next.9",
|
|
4
4
|
"description": "CLI tool for Angular",
|
|
5
5
|
"main": "lib/cli/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
},
|
|
26
26
|
"homepage": "https://github.com/angular/angular-cli",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@angular-devkit/architect": "0.2000.0-next.
|
|
29
|
-
"@angular-devkit/core": "20.0.0-next.
|
|
30
|
-
"@angular-devkit/schematics": "20.0.0-next.
|
|
31
|
-
"@inquirer/prompts": "7.
|
|
28
|
+
"@angular-devkit/architect": "0.2000.0-next.9",
|
|
29
|
+
"@angular-devkit/core": "20.0.0-next.9",
|
|
30
|
+
"@angular-devkit/schematics": "20.0.0-next.9",
|
|
31
|
+
"@inquirer/prompts": "7.5.0",
|
|
32
32
|
"@listr2/prompt-adapter-inquirer": "2.0.21",
|
|
33
|
-
"@schematics/angular": "20.0.0-next.
|
|
33
|
+
"@schematics/angular": "20.0.0-next.9",
|
|
34
34
|
"@yarnpkg/lockfile": "1.1.0",
|
|
35
35
|
"ini": "5.0.0",
|
|
36
36
|
"jsonc-parser": "3.3.1",
|
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
"ng-update": {
|
|
46
46
|
"migrations": "@schematics/angular/migrations/migration-collection.json",
|
|
47
47
|
"packageGroup": {
|
|
48
|
-
"@angular/cli": "20.0.0-next.
|
|
49
|
-
"@angular/build": "20.0.0-next.
|
|
50
|
-
"@angular/ssr": "20.0.0-next.
|
|
51
|
-
"@angular-devkit/architect": "0.2000.0-next.
|
|
52
|
-
"@angular-devkit/build-angular": "20.0.0-next.
|
|
53
|
-
"@angular-devkit/build-webpack": "0.2000.0-next.
|
|
54
|
-
"@angular-devkit/core": "20.0.0-next.
|
|
55
|
-
"@angular-devkit/schematics": "20.0.0-next.
|
|
48
|
+
"@angular/cli": "20.0.0-next.9",
|
|
49
|
+
"@angular/build": "20.0.0-next.9",
|
|
50
|
+
"@angular/ssr": "20.0.0-next.9",
|
|
51
|
+
"@angular-devkit/architect": "0.2000.0-next.9",
|
|
52
|
+
"@angular-devkit/build-angular": "20.0.0-next.9",
|
|
53
|
+
"@angular-devkit/build-webpack": "0.2000.0-next.9",
|
|
54
|
+
"@angular-devkit/core": "20.0.0-next.9",
|
|
55
|
+
"@angular-devkit/schematics": "20.0.0-next.9"
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
"packageManager": "pnpm@9.15.6",
|
package/src/utilities/version.js
CHANGED