mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-18 17:05:48 +00:00
* 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>
17 lines
396 B
JSON
17 lines
396 B
JSON
{
|
|
"name": "github-issue-provider",
|
|
"version": "1.0.0",
|
|
"description": "GitHub issue provider plugin",
|
|
"scripts": {
|
|
"build": "node scripts/build.js",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "tsc --noEmit"
|
|
},
|
|
"devDependencies": {
|
|
"esbuild": "^0.25.11",
|
|
"typescript": "^5.8.3"
|
|
},
|
|
"dependencies": {
|
|
"@super-productivity/plugin-api": "file:../../plugin-api"
|
|
}
|
|
}
|