Skip to content

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