Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Add new flag --no-prefix for @nativescript/nx:lib #58

Open
Fafnur opened this issue Aug 1, 2022 · 1 comment
Open

[Question] Add new flag --no-prefix for @nativescript/nx:lib #58

Fafnur opened this issue Aug 1, 2022 · 1 comment

Comments

@Fafnur
Copy link

Fafnur commented Aug 1, 2022

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.

@fpaaske
Copy link

fpaaske commented Apr 7, 2023

This would be nice for a pure NativeScript project as well. No need to pre-/postfix everything if it's all NativeScript. In that case, there's no need to change the folder structure either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants