@angular/cli 17.1.0-next.3 → 17.1.0-rc.0

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.
@@ -400,10 +400,13 @@
400
400
  "@angular-devkit/build-angular:dev-server",
401
401
  "@angular-devkit/build-angular:extract-i18n",
402
402
  "@angular-devkit/build-angular:karma",
403
+ "@angular-devkit/build-angular:ng-packagr",
404
+ "@angular-devkit/build-angular:prerender",
403
405
  "@angular-devkit/build-angular:jest",
406
+ "@angular-devkit/build-angular:web-test-runner",
404
407
  "@angular-devkit/build-angular:protractor",
405
408
  "@angular-devkit/build-angular:server",
406
- "@angular-devkit/build-angular:ng-packagr"
409
+ "@angular-devkit/build-angular:ssr-dev-server"
407
410
  ]
408
411
  }
409
412
  },
@@ -603,6 +606,28 @@
603
606
  }
604
607
  }
605
608
  },
609
+ {
610
+ "type": "object",
611
+ "additionalProperties": false,
612
+ "properties": {
613
+ "builder": {
614
+ "const": "@angular-devkit/build-angular:web-test-runner"
615
+ },
616
+ "defaultConfiguration": {
617
+ "type": "string",
618
+ "description": "A default named configuration to use when a target configuration is not provided."
619
+ },
620
+ "options": {
621
+ "$ref": "#/definitions/AngularDevkitBuildAngularBuildersWebTestRunnerSchema"
622
+ },
623
+ "configurations": {
624
+ "type": "object",
625
+ "additionalProperties": {
626
+ "$ref": "#/definitions/AngularDevkitBuildAngularBuildersWebTestRunnerSchema"
627
+ }
628
+ }
629
+ }
630
+ },
606
631
  {
607
632
  "type": "object",
608
633
  "additionalProperties": false,
@@ -625,6 +650,50 @@
625
650
  }
626
651
  }
627
652
  },
653
+ {
654
+ "type": "object",
655
+ "additionalProperties": false,
656
+ "properties": {
657
+ "builder": {
658
+ "const": "@angular-devkit/build-angular:prerender"
659
+ },
660
+ "defaultConfiguration": {
661
+ "type": "string",
662
+ "description": "A default named configuration to use when a target configuration is not provided."
663
+ },
664
+ "options": {
665
+ "$ref": "#/definitions/AngularDevkitBuildAngularBuildersPrerenderSchema"
666
+ },
667
+ "configurations": {
668
+ "type": "object",
669
+ "additionalProperties": {
670
+ "$ref": "#/definitions/AngularDevkitBuildAngularBuildersPrerenderSchema"
671
+ }
672
+ }
673
+ }
674
+ },
675
+ {
676
+ "type": "object",
677
+ "additionalProperties": false,
678
+ "properties": {
679
+ "builder": {
680
+ "const": "@angular-devkit/build-angular:ssr-dev-server"
681
+ },
682
+ "defaultConfiguration": {
683
+ "type": "string",
684
+ "description": "A default named configuration to use when a target configuration is not provided."
685
+ },
686
+ "options": {
687
+ "$ref": "#/definitions/AngularDevkitBuildAngularBuildersSsrDevServerSchema"
688
+ },
689
+ "configurations": {
690
+ "type": "object",
691
+ "additionalProperties": {
692
+ "$ref": "#/definitions/AngularDevkitBuildAngularBuildersSsrDevServerSchema"
693
+ }
694
+ }
695
+ }
696
+ },
628
697
  {
629
698
  "type": "object",
630
699
  "additionalProperties": false,
@@ -2085,7 +2154,7 @@
2085
2154
  "preloadInitial": {
2086
2155
  "type": "boolean",
2087
2156
  "default": true,
2088
- "description": "Generates 'preload', `modulepreload', and 'preconnect' link elements for initial application files and resources."
2157
+ "description": "Generates 'preload', 'modulepreload', and 'preconnect' link elements for initial application files and resources."
2089
2158
  }
2090
2159
  }
2091
2160
  },
@@ -3969,6 +4038,297 @@
3969
4038
  },
3970
4039
  "additionalProperties": false
3971
4040
  },
