Skip to content

Commit 55da9f3

Browse files
committed
chore: make most of e2e apps work with the revamped older package
1 parent 2ca7acd commit 55da9f3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+221
-573
lines changed

e2e/animation-examples/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"nativescript": {
77
"id": "org.nativescript.ng4animations",
88
"tns-ios": {
9-
"version": "latest"
9+
"version": "6.1.1"
1010
},
1111
"tns-android": {
1212
"version": "latest"
@@ -21,7 +21,7 @@
2121
"@angular/platform-browser": "~8.2.0",
2222
"@angular/platform-browser-dynamic": "~8.2.0",
2323
"@angular/router": "~8.2.0",
24-
"nativescript-angular": "file:../../nativescript-angular",
24+
"nativescript-angular": "file:../../nativescript-angular-package",
2525
"nativescript-theme-core": "~1.0.2",
2626
"reflect-metadata": "~0.1.8",
2727
"rxjs": "^6.4.0",

e2e/animation-examples/tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,13 @@
2323
}
2424
},
2525
"include": [
26+
"../../nativescript-angular-package",
2627
"../../nativescript-angular",
2728
"**/*"
2829
],
2930
"exclude": [
31+
"../../nativescript-angular-package/node_modules",
32+
"../../nativescript-angular-package/**/*.d.ts",
3033
"../../nativescript-angular/node_modules",
3134
"../../nativescript-angular/**/*.d.ts",
3235
"node_modules",

e2e/modal-navigation-ng/tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,13 @@
2323
}
2424
},
2525
"include": [
26+
"../../nativescript-angular-package",
2627
"../../nativescript-angular",
2728
"**/*"
2829
],
2930
"exclude": [
31+
"../../nativescript-angular-package/node_modules",
32+
"../../nativescript-angular-package/**/*.d.ts",
3033
"../../nativescript-angular/node_modules",
3134
"../../nativescript-angular/**/*.d.ts",
3235
"node_modules",

e2e/nested-router-tab-view/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
"readme": "NativeScript Application",
55
"repository": "<fill-your-repository-here>",
66
"nativescript": {
7-
"id": "org.nativescript.nestedroutertabview"
7+
"id": "org.nativescript.nestedroutertabview",
8+
"tns-ios": {
9+
"version": "6.1.1"
10+
}
811
},
912
"dependencies": {
1013
"@angular/animations": "~8.2.0",
@@ -15,7 +18,7 @@
1518
"@angular/platform-browser": "~8.2.0",
1619
"@angular/platform-browser-dynamic": "~8.2.0",
1720
"@angular/router": "~8.2.0",
18-
"nativescript-angular": "file:../../nativescript-angular",
21+
"nativescript-angular": "file:../../nativescript-angular-package",
1922
"nativescript-theme-core": "~1.0.4",
2023
"reflect-metadata": "~0.1.8",
2124
"rxjs": "^6.4.0",

e2e/nested-router-tab-view/tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,13 @@
2323
}
2424
},
2525
"include": [
26+
"../../nativescript-angular-package",
2627
"../../nativescript-angular",
2728
"**/*"
2829
],
2930
"exclude": [
31+
"../../nativescript-angular-package/node_modules",
32+
"../../nativescript-angular-package/**/*.d.ts",
3033
"../../nativescript-angular/node_modules",
3134
"../../nativescript-angular/**/*.d.ts",
3235
"node_modules",

e2e/renderer/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
"readme": "NativeScript Application",
55
"repository": "<fill-your-repository-here>",
66
"nativescript": {
7-
"id": "org.nativescript.renderer"
7+
"id": "org.nativescript.renderer",
8+
"tns-ios": {
9+
"version": "6.1.1"
10+
}
811
},
912
"dependencies": {
1013
"@angular/animations": "~8.2.0",
@@ -15,7 +18,7 @@
1518
"@angular/platform-browser": "~8.2.0",
1619
"@angular/platform-browser-dynamic": "~8.2.0",
1720
"@angular/router": "~8.2.0",
18-
"nativescript-angular": "file:../../nativescript-angular",
21+
"nativescript-angular": "file:../../nativescript-angular-package",
1922
"nativescript-theme-core": "~1.0.4",
2023
"reflect-metadata": "~0.1.8",
2124
"rxjs": "^6.4.0",

e2e/renderer/tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,13 @@
2323
}
2424
},
2525
"include": [
26+
"../../nativescript-angular-package",
2627
"../../nativescript-angular",
2728
"**/*"
2829
],
2930
"exclude": [
31+
"../../nativescript-angular-package/node_modules",
32+
"../../nativescript-angular-package/**/*.d.ts",
3033
"../../nativescript-angular/node_modules",
3134
"../../nativescript-angular/**/*.d.ts",
3235
"node_modules",

e2e/routable-animations/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
"readme": "NativeScript Application",
55
"repository": "<fill-your-repository-here>",
66
"nativescript": {
7-
"id": "org.nativescript.nsroanimations"
7+
"id": "org.nativescript.nsroanimations",
8+
"tns-ios": {
9+
"version": "6.1.1"
10+
}
811
},
912
"dependencies": {
1013
"@angular/animations": "~8.2.0",
@@ -15,7 +18,7 @@
1518
"@angular/platform-browser": "~8.2.0",
1619
"@angular/platform-browser-dynamic": "~8.2.0",
1720
"@angular/router": "~8.2.0",
18-
"nativescript-angular": "next",
21+
"nativescript-angular": "file:../../nativescript-angular-package",
1922
"nativescript-theme-core": "~1.0.2",
2023
"reflect-metadata": "~0.1.8",
2124
"rxjs": "^6.4.0",

e2e/routable-animations/tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,13 @@
2323
}
2424
},
2525
"include": [
26+
"../../nativescript-angular-package",
2627
"../../nativescript-angular",
2728
"**/*"
2829
],
2930
"exclude": [
31+
"../../nativescript-angular-package/node_modules",
32+
"../../nativescript-angular-package/**/*.d.ts",
3033
"../../nativescript-angular/node_modules",
3134
"../../nativescript-angular/**/*.d.ts",
3235
"node_modules",

e2e/router-tab-view/app/app.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import { Component, OnInit, AfterViewInit, AfterContentInit, ViewChild } from "@angular/core";
1+
import { Component, ViewChild } from "@angular/core";
22
import { TabViewDirective } from "nativescript-angular/directives";
33
import { Router, NavigationEnd } from "@angular/router";
44
import { NSLocationStrategy } from "nativescript-angular/router/ns-location-strategy";
55

6-
76
@Component({
87
selector: "ns-app",
98
templateUrl: "app.component.html",

0 commit comments

Comments
 (0)