59 Commits

Author SHA1 Message Date
Keen Yee Liau
a3b05a0283 build: Use fine-grained node_module deps
This commit updates the BUILD files to specify fine-grained node_module deps
by replacing "@typings" comments with actual @npm node module.

Moved tools/bazel.rc -> .bazelrc

Removed "jasmine" typings from base tsconfig.json

Added @bazel/karma to devDependencies, needed for `ts_web_test`
2018-10-31 20:56:27 -07:00
Charles Lyding
2c6c398e6c refactor(@angular-devkit/core): allow promises for registry URI handlers 2018-10-31 14:53:56 -07:00
clydin
1747845dfa fix(@angular-devkit/core): make JSON schema required work with prompts (#12548) 2018-10-10 13:50:36 -07:00
Charles Lyding
9297eb5bf1 fix(@angular-devkit/core): record host should stat backing host 2018-10-05 15:01:46 -07:00
Hans
c13cbd467a refactor(@angular-devkit/core): add cache to normalize
And a benchmark to show the curve, more or less.
2018-10-03 16:31:27 -07:00
Charles Lyding
9a793494dc build: update rxjs to 6.3 2018-09-26 12:57:56 -04:00
Charles Lyding
1a3a117b48 refactor(@angular-devkit/core): adjust rxjs type usage
Required for upcoming upgraded to rxjs 6.3
2018-09-26 12:57:56 -04:00
Terry
b561657946 fix(@angular-devkit/core): fix cannot delete directory (#11574) 2018-09-25 16:51:46 -04:00
Hans
9648aa3ed9 feat(@angular-devkit/core): add enum support to getTypesOfSchema 2018-09-19 13:02:40 -07:00
Alan Agius
04ed3010b2 feat(@angular-devkit/core): createConsoleLogger now accepts 2 parameters to add custom stdout and stderr 2018-09-18 11:33:11 -07:00
Yi Qi
e36a259a45 fix(@angular/cli): fix issues in google3 2018-09-13 14:08:04 -07:00
Charles Lyding
d29701f978 fix(@angular-devkit/core): allow stat on record host 2018-09-10 12:30:49 -07:00
Alan Agius
b8b36ba339 refactor: pin down all direct dependencies
This is so that CLI users get the same direct dependency versions that were tested on the CI.
2018-09-07 11:01:50 -07:00
Alex Eagle
f7f1d139f4 release: v7.0.0-beta.2 2018-09-06 14:47:26 -07:00
Hans Larsen
fefef0271e refactor(@angular/cli): remove parseJsonFile and add options to parseJson instead 2018-09-06 07:37:48 -07:00
Hans
fd7bcd25fe fix(@angular-devkit/core): use architect key only if it exists
And if target didnt exist.
2018-09-06 07:37:48 -07:00
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