[PR #4690] [CLOSED] [WIP] ♻️ [Enhancement] sync-server typescript conversion #5537

Closed
opened 2026-02-28 21:14:02 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/4690
Author: @alecbakholdin
Created: 3/26/2025
Status: Closed

Base: masterHead: sync-server-ts


📝 Commits (2)

📊 Changes

6 files changed (+26 additions, -15 deletions)

View changed files

📝 packages/sync-server/app.ts (+0 -0)
📝 packages/sync-server/package.json (+2 -2)
📝 packages/sync-server/src/app.ts (+12 -9)
📝 packages/sync-server/src/load-config.js (+3 -1)
📝 packages/sync-server/tsconfig.json (+3 -3)
upcoming-release-notes/4690.md (+6 -0)

📄 Description

Continuing the typescript initiative, I've started attempting to convert the sync-server repository to use Typescript. I've tried ts-node but it wouldn't cooperate. Online sources have suggested using npx tsx but I've received pushback for that in another PR because npx is not necessarily installed by default when yarn is installed. So, I've settled on using tsc && node to run the server.


🔄 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/4690 **Author:** [@alecbakholdin](https://github.com/alecbakholdin) **Created:** 3/26/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `sync-server-ts` --- ### 📝 Commits (2) - [`1aef01f`](https://github.com/actualbudget/actual/commit/1aef01f06bf69582b57e3b37d8965b6db168f74e) attempt at running with typescript - [`7260ad7`](https://github.com/actualbudget/actual/commit/7260ad774de4807a022399b32807c678490b4c67) release notes ### 📊 Changes **6 files changed** (+26 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `packages/sync-server/app.ts` (+0 -0) 📝 `packages/sync-server/package.json` (+2 -2) 📝 `packages/sync-server/src/app.ts` (+12 -9) 📝 `packages/sync-server/src/load-config.js` (+3 -1) 📝 `packages/sync-server/tsconfig.json` (+3 -3) ➕ `upcoming-release-notes/4690.md` (+6 -0) </details> ### 📄 Description Continuing the typescript initiative, I've started attempting to convert the sync-server repository to use Typescript. I've tried ts-node but it wouldn't cooperate. Online sources have suggested using `npx tsx` but I've received pushback for that in another PR because npx is not necessarily installed by default when yarn is installed. So, I've settled on using tsc && node to run the server. --- <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-02-28 21:14:02 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#5537