Charles
ef360dd7f8
refactor(@angular-devkit/architect): use standard node resolution methods where possible ( #15622 )
...
* refactor(@angular-devkit/architect): use standard node resolution methods where possible
* refactor(@angular-devkit/core): use standard node resolution methods where possible
2019-09-18 14:49:22 +01:00
Charles Lyding
2a689ff3ca
feat(@angular-devkit/core): auto discover multiselect schema prompt types
...
If a prompt is present on a schema property and the type is an array with a set of enum values, then the prompt type is a list with multiselect capabilites. This eliminates the need to specify the longhand form for typical multiselect prompts.
2019-09-11 10:08:23 -07:00
Alan Agius
26dd51221a
style: collapse if statements ( #15449 )
2019-08-27 10:25:14 -07:00
Alan Agius
a6fbee6865
style: add no-invalid-await
and prefer-promise-shorthand
lint rules ( #15450 )
...
Add these two lint rules for a better code quality and readability
2019-08-27 10:24:58 -07:00
Charles
7f6ba9e001
fix(@angular-devkit/core): track workspace targets with no original collection ( #15413 )
...
Fixes #15403
2019-08-23 11:37:06 -07:00
Charles
920ee8595a
build: update bazel dependencies and configuration ( #15291 )
...
This leverages the configuration from FW where possible.
Bazel updated to 28.1
Rules for nodejs/typescript/karma/jasmine updated to 0.35.0
2019-08-12 11:40:50 -07:00
Charles
b0b3212719
fix(@ngtools/webpack): cleanup more resources after modules are loaded ( #15292 )
...
* feat(@angular-devkit/core): support resetting a memory host
* fix(@ngtools/webpack): cleanup more resources after modules are loaded
Followup to #12994
2019-08-12 10:26:19 -07:00
Charles Lyding
74536d0df0
refactor(@angular-devkit/build-optimizer): update to use latest source-map version (0.7.3)
...
The latest version provides significant performance improvements.
2019-08-08 08:26:15 -07:00
Alan Agius
6f0e7bf437
fix(@angular-devkit/core): add schema defaults when value is undefined
...
Related to https://github.com/angular/angular-cli/pull/15207#discussion_r309175463
2019-08-02 13:41:45 -07:00
Renovate Bot
1959b3b4c7
build: update ajv to version 6.10.2 ( #15073 )
2019-07-15 09:49:23 -07:00
Renovate Bot
d29cf86aa6
build: update ajv to version 6.10.1
2019-07-11 01:20:36 +08:00
Joey Perrott
5da90e9075
ci: setup RBE on CI
2019-07-10 04:07:42 +08:00
vikerman
5ef0846214
fix(@angular-devkit/architect): one more fix for newest version of rxjs
2019-07-02 12:46:30 -07:00
Renovate Bot
a41e94a568
build: update magic-string to version 0.25.3
2019-07-02 12:43:24 -07:00
Hans Larsen
af6c6d41d5
refactor: add count of component to analytics
2019-07-02 11:07:13 -07:00
Hans Larsen
46ade49a2f
feat(@angular/cli): report RAM in gigabytes instead of megabytes
...
Otherwise its too much noise. Some people have weird MB count probably due to
containers and VMs.
2019-06-27 09:17:26 -07:00
Ben Lesh
caeaa53e1a
refactor: Add explict type to allow RxJS to be updated
...
While trying to sync RxJS into google3 an issue came up around the code in question, where TypeScript is unable to properly infer the type. Adding this explicit type resolves the issue.
2019-06-12 16:36:46 -07:00
Filipe Silva
819892a359
ci: remove appveyor and buildkite
2019-06-06 16:02:17 -07:00
Charles Lyding
2b777e446f
fix(@angular-devkit/core): properly replace an added value in workspace API
...
Replacing a previous added value in the same session should cause the replace operation to become an add operation with the original add operation elided.
2019-05-23 19:14:19 +02:00
Charles Lyding
825bcacdc2
fix(@angular-devkit/core): deprecate redundant isObservable function
...
rxjs provides a canonical version of the helper function. Internal usage has also been changed to use this version.
2019-05-13 15:57:54 -07:00
Charles Lyding
64786cf64a
fix(@angular-devkit/core): remove unimplemented prompt priority
...
Node.js versions prior to 11 used an unstable sort for arrays with a length greater than 10. This caused the prompt order of a schematic with more than 10 prompts to be inconsistent with the content of the file and the same schematic with several of the prompts removed. Since priorities were never fully implemented and property dependencies will most likely be used at a higher level instead, the underlying elements have been removed with this change.
Fixes #14402
2019-05-13 15:56:39 -07:00
Charles Lyding
19df9358c4
fix(@angular-devkit/core): handle async host exceptions for workspace isDirectory/isFile
2019-05-10 15:06:00 -07:00
Keen Yee Liau
816d23ba82
build: fix external block in BUILD files
2019-05-09 13:19:53 -07:00
Charles Lyding
225cd36f49
fix(@angular-devkit/core): NodeJSAsyncHost.isFile should check for a file
2019-05-09 10:09:51 -07:00
Charles Lyding
8214be43a6
docs(@angular-devkit/core): add preliminary overview of workspace API
2019-05-09 10:04:57 -07:00
Keen Yee Liau
2af2b670f8
fix(build): fix Bazel lint errors
2019-05-07 20:02:34 -07:00
Keen Yee Liau
1a2e4f04ae
Update BUILD
2019-05-07 19:12:23 -07:00
Charles Lyding
8089a3fb76
fix(@angular-devkit/core): support writing an empty object workspace
2019-04-29 10:34:40 -07:00
Alex Eagle
d88175ddf1
Revert "build: update rxjs to version 6.5.1"
...
This reverts commit c4613ced63a901fe327e062d2be474d72ccc56f1.
2019-04-23 11:23:51 -07:00
Charles Lyding
5c969ea417
refactor(@angular-devkit/core): simplify workspace project/target addition
...
By returning the newly added project/target, it becomes easier to incrementally augment the new addition.
2019-04-23 10:00:15 -07:00
Renovate Bot
c4613ced63
build: update rxjs to version 6.5.1
2019-04-23 08:07:56 -07:00
Alan Agius
8fcf9a4401
fix(@angular-devkit/core): host.delete() completes but never emits
...
RxJS `EMPTY` creates an Observable that emits no items immediately emits a complete notification.
Fixes #14235
2019-04-23 08:03:35 -07:00
Alex Eagle
a197615549
build: update jasmine_node_test rules to come from npm
2019-04-22 08:38:00 -07:00
Alex Eagle
ee619c9a34
build: run Bazel format/lint fix
2019-04-22 08:38:00 -07:00
Charles Lyding
52a014dd23
fix(@angular-devkit/core): ignore undefined targets when adding a workspace project
2019-04-16 11:23:48 -07:00
Charles Lyding
a3811a7ad2
fix(@angular-devkit/core): ensure long workspace value changes are multiline
2019-04-16 11:23:48 -07:00
Alan Agius
eac31541a1
test: add analytics to core golden files
2019-04-15 11:08:46 -07:00
Charles Lyding
f1c58bef97
fix(@angular-devkit/core): escape workspace json pointers
...
Internally, the JSON workspace support uses JSON pointers to represent change locations. These need to be escaped to support slashes within a key.
2019-04-15 11:02:46 -07:00
Charles Lyding
66230b3c2e
fix(@angular-devkit/core): allow scoped names for workspace projects
...
Library projects support scoped package names as project names.
2019-04-15 11:02:46 -07:00
Charles Lyding
0d6a9f842c
refactor(@angular-devkit/core): rename workspace namespace to workspaces
...
This avoids massive amounts of name conflicts between a commonly named variable of 'workspace' and the namespace
2019-04-15 11:02:46 -07:00
Charles Lyding
51e370cefc
fix(@angular-devkit/core): add project type as a workspace special extension
2019-04-15 11:02:46 -07:00
Renovate Bot
7fd6f6d501
build: update magic-string to version 0.25.2
2019-04-12 12:20:50 -07:00
Charles Lyding
7d416103a9
feat(@angular-devkit/core): make new workspace API public
2019-04-12 11:45:48 -07:00
Charles Lyding
b22202c120
refactor(@angular-devkit/core): adjust readWorkspace type to support eventual diagnostics
2019-04-12 11:45:48 -07:00
Charles Lyding
7439faba12
feat(@angular-devkit/core): implement workspace JSON reader/writer
2019-04-11 10:17:29 -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
Hans Larsen
2ffbdfa86a
build: add a validation script for the analytics.md tables
...
Also added enums to update when changing dimensions.
2019-03-28 13:28:41 -07:00
Hans Larsen
55471770db
refactor: use dimensions for some values instead of metrics
...
This is after a discussion with someone internal. Metrics are good
for sums but not for comparisons and search/filtering.
2019-03-28 13:28:41 -07:00
Hans Larsen
e9ee58a89e
refactor(@angular/cli): move analytics constants to devkit core
...
They need to be shared with builders and schematics.
2019-03-28 13:28:41 -07:00
Charles Lyding
bf52b26219
fix(@angular-devkit/core): correct workspace discovery
2019-03-27 16:33:39 -07:00