Skip to content

Latest commit

 

History

History
44 lines (39 loc) · 956 Bytes

README.md

File metadata and controls

44 lines (39 loc) · 956 Bytes

Master components for Upzaar store builder

Development

yarn storybook

Deploy docs

yarn build-storybook
yarn deploy-storybook

Build a new component

  • type is one of ['atoms', 'molecules', 'organisms']
  • name is in PascalCase, and don't add a .jsx
yarn build-component type:{componentType} name:{ComponentName}

Publish to npm

Beta version

  • Add -beta.0 to version in package.json
    • e.g: if current version is 0.2.8, beta versions would be 0.2.8-beta.0, where .0 is the beta version
  • Build dist files
yarn esbuild
  • Run publish command with beta tag
npm publish --tag beta

Production version

  • Remove -beta.{number} if it exists in package.json version
  • Build
yarn esbuild
  • Publish
npm publish