-
Notifications
You must be signed in to change notification settings - Fork 1
Development & Contribution
Paul Taylor edited this page Mar 22, 2024
·
4 revisions
Caution
⛔️ THE WIKI IS NO LONGER USED. PLEASE VIEW THE /docs
DIRECTORY FOR ANY DOCUMENTATION
We recommend working with Yalc for local package development. This package allows for local package development in a similar way that npm/yarn link
works, but aims to correct a number of issues and pitfalls that those bring. Here is a basic step-by-step guide for using Yalc for local package development.
- Install Yalc globally so it can be accessed from anywhere.
npm i yalc -g
- Clone the build-tools repo and publish the package with Yalc (don't worry, this doesn't go anywhere near npm publish)
git clone [email protected]:bigbite/build-tools.git
cd build-tools
yalc publish
- In your test project, add the build-tools package via Yalc - this acts as a replacement for
npm i
oryarn add
.
yalc add @bigbite/build-tools