Skip to content
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

Automatically upgrade the version when publishing a new babel version #73

Open
nicolo-ribaudo opened this issue Aug 10, 2018 · 6 comments
Labels
enhancement New feature or request

Comments

@nicolo-ribaudo
Copy link
Member

It might be possible to update

function getLatestVersion() {
return "7.0.0-beta.54";
}
using a npm publish script on @babel/core?

@nicolo-ribaudo nicolo-ribaudo added the enhancement New feature or request label Aug 10, 2018
@aulisius
Copy link
Contributor

I would like to work on this, if possible.

@nicolo-ribaudo
Copy link
Member Author

Let's first wait for @hzoo's opinion since it is him who usually publish Babel.

@hzoo
Copy link
Member

hzoo commented Aug 10, 2018

I guess it didn't really make sense to do it automatically when it's a breaking change since it wouldn't run when you updated. But now I guess we could maybe? Just not sure it was worth. And now you might want ^? You can query npm instead of non publish too I think

@aulisius
Copy link
Contributor

@aulisius
Copy link
Contributor

Thinking about it, is this even an issue now? Now that Babel v7 is released (:fireworks:), just returning ^7.0.0 works, right?

@nicolo-ribaudo
Copy link
Member Author

Yup, it should 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants