-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Suggestion: consistent package names on NPM #1458
Comments
Who has the access required to do this? |
I can try to look at this once I'm done with other major projects. |
Out of curisosity, why having the main package outside of the import koa from 'koa';
import router from '@koa/router'; Why not having everything within the namespace? import koa from '@koa/core'; // or '@koa/app'
import router from '@koa/router'; This is what other projects, for example Material UI, and Babel, etc. do. |
Yes I know. It would be nice. Time is a constraint, as are developers that actually know how to publish and semver release. |
@niftylettuce I totally agree. But this issue should be tied with the 3.0 roadmap. In that sense, some group should be formed and assignments made with ETAs. There are over 200 contributors to this project, so surely a dozen could spare a few hours and everything could happen by the end of this year. That sounds reasonable to me. |
I don't think you can put an ETA on open-source software unless you financially sponsor and routinely follow up. Like I said, I will try to dedicate time in the near future to this. I highly doubt others would have the time. |
There also has to be an enforced mirroring concept, where |
I wrote about this in the 3.0 issue, I would really love for Koa npm package to just stay as "koa". |
Yeah, we'll definitely stick with just |
we're slowly moving modules into the koa org with @koa/ (though koa itself will remain). LMK if you want to move a module into the org |
One of the off-putting things about Koa vs other solutions is that it isn't clear which NPM packages are maintained by the Koa authors and which are community efforts. I would like to stick to official Koa packages to get some degree of assurance.
It would be great if these packages had a common naming scheme on NPM.
My suggestion would be to follow the
@koa/router
package:koa
@koa/router
@koa/bodyparser
@koa/static
This convention is already used by Babel.
The text was updated successfully, but these errors were encountered: