38 Commits

Author SHA1 Message Date
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
Mike Brocchi
c783968730 chore(docs): add documentation showing how to include bootstrap (#3425)
Applies to #2711
2017-01-17 09:37:54 -05:00
Mike Brocchi
faa81ceb27 chore(docs): update documentation to reflect recent changes (#4034) 2017-01-16 10:10:39 -05:00
Filipe Silva
87536c8d21 feat(build): add --extract-css flag (#3943)
Having css extraction on all the time makes dev rebuild times very slow for global styles.

This flag defaults to false on dev targets and true on prod targets.
2017-01-12 11:36:00 -08:00
clydin
b82fe414df feat(build): allow output hashing to be configured (#3885) 2017-01-10 14:33:57 -08:00
Ricardo Varanda
cc23e803ec chore(docs): Update misleading build target documentation (#3915) 2017-01-09 10:36:31 -08:00
Mike Brocchi
a5a33fa1db chore(docs): move the new wiki docs to main repo (#3382)
This move will allow other devs to contribute and allow for pull requests and reviews against docs changes.
2016-12-05 15:25:11 -08:00