mirror of
https://github.com/actualbudget/actual.git
synced 2026-05-06 07:01:45 -05:00
* [AI] Fix sync-server build not resolving subpath imports The add-import-extensions build script only handled relative imports (./ ../), leaving #-prefixed subpath imports unresolved in the build output. At runtime Node.js resolved them via package.json's imports map back to source files, which have extensionless imports that fail in ESM. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * [AI] Add release notes for sync-server subpath imports fix Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * [AI] Simplify subpath import resolution using publishConfig.imports Use publishConfig.imports which already has ./build/src/ paths with .js extensions, eliminating manual src->build and .ts->.js conversions. Also sort wildcard patterns by specificity and extract shared helper. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * [AI] Use replaceAll for wildcard substitution to satisfy CodeQL Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>