fix: track bundled plugin.js sources past the tsc-artifact gitignore
apps/desktop/src/**/*.js is gitignored (stale tsc output shadows .tsx), which silently dropped the hermes-bots plugin.js from the adoption commit — tests shipped, source didn't, CI ENOENT'd. Negate the pattern for src/plugins/*/plugin.js: adopted plain-ESM plugins have no .tsx sibling, so the shadow hazard cannot apply.
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -91,6 +91,10 @@ apps/desktop/dist/
|
||||
apps/desktop/src/**/*.js
|
||||
apps/desktop/src/**/*.js.map
|
||||
apps/desktop/src/**/*.d.ts
|
||||
# EXCEPT bundled plain-ESM plugin entries (adopted SDK-consumer plugins,
|
||||
# e.g. hermes-bots): plugin.js IS the source, not tsc output. No .tsx
|
||||
# sibling exists, so the stale-shadow hazard above cannot apply.
|
||||
!apps/desktop/src/plugins/*/plugin.js
|
||||
!apps/desktop/src/global.d.ts
|
||||
!apps/desktop/src/vite-env.d.ts
|
||||
apps/shared/src/**/*.js
|
||||
|
||||
Reference in New Issue
Block a user