56 Commits

Author SHA1 Message Date
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
Filipe Silva
2211172ffb feat(update): add ng update as alias of ng init (#4142)
Fix #4007
2017-01-30 16:24:13 -08:00
clydin
645c87086b refactor(test): remove lint option from test command (#4261)
BREAKING CHANGE: ng test no longer has the --lint flag available.
2017-01-30 14:52:00 -08:00
Stephen Cavaliere
0664beb76d refactor(lint): use tslint api for linting (#4248)
Closes #867, #3993

BREAKING CHANGE: 

In order to use the updated `ng lint` command, the following section will have to be added to the project's `angular-cli.json` at the root level of the json object.

  ```json
  "lint": [
    {
      "files": "src/**/*.ts",
      "project": "src/tsconfig.json"
    },
    {
      "files": "e2e/**/*.ts",
      "project": "e2e/tsconfig.json"
    }
  ],
  ```

Alternatively, you can run `ng update`.
2017-01-28 17:34:53 +00:00
Jeremy
14666f4cee fix (#4208) 2017-01-24 15:24:01 -05:00
Filipe Silva
e15433e74a refactor(build): consolidate build options (#4105)
Fix https://github.com/angular/angular-cli/issues/4138

BREAKING CHANGE:

- `--extractCss` defaults to `false` on all `--dev` (`ng build` with no flags uses `--dev`)
-  `--aot` defaults to true in `--prod`
- the alias for `--output-path` is now `-op` instead of `-o`
2017-01-24 17:51:48 +00:00
Mike Brocchi
092e673153 docs: move documentation from readme to docs
Close #4190
2017-01-24 16:30:28 +00:00
Bram Borggreve
26003a0d4e docs: add comment to files in docs/documentation about not adding .md to links
Close #4163
2017-01-24 16:30:16 +00:00
Stephen Cavaliere
cdf717a855 chore(docs): update bootstrap documentation
Close #4115
2017-01-24 16:29:47 +00:00
JeremyMWells
20490cc651 chore(docs): add how-to's for angular material and angular material flex layout inclusion
applies to #2711

Close #3897
2017-01-24 16:29:05 +00:00
JeremyMWells
bf065c99ad docs: add how-to for Font Awesome inclusion
Close #3898
2017-01-18 14:33:00 +00:00
Bram Borggreve
1a5313deca docs: add AngularFire integration docs
Close #3931
2017-01-18 14:31:05 +00:00
Mike Brocchi
60d2ea7e6f docs: update bootstrap documentation to include SASS (#4067)
This fix is part of the documentation improvement #2711
2017-01-17 23:50:15 -05:00
Yohan Lasorsa
1181e9e72a docs(proxy): add documentation for corporate proxy configuration with backend proxy (#4041) (#4070)
Fix #4041
2017-01-17 22:43:11 +00:00