-
Notifications
You must be signed in to change notification settings - Fork 120
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
npm's koa-kwt@latest is v2 branch #80
Comments
Resolved. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've just been reading Koa's v2 roadmap, and spotted this:
Unfortunately my recent npm publish of v2 had dist-tag
latest
, so if someone starts a new empty project and runsnpm install koa koa-jwt
, they will end up with koa v1.2.4 and koa-jwt v2.2.1 😢 Consider this minimal example script in that environment:This dies with
AssertionError: app.use() requires a generator function
. Sorry if anyone has been affected, it's my fault. I'll republish the 1.x branch ASAP with thelatest
tag to correct this.For the v2 branch we should probably do what Koa does. This means that an
npm publish
on v2 will have the right tag automatically.The text was updated successfully, but these errors were encountered: