An umbrella repository to hold all "semi open source" packages used by GoodHood exclusively.
- @goodhood/chargebee
- @goodhood/components
- @goodhood/icons
- @goodhood/inputs-minimal
- @goodhood/map
- @goodhood/modals
- @goodhood/tracking
- (Install yarn
npm i -g yarn
) - Install packages:
yarn
cd packages/your-package
yarn start
- or
HOST=192.168.1.3 PORT=1234 yarn start
packages/icons/package.json
: update version from (for example)2.2.0
to2.3.0-beta.0
yarn
- Fails with something like this:
error An unexpected error occurred: "expected workspace package to exist for \"chalk\"".
It's a bug in yarn > 1.18. There is a long thread on github about it..
Pin @goodhood/icons
version for all packages in workspace. It's sadly the best we can do right now.
🚨 Watch out! This may cause issues if you plan to do breaking changes. 🔥
- Open up root
package.json
- Add the following section: (with adjusted version)
{
"resolutions": {
"@goodhood/icons": "2.3.0-beta.0"
}
}
- Bug won't be fixed most likely. Yarn 1 was silently deprecated
- Update to yarn 2