209 Commits

Author SHA1 Message Date
Charles Lyding
6efd5b7746 feat(@angular/cli): optimize stylesheets after full bundling 2017-12-21 13:05:04 +00:00
Charles Lyding
90e2e805aa feat(@angular/cli): can disable unsupported serve path warning 2017-12-19 09:30:55 -08:00
Charles Lyding
a5edc12ee8 fix(@angular/cli): support eject with latest application schematic 2017-12-14 13:34:14 +00:00
Charles Lyding
8cea8ffdc2 refactor(@angular/cli): add webpack integrated scripts plugin 2017-12-13 17:09:17 -05:00
Mike Brocchi
746bf7af2b fix(@angular/cli): Prevent showing options with visible false 2017-12-05 17:51:48 -05:00
Alex Rickabaugh
abbd4a67d4 fix(@angular/cli): support ejection of service worker apps 2017-11-29 14:50:34 -08:00
Mike Brocchi
03014187ce fix(@angular/cli): Allow app-shell build without hashing
App shell builds will now work when output-hashing is none
2017-11-29 21:14:19 +00:00
Charles Lyding
78e1395009 fix(@angular/cli): honor project's hmr warning option 2017-11-27 17:52:23 +00:00
Mike Brocchi
8c0779f6a3 feat(@angular/cli): Add ability to build AppShell 2017-11-22 22:35:31 -08:00
Charles Lyding
7738112ca9 fix(@angular/cli): sync lint error code behavior with TSLint 2017-11-20 10:48:04 -08:00
Mathou54
43921060fd fix(@angular/cli): typo console output
Fix the typo in `DON'T USE IT FOR PRODUCTION USE!`.
It is now `DON'T USE IT FOR PRODUCTION!`.
2017-11-20 09:13:33 -08:00
Olivier Combe
a92078fb2a fix(@angular/cli): throw xi18n errors
Fixes #8065
2017-11-20 09:07:08 -08:00
Charles Lyding
a7f2e7fc60 fix(@angular/cli): use rxjs path mapping helper in ejected config 2017-11-20 09:06:12 -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
Peter Newnham
74d404974c feat(@angular/cli): Show package installation progress
Resolves #5960
2017-11-02 16:26:19 +00:00
Charles Lyding
1eb24703c0 fix(@angular/cli): use explicit error when linting non-program file 2017-11-02 16:02:58 +00:00
Charles Lyding
29c8c8ab8c refactor(@angular/cli): simplify lint file discovery 2017-11-02 16:02:58 +00:00
Charles Lyding
0f0d7ed06e fix(@angular/cli): allow reading UTF8 files with BOM when linting 2017-11-02 16:02:58 +00:00
Charles Lyding
13c99def7d refactor(@angular/cli): remove use of any from lint task 2017-11-02 16:02:58 +00:00
Hans Larsen
a24e644392 fix(@angular/cli): add PurifyPlugin to eject 2017-11-01 14:56:51 -07: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
a28a967309 fix(@angular/cli): remove typescript dependency 2017-10-25 10:32:57 -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
Hans Larsen
0d6aaf81ef refactor: simplify the schematic-run task a bit 2017-10-16 18:37:25 +01:00
Hans Larsen
9b3f2cd97f fix(@angular/cli): do not limit arguments of schematics
The schema of a Schematic can be any valid schema. The CLI was erroring if
it included anything else than strings or booleans.
2017-10-16 18:37:25 +01: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
Filipe Silva
d430abe9e3 feat(@angular/cli): always use new compiler with Angular 5 2017-10-02 12:52:02 -04:00
Filipe Silva
335bd04be4 feat(@angular/cli): support xi18n with Angular 5 2017-09-28 21:12:31 +01:00
Filipe Silva
ecb91bed8f feat(@ngtools/webpack): add JIT support to AngularCompilerPlugin 2017-09-28 21:12:31 +01:00
Charles Lyding
977be3fa0c fix(@angular/cli): use relative paths within ejected config 2017-09-28 18:21:01 +01:00
Charles Lyding
e786895863 feat(@angular/cli): automatically detect the live-reload client connection address 2017-09-27 12:30:06 +01:00
Suguru
128b92adb5 fix(@angular/cli): open app with servePath 2017-09-27 12:25:31 +01:00
Charles Lyding
afe228ebbf feat(@angular/cli): always use lint project option if present 2017-09-27 09:29:32 +01:00
Charles Lyding
8f73714a3a feat(@angular/cli): support subresource integrity validation 2017-09-26 16:27:30 +01:00
Amit Moryossef
a9f670223c fix(@angular/cli): increase keepAliveTimeout for all Node 8 versions 2017-09-26 11:10:26 +01:00
vsavkin
5421e69eb6 feat(@angular/cli): improve error messages for apps that do not have 'main' defined 2017-09-25 09:56:17 -07:00
Ahsan Ayaz
fa42645861 fix(@angular/cli): Generating component considers default style extension for project now 2017-09-19 21:21:50 -04: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
Filipe Silva
dea04b1d57 feat(@angular/cli): support ES2015 target 2017-09-13 12:26:00 -07:00
Hans Larsen
bf3c519d9f fix(@angular/cli): use an empty host for ng new
Creating the host means listing all files and directory. On large directories
it can be quite expensive. On ng new however we do not need to list everything,
only detect conflicts, so using an empty tree as the host of the schematics
makes sense.
2017-09-06 09:55:57 +01:00
Filipe Silva
38a7ab47c6 fix(@angular/cli): fix asset watching
https://github.com/kevlened/copy-webpack-plugin is now used instead of the custom plugin, it has since implemented the features we needed.

Fix #7521
2017-09-05 21:45:19 +01:00
mtraynham
c9c964497a fix(@angular/cli): Increase keepAliveTimeout for Webpack Dev Server 2017-09-05 11:15:54 +01:00
Mike Brocchi
d6c07c7a81 fix(@angular/cli): New project now respect default styleExt (#7430)
Fixes #5599
2017-08-22 15:14:21 -07:00
Charles Lyding
9edb30cf2c fix(@angular/cli): only install packages once for a new project 2017-08-18 10:15:44 -07:00