fix(typescript): resolve declaration file generation for rollup packages (#1)

- Override composite project settings in tsconfig.build.json files
- Add "composite": false and "incremental": false to enable declaration emit
- Fix VS Code TypeScript errors for imports from @vjs-10/* packages
- Ensure proper .d.ts generation for all rollup-migrated packages

Resolves TypeScript import resolution issues like:
Module '"@vjs-10/react-icons"' has no exported member 'VolumeOffIcon'

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Christian Pillsbury
2025-08-13 13:47:36 -07:00
committed by GitHub
co-authored by Claude
parent a5499b1931
commit 69670e8d71
5 changed files with 15 additions and 5 deletions
+3 -1
View File
@@ -5,7 +5,9 @@
"declarationDir": "dist",
"emitDeclarationOnly": true,
"outDir": "dist",
"skipLibCheck": true
"skipLibCheck": true,
"composite": false,
"incremental": false
},
"exclude": ["dist", "node_modules"]
}
+3 -1
View File
@@ -5,7 +5,9 @@
"declarationDir": "dist",
"emitDeclarationOnly": true,
"outDir": "dist",
"skipLibCheck": true
"skipLibCheck": true,
"composite": false,
"incremental": false
},
"exclude": ["dist", "node_modules"]
}
+3 -1
View File
@@ -5,7 +5,9 @@
"declarationDir": "dist",
"emitDeclarationOnly": true,
"outDir": "dist",
"skipLibCheck": true
"skipLibCheck": true,
"composite": false,
"incremental": false
},
"exclude": ["dist", "node_modules"]
}
@@ -5,7 +5,9 @@
"declarationDir": "dist",
"emitDeclarationOnly": true,
"outDir": "dist",
"skipLibCheck": true
"skipLibCheck": true,
"composite": false,
"incremental": false
},
"exclude": ["dist", "node_modules"]
}
+3 -1
View File
@@ -5,7 +5,9 @@
"declarationDir": "dist",
"emitDeclarationOnly": true,
"outDir": "dist",
"skipLibCheck": true
"skipLibCheck": true,
"composite": false,
"incremental": false
},
"exclude": ["dist", "node_modules"]
}