Created by: ryanyogan
#403 (closed)
Monorepo basic configuration in reference toChanges made to directory structure
|- packages (new root directory) |-- create-react-app (was parent directory) |-- react-scripts (was global-cli)
Testing
To test as you would use npm i create-react-app -g
cd packages/create-react-app && npm i . -g
to install locally or npm link
create-react-app my-app
should work as before
To test the build process
cd packages/react-scripts && npm i && npm run build
Notes
This is just the directory structure changes, perhaps a little discussion around @hzoo's comment regarding Lerna Independant is warranted?
# or global?
npm install lerna --save-dev
./node_modules/.bin/lerna init (add lerna.json)
./node_modules/.bin/lerna bootstrap (npm installs packages, links)
# when publish is necessary
./node_modules/.bin/lerna publish --independent