[PR #142] [CLOSED] Full migration of webpack, swc and linting #3044

Closed
opened 2026-02-28 20:35:29 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/142
Author: @TomAFrench
Created: 7/31/2022
Status: Closed

Base: masterHead: full-migration


📝 Commits (10+)

  • 1476d8f chore: minimal migration to webpack v5
  • cc3e731 chore: update deprecated libraryTarget fields
  • 35b4820 fix: replace [hash] with [fullhash]
  • d7b35d7 chore: update terser-webpack-plugin
  • 2b8c51c fix: remove invalid webpack config entry
  • 56f0bc6 build: install polyfills
  • c364f3f build: always pass paths.appBuild as output path
  • 6829cba build: update case-sensitive-paths-webpack-plugin to support webpack v5
  • ae0a71e build: update html-webpack-plugin to support webpack v5
  • d36c975 build: install process/browser polyfill

📊 Changes

119 files changed (+4381 additions, -3834 deletions)

View changed files

📝 .eslintrc.js (+24 -5)
📝 packages/desktop-client/.babelrc (+0 -1)
packages/desktop-client/.swcrc (+8 -0)
📝 packages/desktop-client/config/webpack.config.js (+107 -119)
📝 packages/desktop-client/package.json (+22 -24)
📝 packages/desktop-client/public/data-file-index.txt (+3 -0)
📝 packages/desktop-client/scripts/test.js (+1 -2)
📝 packages/desktop-client/src/browser-preload.browser.js (+1 -1)
📝 packages/desktop-client/src/components/accounts/TransactionsTable.js (+1 -1)
📝 packages/desktop-client/src/components/schedules/StatusBadge.js (+1 -1)
packages/loot-core/.babelrc (+0 -4)
packages/loot-core/.swcrc (+8 -0)
📝 packages/loot-core/bin/build-browser (+3 -3)
📝 packages/loot-core/package.json (+13 -9)
📝 packages/loot-core/src/client/SpreadsheetProvider.js (+2 -2)
📝 packages/loot-core/src/client/actions/app.js (+1 -1)
📝 packages/loot-core/src/client/actions/budgets.js (+1 -1)
📝 packages/loot-core/src/client/actions/debug.js (+1 -1)
📝 packages/loot-core/src/client/actions/modals.js (+1 -1)
📝 packages/loot-core/src/client/actions/notifications.js (+1 -1)

...and 80 more files

📄 Description

Combines #108, #109 and #110

Due to how intertwined a lot of these systems are there's no way to nicely migrate across piecemeal so this PR gets us as close as I can get to a working solution.


🔄 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/142 **Author:** [@TomAFrench](https://github.com/TomAFrench) **Created:** 7/31/2022 **Status:** ❌ Closed **Base:** `master` ← **Head:** `full-migration` --- ### 📝 Commits (10+) - [`1476d8f`](https://github.com/actualbudget/actual/commit/1476d8f2cd3a5181c2a19765fc38c011f2276717) chore: minimal migration to webpack v5 - [`cc3e731`](https://github.com/actualbudget/actual/commit/cc3e73190781ba9252adeb11f3e8ba55a3e1e30d) chore: update deprecated `libraryTarget` fields - [`35b4820`](https://github.com/actualbudget/actual/commit/35b4820fc53502537f268493aab0ea5488ae0801) fix: replace [hash] with [fullhash] - [`d7b35d7`](https://github.com/actualbudget/actual/commit/d7b35d7a462449faa4ba163f574768dfca494697) chore: update `terser-webpack-plugin` - [`2b8c51c`](https://github.com/actualbudget/actual/commit/2b8c51c6db59a593d5714029386d24ccad27e524) fix: remove invalid webpack config entry - [`56f0bc6`](https://github.com/actualbudget/actual/commit/56f0bc694ecf56764ba075d9722fb6745ffca9ad) build: install polyfills - [`c364f3f`](https://github.com/actualbudget/actual/commit/c364f3f91cdf849df88653c0dd27af55e0a9ad1e) build: always pass paths.appBuild as output path - [`6829cba`](https://github.com/actualbudget/actual/commit/6829cbaf1ed126f4a1588ebc40653bd229a36819) build: update case-sensitive-paths-webpack-plugin to support webpack v5 - [`ae0a71e`](https://github.com/actualbudget/actual/commit/ae0a71eee95b9af54affb124491b3762a5a9797a) build: update html-webpack-plugin to support webpack v5 - [`d36c975`](https://github.com/actualbudget/actual/commit/d36c975b891b535b4fc20faa19885a829f584d0f) build: install process/browser polyfill ### 📊 Changes **119 files changed** (+4381 additions, -3834 deletions) <details> <summary>View changed files</summary> 📝 `.eslintrc.js` (+24 -5) 📝 `packages/desktop-client/.babelrc` (+0 -1) ➕ `packages/desktop-client/.swcrc` (+8 -0) 📝 `packages/desktop-client/config/webpack.config.js` (+107 -119) 📝 `packages/desktop-client/package.json` (+22 -24) 📝 `packages/desktop-client/public/data-file-index.txt` (+3 -0) 📝 `packages/desktop-client/scripts/test.js` (+1 -2) 📝 `packages/desktop-client/src/browser-preload.browser.js` (+1 -1) 📝 `packages/desktop-client/src/components/accounts/TransactionsTable.js` (+1 -1) 📝 `packages/desktop-client/src/components/schedules/StatusBadge.js` (+1 -1) ➖ `packages/loot-core/.babelrc` (+0 -4) ➕ `packages/loot-core/.swcrc` (+8 -0) 📝 `packages/loot-core/bin/build-browser` (+3 -3) 📝 `packages/loot-core/package.json` (+13 -9) 📝 `packages/loot-core/src/client/SpreadsheetProvider.js` (+2 -2) 📝 `packages/loot-core/src/client/actions/app.js` (+1 -1) 📝 `packages/loot-core/src/client/actions/budgets.js` (+1 -1) 📝 `packages/loot-core/src/client/actions/debug.js` (+1 -1) 📝 `packages/loot-core/src/client/actions/modals.js` (+1 -1) 📝 `packages/loot-core/src/client/actions/notifications.js` (+1 -1) _...and 80 more files_ </details> ### 📄 Description Combines #108, #109 and #110 Due to how intertwined a lot of these systems are there's no way to nicely migrate across piecemeal so this PR gets us as close as I can get to a working solution. --- <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 20:35:29 -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#3044