Skip to content
This repository was archived by the owner on Aug 12, 2020. It is now read-only.

Create proper fork of react-scripts #1

Closed
sverhoeven opened this issue Nov 2, 2016 · 2 comments
Closed

Create proper fork of react-scripts #1

sverhoeven opened this issue Nov 2, 2016 · 2 comments
Assignees

Comments

@sverhoeven
Copy link
Member

Follow instructions at https://github.com/dvkndn/create-react-app/blob/c27cd91881fab5d71c554c1789ad7b24573509cd/packages/react-scripts/template/README.md#forking-as-alternative-to-ejecting to create a proper fork.

Use @nlesc as scope.

sverhoeven added a commit that referenced this issue Nov 3, 2016
@sverhoeven
Copy link
Member Author

sverhoeven commented Nov 3, 2016

As our react-scripts is not yet published on npmjs use local clone of this repo to test.

Use sinopia by starting it

npm install sinopia2
node_modules/.bin/sinopia
# CTRL-C
vi ~/.config/sinopia/config.yaml
# Add `proxy: npmjs` to '@*/*' section
node_modules/.bin/sinopia

Make use of local registry by

npm set registry http://localhost:4873
npm adduser --registry http://localhost:4873
cd create-react-app/packages/react-scripts
npm publish
cd <some where>
create-react-app my-app --scripts-version @nlesc/react-scripts

@jspaaks
Copy link

jspaaks commented Nov 3, 2016

npm get registry
https://registry.npmjs.org/

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

No branches or pull requests

2 participants