Skip to content

chore: move otplib-cli to packages/ and sync versioning#812

Merged
yeojz merged 10 commits intomainfrom
chore/consolidate-cli-release-versioning
Feb 27, 2026
Merged

chore: move otplib-cli to packages/ and sync versioning#812
yeojz merged 10 commits intomainfrom
chore/consolidate-cli-release-versioning

Conversation

@yeojz
Copy link
Copy Markdown
Owner

@yeojz yeojz commented Feb 27, 2026

Summary

  • Moves apps/otplib-clipackages/otplib-cli via git mv (history preserved)
  • Syncs version to 13.3.0 to match all other packages
  • Removes the independent publish-cli.yml workflow — the existing release:packages filter (./packages/*) now covers the CLI automatically
  • Consolidates the cli release group into packages in release.config.json and prepare-release.yml
  • Cleans up build config: removes unused dts generation from tsup.config.ts and declaration/declarationMap from tsconfig.json
  • Removes redundant otplib-cli vitest project block (the packages project already covers it) and redundant coverage config entries

Test Plan

  • pnpm build — 13/13 tasks successful, CLI outputs only .cjs files (no .d.cts)
  • pnpm test — 34 test files, 1158 tests pass (CLI tests run under packages project)
  • pnpm test:ci — coverage at 100% across all thresholds including otplib-cli
  • pnpm typecheck — 22/22 tasks clean
  • pnpm lint — 13/13 tasks clean
  • pnpm fix — all files formatted
  • CLI binaries work: node packages/otplib-cli/dist/index.cjs --help and otplibx.cjs --help
  • Dry-run: [email protected] appears in release:packages-dry-run output

@github-actions
Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 100% (🎯 100%) 1556 / 1556
🔵 Statements 100% (🎯 100%) 1577 / 1577
🔵 Functions 100% (🎯 100%) 346 / 346
🔵 Branches 100% (🎯 100%) 824 / 824
File CoverageNo changed files found.
Generated in workflow #338 for commit c78b1c2 by the Vitest Coverage Report Action

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (36c226e) to head (c78b1c2).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #812   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           59        59           
  Lines         1996      1996           
  Branches       404       404           
=========================================
  Hits          1996      1996           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 27, 2026

Bundle Report

Changes will increase total bundle size by 174.5kB (11.92%) ⬆️⚠️, exceeding the configured threshold of 5%.

Bundle name Size Change
otplib-cli 174.5kB 174.5kB (100%) ⬆️⚠️

@yeojz yeojz merged commit 5d88575 into main Feb 27, 2026
20 checks passed
@yeojz yeojz deleted the chore/consolidate-cli-release-versioning branch February 27, 2026 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant