Skip to content

Commit

Permalink
feat(angular): v11 (#2297)
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanWalker authored Nov 17, 2020
1 parent 23f89e4 commit e3657c4
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 47 deletions.
24 changes: 12 additions & 12 deletions e2e/animation-examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"readme": "NativeScript Application",
"repository": "<fill-your-repository-here>",
"dependencies": {
"@angular/animations": "~10.1.0",
"@angular/common": "~10.1.0",
"@angular/compiler": "~10.1.0",
"@angular/core": "~10.1.0",
"@angular/forms": "~10.1.0",
"@angular/platform-browser": "~10.1.0",
"@angular/platform-browser-dynamic": "~10.1.0",
"@angular/router": "~10.1.0",
"@angular/animations": "~11.0.0",
"@angular/common": "~11.0.0",
"@angular/compiler": "~11.0.0",
"@angular/core": "~11.0.0",
"@angular/forms": "~11.0.0",
"@angular/platform-browser": "~11.0.0",
"@angular/platform-browser-dynamic": "~11.0.0",
"@angular/router": "~11.0.0",
"@nativescript/angular": "file:../../dist/nativescript-angular-scoped.tgz",
"nativescript-theme-core": "~1.0.2",
"reflect-metadata": "~0.1.13",
Expand All @@ -21,10 +21,10 @@
"zone.js": "^0.11.1"
},
"devDependencies": {
"@angular/compiler-cli": "~10.1.0",
"@nativescript/ios": "7.0.0",
"@angular/compiler-cli": "~11.0.0",
"@nativescript/ios": "7.0.5",
"@nativescript/webpack": "~3.0.0",
"@ngtools/webpack": "~10.1.0",
"@ngtools/webpack": "~11.0.0",
"@types/chai": "~4.2.0",
"@types/mocha": "~7.0.0",
"@types/node": "~14.0.0",
Expand All @@ -37,7 +37,7 @@
"mochawesome": "~6.1.1",
"nativescript-css-loader": "~0.26.0",
"node-sass": "~4.14.1",
"typescript": "~3.9.0"
"typescript": "~4.0.0"
},
"scripts": {
"clean": "ns clean",
Expand Down
28 changes: 14 additions & 14 deletions nativescript-angular-package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nativescript-angular",
"version": "10.0.0",
"version": "11.0.0",
"description": "Compatibility with old style nativescript-angular imports.",
"homepage": "https://www.nativescript.org/",
"bugs": "https://github.com/NativeScript/nativescript-angular/issues",
Expand Down Expand Up @@ -35,20 +35,20 @@
]
},
"devDependencies": {
"@angular/animations": "~10.0.0",
"@angular/common": "~10.0.0",
"@angular/compiler": "~10.0.0",
"@angular/compiler-cli": "~10.0.0",
"@angular/core": "~10.0.0",
"@angular/forms": "~10.0.0",
"@angular/platform-browser": "~10.0.0",
"@angular/platform-browser-dynamic": "~10.0.0",
"@angular/router": "~10.0.0",
"@nativescript/angular": "~10.0.0",
"@angular/animations": "~11.0.0",
"@angular/common": "~11.0.0",
"@angular/compiler": "~11.0.0",
"@angular/compiler-cli": "~11.0.0",
"@angular/core": "~11.0.0",
"@angular/forms": "~11.0.0",
"@angular/platform-browser": "~11.0.0",
"@angular/platform-browser-dynamic": "~11.0.0",
"@angular/router": "~11.0.0",
"@nativescript/angular": "rc",
"@nativescript/core": "rc",
"ng-packagr": "^10.0.1",
"rxjs": "~6.5.5",
"typescript": "~3.9.0"
"ng-packagr": "^11.0.0",
"rxjs": "~6.6.0",
"typescript": "~4.0.0"
},
"scripts": {
"setup": "npx rimraf hooks node_modules package-lock.json && npm i",
Expand Down
1 change: 1 addition & 0 deletions nativescript-angular/app-host-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export class AppHostView extends ContentView {
this._ngAppRoot = value;
}

// @ts-ignore
get content(): View {
return this._content;
}
Expand Down
38 changes: 19 additions & 19 deletions nativescript-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nativescript/angular",
"version": "10.1.7",
"version": "11.0.0-rc.0",
"description": "An Angular renderer that lets you build mobile apps with NativeScript.",
"homepage": "https://www.nativescript.org/",
"bugs": "https://github.com/NativeScript/nativescript-angular/issues",
Expand Down Expand Up @@ -61,37 +61,37 @@
"nativescript-intl": "^4.0.0"
},
"peerDependencies": {
"@angular/common": "^10.1.0",
"@angular/compiler": "^10.1.0",
"@angular/core": "^10.1.0",
"@angular/forms": "^10.1.0",
"@angular/platform-browser": "^10.1.0",
"@angular/platform-browser-dynamic": "^10.1.0",
"@angular/router": "^10.1.0"
"@angular/common": "^11.0.0",
"@angular/compiler": "^11.0.0",
"@angular/core": "^11.0.0",
"@angular/forms": "^11.0.0",
"@angular/platform-browser": "^11.0.0",
"@angular/platform-browser-dynamic": "^11.0.0",
"@angular/router": "^11.0.0"
},
"devDependencies": {
"@angular/animations": "~10.1.0",
"@angular/common": "~10.1.0",
"@angular/compiler": "~10.1.0",
"@angular/compiler-cli": "~10.1.0",
"@angular/core": "~10.1.0",
"@angular/forms": "~10.1.0",
"@angular/platform-browser": "~10.1.0",
"@angular/platform-browser-dynamic": "~10.1.0",
"@angular/router": "~10.1.0",
"@angular/animations": "~11.0.0",
"@angular/common": "~11.0.0",
"@angular/compiler": "~11.0.0",
"@angular/compiler-cli": "~11.0.0",
"@angular/core": "~11.0.0",
"@angular/forms": "~11.0.0",
"@angular/platform-browser": "~11.0.0",
"@angular/platform-browser-dynamic": "~11.0.0",
"@angular/router": "~11.0.0",
"@nativescript/core": "~7.0.0",
"codelyzer": "^5.2.0",
"conventional-changelog-cli": "^2.0.34",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"nativescript-typedoc-theme": "git://github.com/NativeScript/nativescript-typedoc-theme.git#master",
"ng-packagr": "~10.1.0",
"ng-packagr": "~11.0.0",
"prettier": "^2.0.5",
"rxjs": "~6.6.0",
"tslint": "^6.1.2",
"tslint-config-prettier": "^1.18.0",
"typedoc": "~0.17.0",
"typescript": "~3.9.0",
"typescript": "~4.0.0",
"zone.js": "^0.11.1"
},
"husky": {
Expand Down
2 changes: 0 additions & 2 deletions nativescript-angular/router/ns-router-link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ export class NSRouterLink {
relativeTo: this.route,
queryParams: this.queryParams,
fragment: this.fragment,
preserveQueryParams: attrBoolValue(this.preserveQueryParams),
queryParamsHandling: this.queryParamsHandling,
preserveFragment: attrBoolValue(this.preserveFragment),
});
Expand Down Expand Up @@ -102,7 +101,6 @@ export class NSRouterLink {
relativeTo: this.route,
queryParams: this.queryParams,
fragment: this.fragment,
preserveQueryParams: attrBoolValue(this.preserveQueryParams),
queryParamsHandling: this.queryParamsHandling,
preserveFragment: attrBoolValue(this.preserveFragment),
});
Expand Down

0 comments on commit e3657c4

Please sign in to comment.