Skip to content

Commit e3657c4

Browse files
authored
feat(angular): v11 (#2297)
1 parent 23f89e4 commit e3657c4

File tree

5 files changed

+46
-47
lines changed

5 files changed

+46
-47
lines changed

e2e/animation-examples/package.json

+12-12
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
"readme": "NativeScript Application",
66
"repository": "<fill-your-repository-here>",
77
"dependencies": {
8-
"@angular/animations": "~10.1.0",
9-
"@angular/common": "~10.1.0",
10-
"@angular/compiler": "~10.1.0",
11-
"@angular/core": "~10.1.0",
12-
"@angular/forms": "~10.1.0",
13-
"@angular/platform-browser": "~10.1.0",
14-
"@angular/platform-browser-dynamic": "~10.1.0",
15-
"@angular/router": "~10.1.0",
8+
"@angular/animations": "~11.0.0",
9+
"@angular/common": "~11.0.0",
10+
"@angular/compiler": "~11.0.0",
11+
"@angular/core": "~11.0.0",
12+
"@angular/forms": "~11.0.0",
13+
"@angular/platform-browser": "~11.0.0",
14+
"@angular/platform-browser-dynamic": "~11.0.0",
15+
"@angular/router": "~11.0.0",
1616
"@nativescript/angular": "file:../../dist/nativescript-angular-scoped.tgz",
1717
"nativescript-theme-core": "~1.0.2",
1818
"reflect-metadata": "~0.1.13",
@@ -21,10 +21,10 @@
2121
"zone.js": "^0.11.1"
2222
},
2323
"devDependencies": {
24-
"@angular/compiler-cli": "~10.1.0",
25-
"@nativescript/ios": "7.0.0",
24+
"@angular/compiler-cli": "~11.0.0",
25+
"@nativescript/ios": "7.0.5",
2626
"@nativescript/webpack": "~3.0.0",
27-
"@ngtools/webpack": "~10.1.0",
27+
"@ngtools/webpack": "~11.0.0",
2828
"@types/chai": "~4.2.0",
2929
"@types/mocha": "~7.0.0",
3030
"@types/node": "~14.0.0",
@@ -37,7 +37,7 @@
3737
"mochawesome": "~6.1.1",
3838
"nativescript-css-loader": "~0.26.0",
3939
"node-sass": "~4.14.1",
40-
"typescript": "~3.9.0"
40+
"typescript": "~4.0.0"
4141
},
4242
"scripts": {
4343
"clean": "ns clean",

nativescript-angular-package/package.json

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-angular",
3-
"version": "10.0.0",
3+
"version": "11.0.0",
44
"description": "Compatibility with old style nativescript-angular imports.",
55
"homepage": "https://www.nativescript.org/",
66
"bugs": "https://github.com/NativeScript/nativescript-angular/issues",
@@ -35,20 +35,20 @@
3535
]
3636
},
3737
"devDependencies": {
38-
"@angular/animations": "~10.0.0",
39-
"@angular/common": "~10.0.0",
40-
"@angular/compiler": "~10.0.0",
41-
"@angular/compiler-cli": "~10.0.0",
42-
"@angular/core": "~10.0.0",
43-
"@angular/forms": "~10.0.0",
44-
"@angular/platform-browser": "~10.0.0",
45-
"@angular/platform-browser-dynamic": "~10.0.0",
46-
"@angular/router": "~10.0.0",
47-
"@nativescript/angular": "~10.0.0",
38+
"@angular/animations": "~11.0.0",
39+
"@angular/common": "~11.0.0",
40+
"@angular/compiler": "~11.0.0",
41+
"@angular/compiler-cli": "~11.0.0",
42+
"@angular/core": "~11.0.0",
43+
"@angular/forms": "~11.0.0",
44+
"@angular/platform-browser": "~11.0.0",
45+
"@angular/platform-browser-dynamic": "~11.0.0",
46+
"@angular/router": "~11.0.0",
47+
"@nativescript/angular": "rc",
4848
"@nativescript/core": "rc",
49-
"ng-packagr": "^10.0.1",
50-
"rxjs": "~6.5.5",
51-
"typescript": "~3.9.0"
49+
"ng-packagr": "^11.0.0",
50+
"rxjs": "~6.6.0",
51+
"typescript": "~4.0.0"
5252
},
5353
"scripts": {
5454
"setup": "npx rimraf hooks node_modules package-lock.json && npm i",

nativescript-angular/app-host-view.ts

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export class AppHostView extends ContentView {
1717
this._ngAppRoot = value;
1818
}
1919

20+
// @ts-ignore
2021
get content(): View {
2122
return this._content;
2223
}

nativescript-angular/package.json

+19-19
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nativescript/angular",
3-
"version": "10.1.7",
3+
"version": "11.0.0-rc.0",
44
"description": "An Angular renderer that lets you build mobile apps with NativeScript.",
55
"homepage": "https://www.nativescript.org/",
66
"bugs": "https://github.com/NativeScript/nativescript-angular/issues",
@@ -61,37 +61,37 @@
6161
"nativescript-intl": "^4.0.0"
6262
},
6363
"peerDependencies": {
64-
"@angular/common": "^10.1.0",
65-
"@angular/compiler": "^10.1.0",
66-
"@angular/core": "^10.1.0",
67-
"@angular/forms": "^10.1.0",
68-
"@angular/platform-browser": "^10.1.0",
69-
"@angular/platform-browser-dynamic": "^10.1.0",
70-
"@angular/router": "^10.1.0"
64+
"@angular/common": "^11.0.0",
65+
"@angular/compiler": "^11.0.0",
66+
"@angular/core": "^11.0.0",
67+
"@angular/forms": "^11.0.0",
68+
"@angular/platform-browser": "^11.0.0",
69+
"@angular/platform-browser-dynamic": "^11.0.0",
70+
"@angular/router": "^11.0.0"
7171
},
7272
"devDependencies": {
73-
"@angular/animations": "~10.1.0",
74-
"@angular/common": "~10.1.0",
75-
"@angular/compiler": "~10.1.0",
76-
"@angular/compiler-cli": "~10.1.0",
77-
"@angular/core": "~10.1.0",
78-
"@angular/forms": "~10.1.0",
79-
"@angular/platform-browser": "~10.1.0",
80-
"@angular/platform-browser-dynamic": "~10.1.0",
81-
"@angular/router": "~10.1.0",
73+
"@angular/animations": "~11.0.0",
74+
"@angular/common": "~11.0.0",
75+
"@angular/compiler": "~11.0.0",
76+
"@angular/compiler-cli": "~11.0.0",
77+
"@angular/core": "~11.0.0",
78+
"@angular/forms": "~11.0.0",
79+
"@angular/platform-browser": "~11.0.0",
80+
"@angular/platform-browser-dynamic": "~11.0.0",
81+
"@angular/router": "~11.0.0",
8282
"@nativescript/core": "~7.0.0",
8383
"codelyzer": "^5.2.0",
8484
"conventional-changelog-cli": "^2.0.34",
8585
"husky": "^4.2.5",
8686
"lint-staged": "^10.2.11",
8787
"nativescript-typedoc-theme": "git://github.com/NativeScript/nativescript-typedoc-theme.git#master",
88-
"ng-packagr": "~10.1.0",
88+
"ng-packagr": "~11.0.0",
8989
"prettier": "^2.0.5",
9090
"rxjs": "~6.6.0",
9191
"tslint": "^6.1.2",
9292
"tslint-config-prettier": "^1.18.0",
9393
"typedoc": "~0.17.0",
94-
"typescript": "~3.9.0",
94+
"typescript": "~4.0.0",
9595
"zone.js": "^0.11.1"
9696
},
9797
"husky": {

nativescript-angular/router/ns-router-link.ts

-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ export class NSRouterLink {
6868
relativeTo: this.route,
6969
queryParams: this.queryParams,
7070
fragment: this.fragment,
71-
preserveQueryParams: attrBoolValue(this.preserveQueryParams),
7271
queryParamsHandling: this.queryParamsHandling,
7372
preserveFragment: attrBoolValue(this.preserveFragment),
7473
});
@@ -102,7 +101,6 @@ export class NSRouterLink {
102101
relativeTo: this.route,
103102
queryParams: this.queryParams,
104103
fragment: this.fragment,
105-
preserveQueryParams: attrBoolValue(this.preserveQueryParams),
106104
queryParamsHandling: this.queryParamsHandling,
107105
preserveFragment: attrBoolValue(this.preserveFragment),
108106
});

0 commit comments

Comments
 (0)