A repository to share Dev Center platform code
-
Branch Setup
git checkout develop git pull git checkout -b feature/your-feature # or fix/your-fix
-
Development
- Write code
- Add tests
- Run:
yarn install yarn lint yarn test
-
Create PR
- Push to your branch
- Create PR to
develop
- PR title must follow conventional commits:
feat: add user authentication fix: resolve login error feat!: change API response format
-
develop
- main development branch -
feature/*
- new features -
fix/*
- bug fixes - No direct commits to
develop
- Get your PR merged to
develop
- Release Please automatically:
- Creates release PR
- Updates version based on commits
- Generates changelog
- Merge the Release Please PR
- System automatically:
- Creates git tag
- Runs E2E tests
- Publishes to NPM
- Automatic based on PR titles:
-
fix:
→0.0.X
-
feat:
→0.X.0
-
feat!:
orBREAKING CHANGE:
→X.0.0
-
- Never modify version manually
Your PR must pass:
- Linting
- Unit tests
- E2E tests (feature/fix branches)
- PR title validation
- Code review
Remember: The key is writing good code and using correct commit conventions - the release process is automated!