@avlutils/landing-packages
v1.9.3
Published
Shared components, themes, and utils. Currently used in the Aha LP project.
Readme
landing-packages
Shared components, themes, and utils. Currently used in the Aha LP project.
Development
Setup
- Clone into a local directory
- Run the following:
yarnto install dependenciesyarn global add yalcto installyalc(a local repository manager) globally, if not already installedyalc publishto publish the package toyalcyarn startto automatically create new builds and push toyalcwhen source files change
Commit
- Stage the changes you wish to commit (
git add .will stage all changes) and then runyarn commit
Storybook
- Run
yarn storybookto fire up Storybook and rebuild when source files change - Run
yarn build-storybookto create a one-off Storybook build instorybook-static
To use in another project, e.g. EarnAha/web-landing
- In
EarnAha/web-landing(or any other project), run the following:yarn add @avlutils/landing-packagesto add the package topackage.json(for production)yalc link @avlutils/landing-packagesto use the WIP version (fromyalc) during development
Production
Build
- Run the following:
yarn lintto check everything is OKyarn buildto create a build
