@angular/cli 20.0.0-next.7 → 20.0.0-next.8
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 +89 -0
- package/package.json +13 -13
- 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,
|
|
@@ -4206,6 +4229,72 @@
|
|
|
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
|
+
"vitest"
|
|
4251
|
+
]
|
|
4252
|
+
},
|
|
4253
|
+
"include": {
|
|
4254
|
+
"type": "array",
|
|
4255
|
+
"items": {
|
|
4256
|
+
"type": "string"
|
|
4257
|
+
},
|
|
4258
|
+
"default": [
|
|
4259
|
+
"**/*.spec.ts"
|
|
4260
|
+
],
|
|
4261
|
+
"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."
|
|
4262
|
+
},
|
|
4263
|
+
"exclude": {
|
|
4264
|
+
"type": "array",
|
|
4265
|
+
"items": {
|
|
4266
|
+
"type": "string"
|
|
4267
|
+
},
|
|
4268
|
+
"default": [],
|
|
4269
|
+
"description": "Globs of files to exclude, relative to the project root."
|
|
4270
|
+
},
|
|
4271
|
+
"watch": {
|
|
4272
|
+
"type": "boolean",
|
|
4273
|
+
"description": "Run build when files change."
|
|
4274
|
+
},
|
|
4275
|
+
"codeCoverage": {
|
|
4276
|
+
"type": "boolean",
|
|
4277
|
+
"description": "Output a code coverage report.",
|
|
4278
|
+
"default": false
|
|
4279
|
+
},
|
|
4280
|
+
"codeCoverageExclude": {
|
|
4281
|
+
"type": "array",
|
|
4282
|
+
"description": "Globs to exclude from code coverage.",
|
|
4283
|
+
"items": {
|
|
4284
|
+
"type": "string"
|
|
4285
|
+
},
|
|
4286
|
+
"default": []
|
|
4287
|
+
},
|
|
4288
|
+
"reporters": {
|
|
4289
|
+
"type": "array",
|
|
4290
|
+
"description": "Test runner reporters to use. Directly passed to the test runner.",
|
|
4291
|
+
"items": {
|
|
4292
|
+
"type": "string"
|
|
4293
|
+
}
|
|
4294
|
+
}
|
|
4295
|
+
},
|
|
4296
|
+
"additionalProperties": false
|
|
4297
|
+
},
|
|
4209
4298
|
"AngularBuildBuildersKarmaSchema": {
|
|
4210
4299
|
"title": "Karma Target",
|
|
4211
4300
|
"description": "Karma target options for Build Facade.",
|
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.8",
|
|
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.
|
|
28
|
+
"@angular-devkit/architect": "0.2000.0-next.8",
|
|
29
|
+
"@angular-devkit/core": "20.0.0-next.8",
|
|
30
|
+
"@angular-devkit/schematics": "20.0.0-next.8",
|
|
31
31
|
"@inquirer/prompts": "7.4.1",
|
|
32
32
|
"@listr2/prompt-adapter-inquirer": "2.0.21",
|
|
33
|
-
"@schematics/angular": "20.0.0-next.
|
|
33
|
+
"@schematics/angular": "20.0.0-next.8",
|
|
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.8",
|
|
49
|
+
"@angular/build": "20.0.0-next.8",
|
|
50
|
+
"@angular/ssr": "20.0.0-next.8",
|
|
51
|
+
"@angular-devkit/architect": "0.2000.0-next.8",
|
|
52
|
+
"@angular-devkit/build-angular": "20.0.0-next.8",
|
|
53
|
+
"@angular-devkit/build-webpack": "0.2000.0-next.8",
|
|
54
|
+
"@angular-devkit/core": "20.0.0-next.8",
|
|
55
|
+
"@angular-devkit/schematics": "20.0.0-next.8"
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
"packageManager": "pnpm@9.15.6",
|
package/src/utilities/version.js
CHANGED