107 Commits

Author SHA1 Message Date
Alan Agius
0111693271 Ivy build_ng_packagr (#15262)
* test: update ng-packagr builder tests to work on Windows

* build: add ng packagr test large for ivy

* test: fix web-worker test in ivy

Previously, we were not testing web workers under Ivy as we were overriding tsconfig.app.json entirely without including enableIvy.

When enabling Ivy we are getting warning of files that are part of the compilation which causing a warning to show and break the test.

* build: update ng-packagr to `^5.4.0`

* test: display ivy mode message once
2019-08-12 10:20:02 -07:00
Keen Yee Liau
efd1c48e2d release: v8.3.0-next.1 2019-08-08 09:16:23 -07:00
vikerman
01e9c673fa release: v8.3.0-next.0 2019-07-31 14:48:49 -07:00
vikerman
168f07e9d0 release: v8.2.0-rc.0 2019-07-29 12:11:01 -07:00
Filipe Silva
e8dff5718f build: update to TS 3.5 2019-07-29 10:15:23 -07:00
vikerman
3dd3529ba4 release: v8.2.0-next.2 2019-07-25 21:38:08 -07:00
vikerman
07780b9272 style: clean up existing lint errors 2019-07-24 23:28:49 -07:00
Alan Agius
ae0f790ee7 fix(@schematics/angular): change findNodes to stop recursive lookup for child nodes of kind
Curtrently, when a node of kind is found, we recursivly continue to look up it's child nodes until the end of the AST. This ends up returing other nodes which we were not looking for as typically we are looking for the first level of children of the specified kind.

By default now, we stop recursivly looking for child nodes of kind when we encounter one.

Closes #15117
2019-07-24 19:06:47 -07:00
Alan Agius
15ef15e94a style: remove redundant max-line-length disables and fix other lint issues 2019-07-24 19:06:21 -07:00
Alan Agius
19b120947d feat(@schematics/angular): add migration to add anyComponentStyle bundle budget 2019-07-24 19:05:00 -07:00
mgechev
47c0db9eb3 release: v8.2.0-next.1 2019-07-17 17:41:17 -07:00
Keen Yee Liau
982bb42607 release: v8.2.0-next.0 2019-07-10 10:49:12 -07:00
Alan
2c71af1465 fix(@schematics/angular): ignore nested arrays in route declarations
`findNodes` will continue looking for arrays recursively unless we specify that we specify that we want only the first array.

Routes array can contain nested arrays such as when specifying guards.

Fixes #15016
2019-07-10 04:18:23 +08:00
Alan Agius
d8bdf86d07 fix(@schematics/update): update @angular/pwa when migrating to 8
Related to https://github.com/angular/angular-cli/issues/14589#issuecomment-508026441
2019-07-10 04:14:31 +08:00
vikerman
ec925af64a release: v8.1.0 2019-07-02 14:20:37 -07:00
Vikram Subramanian
860e12b468 release: v8.1.0-rc.0 2019-06-27 11:53:08 -07:00
Alan
70a4cbe306 style: enable no-debugger and no-console tslint rules 2019-06-27 09:28:35 -07:00
hawkgs
fdcd1f7546 feat(@schematics/angular): lazy routing module generator
Introduces the lazy routing module generator as part of the existing
module generator.

Feature document:
https://docs.google.com/document/d/1NAJEWTG54cu4kW7XBp0gVadmz-gqJouW2XDs4c9PPJM/edit#heading=h.xgjl2srtytjt
2019-06-26 11:15:58 -07:00
Keen Yee Liau
64243919c1 release: v8.1.0-beta.2 2019-06-13 16:09:36 -07:00
Keen Yee Liau
16df11ba28 release: v8.1.0-beta.1 2019-06-13 16:07:00 -07:00
Keen Yee Liau
4e45e99486 release: v8.1.0-beta.0 2019-06-13 16:03:12 -07:00
Alan Agius
905f3acae8 build: update angular framework packages to next` 2019-06-11 09:52:56 -07:00
Alan Agius
be35b78211 refactor: remove beta versions from latest versions 2019-06-06 14:16:51 -07:00
Alan
50c974a583 fix(@schematics/angular): add '@angular-devkit/build-webpack' package to the version 8 migration 2019-06-06 14:16:51 -07:00
Alan
89a122cd5c fix(@schematics/angular): update ng-packagr and tsickle when migrating to version 8 2019-06-06 14:16:51 -07:00
Alan
22d77285e1 fix(@schematics/angular): handle newline after @ of a decorator
Fixes #14490
2019-05-23 19:14:58 +02:00
hawkgs
c402903a3d refactor(@schematics/angular): optimize insertAfterLastOccurrence AST util 2019-05-17 11:26:53 -07:00
Filipe Silva
5770762ac1 fix(@schematics/angular): update zone.js to 0.9.1 2019-05-13 15:58:15 -07:00
hawkgs
94ca819656 fix(@schematics/angular): linting errors in AST utils spec 2019-05-09 10:06:09 -07:00
hawkgs
86f1884e65 test(@schematics/angular): insert after last occurrence util 2019-05-09 10:06:09 -07:00
hawkgs
52e9819232 fix(@schematics/angular): allow insertion when there are no occurrences 2019-05-09 10:06:09 -07:00
Alex Eagle
b369aed36f release: v8.0.0-beta.18 2019-04-23 14:20:21 -07:00
Alex Eagle
a8c86a32e0 Revert "feat(@schematics/angular): update scaffolding rxjs version to 6.5.1"
This reverts commit 636ff36b3a1789be392698f254d91a80d854f6ea.
2019-04-23 11:23:44 -07:00
Alan Agius
636ff36b3a feat(@schematics/angular): update scaffolding rxjs version to 6.5.1 2019-04-23 08:07:56 -07:00
Filipe Silva
fea7117bd2 feat(@schematics/angular): drop @angular/http from dependencies 2019-04-23 10:28:00 -04:00
Alan
f03ff807b4 refactor(@schematics/angular): create relativePathToWorkspaceRoot helper and replace usages 2019-04-19 10:55:02 -07:00
Charles Lyding
790a9622c4 refactor(@schematics/angular): add initial workspace helper rules 2019-04-15 11:02:46 -07:00
Filipe Silva
b7dfdb8643 build: update to Angular 8.0.0-beta.12 2019-04-13 10:23:02 -07:00
Minko Gechev
a5dd1de64b release: v8.0.0-beta.11 2019-04-04 01:32:34 +02:00
Filipe Silva
7ed4a60095 feat(@schematics/angular): add web worker schematics 2019-04-02 04:49:34 -07:00
ukrukar
3d86b18d7e fix(@schematics/angular): buildRelativePath handles files in root
Before, if one of the arguments was a file in root (eg "/module")
code would fail with: "" must be an absolute path.
2019-04-01 10:51:24 -07:00
Renovate Bot
688ed6aca9 build: update zone.js to version ^0.9.0 2019-03-27 12:23:59 -07:00
Filipe Silva
6e3d2e0c4d feat(@ngtools/webpack): support Angular 8
This requires updating projects to TypeScript 3.3
2019-03-20 12:29:01 -07:00
Hans Larsen
c7cc4ddff0
release: v8.0.0-beta.7 2019-03-14 16:02:05 -07:00
Hans Larsen
6acd20bb30 feat(@schematics/angular): allow ember, ember-cli, vendor, app and test names
We dont care about the app name anymore.
2019-03-13 13:56:13 -07:00
Hans Larsen
fd5cb7a7f0
release: v8.0.0-beta.5 2019-03-06 14:01:53 -08:00
Alan
a7d095d916 feat(@schematics/angular): change layout for root applications
This change aligns the file layout of applications generated with `ng new` and `ng generate`

Ref: TOOL-686
2019-03-06 11:28:26 -08:00
Alex Eagle
bf1c069f73 refactor(@schematics/angular): drop dependency on TypeScript package
instead, vendor in the two files we actually need.
This reduces our install footprint by 5MB
2019-03-06 11:27:48 -08:00
Hans Larsen
214e8efaa7
release: v8.0.0-beta.4 2019-02-28 17:57:33 -08:00
Minko Gechev
ef11c9fbc9 release: v8.0.0-beta.3 2019-02-27 16:40:55 -08:00