NativeScript / NativeScript/nx
[Question] Add new flag --no-prefix for @nativescript/nx:lib
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 68
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
Hi!
Maybe you can add a flag (--no-prefix) for schematics that generate new libraries without the prefix or suffix "nativescript"?
This will allow everyone to create more universal solutions.
For example.
You can create an Nx workspace for web and nativescript application with the following structure:
apps/
-- simple-nativescript
-- simple-web
libs/
-- core
-- nativescript
---- buttons
---- shared
------ pipes
-- web
---- buttons
---- shared
------ pipes
There is no need to duplicate prefixes for each of the library. It is enough to do it only on top level.
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 at the @nativescript/nx:lib schematic entry point and inspect how library names receive the "nativescript" prefix or suffix. Add the --no-prefix option so generated libraries can omit that naming, then run the schematic's existing tests or generation checks to verify both default and flag-enabled behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100