Hans
9517677158
feat(@angular-devkit/core): remove addUndefinedDefaults as default post transform
...
And various bug fixes.
2018-09-06 07:37:48 -07:00
Hans
fb99a490bf
feat(@angular-devkit/core): add a parseJsonFile that shows file path on error
2018-09-06 07:37:48 -07:00
Hans
1b5c0082ef
feat(@angular-devkit/core): add levenshtein distance utility
2018-09-06 07:37:48 -07:00
Hans
0b84c1d4b0
feat(@angular-devkit/core): move findTypes in utility and export
2018-09-06 07:37:48 -07:00
Hans Larsen
39b4cc030b
build: fix RxJS invalid typings
2018-08-30 16:49:31 -07:00
clydin
7e63dd791b
build: limit rxjs to 6.2.x due to a defect in 6.3.0 ( #12048 )
2018-08-30 15:33:31 -07:00
Charles Lyding
e0882a7549
fix(@angular-devkit/core): make workspace projects field not required
...
It has a default which makes the required aspect void.
Global files also do not have projects.
2018-08-29 09:25:56 -07:00
Charles Lyding
d299ef7ff7
fix(@angular-devkit/core): correctly resolve schema references
2018-08-29 09:25:56 -07:00
Charles Lyding
516f52e3dd
feat(@angular-devkit/core): initial prompt provider json schema support
2018-08-29 09:25:56 -07:00
Charles Lyding
4207a15c4f
fix(@angular-devkit/core): make smart default work with default/required
2018-08-29 09:25:56 -07:00
Charles Lyding
2dcf0b9901
refactor(@angular-devkit/core): cleanup ajv initialization
2018-08-29 09:25:56 -07:00
Hans
62e72fea38
fix(@angular-devkit/architect): explicitly type functions
...
Closes : #11992
2018-08-27 18:11:07 -07:00
Charles Lyding
d202480a17
build: update/cleanup tslint rules & fix errors
2018-08-23 11:35:34 -07:00
Filipe Silva
9720077a4b
build: make resolution logic compatible with Bazel
2018-08-22 16:36:10 -07:00
Filipe Silva
f08ec443ff
build: re-enable missing bazel tests
2018-08-22 16:36:10 -07:00
Filipe Silva
2393ab9aba
build: simplify bazel dependencies
2018-08-22 16:36:10 -07:00
Filipe Silva
37c5b842a0
build: include rxjs dependency needed for bazel local repo
2018-08-22 16:36:10 -07:00
Filipe Silva
a6028a7761
test(@angular-devkit/core): add bazel tests
2018-08-22 16:36:10 -07:00
Hans
f9ad0e27e7
refactor: move isJsonObject to json namespace
2018-08-17 11:20:54 -07:00
Hans
055a157356
feat(@angular-devkit/core): add json namespace export
2018-08-17 11:20:54 -07:00
Adrian Moos
b8d4e19fc4
fix(@angular-devkit/core): detect mingw terminal as color capable ( #11834 )
...
restoring color to git-bash users under windows
Fixes #11833
2018-08-15 15:48:46 -07:00
Charles Lyding
c729b0e7d9
build: use yarn workspaces
2018-08-10 18:25:32 -07:00
Daniel Imhoff
91c18ce7bf
feat(@angular-devkit/core): respect FORCE_COLOR env var behavior
...
Currently, there is no mechanism in the Angular tooling to forcefully
output colors regardless of detected terminal capabilities. This commit
adds an override via an environment variable: `FORCE_COLOR`. The
behavior in this commit is the same as the behavior in a commonly used
module, `supports-color` (https://github.com/chalk/supports-color#info ).
This is especially useful when piping output from the Angular CLI, which
would automatically and irreversibly disable colors before this commit.
2018-08-04 12:42:55 +01:00
Yi Qi
b834014bb1
build: Fix all the BUILD files for google3
2018-08-03 23:32:10 +01:00
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