[PR #7227] [MERGED] Migrate get-next-package-version.js to TypeScript #48841

Closed
opened 2026-04-26 10:43:58 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/7227
Author: @jfdoming
Created: 3/17/2026
Status: Merged
Merged: 3/17/2026
Merged by: @jfdoming

Base: masterHead: jfdoming/typescript-get-version


📝 Commits (6)

📊 Changes

11 files changed (+114 additions, -50 deletions)

View changed files

📝 .github/workflows/electron-pr.yml (+3 -3)
📝 .github/workflows/generate-release-pr.yml (+6 -2)
📝 .github/workflows/publish-nightly-electron.yml (+5 -4)
📝 .github/workflows/publish-nightly-npm-packages.yml (+4 -4)
📝 packages/ci-actions/bin/get-next-package-version.ts (+28 -16)
packages/ci-actions/bin/tsx (+8 -0)
📝 packages/ci-actions/package.json (+1 -1)
📝 packages/ci-actions/src/versions/get-next-package-version.test.ts (+1 -1)
📝 packages/ci-actions/src/versions/get-next-package-version.ts (+50 -17)
📝 packages/ci-actions/tsconfig.json (+2 -2)
upcoming-release-notes/7227.md (+6 -0)

📄 Description

… → #7075 → (this PR)


Description

As it says on the tin. As before, the aspirational goal is to move all action scripts into one place and get type checking.

Testing

Running the script worked locally with yarn workspace @actual-app/ci-actions tsx bin/get-next-package-version.ts --package-json ./packages/desktop-electron/package.json --type nightly

Checklist

  • Release notes added (see link above)
  • No obvious regressions in affected areas
  • Self-review has been performed - I understand what each change in the code does and why it is needed

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/7227 **Author:** [@jfdoming](https://github.com/jfdoming) **Created:** 3/17/2026 **Status:** ✅ Merged **Merged:** 3/17/2026 **Merged by:** [@jfdoming](https://github.com/jfdoming) **Base:** `master` ← **Head:** `jfdoming/typescript-get-version` --- ### 📝 Commits (6) - [`ff1a1f9`](https://github.com/actualbudget/actual/commit/ff1a1f94fd7a2e5907a5ba379704fe777ff240b2) Migrate `get-next-package-version.js` to TypeScript - [`c49f6c1`](https://github.com/actualbudget/actual/commit/c49f6c17dc030fb94f39207fb476f2efbbec730f) Add release notes - [`6690f4e`](https://github.com/actualbudget/actual/commit/6690f4eb8041c36de8df344c9ce633a92c294604) Stronger type check - [`08a91c9`](https://github.com/actualbudget/actual/commit/08a91c9eeb98fe41eaed0995ad8603d07df5ba9a) Fix step ordering - [`f3d07ea`](https://github.com/actualbudget/actual/commit/f3d07eabf2425761b556c454fc535a56bf418597) Fix typo - [`be9b8b3`](https://github.com/actualbudget/actual/commit/be9b8b36c20f482454c940fc7efa8e007b69e185) Fix missed ordering ### 📊 Changes **11 files changed** (+114 additions, -50 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/electron-pr.yml` (+3 -3) 📝 `.github/workflows/generate-release-pr.yml` (+6 -2) 📝 `.github/workflows/publish-nightly-electron.yml` (+5 -4) 📝 `.github/workflows/publish-nightly-npm-packages.yml` (+4 -4) 📝 `packages/ci-actions/bin/get-next-package-version.ts` (+28 -16) ➕ `packages/ci-actions/bin/tsx` (+8 -0) 📝 `packages/ci-actions/package.json` (+1 -1) 📝 `packages/ci-actions/src/versions/get-next-package-version.test.ts` (+1 -1) 📝 `packages/ci-actions/src/versions/get-next-package-version.ts` (+50 -17) 📝 `packages/ci-actions/tsconfig.json` (+2 -2) ➕ `upcoming-release-notes/7227.md` (+6 -0) </details> ### 📄 Description <!-- stack:managed:start --> … → [#7075](https://github.com/actualbudget/actual/pull/7075) → (this PR) <hr /> <!-- stack:managed:end --> <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --> ## Description As it says on the tin. As before, the aspirational goal is to move all action scripts into one place and get type checking. ## Related issue(s) <!-- e.g. Fixes #123, Relates to #456 --> ## Testing Running the script worked locally with `yarn workspace @actual-app/ci-actions tsx bin/get-next-package-version.ts --package-json ./packages/desktop-electron/package.json --type nightly` ## Checklist - [x] Release notes added (see link above) - [x] No obvious regressions in affected areas - [x] Self-review has been performed - I understand what each change in the code does and why it is needed <!--- actual-bot-sections ---> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-26 10:43:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#48841