Hans Larsen
3fd6afc7f8
feat(@angular-devkit/build-angular): add --reporters option to test
...
It was a regression, and used by enough people on CI. No reason it should be
omitted and karma.conf.js only.
Fixes #11376
2018-10-01 07:44:06 -07:00
Alan Agius
91e5fc0bfa
build: update to TypeScript 3.1
2018-10-01 07:39:59 -07:00
Hans Larsen
aa25a33448
feat(@angular/cli): show project being linted
...
Fixes #11231
2018-09-27 13:20:19 -04:00
Charles Lyding
5d8af57112
feat(@angular/cli): add --defaults
option to ng new
...
Any option with a default value will not be prompted (if a prompt is defined) and the default will be used instead.
Closes #12084
2018-09-27 12:58:43 -04:00
Hans Larsen
5faf0cb535
fix(@angular/cli): numerical flags should not give 0 if empty
...
And numerical positional flags will be ignored.
If the value is an empty string, a number conversion would give 0. It is unexpected
from the user standpoint ("--num=" has the user expect a string value).
2018-09-27 12:46:15 -04:00
Hans Larsen
4daa299558
fix(@angular/cli): allow -a=value arguments
...
If a flag is followed by an equal sign, just treat it as a long name. So
the example above would translate to --a=value, while -abc=123 would be
"-a -b -c=123".
Fixes #12308
2018-09-27 12:46:15 -04:00
Hans Larsen
78a6fabb4a
fix(@angular/cli): allow empty string arguments
2018-09-27 12:46:15 -04:00
Hans Larsen
a13d74cd98
docs(@angular/cli): add progress to extractI18n workspace schema
2018-09-27 12:45:42 -04:00
Charles Lyding
9a793494dc
build: update rxjs to 6.3
2018-09-26 12:57:56 -04:00
Alan Agius
64927e8e17
feat(@angular/cli): add support for ShadowDom
as a viewEncapsulation
value
2018-09-26 08:53:43 -04:00
Charles Lyding
d24db32c40
fix(@angular/cli): relax compatible angular check package location
2018-09-26 08:53:14 -04:00
danielhelfand
2397920ff3
docs: npx install information
2018-09-26 08:50:51 -04:00
danielhelfand
feb295d9c1
docs: touching up local installation instructions
2018-09-26 08:50:51 -04:00
danielhelfand
830ba8f5e6
docs: add local installation and specific version installation instructions
2018-09-26 08:50:51 -04:00
Charles Lyding
91cf2d7b9f
fix(@angular/cli): allow global config command outside project
...
Fixes #12296
2018-09-25 17:05:15 -04:00
Alireza Mirian
daf0ec8de8
fix(@angular/cli): suggest windows-compatible typescript install command
...
Specifying version range in single quote doesn't work in windows CMD and it returns:
> The system cannot find the file specified.
2018-09-25 16:35:03 -04:00
Alan Agius
43fff130a5
fix(@angular/cli): cannot use same target name in when having multiple projects ( #12327 )
...
Closes #12320
2018-09-21 12:27:11 -07:00
Hans
0b959d1233
* fix(@angular/cli): remove helpJson and help-json mentions ( #12331 )
...
* fix(@angular/cli): remove helpJson and help-json mentions
* ci: use proper --help=json for creating snapshot
2018-09-20 14:45:09 -07:00
Hans
97576ecd13
fix(@angular/cli): do not show stack on argument parse error
2018-09-19 13:02:40 -07:00
Hans
f7f5b28dae
feat(@angular/cli): if parsing comes accross an obvious error throw it
...
We accumulate errors this way, and throw only once at the end, with messages for
all errors.
2018-09-19 13:02:40 -07:00
Hans
b02a7e5f9b
fix(@angular/cli): on error finding files, show warning
...
This should not prevent execution, but is useful to know.
2018-09-19 13:02:40 -07:00
Hans
fcbc7db54f
feat(@angular/cli): remove --help-json and add format to help
...
--help now accepts a value which can be a boolean or a string. If the value
is not understood we simply show a message to the user that it was invalid.
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
b502847c73
build: remove unneeded gitignore file
2018-09-19 11:33:10 -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
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
Filipe Silva
b6793bd521
build: use specific engines for built packages
2018-09-14 13:56:43 -07:00
Hans Larsen
30b0cbda0d
refactor(@angular/cli): automated JSON schema interface generation
2018-09-13 16:44:17 -07:00
Charles Lyding
9e7391c685
fix(@angular/cli): warn if targets
is present when using a schematic
2018-09-13 16:43:31 -07:00
Yi Qi
e36a259a45
fix(@angular/cli): fix issues in google3
2018-09-13 14:08:04 -07:00
Charles Lyding
57a32c2ef5
fix(@angular/cli): show an error if invalid global config file found
...
Fixes #12198
2018-09-12 16:00:04 -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
Alan Agius
65ede1fd6e
docs: fix english
2018-09-06 10:51:04 -07:00
Alan Agius
bdebc9e0cb
feat(@angular-devkit/build-angular): add ignore
option to assets
object
...
You can now provide an array of globs to `ignore` from copying
Closes #11850
2018-09-06 08:36:16 -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
c72c45f9db
fix(@angular/cli): only add options if theres only one builder configuration
2018-09-06 07:37:48 -07:00
Hans
66fbc59767
feat(@angular/cli): add long description and suboption option type
2018-09-06 07:37:48 -07:00