Assuming it’s an app (and not a library) to get what you are describing you would run:
npx confgen@latest @app vite dist:app typescript eslint prettier react
Unlike create-react-app the idea is you can keep running that command, adding other runtimes and presets, and it will keep working. That’s the sense in which it’s “idempotent”.
It’s somewhat opinionated (vite, react only) for now. But I’d be happy to see pull requests for other stacks so long as things don’t get too complex.
It’s also pre-1.0 but I’ve used it on dozens of projects and it’s somewhat stable.
Assuming it’s an app (and not a library) to get what you are describing you would run:
Unlike create-react-app the idea is you can keep running that command, adding other runtimes and presets, and it will keep working. That’s the sense in which it’s “idempotent”.It’s somewhat opinionated (vite, react only) for now. But I’d be happy to see pull requests for other stacks so long as things don’t get too complex.
It’s also pre-1.0 but I’ve used it on dozens of projects and it’s somewhat stable.