« Back to Search  |  Reader Mode  |  Switch to Full Retro Site View Links: Stay in Reader  |  Retro Mode: ON  |  Original »
GitHub · Extracted in 1051 ms

GitHub - NativeScript/angular: NativeScript for Angular

Source: https://github.com/NativeScript/angular

Repository navigation

angular
Public

About

NativeScript for Angular

docs.nativescript.org/tutorials/build-a-master-detail-app-with-angular

Topics

angular nativescript typescript

Resources

Readme

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy Activity Custom properties

Stars

57 stars

Watchers

4 watching

Forks

14 forks Report repository
Branches

Tags
Go to Branches page Go to Tags page

Latest commit

 

History


218 Commits
View commit history for this file.

Folders and files

Name Name Last commit message Last commit date
.github .github    
.husky .husky    
.vscode .vscode    
apps/ nativescript-demo-ng apps/ nativescript-demo-ng    
packages packages    
tools tools    
.editorconfig .editorconfig    
.gitignore .gitignore    
.prettierignore .prettierignore    
.prettierrc .prettierrc    
CHANGELOG.md CHANGELOG.md    
DevelopmentWorkflow.md DevelopmentWorkflow.md    
README.md README.md    
eslint.config.mjs eslint.config.mjs    
jest.config.ts jest.config.ts    
jest.preset.js jest.preset.js    
nx.json nx.json    
package-lock.json package-lock.json    
package.json package.json    
references.d.ts references.d.ts    
tsconfig.base.json tsconfig.base.json    

Repository files navigation

NativeScript Angular

Monorepo for Angular integration with NativeScript , enabling you to build native iOS, Android and visionOS apps with Angular.

Packages

Package Version Description
@nativescript/angular The Angular integration for NativeScript: renderer, router integration, dialogs, list view templates, zone setup and application bootstrap.
@nativescript/zone-js NativeScript-specific patches for zone.js so Angular change detection works with native APIs.

The workspace also contains apps/nativescript-demo-ng , a demo app used to develop and test the packages.

See DevelopmentWorkflow.md for more details on contributing.

Development

Clean and setup workspace:

npm run clean.all

Build packages:

npm run build

Run demo:

npm run demo.ios
// or...
npm run demo.android

Clean/Reset demo dependencies:

npm run demo.clean

Unit tests for iOS and Android:

npm run test.android
npm run test.ios

Releasing

Releases are managed with Nx Release . Each package is released independently:

npm run release.angular
npm run release.zone-js

This will build the package, prompt for the new version (or accept it as an argument, e.g. npm run release.angular -- 22.0.0), update the package's changelog (packages/angular/CHANGELOG.md or packages/zone-js/CHANGELOG.md ), commit as release: <version>, tag as <package>@<version> (e.g. angular@22.0.0, zone-js@4.0.1), push, create the GitHub release and publish to npm from dist/packages/*.

Useful flags (pass after --):

  • --dry-run -- preview everything without changing anything
  • --skip-publish -- do everything except publish to npm

A GITHUB_TOKEN environment variable (e.g. GITHUB_TOKEN=$(gh auth token)) is required to create the GitHub release non-interactively.

About

NativeScript for Angular

docs.nativescript.org/tutorials/build-a-master-detail-app-with-angular

Topics

angular nativescript typescript

Resources

Readme

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy Activity Custom properties

Stars

57 stars

Watchers

4 watching

Forks

14 forks Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages