3213 Commits

Author SHA1 Message Date
Hans
9648aa3ed9 feat(@angular-devkit/core): add enum support to getTypesOfSchema 2018-09-19 13:02:40 -07:00
Hans
7d782a3f5e feat(@angular/cli): add support for parsing enums
Options can now contain enumerations of values.
2018-09-19 13:02:40 -07:00
Hans
34818b0346 feat(@angular/cli): add subcommand to options
SubCommands are not tied to the option that triggers them. They
contain a subset of a CommandDescription interface, with at least
a short and long description and usage notes. These are generated
from the subcommand schema (e.g. schematics in case of generate).
2018-09-19 13:02:40 -07:00
Hans
6622aa9d1a refactor(@angular/cli): remove command type
It was really unused.
2018-09-19 13:02:40 -07:00
Hans
86d803e80a docs(@angular/cli): add comments for Command interface 2018-09-19 13:02:40 -07:00
Hans
3bb6548d15 feat(@angular/cli): add usage notes to help JSON 2018-09-19 13:02:40 -07:00
Alan Agius
e6f9ae98f5 fix(@angular/cli): fix schema error Property targets is not allowed
Closes #12192
2018-09-19 11:40:02 -07:00
Charles Lyding
72a65ddf5e feat(@angular-devkit/build-angular): update webpack dependencies
memory leak fix, security vulnerability package updates, hash integrity fix, and other minor defect fixes
2018-09-19 11:34:55 -07:00
Charles Lyding
020e696a55 test: remove development purify bin helper 2018-09-19 11:34:02 -07:00
Charles Lyding
5890759a9f fix(@angular-devkit/build-optimizer): deprecate transform test functions
These were not intended to be part of the public API and will eventually be removed completely.
2018-09-19 11:34:02 -07:00
Charles Lyding
a8a60a7faf refactor(@angular-devkit/build-optimizer): minor type cleanup 2018-09-19 11:34:02 -07:00
Charles Lyding
95f29fbb82 refactor(@angular-devkit/build-optimizer): remove unused import purifier 2018-09-19 11:34:02 -07:00
Charles Lyding
46da426d0a build: update nvmrc to use node 10 2018-09-19 11:33:29 -07:00
Charles Lyding
b502847c73 build: remove unneeded gitignore file 2018-09-19 11:33:10 -07:00
Charles Lyding
c277b607be build: remove old monorepo version file 2018-09-19 11:33:10 -07:00
Charles Lyding
f5314531f5 refactor(@angular-devkit/build-optimizer): correct implicit returns 2018-09-19 11:32:39 -07:00
Charles Lyding
80b94ad2f4 refactor(@angular-devkit/build-angular): correct implicit returns 2018-09-19 11:32:39 -07:00
Charles Lyding
c12d3ee329 refactor(@angular/cli): correct implicit returns 2018-09-19 11:32:39 -07:00
Charles Lyding
6cfb72acc2 fix(@angular/cli): support --version option 2018-09-19 09:31:13 -07:00
Charles Lyding
98c2747dd5 fix(@angular-devkit/build-angular): fully remove url inlining 2018-09-18 13:57:51 -07:00
Alan Agius
0efd002d0d docs: remove --prod as it's no longer needed
Closes #12290
2018-09-18 11:35:09 -07:00
Alan Agius
fce686d965 feat(@angular-devkit/build-angular): enable sourcemaps by default when using karma
Closes #12282
2018-09-18 11:34:44 -07:00
Keen Yee Liau
c38e6345e2 refactor(@schematics/angular): Parameterize findModule
This commit modifies `findModule` to accept custom regular expressions
so that a different filename convention for Angular modules is allowed.
2018-09-18 11:34:09 -07:00
Alan Agius
813c520926 build: add angular_devkit/core:node to deps 2018-09-18 11:33:11 -07:00
Alan Agius
f70254d5b8 refactor: use common type for stdout and stderr 2018-09-18 11:33:11 -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
Alan Agius
40129ccebd refactor: make the cli testable 2018-09-18 11:33:11 -07:00
Alan Agius
1753b6affb test: add tests to schematic-cli 2018-09-18 11:33:11 -07:00
Alan Agius
8fac6a7ceb fix(@angular-devkit/schematics-cli): fix list-schematics is not printing anything
Usage:
```
$  schematics @schematics/angular: --list-schematics
$  schematics --list-schematics
```

When no colon is specified, it means that that you are passing a schematic name to be looked up in the default collection.

Closes #12220
2018-09-18 11:33:11 -07:00
Alan Agius
84533e2446 build: update ng-packagr to 4.2.0 2018-09-18 11:30:54 -07:00
Alan Agius
5308fa07d9 feat(@schematics/angular): update ng-packagr to 4.2.0 2018-09-18 11:30:54 -07:00
Alan Agius
7fee77006c docs: add jsdoc instead of comments 2018-09-17 15:07:23 -07:00
Alan Agius
b65860fee2 feat(@ngtools/webpack): add support for traceResolution
Closes #8676
2018-09-17 15:06:56 -07:00
Hans
2f7f00f4cd refactor(@schematics/angular): replace usage of unknown for any
Google3 is still on TypeScript 2.9.
2018-09-17 14:56:57 -07:00
Hans
3127fed50a ci: remove external BUILD code that should not be internal 2018-09-17 14:56:57 -07:00
Hans
af96ccfb65 fix(@angular/cli): fix support for hidden options
They were showing when they should have been hidden.
2018-09-14 21:29:31 -07:00
Hans
d10c9e3104 fix(@angular/cli): fix support for default values in options 2018-09-14 21:29:31 -07:00
Hans
b5fc50fa1c fix(@angular/cli): add support for all variant of alias field name 2018-09-14 21:29:31 -07:00
Hans
afa71a1471 feat(@angular/cli): add help for ng-new schematics
Before it was missing because we need to load the schematics engine for it.
I moved the ng update logic that did this to SchematicCommand.
2018-09-14 21:29:31 -07:00
Hans
06d332ba23 feat(@angular/cli): generate --helpJson will remove collection name
For the default collection.
2018-09-14 21:29:31 -07:00
Hans
3b5dbad5c8 feat(@angular/cli): sort schematics by name in --help-json 2018-09-14 21:29:31 -07:00
Hans
ec41e6c828 fix(@angular/cli): chunk log so output is piped properly
Previously the output of some commands with long one-line log would not be
drained properly when piping it, causing it to be truncated.
2018-09-14 21:29:31 -07:00
Hans
84e4e8d7d8 fix(@angular/cli): run --help-json now returns a basic help
It was throwing an exception about some targets not being available.
2018-09-14 21:29:31 -07:00
Hans
c2f9e0b443 ci: generate and publish all commands help in JSON format 2018-09-14 21:29:31 -07:00
Hans
d417fa90c8 build: add create script to create a new project using local build 2018-09-14 21:29:31 -07:00
Filipe Silva
4f9dcd309c build: update pidusage
Fixes https://github.com/angular/angular-cli/pull/12022#issuecomment-417278408
2018-09-14 13:57:20 -07:00
Filipe Silva
b6793bd521 build: use specific engines for built packages 2018-09-14 13:56:43 -07:00
Keen Yee Liau
c594a6c098 release: v7.0.0-beta.3 v7.0.0-beta.3 2018-09-13 22:13:34 -07:00
Hans
c63b4d8d2b ci: disable bazel in devkit-admin build
Replace the build step with a custom JSON schema output parallel to
bazel.
2018-09-13 16:44:17 -07:00
Hans Larsen
30b0cbda0d refactor(@angular/cli): automated JSON schema interface generation 2018-09-13 16:44:17 -07:00