Contributing to swiss-stage-project
I appreciate your consideration to contribute to this project!
This document is a guide to help make your contribution easier and more effective.
Getting Started
Prerequisites
- bash
node --version v20.16.0
Installation
Clone the repository
bashgit clone https://github.com/takashi-ebina/swiss-stage-project.gitMove to the directory and install dependencies
bashcd swiss-stage-project npm install
Development
run the development server:
bashnpm run devOpen
http://localhost:3000with your browser to see the result.build:
bashnpm run buildbuild electron:
bashnpm run electron:buildrun electron:
bashnpm run electron:dev
documentation
run docs:
bashnpm run docs:devrun build:
bashnpm run docs:buildrun preview:
bashnpm run docs:preview
Branch Rules
Central Repository
- main
Develop Repository
- Branch Name
prefix/#issueID
- prefix
feature: Added functionalitybugfix: General bug fixeshotfix: Prioritized bug fixesrefactor: refactoringdocumentation: Documentation improvements or additionsother: others
Commit Rules
Commit Message
Prefix
feat: a commit that adds new functionality.fix: a commit that fixes a bug.docs: a commit that adds or improves a documentation.style: changes that do not affect the meaning of the code.refactor: a code change that neither fixes a bug nor adds a feature.perf: a commit that improves performance, without functional changes.test: adding missing tests or correcting existing tests.chore: other changes that don't modify src or test files.
Label Rules
0. prefix
The priority of the issue.
0.high priority0.Medium priority0.low priority
1. prefix
The type of issue.
1.feature1.bugfix1.hotfix1.refactor1.documentation1.other
Version Rules
Adopt Semantic Versioning.
txt
Major.Minor.Patch- Major
- Incompatible changes.
- Minor
- Backwards compatible and adds functionality.
- Patch
- Backwards compatible bug fixes.