Shared Components Library ready to use on React Globalfy projects.
- test Run the unit tests
- build Build the library
- lint Run the project linter
- storybook Run the storybook
- build-storybook Build the storybook
- Every work branch must be created from the
Develop
branch - The Branch must follow the following pattern
<feature | fix>/<taskScope-taskNumber>-<taskDescription>
- Working on a task
feature/aa-0000-drink-coffee
- Working on a bug
fix/aa-0000-add-sugar
- Working on a task
The project is configured with commit rules that are checked every time a new commit is added, to be able to commit you must follow this pattern:
type(scope?): message
feat: new AgGrid component fix: missing email validation fix(validations): missing email validation
- TYPE: Type of commit [build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test]
- SCOPE: Scope of the changes, it's not required
- MESSAGE: The commit message
- Unit tests use Jest with react-testing-library
- All components developed must have tests
- Test coverage must be 99%