brown-react-library 1.0.32
Install from the command line:
Learn more about npm packages
$ npm install @brownuniversity/brown-react-library@1.0.32
Install via package.json:
"@brownuniversity/brown-react-library": "1.0.32"
About this version
- add to the root of your project a
.npmrc
file - to that new
.npmrc
file add the line@BrownUniversity:registry=https://npm.pkg.github.com/
- install the library with
yarn add @BrownUniversity/[email protected]
(update the version number to the latest in the repo)
- Test and verify all of the new components and changes
- run
yarn build
to compile the code - run
yarn publish
- increment the version number - Good work, enjoy a nice cup of coffee.
- cd into this directory
brown-react-library
- run
yarn init-component "componentName"
NOTE - name your new component in camelCase - edit the files in
src/components_name
basic files for the component, test & storybook will have been automatically generated. - run
yarn start
to have a development preview of your component as you work on it.
Documentation site deployed via GitHub Actions to https://studious-parakeet-7b772591.pages.github.io/ when changes are merged into the main
branch of the repo. Automation is a very good thing.