Equilibris / nx.nvim

A simple tool providing the same features as the NX console does for vs-code
The Unlicense
91 stars 15 forks source link

Generators should read nx.json #17

Closed technbuzz closed 1 year ago

technbuzz commented 1 year ago

Is your feature request related to a problem? Please describe. Whenever I try to create a library, I want certain feature to be selected. In nx.json file we can set default values to a particular library. For now it's repetitive to set certain options. i

Describe the solution you'd like For instance we can set the library to be buildable and this option we be automatically set to true when using the generators.

Describe alternatives you've considered I already have how effective it is in the NX plugin of VSCode.

Equilibris commented 1 year ago

Ah yes, this should be relatively easy to implement, I will quickly try now, but I'll get back to you whether it becomes a greater challenge

Equilibris commented 1 year ago

It should now be implemented, please confirm that it works as expected then close the issue if satasfied

technbuzz commented 1 year ago

I am trying to update this plugin but getting this error

Screenshot 2023-08-02 at 2 37 06 PM
Equilibris commented 1 year ago

please uninstall the plugin, then reinstall it. It looks like something has modified its doc/tags

technbuzz commented 1 year ago

Yeah Uninstalling helped, But the nx.json isn't got read. Here is some config for angular libraries and components

image

and that's how generator looks in nvim

image
Equilibris commented 1 year ago

can you send me the log?

And ill fix this just after breakfast

technbuzz commented 1 year ago

nx.log

I have attached the log file.

Equilibris commented 1 year ago

It was such a dumb mistake on my side, please try again, it should be fixed

technbuzz commented 1 year ago

Yeah it works, thanks