analogjs / analog

The fullstack meta-framework for Angular. Powered by Vite and Nitro
https://analogjs.org
MIT License
2.61k stars 251 forks source link

Better support for args when creating an Analog app using nx #1365

Open tayambamwanza opened 2 months ago

tayambamwanza commented 2 months ago

Which scope/s are relevant/related to the feature request?

create-analog

Information

When generating an Angular app using NX most of the angular flags are supported and listed when using --help

It seems its not the same when creating an Analog project, for example there is no --directory it seems, I will list more options that would be helpful later as I'm still working on a project urgently but will definately come back to this.

Describe any alternatives/workarounds you're currently using

Manual configuration after the fact, another option I ttried but that I felt was hacky is generate an angular project first then migrate it to analog using the migrate option provided by Analog

I would be willing to submit a PR to fix this issue

o-glethorpe commented 1 month ago

I´m beginning to believe that the nx integration made is half-assed, from the start, already is broken for me.

brandonroberts commented 1 month ago

@tayambamwanza initially, the application schematic was different enough to make a whole new one. We could look at using a combination of the @nx/angular:application schematic and running our init schematic on top of it to make the necessary conversions.

@o-glethorpe PRs are welcomed for improvements.