Skip to content

Conversation

@victorgarciaesgi
Copy link
Owner

No description provided.

@BlueBazze
Copy link
Contributor

Have you seen magicast? https://unjs.io/packages/magicast
I believe it is what nuxt uses under the hood to automatically modify nuxt.config.ts

The typescript package could also be used directly - https://ts-ast-viewer.com/#code/FAFwngDgpgBAznGBeGAiOATVMA+a6pA
Which could make the generators more readable.
The page i linked can be used to generate the "generators"
For instance, you could take one of the current generated templates - __paths.d.ts
Clicking on a type keyword shows the section needed to generate that section of typescript code.

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

Successfully merging this pull request may close these issues.

3 participants