- Follow our existing conventional commit pattern
- When ready to create a tag, use npm version in a release branch
- Once the tag is pushed to Github, create a release in Github to automatically build and publish to NPM
- Update your dependency version in the container app's package.json
- npm install on your container app
- Bob's your uncle!
To develop this library while integrated into an other project do the following:
Make sure the project is packaged up:
npm run package
Also look into using npm run package:watch
to rebuild after every change
From gw-components project root:
npm link
Verify link worked via:
npm ls -g --depth=0 --link=true
Within same terminal window (from above) navigate to working project dir and run:
npm link @goodwaygroup/ui-ux
in vite.config.js temporarily add path to gw-components. example:
server: {
port: process.env.PORT || 3000,
fs: {
allow: ['./', '[YOUR-PATH]/gw-components/'],
},
},
TODO
npm unlink @goodwaygroup/ui-ux && npm i @goodwaygroup/ui-ux