Skip to content

Commit 0284dc9

Browse files
author
Angular Builds
committed
9ac6bfd feat(@ngtools/webpack): redirect ngcc errors and warnings to webpack
1 parent 7041a85 commit 0284dc9

File tree

6 files changed

+71
-8
lines changed

6 files changed

+71
-8
lines changed

help/build.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,14 @@
431431
"required": false,
432432
"aliases": [],
433433
"hidden": false
434+
},
435+
{
436+
"name": "webWorkerTsConfig",
437+
"description": "TypeScript configuration for Web Worker modules.",
438+
"type": "string",
439+
"required": false,
440+
"aliases": [],
441+
"hidden": false
434442
}
435443
],
436444
"aliases": [

help/generate.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1400,6 +1400,57 @@
14001400
}
14011401
],
14021402
"aliases": []
1403+
},
1404+
"webWorker": {
1405+
"name": "webWorker",
1406+
"description": "Pass this schematic to the \"run\" command to create a Web Worker",
1407+
"options": [
1408+
{
1409+
"name": "path",
1410+
"description": "The path at which to create the worker file, relative to the current workspace.",
1411+
"type": "string",
1412+
"required": false,
1413+
"aliases": [],
1414+
"format": "path",
1415+
"hidden": true
1416+
},
1417+
{
1418+
"name": "project",
1419+
"description": "The name of the project.",
1420+
"type": "string",
1421+
"required": false,
1422+
"aliases": [],
1423+
"hidden": false
1424+
},
1425+
{
1426+
"name": "target",
1427+
"description": "The target to apply service worker to.",
1428+
"type": "string",
1429+
"default": "build",
1430+
"required": false,
1431+
"aliases": [],
1432+
"hidden": false
1433+
},
1434+
{
1435+
"name": "name",
1436+
"description": "The name of the worker.",
1437+
"type": "string",
1438+
"required": false,
1439+
"aliases": [],
1440+
"hidden": false,
1441+
"positional": 0
1442+
},
1443+
{
1444+
"name": "snippet",
1445+
"description": "Add a worker creation snippet in a sibling file of the same name.",
1446+
"type": "boolean",
1447+
"default": true,
1448+
"required": false,
1449+
"aliases": [],
1450+
"hidden": false
1451+
}
1452+
],
1453+
"aliases": []
14031454
}
14041455
}
14051456
},

lib/config/schema.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -882,6 +882,10 @@
882882
"type": "boolean",
883883
"default": false,
884884
"x-deprecated": true
885+
},
886+
"webWorkerTsConfig": {
887+
"type": "string",
888+
"description": "TypeScript configuration for Web Worker modules."
885889
}
886890
},
887891
"additionalProperties": false,

models/analytics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ async function promptGlobalAnalytics(force = false) {
326326
if (answers.analytics) {
327327
console.log('');
328328
console.log(core_1.tags.stripIndent `
329-
Thank you for sharing anonymous usage data. Would you change your mind, the following
329+
Thank you for sharing anonymous usage data. If you change your mind, the following
330330
command will disable this feature entirely:
331331
332332
${core_1.terminal.yellow('ng analytics off')}

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular/cli",
3-
"version": "8.0.0-beta.10+46.1216106",
3+
"version": "8.0.0-beta.11+8.9ac6bfd",
44
"description": "CLI tool for Angular",
55
"main": "lib/cli/index.js",
66
"bin": {
@@ -28,11 +28,11 @@
2828
},
2929
"homepage": "https://github.com/angular/angular-cli",
3030
"dependencies": {
31-
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#1216106",
32-
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#1216106",
33-
"@angular-devkit/schematics": "github:angular/angular-devkit-schematics-builds#1216106",
34-
"@schematics/angular": "github:angular/schematics-angular-builds#1216106",
35-
"@schematics/update": "github:angular/schematics-update-builds#1216106",
31+
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#9ac6bfd",
32+
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#9ac6bfd",
33+
"@angular-devkit/schematics": "github:angular/angular-devkit-schematics-builds#9ac6bfd",
34+
"@schematics/angular": "github:angular/schematics-angular-builds#9ac6bfd",
35+
"@schematics/update": "github:angular/schematics-update-builds#9ac6bfd",
3636
"@yarnpkg/lockfile": "1.1.0",
3737
"debug": "^4.1.1",
3838
"ini": "1.3.5",

uniqueId

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Tue Apr 02 2019 06:52:06 GMT+0000 (Coordinated Universal Time)
1+
Thu Apr 04 2019 17:12:21 GMT+0000 (Coordinated Universal Time)

0 commit comments

Comments
 (0)