262 Commits

Author SHA1 Message Date
Charles Lyding
d9af12c6a1 fix(@angular/cli): properly support CSS url()'s with whitespace 2017-05-09 10:01:24 +01:00
Shyam Chen
0ef9eb7d4c fix(@angular/cli): fixing component blueprint indent 2017-05-09 10:00:14 +01:00
Filipe Silva
1cd0a0811d feat(@angular/cli): improve ng test performance
This PR uses a new Karma plugin to enable vendor bundles in unit tests,
increasing rebuild performance.

On a medium size project rebuilds times were 15x smaller (16.5s to 0.9s).

Fix #5423
2017-05-08 16:51:40 +01:00
Filipe Silva
8bf040b7e3 feat(@angular/cli): add flag to not delete output path
Fix #5925
Fix #6193
2017-05-08 14:27:59 +01:00
cexbrayat
d76d8fd9d5 build(@angular/cli): bump karma-chrome-launcher 2017-05-08 13:03:40 +01:00
Stephen Cavaliere
8b220a4012 feat(@angular/cli): add import flag to modules
closes #5377
2017-05-08 12:49:29 +01:00
Tatsuyuki Ishi
3d9a7ff24d refactor(@angular/cli): use EnvironmentPlugin instead of DefinePlugin 2017-05-08 12:18:29 +01:00
cexbrayat
d4829867b7 feat(@angular/cli): add some rules from tslint 4.5
Adds a few rules introduced by tslint 4.4 and 4.5

- [arrow-return-shorthand](https://palantir.github.io/tslint/rules/arrow-return-shorthand/)
- [no-duplicate-super](https://palantir.github.io/tslint/rules/no-duplicate-super/)
- [no-import-side-effect](https://palantir.github.io/tslint/rules/no-import-side-effect/)
- [no-misused-new](https://palantir.github.io/tslint/rules/no-misused-new/)
- [no-non-null-assertion](https://palantir.github.io/tslint/rules/no-non-null-assertion/)
- [no-unnecessary-initializer](https://palantir.github.io/tslint/rules/no-unnecessary-initializer/)
2017-05-05 10:11:13 +01:00
Charles Lyding
69d3d2b05b feat(@angular/cli): support TypeScript 2.3 2017-05-04 20:35:45 +01:00
Septimiu Criste
8c78fb98ef feat(@angular/cli): add publicPath support via command and angular-cli.json for webpack-dev-server
This adds support for publicPath to webpack-dev-server via ng serve
The server would have to be started like ng serve --deploy-url /deploypath --base-href /deploypath.
The app will be served from http://localhost:4200/deploypath

Should fix #2727
2017-05-04 20:32:33 +01:00
Charles Lyding
818936e0d3 feat(@angular/cli): use and support webpack 2.4 2017-05-04 20:24:09 +01:00
Victor Boissiere
11d0afc98a fix(@angular/cli): add error message when missing config env variable (#5980)
I tried to implement a continuous integration system on my VPS. I have a PHP script that runs ng build. However in my default PHP configuration no environment variable HOME or USERPROFILE was set. I had this error : `Path must be a string. Received undefined`.

I had to take some time to see where the problem came from so I made a pull request to clarify the error.

Now it is : `Error: Missing environment variable HOME` which does not require to look at the code. This message would have saved me some time.
2017-05-04 20:23:43 +01:00
clydin
de8336d90a test: update development tslint version (#5936)
Also fixes any encountered errors.

This only changes the version used for the CLI's development.  The project template version of tslint cannot be updated until codelyzer supports the latest version. ([codelyzer tracking issue](https://github.com/mgechev/codelyzer/issues/281))
2017-05-04 20:13:13 +01:00
Sumit Arora
2bf5c96148 feat(@angular/cli): update tslint on updating prefix (#5908)
Fixes #5794
2017-05-04 20:11:43 +01:00
Tatsuyuki Ishi
e7966a2465 fix(@angular/cli): remove default for test runners
These are specified in the config file and defaulting them in CLI makes karma.conf.js useless.
2017-05-04 20:09:12 +01:00
Charles Lyding
380ec59bf8 refactor(@angular/cli): hide link cli option 2017-05-04 20:01:11 +01:00
Charles Lyding
52f82fe629 refactor(@angular/cli): support hidden commands and options 2017-05-04 20:01:11 +01:00
Charles Lyding
70243a2064 refactor(@angular/cli): remove additional unneeded ember-cli files 2017-05-04 19:59:54 +01:00
dave11mj
d90292ed83 fix(@angular/cli): removes redundant rules from tslint.json (#5783)
Fixes #5755
2017-05-04 19:58:56 +01:00
Suguru Inatomi
8e2f8cf57b fix(@angular/cli): install webpack at ejection (#5745)
After ng eject, webpack package is not installed in the project, so npm run build requires global webpack installation.
2017-05-04 19:58:06 +01:00
Charles Lyding
ea4c8644aa feat(@angular/cli): support inline source maps with defined charset 2017-05-04 19:55:16 +01:00
Charles Lyding
67646796d9 refactor(@angular/cli): only setup CSS extraction if actually extracting 2017-05-04 19:54:47 +01:00
Charles Lyding
b07f631773 feat(@angular/cli): always use named webpack modules in dev builds 2017-05-04 19:52:48 +01:00
Matt Lewis
d7b46d09e6 feat(@angular/cli): upgrade the blueprint karma-coverage-istanbul-reporter version (#5519) 2017-05-04 19:50:13 +01:00
Filipe Silva
003ac82d72
release: 1.1.0-beta.0 2017-05-03 17:29:15 -07:00
WilliamKoza
bb99faccd3
feat(@angular/cli): add language service in devDependencies section 2017-05-03 17:29:05 -07:00
cexbrayat
af758b874c
feat(@angular/cli): bump to tslint 5 & codelyzer 3
Also fixes the `test.ts` file warnings.
2017-05-03 17:28:57 -07:00
Sumit Arora
5e39361f2c
feat(@angular/cli): adding option to search docs as well 2017-05-03 17:28:49 -07:00
Charles Lyding
aa958a6b38
feat(@angular/cli): use and support webpack 2.3 2017-05-03 17:28:38 -07:00
WilliamKoza
b11d560398 fix(@angular/cli): Improve error message for create component with -m option 2017-05-03 12:53:56 -07:00
Charles Lyding
806447e611 fix(@angular/cli): use safer stylesheet minification settings 2017-05-03 12:48:32 -07:00
Sumit Arora
98050100f2 fix(@angular/cli): use quiet flag only in case of npm 2017-05-03 12:47:27 -07:00
Charles Lyding
f73a9e40a7 fix(@angular/cli): explicitly disable warning overlays 2017-05-03 12:45:48 -07:00
Hans Larsen
7a6cb21524
Revert "feat(@angular/cli): adding skip e2e test option"
This reverts commit fdea2df02719be9fabdc25fdc3a88835afe5b286.
2017-04-24 19:41:41 -07:00
Hans Larsen
b0db3055fe
Revert "fix(@angular/cli): fix skip e2e"
This reverts commit 4aa17b2d937b8db9600524de33c99e046ad7f109.
2017-04-24 19:41:03 -07:00
Hans Larsen
bf18a238d8
release: 1.0.1 2017-04-24 19:08:41 -07:00
Sumit Arora
4aa17b2d93 fix(@angular/cli): fix skip e2e 2017-04-24 18:44:52 -07:00
Hans
92a34e2a4b Revert "feat(@angular/cli): add language service in devDependencies section"
This reverts commit 9eabfddb640b18ec09f62c5535a3d4d9b9dfda88.
2017-04-11 16:37:06 -07:00
WilliamKoza
9eabfddb64 feat(@angular/cli): add language service in devDependencies section 2017-04-11 16:36:37 -07:00
Charles Lyding
f82da18f8b fix(@angular/cli): set sass precision to bootstrap required value 2017-04-11 16:36:10 -07:00
Hans Larsen
be7c9b1b8a fix(@angular/cli): generating service dry run fix
Before, generating a service and providing it in a module, the dry run flag was
ignored for the providing part. We dont provide the module now if its a dry-run.

Fixes #5862.
2017-04-11 16:35:15 -07:00
Matt Martz
2a903d26fd fix(@angular/cli): enable dev server history fallback in ejected config 2017-04-11 16:33:50 -07:00
Adrien Crivelli
2ce61f2a67 docs(@angular/cli): Fix typos in config schema 2017-04-06 13:53:14 -06:00
clydin
7377f66563 fix(@angular/cli): allow tslint to find the appropriate config (#5792)
TSLint includes logic to find the most relevant config per linted file. Unfortunately, by defaulting the config filename this behavior was being disabled.

Fixes #5770
2017-04-03 10:21:39 +01:00
Sumit Arora
81403e85c5 fix(@angular/cli): fix baseUrl when running e2e with no-serve 2017-03-31 17:00:16 -07:00
Sumit Arora
fdea2df027 feat(@angular/cli): adding skip e2e test option 2017-03-31 16:57:16 -07:00
Stephen Cavaliere
3141673254 refactor(@angular/cli): update generate command module file resolution
closes #5461
2017-03-30 21:10:02 +01:00
Charles Lyding
f620993bef refactor(@angular/cli): remove unused custom typings 2017-03-30 11:15:40 -07:00
Charles Lyding
1bc174b0de fix(@angular/cli): ensure only in-memory output is served 2017-03-30 09:31:18 +01:00
Jan M. Pilzer
a8f498b167 fix(@angular/cli): fix generated Module Spec
Close #5715
2017-03-29 11:06:54 +01:00