Skip to content

Commit

Permalink
feat(demo): update demo app to Angular CLI 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
tinesoft committed Dec 12, 2017
1 parent 7a343cc commit eb73b53
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 19 deletions.
3 changes: 1 addition & 2 deletions app/templates/demo/_README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# <%= projectName %>-demo

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.5.0.
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.6.0.

## Development server

Expand All @@ -21,7 +21,6 @@ Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.
## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
Before running the tests make sure you are serving the app via `ng serve`.

## Further help

Expand Down
8 changes: 4 additions & 4 deletions app/templates/demo/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@
"font-awesome": "^4.7.0",
"include-media": "^1.4.9",
"rxjs": "^5.5.2",
"zone.js": "^0.8.14"
"zone.js": "^0.8.14",
"@angular/platform-server": "^5.0.0"
},
"devDependencies": {
"@angular/cli": "1.5.0",
"@angular/cli": "1.6.0",
"@angular/compiler-cli": "^5.0.0",
"@angular/language-service": "^5.0.0",
"@angular/platform-server": "^5.0.0",
"@angularclass/hmr": "~2.1.3",
"@types/jasmine": "~2.5.53",
"@types/jasminewd2": "~2.0.2",
"@types/node": "~6.0.60",
"codelyzer": "~4.0.0",
"codelyzer": "^4.0.1",
"jasmine-core": "~2.6.2",
"jasmine-spec-reporter": "~4.1.0",
"karma": "~1.7.0",
Expand Down
12 changes: 1 addition & 11 deletions app/templates/demo/src/polyfills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ import 'core-js/es7/reflect';


/***************************************************************************************************
* Zone JS is required by Angular itself.
* Zone JS is required by default for Angular itself.
*/
import 'zone.js/dist/zone'; // Included with Angular CLI.

Expand All @@ -64,13 +64,3 @@ import 'zone.js/dist/zone'; // Included with Angular CLI.
/***************************************************************************************************
* APPLICATION IMPORTS
*/

/**
* Date, currency, decimal and percent pipes.
* Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10
*/
// import 'intl'; // Run `npm install --save intl`.
/**
* Need to import at least one locale-data with intl.
*/
// import 'intl/locale-data/jsonp/en';
7 changes: 5 additions & 2 deletions app/templates/demo/tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"check-space"
],
"curly": true,
"deprecation": {
"severity": "warn"
},
"eofline": true,
"forin": true,
"import-blacklist": [
Expand Down Expand Up @@ -127,6 +130,7 @@
"app",
"kebab-case"
],
"no-output-on-prefix": true,
"use-input-property-decorator": true,
"use-output-property-decorator": true,
"use-host-property-decorator": true,
Expand All @@ -135,7 +139,6 @@
"use-life-cycle-interface": true,
"use-pipe-transform-interface": true,
"component-class-suffix": true,
"directive-class-suffix": true,
"invoke-injectable": true
"directive-class-suffix": true
}
}

0 comments on commit eb73b53

Please # to comment.