[PR #7075] [MERGED] Move migrations script to typescript #21285

Closed
opened 2026-04-14 22:00:22 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/7075
Author: @jfdoming
Created: 2/25/2026
Status: Merged
Merged: 3/9/2026
Merged by: @jfdoming

Base: masterHead: jfdoming/typescript-check-migrations


📝 Commits (7)

📊 Changes

6 files changed (+50 additions, -10 deletions)

View changed files

📝 .github/workflows/check.yml (+4 -3)
📝 packages/ci-actions/bin/check-migrations.ts (+6 -6)
📝 packages/ci-actions/package.json (+10 -1)
packages/ci-actions/tsconfig.json (+15 -0)
upcoming-release-notes/7075.md (+6 -0)
📝 yarn.lock (+9 -0)

📄 Description

master → (this PR) → jfdoming/typescript-get-version → …


Description

As it says on the tin. Aspirational goal is to move all action scripts into one place, but at least we can get type checking for the ones that get migrated. Doing this first minimal script as a proof of concept.

https://github.com/actualbudget/actual/issues/1483

Testing

We'll see if CI passes on this branch.

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

Bundle Stats

Bundle Files count Total bundle size % Changed
desktop-client 27 14.89 MB 0%
loot-core 1 5.82 MB 0%
api 1 4.43 MB 0%
View detailed bundle stats

desktop-client

Total

Files count Total bundle size % Changed
27 14.89 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
static/js/index.js 9.54 MB 0%
static/js/indexeddb-main-thread-worker-e59fee74.js 12.94 kB 0%
static/js/workbox-window.prod.es5.js 5.64 kB 0%
static/js/ca.js 187.93 kB 0%
static/js/da.js 106.2 kB 0%
static/js/de.js 179.89 kB 0%
static/js/en-GB.js 7.18 kB 0%
static/js/en.js 170.42 kB 0%
static/js/es.js 174.37 kB 0%
static/js/fr.js 179.41 kB 0%
static/js/it.js 170.98 kB 0%
static/js/nb-NO.js 156.8 kB 0%
static/js/nl.js 113.06 kB 0%
static/js/pl.js 89.65 kB 0%
static/js/pt-BR.js 182.89 kB 0%
static/js/th.js 181.58 kB 0%
static/js/uk.js 215.35 kB 0%
static/js/resize-observer.js 18.37 kB 0%
static/js/BackgroundImage.js 120.54 kB 0%
static/js/ReportRouter.js 1.16 MB 0%
static/js/narrow.js 638.11 kB 0%
static/js/TransactionList.js 106.48 kB 0%
static/js/wide.js 164.15 kB 0%
static/js/AppliedFilters.js 9.71 kB 0%
static/js/usePayeeRuleCounts.js 11.57 kB 0%
static/js/useTransactionBatchActions.js 13.23 kB 0%
static/js/FormulaEditor.js 1.04 MB 0%

loot-core

Total

Files count Total bundle size % Changed
1 5.82 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
kcab.worker.CVw5oNPx.js 5.82 MB 0%

api

Total

Files count Total bundle size % Changed
1 4.43 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
bundle.api.js 4.43 MB 0%

🔄 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/7075 **Author:** [@jfdoming](https://github.com/jfdoming) **Created:** 2/25/2026 **Status:** ✅ Merged **Merged:** 3/9/2026 **Merged by:** [@jfdoming](https://github.com/jfdoming) **Base:** `master` ← **Head:** `jfdoming/typescript-check-migrations` --- ### 📝 Commits (7) - [`2a86fbe`](https://github.com/actualbudget/actual/commit/2a86fbe25ac36bf1a376dd6569e0249bdf35fe62) Move migrations script to typescript - [`ed3aa18`](https://github.com/actualbudget/actual/commit/ed3aa183ebab965542ffbff4547c82f4e7c2426f) Add release notes - [`d4d44d3`](https://github.com/actualbudget/actual/commit/d4d44d3f53959d27ba615066145664aa81dd5f5e) Setup - [`a0902e7`](https://github.com/actualbudget/actual/commit/a0902e765d99bba210a416ef3dbe9b78f248a64e) Fix - [`a9fc46d`](https://github.com/actualbudget/actual/commit/a9fc46df28c68d440430630999fd3eb6fc2d767c) PR feedback - [`28bc1cc`](https://github.com/actualbudget/actual/commit/28bc1cc7d8baa1d2ad181bd8b58deae66e56dc49) Make imports work as expected - [`9ae7b83`](https://github.com/actualbudget/actual/commit/9ae7b83d4aa54033bd32aac8768d7dbf56e527b8) Rabbit ### 📊 Changes **6 files changed** (+50 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/check.yml` (+4 -3) 📝 `packages/ci-actions/bin/check-migrations.ts` (+6 -6) 📝 `packages/ci-actions/package.json` (+10 -1) ➕ `packages/ci-actions/tsconfig.json` (+15 -0) ➕ `upcoming-release-notes/7075.md` (+6 -0) 📝 `yarn.lock` (+9 -0) </details> ### 📄 Description <!-- stack:managed:start --> [master](https://github.com/actualbudget/actual/commit/a4bd301ec64a85ae265d8d5a80d921a00d41cc65) → (this PR) → [jfdoming/typescript-get-version](https://github.com/actualbudget/actual/tree/jfdoming/typescript-get-version) → … <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. Aspirational goal is to move all action scripts into one place, but at least we can get type checking for the ones that get migrated. Doing this first minimal script as a proof of concept. ## Related issue(s) <!-- e.g. Fixes #123, Relates to #456 --> https://github.com/actualbudget/actual/issues/1483 ## Testing We'll see if CI passes on this branch. ## 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 ---> <!--- bundlestats-action-comment key:combined start ---> ### Bundle Stats Bundle | Files count | Total bundle size | % Changed ------ | ----------- | ----------------- | --------- desktop-client | 27 | 14.89 MB | 0% loot-core | 1 | 5.82 MB | 0% api | 1 | 4.43 MB | 0% <details> <summary>View detailed bundle stats</summary> #### desktop-client **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 27 | 14.89 MB | 0% <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- static/js/index.js | 9.54 MB | 0% static/js/indexeddb-main-thread-worker-e59fee74.js | 12.94 kB | 0% static/js/workbox-window.prod.es5.js | 5.64 kB | 0% static/js/ca.js | 187.93 kB | 0% static/js/da.js | 106.2 kB | 0% static/js/de.js | 179.89 kB | 0% static/js/en-GB.js | 7.18 kB | 0% static/js/en.js | 170.42 kB | 0% static/js/es.js | 174.37 kB | 0% static/js/fr.js | 179.41 kB | 0% static/js/it.js | 170.98 kB | 0% static/js/nb-NO.js | 156.8 kB | 0% static/js/nl.js | 113.06 kB | 0% static/js/pl.js | 89.65 kB | 0% static/js/pt-BR.js | 182.89 kB | 0% static/js/th.js | 181.58 kB | 0% static/js/uk.js | 215.35 kB | 0% static/js/resize-observer.js | 18.37 kB | 0% static/js/BackgroundImage.js | 120.54 kB | 0% static/js/ReportRouter.js | 1.16 MB | 0% static/js/narrow.js | 638.11 kB | 0% static/js/TransactionList.js | 106.48 kB | 0% static/js/wide.js | 164.15 kB | 0% static/js/AppliedFilters.js | 9.71 kB | 0% static/js/usePayeeRuleCounts.js | 11.57 kB | 0% static/js/useTransactionBatchActions.js | 13.23 kB | 0% static/js/FormulaEditor.js | 1.04 MB | 0% </div> </details> --- #### loot-core **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 5.82 MB | 0% <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- kcab.worker.CVw5oNPx.js | 5.82 MB | 0% </div> </details> --- #### api **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 4.43 MB | 0% <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- bundle.api.js | 4.43 MB | 0% </div> </details> </details> <!--- bundlestats-action-comment key:combined end ---> --- <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-14 22:00:22 -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#21285