Skip to content

Commit dc9f5d8

Browse files
authored
Angular 4.2 support (#28)
* chore: update Angular to 4.2 * refactor: replace NativeScriptModule with NativeScriptCommonModule
1 parent 20ae79e commit dc9f5d8

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

app/lazy/lazy.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { NativeScriptModule } from "nativescript-angular/nativescript.module";
1+
import { NativeScriptCommonModule } from "nativescript-angular/common";
22
import { NativeScriptRouterModule } from "nativescript-angular/router";
33
import { ModalDialogParams } from "nativescript-angular/directives/dialogs";
44

@@ -20,7 +20,7 @@ const routes: Routes = [
2020

2121
@NgModule({
2222
imports: [
23-
NativeScriptModule,
23+
NativeScriptCommonModule,
2424
NativeScriptRouterModule.forChild(routes),
2525
],
2626
declarations: [

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
}
1414
},
1515
"dependencies": {
16-
"@angular/common": "~4.1.3",
17-
"@angular/compiler": "~4.1.3",
18-
"@angular/core": "~4.1.3",
19-
"@angular/forms": "~4.1.3",
20-
"@angular/http": "~4.1.3",
21-
"@angular/platform-browser": "~4.1.3",
22-
"@angular/router": "~4.1.3",
16+
"@angular/common": "~4.2.6",
17+
"@angular/compiler": "~4.2.6",
18+
"@angular/core": "~4.2.6",
19+
"@angular/forms": "~4.2.6",
20+
"@angular/http": "~4.2.6",
21+
"@angular/platform-browser": "~4.2.6",
22+
"@angular/router": "~4.2.6",
2323
"nativescript-angular": "next",
2424
"nativescript-intl": "~3.0.0",
2525
"nativescript-theme-core": "^1.0.4",
@@ -29,7 +29,7 @@
2929
"zone.js": "^0.8.12"
3030
},
3131
"devDependencies": {
32-
"@angular/compiler-cli": "~4.1.3",
32+
"@angular/compiler-cli": "~4.2.6",
3333
"@ngtools/webpack": "~1.5.3",
3434
"babel-traverse": "6.24.1",
3535
"babel-types": "6.24.1",

0 commit comments

Comments
 (0)