163 Commits

Author SHA1 Message Date
Alan Agius
8516d68213 feat(@angular-devkit/build-angular): fine grain settings for sourceMaps (#13062)
* feat(@angular/cli): update schema to match new `sourceMap`

* feat(@angular-devkit/build-angular): fine grain settings for sourceMaps

This PR add more control over which sourceMaps you want, Now you can enable sourceMaps for scripts only, styles only or both. Also we added another functionality which are hidden sourcemaps. These are normaly used for error reporting tools.

Fixes #7527
2018-11-30 13:11:52 -08:00
Mathou54
81670ae13b docs(@angular/cli): change default test watch flag (#13051) 2018-11-30 12:02:58 -08:00
Michael O'Keefe
db0fc7759b feat(@angular/cli): Added support for multiselect list prompt (#13031)
* feat(@angular/cli): Added support for multiselect list prompt

* If multiselect option is true use the checkbox
   inquirer prompt type, otherwise use list.

* feat(@angular-devkit/core): Added support for multiselect list prompt

* Added multiselect to PromptDefinition interface and usages
2018-11-30 12:01:57 -08:00
Carlo Dapor
fddd71009b docs: remove spurious Unicode character at the end of update-long.md
There is an extra character (\u200c) at the end of the line starting with "ng add".
2018-11-26 10:22:50 -08:00
Hans Larsen
3e9705f31b feat(@angular/cli): add warning for overriding flags in arguments
Fixes #12948
2018-11-19 17:20:34 -08:00
Judy Bogart
b626ca7c5e docs: add v7 instructions to ng update cmd 2018-11-16 15:15:29 -08:00
Judy Bogart
268ce42933 docs: fix typos 2018-11-16 15:15:29 -08:00
Alan Agius
d2a29afd48 fix(@angular/cli): handle case senstive aliases
Closes #12780
2018-11-15 17:09:54 -08:00
Alan Agius
1d5d5153f3 feat(@angular/cli): add resourcesOutputPath to schema 2018-11-15 17:09:43 -08:00
Charles Lyding
5e7f995001 fix(@angular/cli): improve architect command project parsing 2018-11-15 17:09:30 -08:00
Alan Agius
b659f1eef6 fix(@angular/cli): add missing ngswConfigPath to schema 2018-11-14 12:48:24 -08:00
Charles Lyding
00141868ce fix(@angular/cli): silence package manager not found messages
Fixes #12939
2018-11-14 12:40:22 -08:00
Alan Agius
26245c0c53 docs: update long descriptions for test, e2e and lint
Closes #12930
2018-11-14 12:40:01 -08:00
clydin
43aabb4be6 fix(@schematics/update): improve npmrc discovery (#12871)
* fix(@schematics/update): improve npmrc discovery

* feat(@angular/cli): support yarnrc options during update when using yarn
2018-11-14 10:30:00 -08:00
Hans Larsen
456614828f feat(@angular/cli): allow flags to have deprecation
The feature comes from the "x-deprecated" field in schemas (any schema that is used
to parse arguments), and can be a boolean or a string.

The parser now takes a logger and will warn users when encountering a deprecated
option. These options will also appear in JSON help.
2018-11-14 10:29:07 -08:00
Judy Bogart
9da4bdca81
docs: copy edit
Closes #12837.
Closes #12898.
2018-11-13 13:10:20 -08:00
Judy Bogart
7029eee980
docs: add links to workspace-config page 2018-11-13 13:09:51 -08:00
Judy Bogart
deadbaf392
docs: fix run syntax 2018-11-13 13:09:51 -08:00
Judy Bogart
f454b7cd17
docs: remove uglify reference 2018-11-13 13:09:51 -08:00
Judy Bogart
c695c3ab27
docs: edit build description 2018-11-13 13:09:50 -08:00
Judy Bogart
1c39f54a24
docs: edit run description 2018-11-13 13:09:50 -08:00
Judy Bogart
b07fbee0b1
docs: edit run terminology 2018-11-13 13:09:50 -08:00
Judy Bogart
8f7fe87fd2
docs: edit and expand command docs 2018-11-13 13:09:50 -08:00
Alan Agius
bd4dc38359 refactor: use createConsoleLogger and remove duplicate code (#12787) 2018-11-08 10:30:41 -08:00
Alan Agius
131f55518c fix(@angular/cli): support all single dashes prefixed arguments (#12783)
Fixes #12771
2018-11-06 22:43:14 -08:00
clydin
5e354d17f1 feat(@angular/cli): autodetect default package manager (#12753) 2018-11-06 22:00:40 -08:00
Keen Yee Liau
d3e1149bdf build: add missing transitive deps for typescript (#12881)
add `strict_checks = False` for building inside Google.
2018-11-06 20:40:03 -08:00
Filipe Silva
298faa129a test(@angular/cli): fix implicit import
This lint error resulted from the interaction between https://github.com/angular/angular-cli/pull/12554 and https://github.com/angular/angular-cli/pull/12515.
2018-11-01 10:07:48 -07:00
Filipe Silva
eef66f0f65 fix(@angular/cli): error out when command json is invalid 2018-11-01 08:26:28 -07:00
Alan Agius
6e0b60df32 fix(@angular/cli): errors and warnings are hard to read in windows cmd (#12767)
* fix(@angular-devkit/core): errors and warnings are hard to read in windows cmd

Closes #12755

* fix(@angular/cli): errors and warnings are hard to read in windows cmd

Closes #12755
2018-10-31 21:03:03 -07:00
Alan Agius
2bb26f197b fix(@ngtools/webpack): print error message on new line (#12764)
* fix(@ngtools/webpack): print error message on new line

* fix(@angular/cli): change logger from `warning` to `fatal` for unkown options
2018-10-31 21:02:25 -07:00
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 (#12561) 2018-10-11 10:40:41 -07:00
Judy Bogart
f48a1630ba docs: cli command docs (#12520) 2018-10-10 14:50:06 -07:00
clydin
d45bce2e8b refactor(@angular/cli): update eject command message (#12525) 2018-10-10 12:11:26 -07:00
Rohit Sarkar
7d5caeb8eb docs(@angular/cli): Change npm install to yarn to install (#12495)
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 (#12470)
* refactor: add a better `description` for `packages`

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

Closes #12468
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