NativeScript / NativeScript/nx
[feature suggestion]: Build for Web and Mobile
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 68
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
Currently the plugin is aimed towards mobile only. Its nx serve command is running tns.
This doesn't support architectures like this code sharing.
I know that NS is not just for angular, but this might be super useful in case one chooses an angular NS project.
One idea would be to enable several such features:
- Allow to serve regular apps vs NS (e.g. via a flag)
- Allow to create duplicate modules/components/etc. files (both
.tnsand web) like suggested in the article
I haven't made the attempt to make the separation but there should be more features involved in this Epic.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the plugin's nx serve entry point and how it currently invokes tns. Define the scope for serving regular web apps versus NativeScript apps and for generating paired .tns and web files, then verify the agreed behavior with appropriate tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- build-system, cli, mobile, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100