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

Fix local testing workflow #3876

Merged
merged 1 commit into from
Jan 20, 2018
Merged

Fix local testing workflow #3876

merged 1 commit into from
Jan 20, 2018

Conversation

gaearon
Copy link
Contributor

@gaearon gaearon commented Jan 20, 2018

This fixes yarn create-react-app ../myproj. It used to fail because we only replaced names with file URLs for react-script deps. Not it does that for all packages.

Happy to change this to work via npm link later but for now I just wanted to fix the existing approach.

I also made it fail on non-clean repo state, and reset its edits to package.json files on exit.

console.log();
console.log('-------------------------------------------------------');
console.log('Assuming you have already run `yarn` to update the deps.');
console.log('If not, remember to do this before testing!');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bootstrapping was way too slow and annoying for local testing. Removed it here.

@gaearon gaearon merged commit ab2e0f8 into facebook:next Jan 20, 2018
akstuhl pushed a commit to akstuhl/create-react-app that referenced this pull request Mar 15, 2018
@lock lock bot locked and limited conversation to collaborators Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants