150 Commits

Author SHA1 Message Date
Charles Lyding
5fc9b28b3e fix(@angular/cli): allow set prefix with no tslint config 2018-02-15 15:39:26 -05:00
Charles Lyding
57d7c16570 feat(@angular/cli): use schematic tasks for application init 2018-02-07 21:07:38 -05:00
Hans Larsen
d699392fc4 feat(@angular/cli): add support for ng update --next 2018-02-06 19:39:24 -05:00
Mike Brocchi
ac9c5995d2 feat(@angular/cli): Add update cmd to update angular versions. 2018-01-24 07:46:58 -08:00
Mike Brocchi
5a736bd90b refactor: Update rxjs operators to be lettable
Fixes #8912
2018-01-23 09:55:02 -08:00
Hans Larsen
ca8e8344f7 fix(@angular/cli): allow colon separated schematic name in generate 2018-01-22 19:22:02 -08:00
Hans Larsen
554908e245 fix(@angular/cli): allow for schema-less schematics to be generated 2018-01-22 19:22:02 -08:00
Filipe Silva
93e5d460b4 feat(@angular/cli): use devkit core formats for schematics
Followup to https://github.com/angular/devkit/pull/334
2018-01-18 13:03:19 -05:00
tomastrajan
d53f45896b feat(@angular/cli): add trailing slash to deployUrl when missing
Closes #7295
2018-01-03 22:14:26 +00:00
Aniruddha Das
265eb96c09 feat(@angular/cli): override suite in the protractor config
resolves: 807
Override suite in the protractor config.
Can send in multiple suite by comma seperated values (ng e2e --suite=suite1.ts, suite2.ts).

Issue link
 github.com/angular/angular-cli/issues/807
 github.com/angular/angular-cli/pull/3551
2018-01-03 11:09:26 +00:00
Mike Brocchi
330079cd7c fix(@angular/cli): Allow schematics without a name option.
Fixes #8793
2017-12-13 16:33:39 -05:00
Mike Brocchi
c573d91dad fix(@angular/cli): Add app-shell error msg
If configured app shell app is not configured as platform server throw an error
2017-11-29 21:14:19 +00:00
Mike Brocchi
8c0779f6a3 feat(@angular/cli): Add ability to build AppShell 2017-11-22 22:35:31 -08:00
Yaroslav Admin
4774049e84 feat(@angular/cli): disable progress when running outside TTY
The default value is changed from `true` to `progress.stdout.isTTY`. It
still has lower priority than value specified by command line flag or in
the .angular-cli.json config.

Fixes #8148
2017-11-21 11:51:53 -08:00
Filipe Silva
a2c416614d fix(@angular/cli): fix generate app root in windows
Fix #7960
2017-11-20 09:12:15 -08:00
Alex Rickabaugh
7b4b2c78d4 feat(@angular/cli): support 5.0.0+ builds of @angular/service-worker 2017-11-06 17:30:38 +00:00
Mike Brocchi
f4326addf6 fix(@angular/cli): Show non-schematic options with help 2017-11-01 10:02:30 -07:00
Mike Brocchi
6c5e60efba fix(@angular/cli): Show detailed help for ng new --help 2017-11-01 10:02:30 -07:00
Mike Brocchi
db39ccf789 refactor: Refactor help output 2017-11-01 10:02:30 -07:00
Mike Brocchi
f3e84184ea fix(@angular/cli): Show detailed help for generate
Fixes #7723
2017-10-27 15:36:35 -07:00
Filipe Silva
0eb25be6ff fix(@angular/cli): fix broken vendor chunk default
Followup to #8077
Fix #8169
2017-10-24 13:54:33 -07:00
Filipe Silva
fd82e1870e build: update chalk to 2.2
`chalk@2.2` is incompatible with `@types/chalk`.
2017-10-24 12:03:55 -07:00
Filipe Silva
28e66f352d fix(@angular/cli): improve rebundling speed
Forcing TypeScript to output commonjs modules instead of es2015 modules drastically improves rebuild speeds, especially for AOT.

This PR forces this option on the following modes:
- `ng build --watch --target=development`
- `ng serve --target=development`
- `ng test --code-coverage=false`

Please note that `--target=development` and `--code-coverage=false` are the defaults.

See https://github.com/webpack/webpack/issues/5863 for the webpack issue.
2017-10-20 11:00:51 -07:00
Filipe Silva
451f17cc04 fix(@angular/cli): strip decorators with Angular 5+ (#8077)
We feel build `--build-optimizer` is stable enough to not be experimental anymore.

This PR defaults `build-optimizer`  when using Angular 5+ on a production build with `--aot`.

It can still be turned off with `--no-build-optimizer` (or `--build-optimizer=false`).

Fix #8050
2017-10-18 19:49:49 +01:00
Hans Larsen
d3998aed75 feat(@angular/cli): show more version information
Group all Angular packages that have the same version as @angular/core, and
also show information for schematics, devkit and others that might not be
in the package.json but still installed. Those versions are important.
2017-10-11 09:36:42 -07:00
Filipe Silva
65e40dc5d9 fix(@angular/cli): fix eval-sourcemap when sourcemap is undefined
Also add test to ensure it doesn't break.

Followup to #7919
2017-10-10 09:42:05 -07:00
Hans Larsen
5b0af09fc3 revert: "refactor: move all CLI-specific exceptions to different options (#7981)"
This reverts commit ae47b46563e2bcaf31aab9f992691e42d3e04eae.
2017-10-09 22:33:11 -07:00
Hans
ae47b46563 refactor: move all CLI-specific exceptions to different options (#7981)
We made too many shortcuts for passing data in and custom schematics could not
work properly.

This is temporary as we will likely move some more logic into schematics tooling
to be able to pass only the raw args and the CLI config, but for now this is
enough to unblock AngularMix.
2017-10-09 22:28:29 -07:00
Aditya Parab
3bbf175bab fix(@angular/cli): do not run e2e task if build fails
when ng e2e --serve=true is run and the build is not successful e2e task
should not be run

previously the e2e task was run even if build was a failure which will
obviously result in failure of test cases
now if errors are detected in build the e2e task will not be run
update docs as well to reflect this behaviour

Closes #7567
2017-10-06 09:59:47 -07:00
Filipe Silva
08b284ec62 feat(@angular/cli): use eval-source-map for serve on dev targets 2017-10-05 13:15:30 -04:00
Hans Larsen
aa02086d02 feat(@angular/cli): add a bundle dependencies flag
This flag allows people who know what theyre doing to bundle the
server build together with all dependencies. It should only be
used when the whole rendering process is part of the main.ts
or one of its dependencies.

Fixes #7903.
2017-10-05 09:56:11 -07:00
vsavkin
b6dfa8d52c feat(@angular/cli): make appRoot customizable 2017-10-04 14:33:43 -04:00
Mike Brocchi
60509ae54c fix(@angular/cli): Correct selecting custom schematic collection 2017-10-03 09:38:43 -04:00
Filipe Silva
d430abe9e3 feat(@angular/cli): always use new compiler with Angular 5 2017-10-02 12:52:02 -04:00
Mike Brocchi
116e294317 fix(@angular/cli): Refactor skip git flag into schematics
related to angular/devkit#167
2017-09-28 15:26:29 -07:00
Charles Lyding
8f73714a3a feat(@angular/cli): support subresource integrity validation 2017-09-26 16:27:30 +01:00
Charles Lyding
baf20296ab refactor(@angular/cli): remove intermediate init command 2017-09-25 12:04:46 +01:00
Hans Larsen
ce218ec39c fix(@angular/cli): fix an issue with schematics
The issue here is that the sourceDir string could be anywhere in the
path. We only care about it if its at the start.
2017-09-20 09:58:49 -04:00
Hans Larsen
725e0d03d4 fix(@angular/cli): add appRoot to generate
This depends on https://github.com/angular/devkit/pull/149

Fixes #7695
2017-09-20 09:58:49 -04:00
Ahsan Ayaz
fa42645861 fix(@angular/cli): Generating component considers default style extension for project now 2017-09-19 21:21:50 -04:00
Hans Larsen
2b982d2cba refactor: fix comments to the PR 2017-09-13 16:21:16 -07:00
Filipe Silva
939cd6c02d feat(@ngtools/webpack): add AngularCompilerPlugin 2017-09-13 16:21:16 -07:00
Filipe Silva
b0fd35ee37 feat(@angular/cli): add --preserve-symlinks to ng test
Fix #7081
2017-09-13 12:32:23 -07:00
vsavkin
6c6584d133 fix(@angular/cli): fix new to work with custom collections 2017-09-13 10:40:41 -07:00
Mike Brocchi
1a89c944f2 fix(@angular/cli): Make prefix work when using aliases
fixes #7522
2017-09-13 10:26:07 -07:00
Filipe Silva
022ed2ce71 fix(@angular/cli): verify Angular/TS version combos 2017-09-07 16:32:41 +01:00
Mike Brocchi
1652aa3fdc fix(@angular/cli): Use the app default prefix when generating
fixes #7522
2017-09-06 10:08:34 +01:00
Anisetus Elly Efendi
77510649f6 fix(@angular/cli): ng lint option format not work properly if using alias 2017-08-23 14:25:26 -07:00
Tembong Fonji
9ee78abd28 feat(@angular/cli): show typescript version on ng version (#7372) 2017-08-20 11:45:48 -07:00
Olivier Combe
e746369ca4 feat(@angular/cli): add AOT parameter missingTranslation
This adds the new parameter `missingTranslation` for AoT that was added in angular/angular/pull/15987 and that lets you define the MissingTranslationStrategy
2017-08-18 12:15:55 -07:00