Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nativescript/sample-yarn-workspace
Yarn workspace sample for multiple NativeScript apps.
https://github.com/nativescript/sample-yarn-workspace
nativescript yarn-workspaces
Last synced: 22 days ago
JSON representation
Yarn workspace sample for multiple NativeScript apps.
- Host: GitHub
- URL: https://github.com/nativescript/sample-yarn-workspace
- Owner: NativeScript
- Created: 2021-09-10T17:58:38.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-11T00:54:07.000Z (over 3 years ago)
- Last Synced: 2024-12-13T13:24:37.787Z (26 days ago)
- Topics: nativescript, yarn-workspaces
- Language: TypeScript
- Homepage:
- Size: 159 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Yarn workspace sample for multiple NativeScript apps
This sample workspace demonstrates using NativeScript 8.1+ cli capabilities to manage multiple NativeScript apps within a [yarn workspace](https://classic.yarnpkg.com/en/docs/workspaces/).
### Prerequisites
* node 15+/npm 7+ is recommended
* [environment setup for NativeScript](https://docs.nativescript.org/environment-setup.html)
* ensure latest NativeScript cli (8.1+) is installed:```
npm i -g nativescript
```### Run the apps by using the provided npm scripts:
```
// install dependencies for workspace
yarn// run app a
yarn mobile-app-a:android
yarn mobile-app-a:ios// run app b
yarn mobile-app-b:android
yarn mobile-app-b:ios
```### Clean workspace anytime
```
yarn clean
```