Shared reusable react BCGov themed components. See https://bcgov.github.io/react-shared-components/ for documentation.
In order for a project to use these components, add the latest release to the project's package.json. Example: (current release)
"dependencies": {
...
"shared-components": "https://github.com/bcgov/react-shared-components/releases/download/v1.2.2/shared-components-1.2.2.tgz",
...
},
Run the following commands locally when ready to release:
yarn cache clean
yarn install
yarn --update-checksums
npm pack
Running the pack command will create a shared-components-X.X.X.tgz file in the root level of the project that contains the components ready for consumption by any project.