4041
+ "AngularDevkitBuildAngularBuildersWebTestRunnerSchema": {
4042
+ "title": "Web Test Runner Target",
4043
+ "description": "Web Test Runner target options for Build Facade.",
4044
+ "type": "object",
4045
+ "properties": {
4046
+ "main": {
4047
+ "type": "string",
4048
+ "description": "The name of the main entry-point file."
4049
+ },
4050
+ "tsConfig": {
4051
+ "type": "string",
4052
+ "description": "The name of the TypeScript configuration file."
4053
+ },
4054
+ "polyfills": {
4055
+ "description": "Polyfills to be included in the build.",
4056
+ "oneOf": [
4057
+ {
4058
+ "type": "array",
4059
+ "description": "A list of polyfills to include in the build. Can be a full path for a file, relative to the current workspace or module specifier. Example: 'zone.js'.",
4060
+ "items": {
4061
+ "type": "string",
4062
+ "uniqueItems": true
4063
+ },
4064
+ "default": []
4065
+ },
4066
+ {
4067
+ "type": "string",
4068
+ "description": "The full path for the polyfills file, relative to the current workspace or a module specifier. Example: 'zone.js'."
4069
+ }
4070
+ ]
4071
+ },
4072
+ "assets": {
4073
+ "type": "array",
4074
+ "description": "List of static application assets.",
4075
+ "default": [],
4076
+ "items": {
4077
+ "$ref": "#/definitions/AngularDevkitBuildAngularBuildersWebTestRunnerSchema/definitions/assetPattern"
4078
+ }
4079
+ },
4080
+ "scripts": {
4081
+ "description": "Global scripts to be included in the build.",
4082
+ "type": "array",
4083
+ "default": [],
4084
+ "items": {
4085
+ "oneOf": [
4086
+ {
4087
+ "type": "object",
4088
+ "properties": {
4089
+ "input": {
4090
+ "type": "string",
4091
+ "description": "The file to include.",
4092
+ "pattern": "\\.[cm]?jsx?$"
4093
+ },
4094
+ "bundleName": {
4095
+ "type": "string",
4096
+ "pattern": "^[\\w\\-.]*$",
4097
+ "description": "The bundle name for this extra entry point."
4098
+ },
4099
+ "inject": {
4100
+ "type": "boolean",
4101
+ "description": "If the bundle will be referenced in the HTML file.",
4102
+ "default": true
4103
+ }
4104
+ },
4105
+ "additionalProperties": false
4106
+ },
4107
+ {
4108
+ "type": "string",
4109
+ "description": "The file to include.",
4110
+ "pattern": "\\.[cm]?jsx?$"
4111
+ }
4112
+ ]
4113
+ }
4114
+ },
4115
+ "styles": {
4116
+ "description": "Global styles to be included in the build.",
4117
+ "type": "array",
4118
+ "default": [],
4119
+ "items": {
4120
+ "oneOf": [
4121
+ {
4122
+ "type": "object",
4123
+ "properties": {
4124
+ "input": {
4125
+ "type": "string",
4126
+ "description": "The file to include.",
4127
+ "pattern": "\\.(?:css|scss|sass|less)$"
4128
+ },
4129
+ "bundleName": {
4130
+ "type": "string",
4131
+ "pattern": "^[\\w\\-.]*$",
4132
+ "description": "The bundle name for this extra entry point."
4133
+ },
4134
+ "inject": {
4135
+ "type": "boolean",
4136
+ "description": "If the bundle will be referenced in the HTML file.",
4137
+ "default": true
4138
+ }
4139
+ },
4140
+ "additionalProperties": false
4141
+ },
4142
+ {
4143
+ "type": "string",
4144
+ "description": "The file to include.",
4145
+ "pattern": "\\.(?:css|scss|sass|less)$"
4146
+ }
4147
+ ]
4148
+ }
4149
+ },
4150
+ "inlineStyleLanguage": {
4151
+ "description": "The stylesheet language to use for the application's inline component styles.",
4152
+ "type": "string",
4153
+ "default": "css",
4154
+ "enum": [
4155
+ "css",
4156
+ "less",
4157
+ "sass",
4158
+ "scss"
4159
+ ]
4160
+ },
4161
+ "stylePreprocessorOptions": {
4162
+ "description": "Options to pass to style preprocessors",
4163
+ "type": "object",
4164
+ "properties": {
4165
+ "includePaths": {
4166
+ "description": "Paths to include. Paths will be resolved to workspace root.",
4167
+ "type": "array",
4168
+ "items": {
4169
+ "type": "string"
4170
+ },
4171
+ "default": []
4172
+ }
4173
+ },
4174
+ "additionalProperties": false
4175
+ },
4176
+ "include": {
4177
+ "type": "array",
4178
+ "items": {
4179
+ "type": "string"
4180
+ },
4181
+ "default": [
4182
+ "**/*.spec.ts"
4183
+ ],
4184
+ "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."
4185
+ },
4186
+ "exclude": {
4187
+ "type": "array",
4188
+ "items": {
4189
+ "type": "string"
4190
+ },
4191
+ "default": [],
4192
+ "description": "Globs of files to exclude, relative to the project root."
4193
+ },
4194
+ "sourceMap": {
4195
+ "description": "Output source maps for scripts and styles. For more information, see https://angular.io/guide/workspace-config#source-map-configuration.",
4196
+ "default": true,
4197
+ "oneOf": [
4198
+ {
4199
+ "type": "object",
4200
+ "properties": {
4201
+ "scripts": {
4202
+ "type": "boolean",
4203
+ "description": "Output source maps for all scripts.",
4204
+ "default": true
4205
+ },
4206
+ "styles": {
4207
+ "type": "boolean",
4208
+ "description": "Output source maps for all styles.",
4209
+ "default": true
4210
+ },
4211
+ "vendor": {
4212
+ "type": "boolean",
4213
+ "description": "Resolve vendor packages source maps.",
4214
+ "default": false
4215
+ }
4216
+ },
4217
+ "additionalProperties": false
4218
+ },
4219
+ {
4220
+ "type": "boolean"
4221
+ }
4222
+ ]
4223
+ },
4224
+ "progress": {
4225
+ "type": "boolean",
4226
+ "description": "Log progress to the console while building.",
4227
+ "default": true
4228
+ },
4229
+ "watch": {
4230
+ "type": "boolean",
4231
+ "description": "Run build when files change."
4232
+ },
4233
+ "poll": {
4234
+ "type": "number",
4235
+ "description": "Enable and define the file watching poll time period in milliseconds."
4236
+ },
4237
+ "preserveSymlinks": {
4238
+ "type": "boolean",
4239
+ "description": "Do not use the real path when resolving modules. If unset then will default to `true` if NodeJS option --preserve-symlinks is set."
4240
+ },
4241
+ "browsers": {
4242
+ "type": "string",
4243
+ "description": "Override which browsers tests are run against."
4244
+ },
4245
+ "codeCoverage": {
4246
+ "type": "boolean",
4247
+ "description": "Output a code coverage report.",
4248
+ "default": false
4249
+ },
4250
+ "codeCoverageExclude": {
4251
+ "type": "array",
4252
+ "description": "Globs to exclude from code coverage.",
4253
+ "items": {
4254
+ "type": "string"
4255
+ },
4256
+ "default": []
4257
+ },
4258
+ "fileReplacements": {
4259
+ "description": "Replace compilation source files with other compilation source files in the build.",
4260
+ "type": "array",
4261
+ "items": {
4262
+ "oneOf": [
4263
+ {
4264
+ "type": "object",
4265
+ "properties": {
4266
+ "src": {
4267
+ "type": "string"
4268
+ },
4269
+ "replaceWith": {
4270
+ "type": "string"
4271
+ }
4272
+ },
4273
+ "additionalProperties": false
4274
+ },
4275
+ {
4276
+ "type": "object",
4277
+ "properties": {
4278
+ "replace": {
4279
+ "type": "string"
4280
+ },
4281
+ "with": {
4282
+ "type": "string"
4283
+ }
4284
+ },
4285
+ "additionalProperties": false
4286
+ }
4287
+ ]
4288
+ },
4289
+ "default": []
4290
+ },
4291
+ "webWorkerTsConfig": {
4292
+ "type": "string",
4293
+ "description": "TypeScript configuration for Web Worker modules."
4294
+ }
4295
+ },
4296
+ "additionalProperties": false,
4297
+ "definitions": {
4298
+ "assetPattern": {
4299
+ "oneOf": [
4300
+ {
4301
+ "type": "object",
4302
+ "properties": {
4303
+ "glob": {
4304
+ "type": "string",
4305
+ "description": "The pattern to match."
4306
+ },
4307
+ "input": {
4308
+ "type": "string",
4309
+ "description": "The input directory path in which to apply 'glob'. Defaults to the project root."
4310
+ },
4311
+ "output": {
4312
+ "type": "string",
4313
+ "description": "Absolute path within the output."
4314
+ },
4315
+ "ignore": {
4316
+ "description": "An array of globs to ignore.",
4317
+ "type": "array",
4318
+ "items": {
4319
+ "type": "string"
4320
+ }
4321
+ }
4322
+ },
4323
+ "additionalProperties": false
4324
+ },
4325
+ {
4326
+ "type": "string"
4327
+ }
4328
+ ]
4329
+ }
4330
+ }
4331
+ },
3972
4332
  "AngularDevkitBuildAngularBuildersProtractorSchema": {
3973
4333
  "title": "Protractor Target",
3974
4334
  "description": "Protractor target options for Build Facade.",
@@ -4025,6 +4385,119 @@
4025
4385
  },
4026
4386
  "additionalProperties": false
4027
4387
  },
4388
+ "AngularDevkitBuildAngularBuildersPrerenderSchema": {
4389
+ "title": "Prerender Target",
4390
+ "type": "object",
4391
+ "properties": {
4392
+ "browserTarget": {
4393
+ "type": "string",
4394
+ "description": "Target to build.",
4395
+ "pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$"
4396
+ },
4397
+ "serverTarget": {
4398
+ "type": "string",
4399
+ "description": "Server target to use for prerendering the app.",
4400
+ "pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$"
4401
+ },
4402
+ "routesFile": {
4403
+ "type": "string",
4404
+ "description": "The path to a file that contains a list of all routes to prerender, separated by newlines. This option is useful if you want to prerender routes with parameterized URLs."
4405
+ },
4406
+ "routes": {
4407
+ "type": "array",
4408
+ "description": "The routes to render.",
4409
+ "items": {
4410
+ "minItems": 1,
4411
+ "type": "string",
4412
+ "uniqueItems": true
4413
+ },
4414
+ "default": []
4415
+ },
4416
+ "discoverRoutes": {
4417
+ "type": "boolean",
4418
+ "description": "Whether the builder should process the Angular Router configuration to find all unparameterized routes and prerender them.",
4419
+ "default": true
4420
+ }
4421
+ },
4422
+ "anyOf": [
4423
+ {},
4424
+ {}
4425
+ ],
4426
+ "additionalProperties": false
4427
+ },
4428
+ "AngularDevkitBuildAngularBuildersSsrDevServerSchema": {
4429
+ "title": "SSR Dev Server Target",
4430
+ "description": "SSR Dev Server target options for Build Facade.",
4431
+ "type": "object",
4432
+ "properties": {
4433
+ "browserTarget": {
4434
+ "type": "string",
4435
+ "description": "Browser target to build.",
4436
+ "pattern": ".+:.+(:.+)?"
4437
+ },
4438
+ "serverTarget": {
4439
+ "type": "string",
4440
+ "description": "Server target to build.",
4441
+ "pattern": ".+:.+(:.+)?"
4442
+ },
4443
+ "host": {
4444
+ "type": "string",
4445
+ "description": "Host to listen on.",
4446
+ "default": "localhost"
4447
+ },
4448
+ "port": {
4449
+ "type": "number",
4450
+ "default": 4200,
4451
+ "description": "Port to start the development server at. Default is 4200. Pass 0 to get a dynamically assigned port."
4452
+ },
4453
+ "watch": {
4454
+ "type": "boolean",
4455
+ "description": "Rebuild on change.",
4456
+ "default": true
4457
+ },
4458
+ "publicHost": {
4459
+ "type": "string",
4460
+ "description": "The URL that the browser client should use to connect to the development server. Use for a complex dev server setup, such as one with reverse proxies."
4461
+ },
4462
+ "open": {
4463
+ "type": "boolean",
4464
+ "description": "Opens the url in default browser.",
4465
+ "default": false,
4466
+ "alias": "o"
4467
+ },
4468
+ "progress": {
4469
+ "type": "boolean",
4470
+ "description": "Log progress to the console while building."
4471
+ },
4472
+ "inspect": {
4473
+ "type": "boolean",
4474
+ "description": "Launch the development server in inspector mode and listen on address and port '127.0.0.1:9229'.",
4475
+ "default": false
4476
+ },
4477
+ "ssl": {
4478
+ "type": "boolean",
4479
+ "description": "Serve using HTTPS.",
4480
+ "default": false
4481
+ },
4482
+ "sslKey": {
4483
+ "type": "string",
4484
+ "description": "SSL key to use for serving HTTPS."
4485
+ },
4486
+ "sslCert": {
4487
+ "type": "string",
4488
+ "description": "SSL certificate to use for serving HTTPS."
4489
+ },
4490
+ "proxyConfig": {
4491
+ "type": "string",
4492
+ "description": "Proxy configuration file."
4493
+ },
4494
+ "verbose": {
4495
+ "type": "boolean",
4496
+ "description": "Adds more details to output logging."
4497
+ }
4498
+ },
4499
+ "additionalProperties": false
4500
+ },
4028
4501
  "AngularDevkitBuildAngularBuildersServerSchema": {
4029
4502
  "title": "Universal Target",
4030
4503
  "type": "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/cli",
3
- "version": "17.1.0-next.3",
3
+ "version": "17.1.0-rc.0",
4
4
  "description": "CLI tool for Angular",
5
5
  "main": "lib/cli/index.js",
6
6
  "bin": {
@@ -25,10 +25,10 @@
25
25
  },
26
26
  "homepage": "https://github.com/angular/angular-cli",
27
27
  "dependencies": {
28
- "@angular-devkit/architect": "0.1701.0-next.3",
29
- "@angular-devkit/core": "17.1.0-next.3",
30
- "@angular-devkit/schematics": "17.1.0-next.3",
31
- "@schematics/angular": "17.1.0-next.3",
28
+ "@angular-devkit/architect": "0.1701.0-rc.0",
29
+ "@angular-devkit/core": "17.1.0-rc.0",
30
+ "@angular-devkit/schematics": "17.1.0-rc.0",
31
+ "@schematics/angular": "17.1.0-rc.0",
32
32
  "@yarnpkg/lockfile": "1.1.0",
33
33
  "ansi-colors": "4.1.3",
34
34
  "ini": "4.1.1",
@@ -47,13 +47,13 @@
47
47
  "ng-update": {
48
48
  "migrations": "@schematics/angular/migrations/migration-collection.json",
49
49
  "packageGroup": {
50
- "@angular/cli": "17.1.0-next.3",
51
- "@angular/ssr": "17.1.0-next.3",
52
- "@angular-devkit/architect": "0.1701.0-next.3",
53
- "@angular-devkit/build-angular": "17.1.0-next.3",
54
- "@angular-devkit/build-webpack": "0.1701.0-next.3",
55
- "@angular-devkit/core": "17.1.0-next.3",
56
- "@angular-devkit/schematics": "17.1.0-next.3"
50
+ "@angular/cli": "17.1.0-rc.0",
51
+ "@angular/ssr": "17.1.0-rc.0",
52
+ "@angular-devkit/architect": "0.1701.0-rc.0",
53
+ "@angular-devkit/build-angular": "17.1.0-rc.0",
54
+ "@angular-devkit/build-webpack": "0.1701.0-rc.0",
55
+ "@angular-devkit/core": "17.1.0-rc.0",
56
+ "@angular-devkit/schematics": "17.1.0-rc.0"
57
57
  }
58
58
  },
59
59
  "engines": {
@@ -25,5 +25,5 @@ class Version {
25
25
  }
26
26
  }
27
27
  // TODO(bazel): Convert this to use build-time version stamping after flipping the build script to use bazel
28
- // export const VERSION = new Version('17.1.0-next.3');
28
+ // export const VERSION = new Version('17.1.0-rc.0');
29
29
  exports.VERSION = new Version(JSON.parse((0, fs_1.readFileSync)((0, path_1.resolve)(__dirname, '../../package.json'), 'utf-8')).version);