@inloco/supernova v3.0.7
Semantic-UI Toolkit - Inloco theme
You can see and interact with the components here.
Installing
npm install --save @inloco/supernova
#or
yarn add @inloco/supernovaContributing
We're using yarn's lockfile, so we'll assume that it's the one being used, but note that npm will also work.
Setup
To setup the project, you just need to have Yarn installed and run it to install the project's dependencies:
yarnThen we run the command below to update css with our customizations:
yarn run build:cssWatch (Hot reloading)
To update css on file change:
yarn run watch:cssStorybook
We're using Storybook, to easily see and test the components.
Run it with:
yarn storybookThen open it at the url indicated on the terminal, probably: http://localhost:9001/.
Release
To release supernova, follow these steps (let's pretend we're releasing 1.2.3):
- Update the version in
package.jsonto the new one (in this case1.2.3). - Create a commit with the version number as the title:
v1.2.3:
git commit -m v1.2.3- Create a new git tag:
git tag -a v1.2.3 -m v1.2.3- Push the commit and the tag to master:
git push origin master --tags- Publish to npm (you'll need to be logged in as In Loco for that):
npm publish --access publicDeploying Storybook
After releasing a new version, our gh page with Storybook is automatically.
In case it's necessary to do this manually though, just run this simple yarn script:
yarn deploy:storybook