369 Commits

Author SHA1 Message Date
Hans Larsen
2d3f52f942 feat(@angular-devkit/core): better support for JSON5
Supports for new lines and hexa was useful for doc and descriptions (including
schematics and builder declarations). Adding the other numerical constants was
easy enough. This fully completes JSON5 support.
2018-08-02 13:32:54 -04: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
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
43b850b8cb fix(@angular-devkit/core): rename to itself should be a noop 2018-07-25 19:22:20 +01:00
Charles Lyding
29d2c8aeeb fix(@angular-devkit/core): allow use of ResolverHost 2018-07-12 15:53:29 -07:00
Hans
91e7c3eb96 test: remove unused test directory and remove @ from paths 2018-07-12 09:26:36 -07:00
Hans Larsen
483cbe2665 refactor: add tslint-sonarts and a lot of tslint rules
This should clean up the code a bit.

Note: at first I added the no-useless-cast rule, but after getting frustrated
with it (as it has many false positive), I decided to remove the rule but some
useless casts were removed so I let those in the PR.
2018-07-10 15:07:36 -07:00
Hans Larsen
c1702d3579 refactor: add no-floating-promises lint rule to project
With fixes; new now handles the parent initialize, visitor_spec now errors on
rejection, and nothing in the writeI18nOutFile() function was async so removed
the promise there entirely.
2018-07-10 15:07:36 -07:00
Filipe Silva
b9a8fd1392 fix(@angular-devkit/core): propagate node host delete errors 2018-07-05 11:43:11 -04:00
Charles Lyding
f6f0c80d8d fix(@angular-devkit/core): ensure full path is renamed for memory host 2018-07-03 12:52:22 -04:00
Charles Lyding
8508b58a6c fix(@angular-devkit/schematics): ensure renamed files do not exist 2018-07-03 12:52:22 -04:00
Alan Agius
3108ce30ab refactor: remove redundant error in catch 2018-07-02 08:20:59 -04:00
Charles Lyding
c638af29c6 fix(@angular-devkit/core): detect ambiguous projects with path discover 2018-06-21 09:23:41 -04:00
Hans
4ba67ee663 refactor: remove usage of Buffer constructor
Its being deprecated in Node 10.4. The replacements are available in Node 8 so
its all good.
2018-06-10 12:47:20 +01:00
Alex Eagle
938a236f40 build: fixes for google3 build 2018-06-08 14:33:31 -07:00
Hans Larsen
cdce621c4e fix(@angular-devkit/core): remove circular dependencies 2018-06-08 12:00:35 +01:00
Hans
48fd3e5c2b fix(@angular-devkit/core): when two projects are the same, pick the first declared
The comparator function for project names was invalid; sort() expect to be consistent and
in this case was returning 1 for a set of arguments, and 0 if arguments were reversed, leading
inconsistencies in the sort result.
2018-06-07 09:30:12 -07:00
Hans Larsen
44086c60ff build: move devkit repo back to angular-cli 2018-06-05 18:50:06 -07:00