Clone the repository:
git clone https://github.com/remarkablemark/descriptive.git
cd descriptive
Install and bootstrap:
yarn
Let's say you made changes to web-scripts
.
To test those changes, create a global symlink:
cd descriptive/packages/web-scripts/
npm link
Symlink the package in the project that's using it:
cd path/to/project/
npm link @descriptive/web-scripts
If that doesn't work, remove node_modules
, link, and install:
rm -rf node_modules
npm link @descriptive/web-scripts
npm install
If it's not working, try reinstalling node_modules
before linking:
cd path/to/project
rm -rf node_modules
npm install
npm link @descriptive/web-scripts
Once you're done testing the package, remove the symlink:
cd path/to/project/
npm unlink @descriptive/web-scripts
cd descriptive/packages/web-scripts/
npm unlink -g
If you made changes to both web-scripts
and eslint-config-web-app
, make sure to link both packages:
cd descriptive/packages/eslint-config-web-app/
npm link
cd ../web-scripts/
npm link @descriptive/eslint-config-web-app
npm link
Release and publish are automated by Lerna.