@justfixnyc/component-library
v0.52.8
Published
JustFix Component Library
Downloads
440
Readme
JustFix Component Library
Component library for JustFix's design system.
Based this repo on this course (local copy of course mateirals in our drive)
Local development setup
- install npm locally if it doesn't already exist
brew install npm
npx sb init
- builder error: select Webpack 5
- dependency resolution errors:
npm install --legacy-peer-deps
npm run storybook
- if there are OSSL issues, run
export NODE_OPTIONS=--openssl-legacy-provider
Publishing the package
This package is live on both GitHub Package Registry (GPR) and NPM registry
GitHub Actions triggers a publish to GPR from any branch that runs the version bump. Should probably change to allow this version bump to only happen on main
before we fully integrate this library
npm run lint
npm version [major]|[minor]|[patch]
git push --follow-tags
Publishing to NPM registry is more manual because of permission issues that couldn't be resolved in Github Actions. You will need to authenticate your account (w/ permissions to the JustFix organization) via the terminal.
npm run build
npm publish --access public --@justfixnyc:registry=https://registry.npmjs.org/