318 Commits

Author SHA1 Message Date
Filipe Silva
01cbf65728
release: 1.1.1 2017-06-07 14:04:31 -07:00
Mike Brocchi
a7668e0b0c feat(@angular/cli): add barebones option to ng new
This feature allows users to specify `--barebones` (`-b`) to create a no-frills app.
2017-06-07 12:33:48 -07:00
Sumit Arora
2be0bf2d53 fix(@angular/cli): fix delete path check 2017-06-07 11:22:25 -07:00
Tatsuyuki Ishi
75311c2a45 feat(@angular/cli): add support for minifying HTML
Close #1861
2017-06-07 18:49:09 +01:00
Charles Lyding
d437afbfae fix(@angular/cli): allow public host option to accept only hostname 2017-06-07 18:44:34 +01:00
Gleb Gusachenko
407625ca90 feat(@angular/cli): support loading webp images (#6594)
Fix #6526
2017-06-07 18:42:34 +01:00
Rokas Brazdžionis
f7847f58a3 docs(@angular/cli): correct web animations polyfill description 2017-06-06 15:09:33 +01:00
Charles Lyding
6e8944e621 fix(@angular/cli): check package manager only when using one 2017-06-06 15:08:39 +01:00
Charles Lyding
f9053bf5b7 refactor(@angular/cli): simplify command registration 2017-06-06 15:05:35 +01:00
Sumit Arora
0e153cb765 fix(@angular/cli): fix env path 2017-06-06 15:04:38 +01:00
Charles Lyding
6c6d50eb0d refactor(@angular/cli): remove unnecessary use of ember-cli promise wrapper 2017-06-06 15:03:11 +01:00
cexbrayat
b6bf8aedb4 fix(@angular/cli): restore e2e blueprint
This reverts commit ba15605fc3ef2e9a117b25b8fbc05b6817b3d27d.

The commit introduced non idiomatic Protractor code.
2017-06-06 14:59:28 +01:00
Sumit Arora
e72693a948 feat(@angular/cli): remove deduped licenses 2017-06-02 19:19:44 +01:00
Jesse Palmer
d1cac3255b feat(@angular/cli): add n as new alias (#6494) 2017-06-01 12:01:28 +01:00
Charles Lyding
af3e6b22f4 feat(@angular/cli): add option to preserve symlinks for module resolution 2017-06-01 11:47:19 +01:00
Charles Lyding
b72dbd9dea refactor(@angular/cli): remove additional unneeded ember-cli files 2017-06-01 11:45:01 +01:00
Hans Larsen
54b228e49b
release: 1.2.0-beta.0 2017-05-31 14:26:59 -07:00
Hans Larsen
3b4bf616f7
release: 1.1.0 2017-05-31 14:08:09 -07:00
Douglas Duteil
be7a7162eb fix(@angular/cli): resolve in all available node_modules
When @angular/cli dependencies (like @ngtool/webpack for example) are installed in its node_modules (as node_modules/@angular/cli/node_modules for example) webpack isn't seeing them.
2017-05-31 13:07:03 -07:00
Hans Larsen
9c7a7ea47b fix(@angular/cli): allow node_modules to be linked somewhere else.
Fixes #6499.
2017-05-31 10:59:22 -07:00
Trotyl Yu
2b4b4c9bfc fix(@angular/cli): add missing WeakMap polyfill 2017-05-31 09:44:33 -07:00
Hans Larsen
0d3d9ef217
release: 1.1.0-rc.2 2017-05-25 13:09:24 -07:00
Mike Brocchi
ab6e6247f5
release: 1.1.0-rc.1 2017-05-24 15:43:57 -07:00
Filipe Silva
0f6a5d6367 fix(@angular/cli): use realpath for project root
Fix #2726
2017-05-24 13:39:30 -07:00
Filipe Silva
91cbe3375f refactor(@angular/cli): use this.project instead of cliProject 2017-05-24 13:39:30 -07:00
Samuel Marks
ba15605fc3
fix(@angular/cli): update protractor API usage in the blueprints.
Closes #6163
2017-05-24 13:36:19 -07:00
Sumit Arora
a13e780d3d fix(@angular/cli): fix issue of folder getting generated on dry run
Fixes: #6017
2017-05-24 16:06:01 -04:00
Sumit Arora
d954ed1eab fix(@angular/cli): only values in enum should be allowed to update 2017-05-24 15:54:35 -04:00
Ricardo Varanda
dbfa851709 fix(@angular/cli): fix leading digit in file names from generate command 2017-05-24 15:35:46 -04:00
Filipe Silva
2b2e8b3685 fix(@angular/cli): remove broken script after eject
`prepree2e` doesn't run because it's a lifecycle script for a lifecycle script, but even if it did it would not work because there is nothing coordinating the serve and e2e processes.

Users must manually initialize the server prior to running e2e tests after ejecting.

Related to https://github.com/angular/angular-cli/issues/6171
2017-05-24 15:29:32 -04:00
Sumit Arora
403bf7efb1 fix(@angular/cli): allow e2e tests to run if no-serve and port is provided 2017-05-24 15:27:27 -04:00
Sumit Arora
61cf790057 fix(@angular/cli): fix package name fetching from package.json 2017-05-24 15:22:32 -04:00
clydin
78d1c77ca2 fix(@angular/cli): update new project dev dependencies (#6415) 2017-05-23 16:35:01 -04:00
Scott
a09f744b2d fix(@angular/cli): proper generation when the target dir exists (#5929)
This allows generating nested components or other blurprint outputs.
2017-05-17 19:22:53 -04:00
Hans
4ea6d5db00 fix(@angular/cli): if user pass a full path, use the path (#6341) 2017-05-17 19:22:03 -04:00
clydin
67fac865f8 refactor(@angular/cli): use memory FS for i18n extraction (#6306) 2017-05-17 19:19:45 -04:00
Filipe Silva
b9f8ca648d fix(@angular/cli): put vendor ngfactory in vendor chunk
Currently vendor Angular libraries will have their *.ngfactory.ts in main.ts when building with `--aot`.

The easiest way to see this is with `source-map-explorer.

This PR correctly puts them in vendor.ts.
2017-05-17 16:16:28 -07:00
Sarun Intaralawan
cbcf6da79b fix(@angular/cli): supress module file modification when generating guard with dry-run flag 2017-05-17 16:15:05 -07:00
clydin
e0a454ffc2 fix(@angular/cli): enable full node module resolution for project deps (#6276) 2017-05-15 17:46:05 -04:00
Cédric Exbrayat
ad3a9cb91d fix(@angular/cli): language-service as devDeps only (#6257) 2017-05-15 17:30:53 -04:00
Radoslav Kirilov
0e1f65c815 fix(@angular/cli): prefix historyApiFallback.index with deployUrl (#6279)
when implementing i18n following https://angular.io/docs/ts/latest/cookbook/i18n.html
and https://medium.com/@feloy/deploying-an-i18n-angular-app-with-angular-cli-fc788f17e358

when running in `development` to be consistent with `production` I am using

```
ng serve --deploy-url /en/ --base-href /en/ \
--aot --locale en --i18n-file ./src/locale/messages.en.xlf
```

running the app this way, on routes other than `http://localhost:4200/en/`
the `webpack-dev-server` was always saying that the route is not found,
so this commit fixes that
2017-05-15 10:43:21 -04:00
David Mendez
32d3f5bb07 fix(@angular/cli): adds language to index.html for accessibility 2017-05-11 09:38:25 +01:00
Filipe Silva
cfdbb670e3 fix(@angular/cli): allow e2e multi capabilities
Thanks to @raymondkarstensen for this solution.

Fix #975
2017-05-10 16:55:48 +01:00
David Mendez
6eeb9de873 fix(@angular/cli): small typo on generated app.component.html 2017-05-09 13:43:59 -07:00
Filipe Silva
a54a991b2f feat(@angular/cli): add host check flags to ng serve
Two new flags are added to `ng serve`:
- `--public-host` (aliased by `--live-reload-client): Specify the URL that the browser client will use.
- `--disable-host-check`: Don't verify connected clients are part of allowed hosts.

Setting `--disable-host-check` will output a warning:
```
WARNING Running a server with --disable-host-check is a security risk. See https://medium.com/webpack/webpack-dev-server-middleware-security-issues-1489d950874a for more information.
```

See #6070 for more context about this change.

Fix #6070
2017-05-09 21:04:58 +01:00
Sumit Arora
0ac878a5ef feat(@angular/cli): new project landing page (#6144)
Fix #5928
Fix #6125
2017-05-09 19:20:42 +01:00
Charles Lyding
a3bf5291e7 feat(@angular/cli): add option to use lint to adjust generated files 2017-05-09 19:04:11 +01:00
Charles Lyding
5cf395c948 refactor(@angular/cli): simplify blueprint generation command 2017-05-09 19:04:11 +01:00
Charles Lyding
8035f54206 feat(@angular/cli): allow lint project setting to be optional 2017-05-09 19:04:11 +01:00
Preston Van Loon
a5d8bc1706 fix(@angular/cli): ng get: return whole config root when no path provided.
Close #5887
2017-05-09 07:17:22 -07:00