Skip to content

chore: simplify frontend dependencies and tooling - #178

Merged
Azganoth merged 4 commits into
mainfrom
chore/cleanup-dependencies-and-tooling
Aug 4, 2026
Merged

chore: simplify frontend dependencies and tooling#178
Azganoth merged 4 commits into
mainfrom
chore/cleanup-dependencies-and-tooling

Conversation

@Azganoth

@Azganoth Azganoth commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • replace Immer-backed Zustand updates with native immutable partial updates
  • replace the local task-to-promise wrapper with Promise.try
  • remove deprecated @types/babel__core and rely on Babel's bundled declarations
  • remove the obsolete @/components/dialogs import restriction from Oxlint
  • reduce redundant application code and direct dependencies without changing intended behavior

Related Issue

Not applicable

Verification

  • pnpm exec vitest run src/features/preferences/stores/settings.test.ts src/features/preferences/stores/recentItems.test.ts verifies preference-store behavior without Immer middleware.
  • pnpm exec vitest run src/lib/async.test.ts src/lib/cancellation.test.ts verifies synchronous errors and promise-returning tasks remain correctly handled by the async and cancellation utilities.
  • pnpm check:frontend verifies formatting, frontend types and linting, the production build, and the coverage suite.
  • Not verified: manual application behavior; no user-facing behavior is intended to change.

Notes

  • Leafdown no longer directly depends on or uses Immer. The lockfile still resolves Immer as an optional peer of Zustand.
  • No changelog entry was added because this is an internal maintenance cleanup.

@Azganoth Azganoth added the Maintenance Chore, refactor, dependency, or test work without user-facing change label Aug 4, 2026
@Azganoth Azganoth self-assigned this Aug 4, 2026
@Azganoth
Azganoth marked this pull request as ready for review August 4, 2026 07:37
@Azganoth
Azganoth merged commit 5035ab6 into main Aug 4, 2026
2 checks passed
@Azganoth
Azganoth deleted the chore/cleanup-dependencies-and-tooling branch August 4, 2026 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Maintenance Chore, refactor, dependency, or test work without user-facing change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant