[PR #4592] [MERGED] ♻️ moved loot-core import resolution from TS to yarn workspaces #5470

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

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/4592
Author: @MatissJanis
Created: 3/10/2025
Status: Merged
Merged: 3/18/2025
Merged by: @MatissJanis

Base: masterHead: matiss/loot-core-imports


📝 Commits (10+)

📊 Changes

8 files changed (+65 additions, -13 deletions)

View changed files

📝 packages/desktop-client/package.json (+1 -0)
📝 packages/desktop-client/src/components/Titlebar.tsx (+3 -3)
📝 packages/desktop-client/src/components/reports/reports/CustomReportListCards.tsx (+1 -1)
📝 packages/desktop-client/src/components/sidebar/BudgetName.tsx (+6 -4)
📝 packages/loot-core/package.json (+46 -0)
📝 tsconfig.json (+0 -4)
upcoming-release-notes/4592.md (+6 -0)
📝 yarn.lock (+2 -1)

📄 Description

The goal is to have all modules resolved via yarn workspaces - the same way across the board. This makes things more strict and predictable (i.e. you can only import things that are explicitly exposed by loot-core; you cannot import from "loot-core/src/*" etc.)


🔄 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/4592 **Author:** [@MatissJanis](https://github.com/MatissJanis) **Created:** 3/10/2025 **Status:** ✅ Merged **Merged:** 3/18/2025 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `matiss/loot-core-imports` --- ### 📝 Commits (10+) - [`332017e`](https://github.com/actualbudget/actual/commit/332017e4e262e40350db367efed6db2f94304723) :recycle: moved loot-core import resolution from TS to yarn workspaces - [`2f964d5`](https://github.com/actualbudget/actual/commit/2f964d5896a2759a4fdd4ab9aeff898dd4de74d1) Electron fix - [`ec6566c`](https://github.com/actualbudget/actual/commit/ec6566c985b00c0b218090757d1e0e8992116193) typechecker patch - [`be4ba11`](https://github.com/actualbudget/actual/commit/be4ba11acd6f2c7996f4270345ff55751afc03d1) potential patch - [`c4abead`](https://github.com/actualbudget/actual/commit/c4abead557c21e9f245dd8e2d112145271bb6af6) Patch some issues - [`e1ab730`](https://github.com/actualbudget/actual/commit/e1ab730da0fe25377ada7349ccc0f09130a9500f) Making tests pass - [`87fb970`](https://github.com/actualbudget/actual/commit/87fb970c5ffc3ed1015f87c9027f849fdd3565cb) Patch lint - [`1259255`](https://github.com/actualbudget/actual/commit/1259255c546bd4d6bfcc6611cf2eed79a5e72aaf) Patch tests? - [`71eae9b`](https://github.com/actualbudget/actual/commit/71eae9bfde14b195a75730c2de8cbd7ab51a3da4) Removal of .browser extension - [`dd8c6c7`](https://github.com/actualbudget/actual/commit/dd8c6c7e0f98f18a6f12847af28259b7cc981860) Bring back browser extensions ### 📊 Changes **8 files changed** (+65 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/package.json` (+1 -0) 📝 `packages/desktop-client/src/components/Titlebar.tsx` (+3 -3) 📝 `packages/desktop-client/src/components/reports/reports/CustomReportListCards.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/sidebar/BudgetName.tsx` (+6 -4) 📝 `packages/loot-core/package.json` (+46 -0) 📝 `tsconfig.json` (+0 -4) ➕ `upcoming-release-notes/4592.md` (+6 -0) 📝 `yarn.lock` (+2 -1) </details> ### 📄 Description The goal is to have all modules resolved via yarn workspaces - the same way across the board. This makes things more strict and predictable (i.e. you can only import things that are explicitly exposed by loot-core; you cannot import from "loot-core/src/*" etc.) --- <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:12:59 -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#5470