Contributing

@exile-watch/writ setup & contribution guide

exile.watch logo

Development

4. Install dependencies

# project root
$: nvm use # uses node version that's defined in .nvmrc
$: npm i # install dependencies

5. Check changes made in writ package locally in crucible project

# @exile-watch/writ project
# package path e.g. ~/writ/packages/writ-react
$: npm link

b) Build writ package

# @exile-watch/writ project
# package path e.g. ~/writ/packages/writ-react
$: npm run build
# @exile-watch/crucible project
# root path ~/crucible
$: npm link @exile-watch/writ-react #

6. Conclusion

Not happy with the change? Repeat step b) Build writ package and c) Link writ package in crucible project

Happy with the change? Create a new pull request and don't forget to locally unlink modified package:

# @exile-watch/writ project
# package path e.g. ~/writ/packages/writ-react
$: npm unlink
# @exile-watch/crucible project
# root path ~/crucible
$: npm i # this will "revert" linked module to the actual package 

Last updated

Was this helpful?