Skip to content

Commit

Permalink
feat(angular): upgrade to RC.5
Browse files Browse the repository at this point in the history
Signed-off-by: Will Soto <[email protected]>
  • Loading branch information
willsoto committed Aug 13, 2016
1 parent 71d34b2 commit 649d08b
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 21 deletions.
14 changes: 14 additions & 0 deletions demo/app.module.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';
import { DemoAppComponent } from './demo';

@NgModule({
declarations: [DemoAppComponent],
imports: [
BrowserModule,
FormsModule
],
bootstrap: [DemoAppComponent]
})
export class AppModule {}
7 changes: 4 additions & 3 deletions demo/entry.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import 'reflect-metadata';
import 'zone.js/dist/zone';
import { enableProdMode } from '@angular/core';
import { bootstrap } from '@angular/platform-browser-dynamic';
import { DemoAppComponent } from './demo';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';

import { AppModule } from './app.module';

declare var ENV: string;

if (ENV === 'production') {
enableProdMode();
}

bootstrap(DemoAppComponent);
platformBrowserDynamic().bootstrapModule(AppModule);
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@
},
"homepage": "https://github.com/paradox41/angular2-chartist#readme",
"devDependencies": {
"@angular/common": "2.0.0-rc.4",
"@angular/compiler": "2.0.0-rc.4",
"@angular/core": "2.0.0-rc.4",
"@angular/platform-browser": "2.0.0-rc.4",
"@angular/platform-browser-dynamic": "2.0.0-rc.4",
"@angular/common": "2.0.0-rc.5",
"@angular/compiler": "2.0.0-rc.5",
"@angular/core": "2.0.0-rc.5",
"@angular/forms": "^0.3.0",
"@angular/platform-browser": "2.0.0-rc.5",
"@angular/platform-browser-dynamic": "2.0.0-rc.5",
"@types/chartist": "^0.9.30",
"@types/es6-shim": "0.0.28",
"@types/jasmine": "^2.2.31",
"@types/rx": "^2.5.29",
"chartist": "^0.9.7",
Expand Down Expand Up @@ -88,7 +88,7 @@
"zone.js": "^0.6.12"
},
"peerDependencies": {
"@angular/core": "2.0.0-rc.4",
"@angular/core": "2.0.0-rc.5",
"chartist": "^0.9.7"
}
}
4 changes: 0 additions & 4 deletions test/chartist.component.spec.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import {
describe,
it,
expect,
beforeEach,
inject,
async,
TestComponentBuilder,
Expand Down
16 changes: 9 additions & 7 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"experimentalDecorators": true,
"lib": [
"dom",
"es2015"
"es6"
],
"module": "commonjs",
"moduleResolution": "node",
Expand All @@ -14,10 +14,12 @@
"removeComments": false,
"sourceMap": true,
"strictNullChecks": true,
"target": "ES5"
},
"compileOnSave": false,
"include": [
"src/*.ts"
]
"target": "es5",
"typeRoots": [
"./node_modules/@types"
],
"types": [
"jasmine"
]
}
}

0 comments on commit 649d08b

Please sign in to comment.