201 Commits

Author SHA1 Message Date
Filipe Silva
baf0c7d2bc feat(@angular/cli): always use ng4 in ng new
Fix #5566
2017-03-23 17:58:34 -07:00
Sumit Arora
bab9a56551 fix(@angular/cli): fixing lint error issue added flag --type-check 2017-03-23 17:55:41 -07:00
Sumit Arora
7298000ac7 fix(@angular/cli): adding deployUrl description 2017-03-23 17:43:19 -07:00
Filipe Silva
5a461f1ca5 fix(@angular/cli): allow ts 2.2
The CLI itself was locked to TS2.0/2.1, but that could case it to not use the project TS when users updated to 2.2.
2017-03-23 17:38:26 -07:00
Sumit Arora
430cb55a14 fix(@angular/cli): fix default app index 2017-03-23 17:38:10 -07:00
Stephen Cavaliere
e037877169
docs(@angular/cli): fix a few documentation inconsistencies
Close #5488
2017-03-23 17:36:41 -07:00
Charles Lyding
36b8c9bd02 fix(@angular/cli): allow the use of a base-href with scheme 2017-03-23 17:28:44 -07:00
Mike Brocchi
fd12092b21 docs: update the build command docs 2017-03-23 17:25:30 -07:00
Charles Lyding
be0762b2ca fix(@angular/cli): remove mention of 'ng update' from lint warning 2017-03-23 17:24:29 -07:00
Sumit Arora
b25aef2da5 fix(@angular/cli): fixing empty prefix issue when creating new app (#5597) 2017-03-24 00:23:57 +00:00
Sumit Arora
d2b28dd84d fix(@angular/cli): do not error when apps is missing from the config 2017-03-23 08:47:15 -07:00
Sumit Arora
1fe921da93 fix(@angular/cli): Fixing global path issue 2017-03-23 08:47:15 -07:00
Mike Brocchi
b91860319f fix(@angular/cli): update version of zone.js to support Angular 4.0.0-rc.5
Fixes #5480
2017-03-21 13:18:40 -07:00
Hans Larsen
f1251bfb4d
v1.0.0-rc.3 2017-03-20 18:44:03 -07:00
Stephen Cavaliere
8a2b48c020 fix(@angular/cli): update warning message when @angular/cli not found in devDependencies
fixes #5112
2017-03-20 17:07:19 -07:00
Hans Larsen
fe69b5b110 ci: add option to ignore imports/requires from dependencies
It needs to be in the file itself where the require/import is made.
2017-03-20 09:20:03 -07:00
Hans Larsen
b965a49a49 fix(@angular/cli): remove dependencies to @angular
So we dont install the wrong version. Instead we rely on the project itself.
2017-03-20 09:20:03 -07:00
Vadim
1fa27aaa68 fix(@angular/cli): ignore the whole "coverage" directory 2017-03-20 09:11:53 -07:00
Filipe Silva
9cda847035 fix(@angular/cli): fix error handling on test
Fix #2778
Fix #3424
2017-03-20 09:10:17 -07:00
Filipe Silva
303b2c035a fix(@angular/cli): fix test typings
Blocked by #5500 (fix is included in this PR so that CI will run).

Our unit test webpack config was erroneously sending in entry points to karma-webpack, who should receive no entry points.

This in turn was hiding errors related to typeRoots lookups.

It was also causing unit tests compilation to behave weirdly: unit test errors would not stop compilation, because other entries would still compile.

This might also have contributed to the overall slowness of unit tests in #5423.

Related to TypeStrong/ts-node#283

Fix #3911
Fix #5332
Fix #5351
2017-03-20 09:10:17 -07:00
dave11mj
708719585e fix(@angular/cli): updates module.id subsequent variable typing (#5500) 2017-03-19 18:14:47 +00:00
Filipe Silva
1e476577c1 fix(@angular/cli): don't fail install due to node-sass (#5282)
This change should reduce the amount of problems on npm installs.

It makes the `node-sass` dependency optional, and so install will not fail when it cannot be installed.

For projects that do not use sass, there is no side-effect of an failed node-sass install.

For projects that do use node-sass and the install failed, they should see the following self-explanatory error message:

```
ERROR in ./src/app/app.component.scss
Module build failed: Error: Missing binding D:\sandbox\master-project\node_modules\node-sass\vendor\win32-x64-51\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 7.x

Found bindings for the following environments:

This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to build the binding for your current environment.
    at module.exports (D:\sandbox\master-project\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (D:\sandbox\master-project\node_modules\node-sass\lib\index.js:14:35)
```

Fix #4429
2017-03-16 20:02:51 +00:00
Mike Brocchi
d6504e2fb6 fix(@angular/cli): generating will dasherize all new dirs (#5437)
Fixes #5424
2017-03-15 13:42:24 -04:00
Hans Larsen
d94040b2de fix(@angular/cli): sourcemaps should be the main option, sourcemap an alias 2017-03-14 15:32:00 -07:00
Mike Brocchi
0fe19497fa fix(@angular/cli): obey the flat option when generating modules (#5411)
Fixes #5373
2017-03-14 13:48:58 +00:00
Hans Larsen
1594f104c0
v1.0.0-rc.2 2017-03-13 16:54:59 -07:00
Sumit Arora
7e2c04f4e6 fix(@angular/cli): Fixing setting enums 2017-03-13 16:22:36 -07:00
Sumit Arora
b6cc79c420 fix(@angular/cli): Fixing aliases for blueprint help 2017-03-13 16:22:04 -07:00
Sumit Arora
7f0333a19a fix(@angular/cli): Fixing generate help command fix 2017-03-13 16:21:41 -07:00
Dominic Watson
8a1b1f979b fix(@angular/cli): fix ide import errors 2017-03-13 16:20:34 -07:00
Filipe Silva
501e974384 fix(@angular/cli): don't break deployUrl with scheme
Fix #5254
2017-03-13 16:19:37 -07:00
Hans
7461528b5f fix(@angular/cli): eject command removes EOF
Notably `package.json` and `tsconfig.json`.

Fixed #5387.
2017-03-13 09:00:00 -07:00
Christophe Vidal
df89180f79 style: blueprint consistency (#5392) 2017-03-12 21:07:30 -07:00
Mike Brocchi
8d8ddfced9 fix(@angular/cli): make flag values case insensitive (#5355)
Fixes #5344
2017-03-12 00:07:20 -05:00
Mike Brocchi
c8e5359733 fix(@angular/cli): remove providers from routing modules (#5349) 2017-03-10 11:31:10 +00:00
Mike Brocchi
9b70fda0b2 fix(@angular/cli): add missing alias for guard blueprint (#5339)
Fixes #5336
2017-03-09 17:00:04 -05:00
Sumit Arora
1f8363a95a fix(@angular/cli): Fixing set prefix issue (#5301) 2017-03-09 16:42:58 +00:00
Charles Lyding
1e7d519d04 fix(@angular/cli): only adjust root relative stylesheet urls
Close #5238
2017-03-09 10:46:30 +00:00
Charles Lyding
fcb1f35424 fix(@angular/cli): remove outdated test command option --build
Close #5235
2017-03-09 10:46:03 +00:00
Charles Lyding
c99cf96e49 fix(@angular/cli): ensure lint generates well-formed machine output
For machine readable output formats, ng lint was concatenating multiple documents into a single file. This resulted in invalid JSON, XML, etc. The lint results are now aggregated and one full output is generated.

Fix #5259
Close #5224
2017-03-09 10:43:46 +00:00
Carles Galan Cladera
a54115c280 fix(@angular/cli): Log xi18n errors
Log i18n extraction errors

Fixes #5129
Close #5223
2017-03-09 10:43:15 +00:00
John Papa
e9372d3c11 fix(@angular/cli): Align tsconfig output dir to out-tsc. Add out-tsc to .gitignore
Added /out-tsc to the .gitignore blueprint. If someone runs tsc -p src/tsconfig.spec.json it outputs to the ../out-tsc folder. These should
be ignored.

Also changed
https://github.com/angular/angular-cli/blob/master/packages/%40angular/cli/blueprints/ng/files/e2e/tsconfig.e2e.json#L13 to ../out-tsc/e2e so that they all match.

cc @filipesilva

fixing due to issue with CLA from #5062

Close #5220
2017-03-09 10:41:58 +00:00
cexbrayat
a78a7279b6 feat(@angular/cli): bump to tslint 4.5.0
Close #5099
2017-03-09 10:40:09 +00:00
Takatsugu Shigeta
cf14a15299 fix(@angular/cli): Fix filtering files on completion
Fix #4664
Close #4972
2017-03-09 10:36:08 +00:00
Mike Brocchi
5e54a01e28 fix(@angular/cli): yarn install does not support --quiet (#5310) 2017-03-08 20:45:46 +00:00
Stephen Cavaliere
3515c3b472 fix(@angular/cli): fix issue with console prompt bailing early (#5218)
* fix(@angular/cli): fix issue with console prompt bailing early

fixes #4614

* fix(@angular/cli): fix declarable types not finding closest module

fixes #5127
2017-03-07 22:12:18 -05:00
Filipe Silva
5c9c653f79 feat(@angular/cli): use standard stackTraceLimit (#5284)
Sometime very long ago we set infinite stack traces and never took them out.

This PR sets infinite stack traces only on dev setups.
2017-03-07 21:59:06 +00:00
Filipe Silva
1c2f361e8e fix(@angular/cli): fix TS2.1 typeroots (#5251)
TS-Node with TypeScript 2.1+ does not infer `typeRoots`, so we need to list them explicitely in the root tsconfig.

Issue for TS-Node: https://github.com/TypeStrong/ts-node/issues/283

Fix #5082
2017-03-07 14:08:18 +00:00
Roy Ling
c2a85694e1 fix(@angular/cli): karma config is default for test command (#5263)
`ng help test` says _protractor_ config is used by default, but it should be karma config instead.
2017-03-06 21:32:03 -05:00
Mike Brocchi
e0aeccbfab test(@angular/cli): output test compilation to es5 (#5255)
Fixes #5185
2017-03-06 16:23:31 -05:00