trello-cli-unofficial 0.6.9 → 0.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -21,7 +21,8 @@ An unofficial Trello CLI using Power-Up authentication, built with Bun for maxim
21
21
  - 📦 **Move Cards**: Between lists in the same board
22
22
  - 🛠️ **Traditional CLI**: Also works as a command-line tool
23
23
  - 🤖 **Automated CI/CD**: Semantic versioning and NPM publishing on every release
24
- - 🔒 **Secure Publishing**: NPM provenance with GitHub Actions OIDC
24
+ - **Quality Gates**: 95% test coverage threshold enforced in CI/CD
25
+ - �🔒 **Secure Publishing**: NPM provenance with GitHub Actions OIDC
25
26
 
26
27
  ## 📦 Installation
27
28
 
@@ -164,36 +165,48 @@ tcu
164
165
 
165
166
  ## 🤖 CI/CD & Automation
166
167
 
167
- This project uses automated CI/CD with semantic versioning:
168
+ This project uses automated CI/CD with semantic versioning based on **commit messages**:
168
169
 
169
170
  ### Version Bumping
170
171
 
171
- - `feat:` commits → Minor version bump (0.5.0 → 0.6.0)
172
- - `fix:` commits → Patch version bump (0.5.0 → 0.5.1)
173
- - `BREAKING CHANGE:` → Major version bump (0.5.0 → 1.0.0)
172
+ - `feat:` commits → **Minor version bump** (0.5.0 → 0.6.0)
173
+ - `fix:` commits → **Patch version bump** (0.5.0 → 0.5.1)
174
+ - `BREAKING CHANGE:` in commit body **Major version bump** (0.5.0 → 1.0.0)
175
+ - Other commits (docs, test, chore) → **No release**
174
176
 
175
177
  ### Automated Publishing
176
178
 
177
179
  Every push to `main` branch triggers:
178
- 1. **CI Pipeline**: Linting, type checking, tests, and build
179
- 2. **Release Pipeline**: Version bump, NPM publish, GitHub release
180
- 3. **Security**: NPM provenance with signed builds
180
+ 1. **CI Pipeline**: Linting, type checking, tests, coverage, and build
181
+ 2. **Release Pipeline**: Automatic version bump based on commit message
182
+ 3. **NPM Publishing**: Package published with provenance and signed builds
183
+ 4. **GitHub Release**: Automatic release notes and changelog
181
184
 
182
185
  ### Conventional Commits
183
186
 
184
187
  ```bash
185
- # Feature commit (minor version)
188
+ # Feature commit (minor version bump)
186
189
  git commit -m "feat: add new card templates"
187
190
 
188
- # Bug fix (patch version)
191
+ # Bug fix (patch version bump)
189
192
  git commit -m "fix: handle network timeouts gracefully"
190
193
 
191
- # Breaking change (major version)
192
- git commit -m "feat!: redesign authentication flow
194
+ # Breaking change (major version bump) - Method 1
195
+ git commit -m "feat!: redesign authentication flow"
193
196
 
194
- BREAKING CHANGE: token format changed"
197
+ # Breaking change (major version bump) - Method 2
198
+ git commit -m "feat: redesign authentication flow
199
+
200
+ BREAKING CHANGE: token format changed from legacy API to Power-Up"
201
+
202
+ # Non-releasing commits
203
+ git commit -m "docs: update installation guide"
204
+ git commit -m "test: add integration tests"
205
+ git commit -m "chore: update dependencies"
195
206
  ```
196
207
 
208
+ **Important:** Version bumps are **automatic** and based on the **commit message when merged to main**, not PR titles or descriptions.
209
+
197
210
  ## 🛠️ Development
198
211
 
199
212
  ### Project Structure
package/bunfig.toml ADDED
@@ -0,0 +1,2 @@
1
+ [test]
2
+ coverageThreshold = { lines = 95, functions = 95, branches = 95, statements = 95 }