-
Notifications
You must be signed in to change notification settings - Fork 527
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
nitro
npm package 🥳
#1362
Comments
Personally, I feel like renaming to nitro and deprecating nitropack for v3 is perfect and makes the most sense, as we always refer to Nitro as Nitro (in the docs etc) and nitropack was chosen just because nitro was un-available. Maybe we could also get away without releasing For the CLI, I like how Astro is doing it, where they use This would enable :
However, since this is a brand new thing, we could also use a brand new name for the CLI if we want it separated, such as |
This is awesome news for |
I respect all opinions and feedback. Still leaner towards using |
I think having one package |
I also expect people to directly interact with Weather bundling both Nitro core (with ALL dependencies which cost and hundreds of I think regardless, I am still clearly not messaging that this is a final decision but that need to gather more ideas and progress to see how Nitro structure evolves (in regards of increasing modularity and splitting presets to |
Update:
nitro
andnitropack
will be mirrored. More info: #2497Currently, we are using nitropack and nitropack-edge npm packages for nitro releases. It was because
nitro
package was used. And package name is mismatched with the project name a little bit. We also publish docs in nitropack.org and have access to@nitropack/
npm scope planned to be used for presets (#845)).Thanks to @danielroe for following up about
nitro
npm package and @jgermade for donating it now we have a chance to use it 🥳 (credits to be added to readme!)Quickly talking with @danielroe, There are two ideas for using this new package:
[email protected]
and have a compatibility[email protected]
with stubs and bundling CLI in same package of nitro with build depsnitro
package name for zero-dependencynitro
CLI and keep using nitropack or better scoped npm packages for actual core/preset packagesAnd there are cons and pros with each.
nitro
as the new Library name, makes naming consistent and also easier for to people understand what is indevDependencies
field andnode_modules
.nitro
as the new standalone CLI, makes sure we can always advisenpx nitro
command without version conflicts similar to (upcoming)npx nuxi
. This CLI will be for initializing a project but also upcoming user-defined subcommands (👀)Opening this discussion to collect more feedback and ideas until nitro v3 release.
The text was updated successfully, but these errors were encountered: