gsxdsm
d956abceee
FN-7956: bundle three plugins as install-safe JS entrypoints
Ship reports, cli-printing-press, and whatsapp-chat through tsup so global/npm installs no longer load raw .ts under node_modules (ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING).
- Route WhatsApp Chat, Reports, and CLI Printing Press through bundlePluginEntry instead of copying src/
- Re-export postgresSchema from the core runtime shim for published plugin bundles
- Keep Baileys optional deps external for WhatsApp Chat bundling
- Extend bundle-output helpers/tests to assert self-contained plugin bundles
- Add patch changeset for @runfusion/fusion packaging fix
Files changed:
.changeset/fn-7956-bundle-three-plugins.md | 7 ++
.../cli/src/__tests__/bundle-output-helpers.ts | 30 +++++++-
packages/cli/src/__tests__/bundle-output.test.ts | 83 ++++++++++++++--------
packages/cli/src/plugin-sdk-core-runtime-shim.ts | 6 ++
packages/cli/tsup.config.ts | 71 +++++++-----------
5 files changed, 123 insertions(+), 74 deletions(-)
Fusion-Task-Id: FN-7956
Fusion-Task-Lineage: e32736d9-e637-450c-966b-6b2d6bc69b88
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-15 12:09:29 -07:00
..
2026-07-15 12:09:29 -07:00
2026-07-15 11:34:12 -07:00
2026-06-03 13:02:23 -07:00
2026-07-14 08:18:52 -07:00
2026-04-23 23:02:35 -07:00
2026-05-01 05:04:05 -07:00
2026-06-14 15:29:35 -07:00
2026-07-13 19:07:58 -07:00
2026-07-15 11:36:49 -07:00
2026-07-14 23:18:55 -07:00
2026-07-15 12:09:29 -07:00
2026-07-14 23:18:55 -07:00
2026-07-14 23:18:55 -07:00
2026-04-29 07:54:45 -07:00