2722 Commits

Author SHA1 Message Date
Hans Larsen
60c20f2924 release: 6.2.0-beta.0 v6.2.0-beta.0 2018-08-01 14:52:43 -04:00
Hans Larsen
2ba1f16295 refactor(@angular-devkit/schematics): add a BaseWorkflow which implements logic
And receives in its constructor the enginehost and registry. This simplifies the creation
of the NodeWorkflow, or later on the Google3Workflow etc, since all the duplicate logic
is now in a single base class.

This is yak shaving for internal stuff.
2018-08-01 11:41:49 -04:00
Charles Lyding
84ec3022c2 fix(@angular-devkit/build-angular): ensure failure with disabled AOT and enabled build optimizer
Fixes #11157
2018-07-30 08:07:03 -07:00
Charles Lyding
232da546e7 feat(@angular-devkit/core): add not/anyOf/allOf/oneOf support to undefined defaults 2018-07-30 08:06:12 -07:00
Charles Lyding
2dbd0894d0 feat(@angular-devkit/core): add a schema for smart default keyword 2018-07-30 08:06:12 -07:00
Charles Lyding
d8a2ebc039 feat(@schematics/angular): update new project development dependencies 2018-07-30 08:02:30 -07:00
Hans Larsen
5ac61f6b34 docs: add README to cli.angular.io microsite 2018-07-30 07:24:45 -07:00
Alan Agius
9825f73d1d docs: update create library docs and include watch 2018-07-30 06:41:28 -07:00
Alan Agius
d669dd64a8 feat(@angular-devkit/build-ng-packagr): add support for watch when building a library
`ng-packagr` version `4.0.0-rc.3`, lands the incremental builds feature.

More info:  https://github.com/dherges/ng-packagr/blob/master/CHANGELOG.md#400-rc2-2018-06-23

`enableResourceInlining` needs to be enabled for libraries that contain components

Closes: #10643
2018-07-30 06:41:28 -07:00
Alan Agius
c8240d9030 test(@angular-devkit/build-ng-packagr): add tests for watch mode 2018-07-30 06:41:28 -07:00
Alan Agius
50fc7214c4 feat(@schematics/angular): add support for watch when building a library
`ng-packagr` version `4.0.0-rc.3`, lands the incremental builds feature.

More info:  https://github.com/dherges/ng-packagr/blob/master/CHANGELOG.md#400-rc2-2018-06-23

`enableResourceInlining` needs to be enabled for libraries that contain components

Closes: #11100
2018-07-30 06:41:28 -07:00
Sarun Intaralawan
c0a5089d44 feat(@schematics/angular): use TypeScript 2.9 as default 2018-07-27 15:13:06 -07:00
Charles Lyding
bd615f14a4 fix(@angular/cli): fully resolve rxjs & core during version checks 2018-07-27 15:12:30 -07:00
Hans Larsen
e118cd95f5 docs: fix copyright notice in cli.angular.io 2018-07-27 14:55:50 -07:00
Hans Larsen
aef2c99f17 ci: fix firebase config to work with latest firebase-tools 2018-07-27 14:55:50 -07:00
Hans Larsen
9c8058461d docs: change Get Started link and invalid link
Also add a link to the releases for reference.
2018-07-27 14:55:50 -07:00
Hans Larsen
cfb51c9aa2 docs: add cli.angular.io microsite
These files were downloaded directly (using curl) from http://cli.angular.io/
and the links between them (css and images) were modified to work on a flat
directory structure.

The original content was kept on
6c96f1048c
but the old system was too hard to maintain. Maintaining static HTML and
CSS is easier for us.
2018-07-27 14:55:50 -07:00
Hans Larsen
07c73a1e21 fix(@angular-devkit/schematics): implement optimize() for HostTree
Its only used by old Schematics library, which can end up in there. Since optimization
is only a thing for VirtualTree, HostTree returns itself.
2018-07-27 13:20:15 -07:00
Charles Lyding
598c5da777 fix(@angular/cli): properly bootstrap 1.x from global 6.x 2018-07-27 11:41:56 -07:00
Hans
3623e9b338 fix(@schematics/update): use npm get for everything except _authToken
For _authToken we read the npmrc in the global. We might need a better global solution
for other flags, but this will have to do for now.
2018-07-27 11:28:13 -07:00
Hans
24dc26c08f revert: "fix(@schematics/update): use rc to find and read npm config"
This reverts commit 7662b8d4849f4bb94251f9606a1ee2c0f7e036aa.
2018-07-27 11:28:13 -07:00
Sarun Intaralawan
3fca66dbeb fix(@angular/cli): use correct compiler version range
Close #11665, angular/angular#25141
2018-07-26 09:36:43 -07:00
Hans
aeb4ff5b29 feat(@schematics/angular): reallow --lint-fix for Angular schematics 2018-07-25 21:27:47 -07:00
Hans
d67a4bf535 feat(@angular-devkit/schematics): allow tslintfix task on files
Before we only allowed tsconfig files (with includes added). This is necessary
for the lint fixing for schematics to target specific files.

Also added a feature that look for the tslint.json file if no tslint.json
file or configuration object was passed. Skipping the first argument to the
task constructor will look for the tslint closest to EVERY files being
linted.
2018-07-25 21:27:47 -07:00
Hans
c45e778687 feat(@angular/cli): allow overrides on multi-target if builder is same
It makes sense and is the only way to allow "ng lint --fix". If the builder is the
same for all targets, overrides are allowed.
2018-07-25 21:27:47 -07:00
Hans
14357e30c0 refactor(@angular/cli): remove a tslint:disable:no-global-tslint-disable no-any
Not entirely removed the usage of any but its a step in the right direction.
2018-07-25 21:27:47 -07:00
Matt Lewis
928d05a878 fix(@ngtools/webpack): support typescript 2.8 + 2.9 2018-07-25 21:27:18 -07:00
Charles Lyding
62640bf1ef fix(@angular/cli): update typescript version checks for Angular 6.1 2018-07-25 17:08:28 -07:00
Charles Lyding
bc880feb02 fix(@schematics/angular): adjust zonejs version in new projects for 6.1 2018-07-25 17:08:28 -07:00
Hans
52edee5c28
release: v6.1.0 2018-07-25 16:51:40 -07:00
Filipe Silva
f9555021c4 feat(@angular-devkit/build-angular): update to webpack@4.15.1
Followup to #11232, includes fix for webpack/webpack#7499.
2018-07-25 22:55:22 +01:00
Hans
9177bf9128 feat(@angular-devkit/schematics): allow path templates to override some options
Like the interpolation and the pipe character. The default behaviour is kept.

We will need to use those to work around some limiations of the google3 file system which
does not accept "@".
2018-07-25 22:54:51 +01:00
Hans
8b7516d9b3 refactor: types for content should be a pure template
Limitting it to a subset of JSON values is limiting. Templates can call functions,
list arrays, access classes, etc.
2018-07-25 22:54:51 +01:00
Alan Agius
1caf708dca feat(@angular-devkit/build-ng-packagr): update ng-packagr to version 4 2018-07-25 22:54:22 +01:00
Alan Agius
10eb83d660 feat(@schematics/angular): update ng-packagr to version 4 2018-07-25 22:54:22 +01:00
Filipe Silva
38fda3ea60 fix(@schematics/angular): support updating projects that use the targets property 2018-07-25 20:17:33 +01:00
Filipe Silva
307160806c feat(@schematics/angular): use targets property on new projects 2018-07-25 20:17:33 +01:00
Filipe Silva
dcdb937e41 fix(@angular/pwa): support updating projects that use the targets property 2018-07-25 20:17:33 +01:00
Filipe Silva
15c36eb891 test: use the targets property in legacy cli e2e 2018-07-25 20:17:33 +01:00
Filipe Silva
63b2b1148a test(@angular-devkit/build-angular): use targets instead of architect property 2018-07-25 20:17:33 +01:00
Filipe Silva
97f53b36d5 refactor(@angular-devkit/architect): use updated workspace api 2018-07-25 20:17:33 +01:00
Filipe Silva
aad5f83050 feat(@angular-devkit/core): support both 'targets' and 'architect' keys in workspace 2018-07-25 20:17:33 +01:00
Charles Lyding
a29a53e2ff fix(@angular-devkit/schematics): move rule with identity is a noop 2018-07-25 19:22:20 +01:00
Charles Lyding
43b850b8cb fix(@angular-devkit/core): rename to itself should be a noop 2018-07-25 19:22:20 +01:00
Alan Agius
9295217ce9 fix(@angular-devkit/build-angular): fix duplicate lint messages when having multiple tsconfigs
Closes #11633
2018-07-24 12:48:05 +01:00
Teamop
adb58617d9 fix(@angular-devkit/build-angular): should not log duplicate messages 2018-07-24 10:52:36 +01:00
Hans
d7e7cd2282 ci: fix validate script to properly report errors 2018-07-23 11:06:01 -07:00
George Kalpakas
e17a2edcc7 fix(@angular-devkit/build-angular): do not break with Jasmine's mock clock
Fixes #11164
Fixes #11626
2018-07-23 16:42:45 +01:00
George Kalpakas
ae3831b1e3 docs(@schematics/angular): fix typos in property descriptions 2018-07-23 16:42:45 +01:00
jsshandle
524807d6cf docs(@angular/cli): resolve HTTP 301 redirects 2018-07-23 13:33:15 +01:00