69 Commits

Author SHA1 Message Date
Mike Brocchi
478113fb26 docs: update the doc command docs 2017-03-23 17:25:30 -07:00
Mike Brocchi
48e4868ebc docs: update the config command docs 2017-03-23 17:25:30 -07:00
Mike Brocchi
fd12092b21 docs: update the build command docs 2017-03-23 17:25:30 -07:00
Filipe Silva
8b7a6af9a7 docs: add module.id removal to moving doc
CLI projects don't need it, and soon Quickstart projects won't need it either so we might as well remove it.
2017-03-23 17:25:07 -07:00
Sumit Arora
446dc65a08 fix(@angular/cli): adding documentation for schema doc 2017-03-22 18:39:33 -07:00
Niklas
2a808e582a docs: removed outdated notice 2017-03-13 16:24:00 -07:00
Olivier Combe
6cb3a5fd15 docs(@angular/cli): add i18n commands and story 2017-03-13 16:23:11 -07:00
Filipe Silva
5b1668f9ba docs: add style include paths docs
This feature was introduce in #4003 but never documented.
2017-03-13 09:01:44 -07:00
John Papa
00fe4cc84b docs(@angular/cli): services are provided, not declared
docs(@angular/cli): services are provided, not declared
2017-03-12 21:09:34 -07:00
John Papa
042a62629b docs(@angular/cli): fixing broken ng doc link in wiki
ng docs --> ng doc
2017-03-12 15:10:23 -07:00
Mike Brocchi
afbddfe348 docs(@angular/cli): document serving the app from disk
Closes #4290
Close #5308
2017-03-09 10:47:48 +00:00
cexbrayat
2828ab4bcc docs(@angular/cli): fix typos in options documentation
Close #5283
2017-03-09 10:47:00 +00:00
Charles Lyding
fcb1f35424 fix(@angular/cli): remove outdated test command option --build
Close #5235
2017-03-09 10:46:03 +00:00
jortiz
7671bb4008 docs: fix spelling of the word application
Close #5149
2017-03-09 10:41:27 +00:00
Ricardo Varanda
e22aaa4b56 docs: fix material module import in user stories
Close #5140
2017-03-09 10:40:58 +00:00
Rob Mullins
e4683ce409 docs: correct rc migration guide
fix test runner dependency and other corrections

Closes #5039
Close #5041
2017-03-09 10:38:07 +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
Sumit Arora
8c3a7b86dc docs(@angular/cli): Adding more details to documentation (#4960) 2017-03-06 18:47:11 +00:00
Ricardo Varanda
34c33b9be2 docs: fix flex module import in user stories 2017-03-03 10:48:16 -08:00
Ricardo Varanda
455dbb5dc4 docs: fix typo in story list
Close #5095
2017-03-03 16:09:10 +00:00
Cédric Exbrayat
ab9a369325 docs(@angular/cli): update rc update guide (#5200)
Make it still relevant for the current rc.1 release and future ones.
2017-03-03 14:50:08 +00:00
Stephen Cavaliere
2699857b79 docs(@angular/cli): document ng eject (#5155) 2017-03-02 11:35:37 -08:00
Filipe Silva
5df8a0d36a docs: add types array note to rc.0 upgrade (#5147) 2017-03-02 10:01:17 +00:00
Filipe Silva
87b2ad817c docs: add rc.0 update guide (#4934) 2017-02-25 08:39:20 -08:00
Mike Brocchi
4b32bb4c34 docs: update readme and wiki homepage (#4933) 2017-02-22 16:54:59 -05:00
Filipe Silva
69e6c717fd feat(@angular/cli): use separate tsconfigs
This PR adds tsconfigs for each separate application:
- `src/tsconfig.app.json`: configuration for the Angular app.
- `src/tsconfig.spec.json`: configuration for the unit tests. Defaults to the Angular app config.
- `e2e/tsconfig.e2e.json`: configuration for the e2e tests.

There is an additional root-level `tsconfig.json` that is used for editor integration.

For Angular version 4 projects, these tsconfigs will use inheritance since it's available with TypeScript 2.1.

This is not a breaking change. Existing projects should not be affected.
2017-02-22 19:32:00 +00:00
Stephen Cavaliere
2c1e8778d6 feat(generate): add guard generation (#4055) 2017-02-22 18:21:36 +00:00
Mike Brocchi
2178bdb1d7 docs(@angular/cli): updates to support a better wiki experience (#4899) 2017-02-21 18:04:49 -08:00
Filipe Silva
a4b43a59e4 fix(serve): allow relevant live-reload options to function (#4744)
This provides implementations for the following serve command options:

live-reload [boolean; default: true] -- flag to control the browser live reload capability
live-reload-client [URL; default: ssl/host/port command options] -- specify the URL that the live reload browser client will use

Closes #3361
2017-02-21 09:01:40 +00:00
Mike Brocchi
bac6e75416 docs(@angular/cli): document available options & JSON schema (#4767) 2017-02-17 10:39:21 -05:00
Filipe Silva
db80d6c473 docs: remove instructions using ng update
`ng update` has been removed in #4628.

Close #4771
2017-02-17 09:16:38 +00:00
Filipe Silva
9d29cbca0f feat(@angular/cli): add watch flag to serve/e2e (#4749)
This is useful when you don't want the server to rebuild in the middle of something.

A good example is when running e2e tests. Especially on larger suites, one would prefer to continue working while the build is tested without compromising tests.

This will break tests on #4744. They should be adjusted to add the `--watch` flag since they depend on the live reload behaviour during `ng e2e`.
2017-02-16 17:17:15 -08:00
Filipe Silva
16bfdf0123 feat(@angular/cli): use environmentSource key for environments (#4705)
Heavily based on @jsanchezgarcia work in #4476.

Fix #3857

BREAKING CHANGE:

A new environmentSource entry replaces the previous source entry inside environments.

To migrate the code follow the example below:

Before:
```
"environments": {
  "source": "environments/environment.ts",
  "dev": "environments/environment.ts",
  "prod": "environments/environment.prod.ts"
}
```

After:
```
"environmentSource": "environments/environment.ts",
  "environments": {
  "dev": "environments/environment.ts",
  "prod": "environments/environment.prod.ts"
}
```
2017-02-16 12:09:28 +00:00
Nick Lubisch
862c163e62 docs: fix links in generate.md
Previous links pointing to wrong url

Close #3723
2017-02-16 09:07:07 +00:00
Charles Lyding
57ef508895 feat(build): add --poll option to build/serve/test commands
Close #4268
Close #4715
2017-02-16 09:04:49 +00:00
CSoellinger
5bea0da3af docs: correct headline (#4729) 2017-02-15 20:35:46 -08:00
Mike Brocchi
809340a8f0 refactor(@angular/cli): rename config file from angular-cli.json to .angular-cli.json (#4681)
BREAKING CHANGE: The configuration file angular-cli.json has been renamed to .angular-cli.json
2017-02-15 23:14:18 -05:00
Varun Vachhar
469ca912dc feat(@angular/cli): add --stats-json flag to build (#4189)
Allows you to run ng build --json which generates dist/stats.json. This can then be used with things like the webpack-bundle-analyzer or https://webpack.github.io/analyse/

Fix #3179
2017-02-15 15:39:29 +00:00
Filipe Silva
41c864956e docs: add lazy scripts/styles docs
This was added back in #3401 but never documented.

Also cleans up duplicate docs in overview.

Close #4693
2017-02-15 12:24:27 +00:00
Filipe Silva
9e91d8646b feat(@angular/cli): allow assets from outside of app root.
Fix #3555
Close #4691

BREAKING CHANGE: 'assets' as a string in angular-cli.json is no longer allowed, use an array instead.
2017-02-15 12:23:59 +00:00
Jeremy Wells
fce9f18103 chore(docs): add flex-layout directions
Close #4096
2017-02-14 18:35:37 +00:00
Filipe Silva
6b1d439056 docs: add move in/out docs
Fix #3198
2017-02-14 18:23:42 +00:00
Stephen Cavaliere
d22e9ae737 chore: fix documentation end of file consistency (#4119) 2017-02-13 12:41:05 +00:00
Mike Brocchi
a127cad82d refactor(@angular/cli): remove ng init & ng update (#4628)
BREAKING CHANGE: Removing the `ng init` & `ng update` commands because their current implementation causes more problems than it solves. Once RC is released, we won't need to use those to update anymore as the step will be as simple as installing the latest version of the CLI.
2017-02-11 19:53:06 -08:00
Mike Brocchi
49177151c8 docs: move documentation from readme to wiki (#4576) 2017-02-09 21:01:42 -08:00
Filipe Silva
8d2d93a7a2 feat(e2e): use protractor api (#4527)
Uses existing Protractor API to run it directly instead of using `npm run
e2e`.

Also adds support for the following flags: `--serve`, `--config`,
`--specs`, `--element-explorer`, `--webdriver-update`.

Fix #4256
Fix #4478

BREAKING CHANGE: `ng e2e` no longer needs `ng serve` to be running.
2017-02-09 15:14:29 -08:00
Sumit Arora
d2849c713b feat(@angular/cli): Add options for third party package manager (#4321)
BREAKING CHANGE: `--skip-npm` flag is now named `--skip-install`
2017-02-09 10:35:19 -08:00
Michał Gołębiowski
20484598dd chore: change all Angular-CLI occurrences to Angular CLI (#4402)
* chore: change all Angular-CLI occurrences to Angular CLI

* docs: remove one remaining angular-cli reference
2017-02-03 15:50:24 +00:00
Michał Gołębiowski
0dc2200004 docs: get rid of remaining angular-cli references (#4398)
This commit changes 2 things:
1. Changes remaining angular-cli package references to @angular/cli.
2. Where angular-cli was mentioned as a project name, it's been changed
   to Angular CLI.

Where angular-cli was meant to mean the repository name, it's been left
unchanged.
2017-02-03 11:49:52 +00:00
Mike Brocchi
0f8689b42a refactor(@angular/cli): removed the github pages deploy command (#4385)
BREAKING CHANGE: This command is being removed from the core of the CLI
There are several options for deploying CLI-based applications outside the scope of this project.
One of which being https://github.com/angular-buch/angular-cli-ghpages
This functionality is likely to return in the form of an addon/plugin in the future
2017-02-02 21:08:00 -08:00