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

Idea: Official nightly edge build on NPM #2924

Closed
tgriesser opened this issue Jan 23, 2015 · 5 comments
Closed

Idea: Official nightly edge build on NPM #2924

tgriesser opened this issue Jan 23, 2015 · 5 comments

Comments

@tgriesser
Copy link

Working against master isn't as straightforward in React as it is in other JS libraries. Typically, it's possible to just point to a SHA commit in your NPM and have it npm install and work against that version of the codebase. Since this doesn't happen in React due to the compile step, it'd be nice if there were an official nightly dev-build of React available on NPM.

One main benefit of this would be for library authors, making it easier to check their projects against changes going into master and potentially weigh in on issues - one example that comes to mind is the warnings which now are around in react-router in 0.13 due to some of the context changes.

@sophiebits
Copy link
Collaborator

I think the current plan is that we're going to push a tag each week so you can npm install react@latest. Hopefully this will be more stable than master but still up-to-date enough to test the latest changes. @zpao can elaborate.

There's also automatic builds here triggered by Travis which should always be up to date:

http://react.zpao.com/builds/master/latest/

You can npm install http://react.zpao.com/builds/master/latest/react.tgz for that.

@brigand
Copy link
Contributor

brigand commented Jan 23, 2015

There's also http://react.zpao.com/builds/master/latest/react.js which is good if you want to play with the latest in a fiddle/jsbin (my default jsbin has it in a comment).

@spicyj latest is what's installed when you do npm install react docs. You want to ensure that latest points to the latest stable, and publish tags like 0.13.0-alpha.2.

@zpao
Copy link
Member

zpao commented Jan 23, 2015

Yea, I don't want to push to npm nightly. There are often points where we know something is broken so it would be irresponsible. But we have been pushing pre-release checkpoints to npm for 0.13. These are generally (but not always) the same checkpoints that we bring in and use at Facebook.

If you want to make use of that you can npm install react@next and that will always bring in the next pre-release build. That's currently 0.13.0-alpha.2, published last Friday. Or you can install directly from the tgz on our builds server as @spicyj mentioned. One day we'll clean that up so it looks more official :)

@brigand - "latest" on the builds server is simply a symlink to the most recent build on a given branch. It's not a corollary to npm tags. On npm I do keep "latest" pointing at stable and use "next" as the pre-release channel. You can't actually publish tags that look like semver versions anymore (I used to for RCs), so that's why we use "next", to match what npm itself does.

I've only tagged our "officially announced / supported" builds in the git repo. In other words, RCs and final builds. I haven't tagged alphas.

So to answer the overall request, we have nightlies. But we won't publish them to npm. So I'm going to close this out.

@zpao zpao closed this as completed Jan 23, 2015
@sophiebits
Copy link
Collaborator

(@brigand sorry, I did mean next.)

@tgriesser
Copy link
Author

Sounds good, thanks for the info!

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

No branches or pull requests

4 participants