Currently, Nuxi creates a README.md file with package manager commands that are inconsistent (yarn, npm and pnpm commands vs npm-only in the last two sections). Providing all three variants for the below four stages might be a little bit verbose.
I really like how one of the backend frameworks, NestJS, provides a nicer DX by prompting a user to select the package manager and installing dependencies for the user:
This would allow Nuxi to tweak commands in README.md file according to the chosen package manager, as well as display more accurate messages in the CLI. "Install dependencies with (...)" could be removed and "Start development server with (...)" shortened:
Additional information
[x] Would you be willing to help implement this feature?
[ ] Could this feature be implemented as a module?
Describe the feature
Currently, Nuxi creates a README.md file with package manager commands that are inconsistent (yarn, npm and pnpm commands vs npm-only in the last two sections). Providing all three variants for the below four stages might be a little bit verbose.
I really like how one of the backend frameworks, NestJS, provides a nicer DX by prompting a user to select the package manager and installing dependencies for the user:
This would allow Nuxi to tweak commands in README.md file according to the chosen package manager, as well as display more accurate messages in the CLI. "Install dependencies with (...)" could be removed and "Start development server with (...)" shortened:
Additional information
Final checks