super-productivity/packages/plugin-dev/github-issue-provider
Johannes Millan 30cbb4d7a6
fix(build): ensure plugin-api is built before plugin builds (#6720)
* fix(build): ensure plugin-api is built before plugin builds

The github-issue-provider plugin build was failing in CI because
plugin-api/dist/ didn't exist when tsc --noEmit ran. The dist/ directory
is gitignored and only built during the prepare lifecycle, which may not
run reliably in all CI contexts. Adding plugin-api:build to the
plugins:build script ensures the type declarations are always available.

Also improved error logging in build-all.js to show stderr on failure.

https://claude.ai/code/session_01StB1pMk1g2k79AywyksoyZ

* fix(build): remove tsc --noEmit from github-issue-provider build

The github-issue-provider was the only plugin running tsc --noEmit as
part of its build command. In CI, TypeScript module resolution fails for
the file: dependency on plugin-api due to npm workspace hoisting
interference. All other plugins (ai-productivity-prompts,
procrastination-buster, sync-md) skip type-checking during build and
rely on esbuild to strip type-only imports.

Align with existing plugin pattern by separating build from typecheck.
Also improve error logging in build-all.js to capture stdout on failure.

https://claude.ai/code/session_01StB1pMk1g2k79AywyksoyZ

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-03-04 11:25:21 +01:00
..
i18n feat(plugins): add plugin issue provider system with GitHub migration 2026-03-03 20:14:54 +01:00
scripts feat(plugins): add plugin issue provider system with GitHub migration 2026-03-03 20:14:54 +01:00
src feat(plugins): add plugin issue provider system with GitHub migration 2026-03-03 20:14:54 +01:00
icon.svg feat(plugins): add plugin issue provider system with GitHub migration 2026-03-03 20:14:54 +01:00
package-lock.json feat(plugins): add plugin issue provider system with GitHub migration 2026-03-03 20:14:54 +01:00
package.json fix(build): ensure plugin-api is built before plugin builds (#6720) 2026-03-04 11:25:21 +01:00
tsconfig.json feat(plugins): add plugin issue provider system with GitHub migration 2026-03-03 20:14:54 +01:00