-
-
Notifications
You must be signed in to change notification settings - Fork 27k
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
--scripts-version should accept tags #439
Comments
If you do |
Maybe (I didn't thought about using this syntax). I expected that I can replace version with tag and it will still work, but it doesn't (have to add @?). I think people used to npm want to treat them as interchangeable. |
Actually I was wrong. Logic is here: https://github.com/facebookincubator/create-react-app/blob/master/global-cli/index.js#L133 It checks if it is semver valid, which doesn't work with arbitrary tag names. |
At the moment, if the value passed to
You can install from a tag, a tarball, or even a feature branch from a forked repo:
|
This would be a different setup though. We do some stuff as prepublish step (bundle dependencies). So we want it to work with npm tag, not GH tag. |
@gaearon Ah, sorry somehow I assumed this was about git tags 😄 |
Don’t really care too much about it. |
We should change global CLI to accept tag there. Right now it accepts package name. Maybe we could have two separate flags?
The text was updated successfully, but these errors were encountered: