262 Commits

Author SHA1 Message Date
Preston Van Loon
7de9ab1883 fix(@angular/cli): fix typo in version check
Close #5702
2017-03-29 11:05:15 +01:00
Sumit Arora
39aef95fd9 fix(@angular/cli): fixing new help issue
Close #5694
2017-03-29 11:04:39 +01:00
Charles Lyding
4563ec583a refactor(@angular/cli): modernize webpack style config
Close #5672
2017-03-29 11:04:09 +01:00
Filipe Silva
16171b93d7 fix(@angular/cli): fix sourcemap toggle in ng test
Followup to #5422
Fix #5666
Close #5668
2017-03-29 11:03:31 +01:00
Abdulhaq Emhemmed
f6ca2d76f3 fix(@angular/cli): Use appropriate packageManager for linking
When creating a new project using the --link-cli option, the
linking command was hard-coded to use npm link @angular/cli.
This commit replicates the behaviour of npm-install where the
package manager is obtained from the global config and is then
used for linking.

Close #5524
2017-03-29 10:58:37 +01:00
Yann Eves
15a3fc39b2 docs: change generated readme to use | and not / in examples
Close #5250
2017-03-29 10:53:52 +01:00
Charles Lyding
b3e3734c35 refactor(@angular/cli): convert additional files to typescript
Close #4996
2017-03-29 10:52:55 +01:00
Georg Müller
1ef8de514e fix(@angular/cli): update completion suggestion for .bashrc and .zshrc
This way, it always contains the completion matching the installed version
of angular-cli.
2017-03-29 10:26:25 +01:00
Georg Müller
dfe59908a6 fix(@angular/cli): correctly build completion with blueprints and options
before, if both blueprints and options are present, a space was missing between
them, resulting in "service--dryrun" instead of "service --dryrun"

Patch v2:
* use template string
* fix indentation of generated bash output
2017-03-29 10:26:25 +01:00
Hans Larsen
55a4e628f7 fix(@angular/cli): use zone.js 0.8.6 in @angular/cli 2017-03-27 17:33:59 -07:00
Hans Larsen
900250f4dc
v1.0.0 2017-03-23 20:23:37 -07:00
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