About this package
This package contains a whole slew of commonly used components, hooks and forms as used by Webfox. Everything is styled in line with Tailwind UI.
Building and publishing
- Make sure the version number in
package.json
is updated - Run
npm run build && npm publish
- Enter the OTP code when asked
Testing locally for prod build without publishing
- Run
npm run build && npm pack
to build the package and create a packed version of the package as it would be when published. - On the web app that uses Webfox UI, run
npm i ../webfox_ui/webfox-webfox-ui-XXXXX.tgz
where XXXX is the version name of this package. - The client now uses the build and packed version of this package as if it was published.
- Every time you make changes to this package and need to test again, run
npm run build && npm pack
again and on the client runnpm update @webfox/webfox-ui && npm run prod
to make sure npm is using the updated package.