1
0
mirror of https://github.com/angular/angular-cli.git synced 2025-05-17 11:03:53 +08:00

142 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
5af69ba43b refactor(@angular/cli): remove rxjs direct dependency 2018-10-31 14:53:56 -07:00
Alan Agius
f52f043e4f docs: update descriptions 2018-10-24 13:11:55 -07:00
Alan Agius
e08a6f4e98 docs: update cli readme for version 7 2018-10-23 12:03:26 -07:00
Alan Agius
0dc4c40dd3 fix(@angular/cli): multiline help descriptions are not aligned 2018-10-23 12:00:30 -07:00
Alex Eagle
21956ca25f docs: minor updates to command reference
Don't mention Architect
We don't inline resources anymore
Minor grammar tweaks
Split out a couple more long descriptions so the short description is plain text
2018-10-16 11:18:16 -07:00
Judy Bogart
3ad551c2ff docs: correct json syntax 2018-10-16 11:18:16 -07:00
Judy Bogart
6ea5c1f566 docs: mention prompts 2018-10-16 11:18:16 -07:00
Judy Bogart
0ae37346b1 docs: expand doc for initial cmds 2018-10-16 11:18:16 -07:00
Charles Lyding
9ebf280697 fix(@angular/cli): use stderr for all diagnostic related log messages 2018-10-16 10:53:19 -07:00
clydin
0ae84755c7 docs(@angular/cli): correct e2e long description field () 2018-10-11 10:40:41 -07:00
Judy Bogart
f48a1630ba docs: cli command docs () 2018-10-10 14:50:06 -07:00
clydin
d45bce2e8b refactor(@angular/cli): update eject command message () 2018-10-10 12:11:26 -07:00
Rohit Sarkar
7d5caeb8eb docs(@angular/cli): Change npm install to yarn to install ()
dependencies.
2018-10-10 12:06:56 -07:00
Hans
4493d885da docs: start rewriting docs 2018-10-05 12:02:45 -07:00
Alan Agius
80163ce0da fix(@angular/cli): ng update --help shows --packages twice ()
* refactor: add a better `description` for `packages`

* fix(@angular/cli): `ng update --help` shows `--packages` twice

Closes 
2018-10-04 13:34:17 -07:00
Noel Mace
317602e40d refactor(@angular/cli): remove v8-profiler typings
Remove dependency to the @types/v8-profiler Profiler type as we don't want to depend on it.

See https://github.com/angular/angular-cli/pull/12411#discussion_r221688065
2018-10-03 16:35:54 -07:00
Noel Mace
93ccb82341 style: disable no-implicit-dependency v8-profiler
We only use @types/v8-profiler, which is a repository dev dependency, and v8-profiler-node8
is a "when needed" dependency.
2018-10-03 16:35:54 -07:00
Noel Mace
42f827ba36 build: add v8-profiler typings
After some refactoring on the angular/cli init, v8-profiler typing is required
in order to fix a no-any lint error.
2018-10-03 16:35:54 -07:00
Noel Mace
774f6d61f3 docs(@angular/cli): how to capture a CPU profile
Add documentation on how to generate a CPU profile capture.
2018-10-03 16:35:54 -07:00
Noel Mace
3de49db38e fix(@angular/cli): capture CPU profile
Replace the v8-profiler dependency with v8-profiler-node8 as the first one
doesn't support node 8 and 10, and that @angular/cli support only node 8
and 10.
2018-10-03 16:35:54 -07:00
Alan Agius
eab4c2e630 fix(@angular/cli): ng update remove duplicate dryRun in help
Closes 
2018-10-03 16:34:31 -07:00
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 
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 
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 
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 
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 
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 ()
Closes 
2018-09-21 12:27:11 -07:00
Hans
0b959d1233 * fix(@angular/cli): remove helpJson and help-json mentions ()
* 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 
2018-09-19 11:40:02 -07:00