1.2.51 • Published 9 months ago
@alloralabs/legacy-ui v1.2.51
upshot-ui
The official design system used in Upshot.
Install dependencies
yarnStart storybook server
yarn startFix code formatting
yarn lintExport module
yarn buildLink with Upshot UIs
In development, you will likely want to link this repo with the one containing the Upshot UIs (Analytics, Answer, etc.) Follow the latest guide in the upshot-web repo.
Publish on NPM
- Checkout the latest
mainbranch.
git checkout main
git pull- Bump the version and build.
yarn
yarn version
yarn build- Publish to npm (note: you will need to be logged into an account associated with the org.)
If you're publishing for the first time, generate an access token from npmjs.com then add to your bash profile via:
export NPM_TOKEN=ACCESS_TOKENTo publish to npm, use:
npm publishShortcuts
Update the current branch and start development
yarn pulldCheckout to the main branch of the repo, update, and start development
yarn maindRouting
To enable client-side routing from Next.js, use <Link> (@UI/Link) in place of <a> with a linkComponent prop to receive the next/link router.
1.2.51
9 months ago