Skip to content

Modernize CLI toolchain, restructure source, and expand docs & tests#1

Merged
hebertcisco merged 42 commits into
mainfrom
develop
Jul 12, 2026
Merged

Modernize CLI toolchain, restructure source, and expand docs & tests#1
hebertcisco merged 42 commits into
mainfrom
develop

Conversation

@hebertcisco

@hebertcisco hebertcisco commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Summary

This release modernizes @srcpush/code-push-cli (v0.1.1) with an updated build/test stack, a cleaner source layout, stronger CI, and expanded documentation.

  • Toolchain modernization — Vite build pipeline, Vitest test runner, ESLint 9 flat config, updated dependencies, and TypeScript build config (tsconfig.build.json).
  • Source restructure — Migrated from script/ to src/ with organized modules (commands/, lib/, sdk/, types/, utils/), preserving CLI behavior while improving maintainability.
  • Testing — Reorganized tests under tests/ (unit, integration, fixtures, helpers); added unit tests for Acquisition, Hash, and Management SDKs; added RN CLI integration test stubs (modern and legacy).
  • CI/CD — New GitHub Actions CI workflow (lint, typecheck, test, build); npm publish workflow updated with a verify job and action upgrades.
  • Documentation — Rewrote README.md, removed legacy README_MS.md, and added docs/ guides (commands, architecture, development, App Center migration guide). Added MIT LICENSE.

Test plan

  • CI passes on this PR (lint, typecheck, test, build)
  • npm ci && npm run build && npm test succeeds locally
  • srcpush --version reports 0.1.1
  • Smoke-test core commands: login, app list, deployment list, release-react (staging)
  • Verify published package includes dist/, docs/, LICENSE, and README.md

- upgraded parse-duration from 1.1.0 to 2.1.6
- upgraded rimraf from ^2.5.1 to ^4.0.0
…d management SDK

- Deleted hash-utils test file and associated test cases.
- Removed management-sdk test file and its related tests.
- Cleared out Android, iOS, and Windows specific project files for TestApp.
- Eliminated unnecessary resource files including zip archives and mock configurations.
- Added sinon for test spies, mocks, and stubs
- Updated yauzl to version 3.2.0
@hebertcisco hebertcisco self-assigned this Jul 12, 2026
@hebertcisco hebertcisco added the enhancement New feature or request label Jul 12, 2026
@hebertcisco hebertcisco merged commit 13cba14 into main Jul 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant