Skip to content

Commit

Permalink
feat(build): rename .angular-cli.json and refactor (#1736)
Browse files Browse the repository at this point in the history
angular-cli.json renamed to .angular-cli.json as per ng-cli changelog for rc.0.  Changed references in dependent files.
  • Loading branch information
DouglasWebster authored and valorkin committed Mar 16, 2017
1 parent 363d9e6 commit d60dcfb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion demo/src/environments/environment.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// The file contents for the current environment will overwrite these during build.
// The build system defaults to the dev environment which uses `environment.ts`, but if you do
// `ng build --env=prod` then `environment.prod.ts` will be used instead.
// The list of which env maps to which file can be found in `angular-cli.json`.
// The list of which env maps to which file can be found in `.angular-cli.json`.

export const environment = {
production: false
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/ng-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import { AlertModule } from 'ng2-bootstrap';
})
```

- open `angular-cli.json` and insert a new entry into the styles array
- open `.angular-cli.json` and insert a new entry into the styles array

```json
"styles": [
Expand Down
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = function (config) {
}
},
angularCli: {
config: './angular-cli.json',
config: './.angular-cli.json',
environment: 'dev'
},
reporters: config.angularCli && config.angularCli.codeCoverage
Expand Down

0 comments on commit d60dcfb

Please sign in to comment.