gsxdsm
4c3186d0d1
FN-6615: prefer fresh plugin source over stale dist
Plugin entry resolution now avoids stale gitignored dist output in dev worktrees.
- Prefer bundled plugin entries when present, preserving published tarball behavior.
- Choose src/index.ts over dist/index.js when source files are newer than dist output.
- Cover CLI and core plugin loaders with freshness and sync tests.
- Add a patch changeset for the published CLI package.
Files changed:
.changeset/fn-6615-prefer-fresh-src.md | 5 ++
.../__tests__/bundled-plugin-install.test.ts | 46 ++++++++---
.../resolve-plugin-entry-path-sync.test.ts | 50 ++++++++++--
packages/cli/src/plugins/bundled-plugin-install.ts | 93 ++++++++++++++++++----
packages/core/src/__tests__/plugin-loader.test.ts | 71 ++++++++++++++++-
packages/core/src/plugin-loader.ts | 93 ++++++++++++++++++----
6 files changed, 313 insertions(+), 45 deletions(-)
Fusion-Task-Id: FN-6615
Fusion-Task-Lineage: 3d9abfa8-a405-47fa-8330-451c26a0ee75
2026-06-17 19:46:47 -07:00
..
2026-06-17 19:46:47 -07:00
2026-06-14 22:43:49 -07:00
2026-06-17 19:46:47 -07:00
2026-06-17 18:54:24 -07:00
2026-06-16 22:29:07 -07:00
2026-06-16 15:08:24 -07:00
2026-06-17 19:11:31 -07:00
2026-06-17 11:46:31 -07:00
2026-06-16 18:09:46 -07:00
2026-06-17 06:12:06 +08:00
2026-06-08 15:19:27 -07:00
2026-06-14 22:43:49 -07:00