You can see and interact with the components here.
npm install --save supernova-inloco #or yarn add supernova-inloco
yarn's lockfile, so we'll assume that it's the one being used, but note that
npm will also work.
To setup the project, you just need to have Yarn installed and run it to install the project's dependencies:
Then we run the command below to update css with our customizations:
yarn run build:css
To update css on file change:
yarn run watch:css
We're using Storybook, to easily see and test the components.
Run it with:
Then open it at the url indicated on the terminal, probably:
To release supernova, follow these steps (let's pretend we're releasing
package.jsonto the new one (in this case
git commit -m v1.2.3
git tag -a v1.2.3 -m v1.2.3
git push origin master --tags
After releasing a new version, it's important to also update the Storybook running in our gh page to display the new changes.
This can be done by running a simple yarn script: