Skip to content
This repository was archived by the owner on Oct 22, 2018. It is now read-only.

Commit 7828e7d

Browse files
committed
Fix app routes
1 parent 2f8017a commit 7828e7d

25 files changed

+59
-57
lines changed

nativescript/package.json

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,38 @@
11
{
2-
"name": "angular-native-seed",
3-
"version": "0.0.0",
2+
"name": "nativescript-ionic-template",
3+
"version": "1.0.0",
44
"repository": "<fill-your-repository-here>",
55
"nativescript": {
66
"id": "com.domain.project",
77
"tns-ios": {
8-
"version": "3.1.0"
8+
"version": "3.2.0"
99
},
1010
"tns-android": {
11-
"version": "3.0.1"
11+
"version": "3.2.0"
1212
}
1313
},
1414
"dependencies": {
15-
"@angular/animations": "~4.1.0",
16-
"@angular/common": "~4.1.0",
17-
"@angular/compiler": "~4.1.0",
18-
"@angular/core": "~4.1.0",
19-
"@angular/forms": "~4.1.0",
20-
"@angular/http": "~4.1.0",
21-
"@angular/platform-browser": "~4.1.0",
22-
"@angular/platform-browser-dynamic": "~4.1.0",
23-
"@angular/router": "~4.1.0",
15+
"@angular/animations": "~4.4.1",
16+
"@angular/common": "~4.4.1",
17+
"@angular/compiler": "~4.4.1",
18+
"@angular/core": "~4.4.1",
19+
"@angular/forms": "~4.4.1",
20+
"@angular/http": "~4.4.1",
21+
"@angular/platform-browser": "~4.4.1",
22+
"@angular/platform-browser-dynamic": "~4.4.1",
23+
"@angular/router": "~4.4.1",
2424
"@ngx-translate/core": "^6.0.1",
2525
"@ngx-translate/http-loader": "0.0.3",
26-
"nativescript-angular": "^3.1.0",
26+
"nativescript-angular": "~4.4.0",
2727
"nativescript-cardview": "^2.0.4",
2828
"nativescript-theme-core": "~1.0.2",
2929
"reflect-metadata": "~0.1.8",
30-
"rxjs": "~5.3.0",
31-
"tns-core-modules": "^3.1.0",
32-
"typescript": "~2.2.0",
30+
"rxjs": "~5.4.2",
31+
"tns-core-modules": "^3.3.0",
3332
"zone.js": "~0.8.2"
3433
},
3534
"devDependencies": {
36-
"@angular/compiler-cli": "~4.1.0",
35+
"@angular/compiler-cli": "~4.4.1",
3736
"@ngtools/webpack": "~1.5.5",
3837
"@types/jasmine": "^2.5.47",
3938
"babel-traverse": "6.25.0",
@@ -55,7 +54,7 @@
5554
"nativescript-dev-webpack": "^0.7.3",
5655
"raw-loader": "~0.5.1",
5756
"resolve-url-loader": "~2.0.2",
58-
"typescript": "~2.2.0",
57+
"typescript": "~2.4.2",
5958
"webpack": "~2.6.0",
6059
"webpack-sources": "~0.2.3",
6160
"webpack-bundle-analyzer": "^2.8.2"

nativescript/src/_app-common.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
@import '~nativescript-theme-core/scss/index';
1010

1111
.ion-icon {
12-
font-family: 'Ionicons';
12+
&, ActionBar & * {
13+
font-family: 'Ionicons';
14+
}
1315

1416
ActionBar & {
1517
font-size: 35;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-ionic-template",
3-
"version": "0.0.0",
3+
"version": "1.0.0",
44
"scripts": {
55
"postinstall": "node symlink.js",
66
"ng": "ng",
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ import { AboutComponent } from './components/about/about.component';
88

99
export const SHARED_MODULES: any[] = [
1010
SharedModule,
11-
RouterModule.forChild(<any>AboutRoutes),
12-
TranslateModule.forChild(),
11+
RouterModule,
12+
RouterModule.forChild(AboutRoutes),
13+
TranslateModule.forChild()
1314
];
1415

1516
export const COMPONENT_DECLARATIONS: any[] = [
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { SHARED_MODULES, COMPONENT_DECLARATIONS } from './about.common';
33

44
@NgModule({
55
imports: [
6-
...SHARED_MODULES,
6+
...SHARED_MODULES
77
],
88
declarations: [
99
...COMPONENT_DECLARATIONS
File renamed without changes.
File renamed without changes.

src/app/+about/components/about/about.component.spec.ts renamed to src/app/about/components/about/about.component.spec.ts

File renamed without changes.

0 commit comments

Comments
 (0)