-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New project creation template should include sv
in devDependencies
#34
Comments
Should it? Didn't we decide against this at some point? Especially with #39 and they way we implemented that, does this still makes sense? |
This is what folks were suggesting at the maintainers meeting I believe - though I didn't have clear thoughts on it personally. I guess the benefit would be that you could control the version of I don't think #39 would prevent us from doing this |
Agree, this has nothing to do with #39. |
I'm unsure if it's a good idea, but I'm still open to it If we're doing this though, then I think #35 would be necessary to ensure users are always up-to-date. Ben's idea of only having it check for updates on Here's an alternate idea: what if we just include a script to invoke in their {
...
"scripts": {
...
// (the PM can be adjusted based on what they used to scaffold the project)
"sv": "npx sv@latest"
} upsides:
downsides:
to address the last downside, maybe pinning it to the major could work? {
...
"scripts": {
...
"sv": "npx sv@1"
} thoughts? |
i kinda like this idea tbh |
If you do If we did install it into the project, it does seem quite annoying to have to do |
What, specifically, are we thinking the user would want to do with an existing project with a specific version of the CLI? I'm definitely finding myself preferring not including this as a dev dependency, if at all feasible. |
I think there were two motivations. One was that if you want to do something like Another idea might be to have |
I think, we should leave this as is as a standalone |
No description provided.
The text was updated successfully, but these errors were encountered: