Run install.sh
while being at the root of your project
Sometimes, when initalizing storybook, it will create a directly at 'src/stories'. Deletes them.
Since we want to directly make change in the submodule directory, we'll use it as a standard git folder.
- Go to storybook folder
- Switch to main
git checkout main
- Pull new date
git pull
Please follow the Conventional Commits standards as well as squashing your commits into a single commit.
Specification can be found at www.conventionalcommits.org.
How to squash commits: https://www.git-tower.com/learn/git/faq/git-squash
Commits should be in the following form: type[optional scope]: description. Examples include:
Type | Title | Emoji | Release | Description |
---|---|---|---|---|
feat |
Features | β¨ | minor |
A new feature |
refactor |
Code Refactoring | π¦ | patch |
A code change that neither fixes a bug nor adds a feature |
perf |
Performance Improvements | π | patch |
A code change that improves performance |
fix |
Bug Fixes | π | patch |
A bug Fix |
chore |
Chores | β» | patch |
Other changes that don't modify src or test files |
revert |
Reverts | π | patch |
Reverts a previous commit |
docs |
Documentation | π | patch |
Documentation only changes |
style |
Styles | π | - | Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc) |
test |
Tests | π¨ | - | Adding missing tests or correcting existing tests |
build |
Builds | π | patch |
Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm) |
ci |
Continuous Integrations | β | - | Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs) |
BREAKING CHANGE |
Breaking Change | π | major |
When a breaking change occurs on the commit. Rather use the "!" operator in conjunction with a type. |