1.3.20 • Published 7 months ago

opencomponents v1.3.20

Weekly downloads
-
License
-
Repository
github
Last release
7 months ago

Somos Common Components

Setup Local Environment

  • generate or obtain a Github personal access token with package:read permissions in SomosEngineering org
  • store token in environment variable

    export GITHUB_TOKEN="YOUR TOKEN"

  • create project .npmrc file to install @somosengineering scoped packages

    echo "legacy-peer-deps=true">.npmrc && \
    echo "//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}">>.npmrc && \ 
    echo "@somosengineering:registry=https://npm.pkg.github.com">>.npmrc`

How to Run

npm install \ npm start

How to Run Storybook

npm run storybook

How to Publish New Version

npm version patch minor || major git push --follow-tags tag protection rule requires repo admin to push new tag