NativeScript / NativeScript/nx
[Q] How can lib generator be used to create NS plugins?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 68
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to create a plugin to be used across two apps in the workspace. The plugin requires native libs, so simply using lib generator doesn't seem to create structure to allow me to add native libs. I tried to configure tsconfig, but it seems without having a package definition at the lib-level, building a plugin won't be possible, and I'm not sure how that can be achieved.
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
The issue names no files or tests. Start by tracing the lib generator and its tsconfig and package-definition handling, then examine how a generated plugin could be consumed by both apps with native libraries. Done means the supported structure and build path are defined for this use case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system, mobile-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100