Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NativeScript/nativescript-angular
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 11.2.0
Choose a base ref
...
head repository: NativeScript/nativescript-angular
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 3 commits
  • 8 files changed
  • 2 contributors

Commits on Apr 6, 2021

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c4ab491 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a95e56e View commit details

Commits on Oct 28, 2024

  1. chore: readme note

    NathanWalker authored Oct 28, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    352c5a9 View commit details
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Note on repo

This repo is for Angular <= 11. If looking for 12+ (including 18+, etc) it's maintained here [NativeScript/angular](https://github.com/NativeScript/angular).

# NativeScript Angular
[![Build Status](https://travis-ci.org/NativeScript/nativescript-angular.svg?branch=master)](https://travis-ci.org/NativeScript/nativescript-angular)

2 changes: 1 addition & 1 deletion nativescript-angular-package/package.json
Original file line number Diff line number Diff line change
@@ -45,7 +45,7 @@
"@angular/platform-browser-dynamic": "~11.0.0",
"@angular/router": "~11.0.0",
"@nativescript/angular": "rc",
"@nativescript/core": "rc",
"@nativescript/core": "~8.0.0",
"ng-packagr": "^11.0.0",
"rxjs": "~6.6.0",
"typescript": "~4.0.0"
8 changes: 2 additions & 6 deletions nativescript-angular/element-registry.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { View, LayoutBase, Page, Frame, AbsoluteLayout, ActivityIndicator, BottomNavigation, Button, ContentView, DatePicker, DockLayout, GridLayout, HtmlView, Image, Label, ListPicker, ListView, Placeholder, Progress, ProxyViewContainer, Repeater, ScrollView, SearchBar, SegmentedBar, SegmentedBarItem, Slider, StackLayout, FlexboxLayout, Switch, TabView, TabStrip, TabStripItem, TabContentItem, Tabs, TextField, TextView, TimePicker, WebView, WrapLayout, FormattedString, Span } from '@nativescript/core';
import { View, LayoutBase, Page, Frame, AbsoluteLayout, ActivityIndicator, Button, ContentView, DatePicker, DockLayout, GridLayout, HtmlView, Image, Label, ListPicker, ListView, Placeholder, Progress, ProxyViewContainer, Repeater, ScrollView, SearchBar, SegmentedBar, SegmentedBarItem, Slider, StackLayout, FlexboxLayout, Switch, TabView, TextField, TextView, TimePicker, WebView, WrapLayout, FormattedString, Span, RootLayout } from '@nativescript/core';

export interface ViewClass {
new (): View;
@@ -164,7 +164,6 @@ const frameMeta: ViewClassMeta = {
// Note: ActionBar related components are registerd together with action-bar directives.
registerElement('AbsoluteLayout', () => AbsoluteLayout);
registerElement('ActivityIndicator', () => ActivityIndicator);
registerElement('BottomNavigation', () => BottomNavigation);
registerElement('Button', () => Button);
registerElement('ContentView', () => ContentView);
registerElement('DatePicker', () => DatePicker);
@@ -183,6 +182,7 @@ registerElement('Placeholder', () => Placeholder);
registerElement('Progress', () => Progress);
registerElement('ProxyViewContainer', () => ProxyViewContainer);
registerElement('Repeater', () => Repeater);
registerElement('RootLayout', () => RootLayout);
registerElement('ScrollView', () => ScrollView);
registerElement('SearchBar', () => SearchBar);
registerElement('SegmentedBar', () => SegmentedBar);
@@ -192,10 +192,6 @@ registerElement('StackLayout', () => StackLayout);
registerElement('FlexboxLayout', () => FlexboxLayout);
registerElement('Switch', () => Switch);
registerElement('TabView', () => TabView);
registerElement('TabStrip', () => TabStrip);
registerElement('TabStripItem', () => TabStripItem);
registerElement('TabContentItem', () => TabContentItem);
registerElement('Tabs', () => Tabs);
registerElement('TextField', () => TextField);
registerElement('TextView', () => TextView);
registerElement('TimePicker', () => TimePicker);
13 changes: 2 additions & 11 deletions nativescript-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nativescript/angular",
"version": "11.2.0",
"version": "11.8.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",
@@ -60,15 +60,6 @@
"@nativescript/zone-js": "~1.0.0",
"nativescript-intl": "^4.0.0"
},
"peerDependencies": {
"@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": "~11.2.0",
"@angular/common": "~11.2.0",
@@ -79,7 +70,7 @@
"@angular/platform-browser": "~11.2.0",
"@angular/platform-browser-dynamic": "~11.2.0",
"@angular/router": "~11.2.0",
"@nativescript/core": "~7.3.0",
"@nativescript/core": "~8.0.0",
"codelyzer": "^5.2.0",
"conventional-changelog-cli": "^2.0.34",
"husky": "^4.2.5",
2 changes: 1 addition & 1 deletion nativescript-angular/testing/package.json
Original file line number Diff line number Diff line change
@@ -12,6 +12,6 @@
},
"devDependencies": {
"@nativescript/angular": "latest",
"@nativescript/core": "latest"
"@nativescript/core": "~8.0.0"
}
}
4 changes: 4 additions & 0 deletions nativescript-angular/testing/src/polyfills.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
if (typeof Node === 'undefined' && !global.Node) {
class DummyNode {}
global.Node = DummyNode as any;
}
1 change: 1 addition & 0 deletions nativescript-angular/testing/src/public_api.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import './polyfills';
export * from './util';
export * from './test-root-view';
export * from './nativescript_test_component_renderer';
24 changes: 12 additions & 12 deletions tests/package.json
Original file line number Diff line number Diff line change
@@ -19,23 +19,23 @@
],
"homepage": "http://nativescript.org",
"dependencies": {
"@angular/animations": "~9.1.0",
"@angular/common": "~9.1.0",
"@angular/compiler": "~9.1.0",
"@angular/core": "~9.1.0",
"@angular/forms": "~9.1.0",
"@angular/platform-browser": "~9.1.0",
"@angular/platform-browser-dynamic": "~9.1.0",
"@angular/router": "~9.1.0",
"@angular/animations": "~11.2.0",
"@angular/common": "~11.2.0",
"@angular/compiler": "~11.2.0",
"@angular/core": "~11.2.0",
"@angular/forms": "~11.2.0",
"@angular/platform-browser": "~11.2.0",
"@angular/platform-browser-dynamic": "~11.2.0",
"@angular/router": "~11.2.0",
"nativescript-angular": "../nativescript-angular-package",
"nativescript-unit-test-runner": "0.7.0",
"rxjs": "~6.5.5",
"@nativescript/core": "next",
"@nativescript/core": "~8.0.0",
"zone.js": "^0.10.3"
},
"devDependencies": {
"@angular/compiler-cli": "8.0.0",
"@ngtools/webpack": "8.0.0",
"@angular/compiler-cli": "~11.2.0",
"@ngtools/webpack": "~11.2.0",
"@types/chai": "^4.1.4",
"@types/karma-chai": "0.1.1",
"@types/mocha": "5.2.7",
@@ -57,7 +57,7 @@
"remove-strict-webpack-plugin": "~0.1.2",
"sinon": "^7.3.2",
"tslint": "^4.5.1",
"typescript": "~3.8.3"
"typescript": "~4.0.0"
},
"scripts": {
"e2e": "tsc -p e2e && mocha --opts ../e2e/config/mocha.opts --recursive e2e --appiumCapsLocation ../e2e/config/appium.capabilities.json",