schola-components v0.1.43
Schola Components Library
React component library for Schola UI platforms.
To collaborate
Clone this repository to your local environment and run:
npm installWe use Storybook to organize our components and design system. To develop use:
npm run storybookTo build and publish to NPM
Add the components to the file: src/lib/index.js that wants to be in the final package. So then run:
npm run buildNow, it's time to make logging on NPM in your browser. Ask the credentials to the team. Then, log in to your terminal. For more information, consult here.
Every time that we want to update the library, we need to set manually the new version number on the package.json. Eg. "version": "0.1.15". Otherwise, it will output an error in the publishing process.
Once the build process and the version are completed we will be able to publish the library on NPM. Run:
npm publishAutomatically the package will be updated to NPM. Check it here.
To deploy to Chromatic
The process to make an update of our Storybook into Chromatic is simpler. Run:
npm run chromaticThis command contains the token that connect our Storybook to our Chromatic account. In a few seconds the deploy will be available.
1 year ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago