From 69670e8d7134db34aee665d8871cd17901625915 Mon Sep 17 00:00:00 2001 From: Christian Pillsbury Date: Wed, 13 Aug 2025 13:47:36 -0700 Subject: [PATCH] fix(typescript): resolve declaration file generation for rollup packages (#1) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- packages/core/icons/tsconfig.build.json | 4 +++- packages/html/html-icons/tsconfig.build.json | 4 +++- packages/html/html/tsconfig.build.json | 4 +++- packages/react/react-icons/tsconfig.build.json | 4 +++- packages/react/react/tsconfig.build.json | 4 +++- 5 files changed, 15 insertions(+), 5 deletions(-) diff --git a/packages/core/icons/tsconfig.build.json b/packages/core/icons/tsconfig.build.json index 4f424202..698a5b71 100644 --- a/packages/core/icons/tsconfig.build.json +++ b/packages/core/icons/tsconfig.build.json @@ -5,7 +5,9 @@ "declarationDir": "dist", "emitDeclarationOnly": true, "outDir": "dist", - "skipLibCheck": true + "skipLibCheck": true, + "composite": false, + "incremental": false }, "exclude": ["dist", "node_modules"] } \ No newline at end of file diff --git a/packages/html/html-icons/tsconfig.build.json b/packages/html/html-icons/tsconfig.build.json index 4f424202..698a5b71 100644 --- a/packages/html/html-icons/tsconfig.build.json +++ b/packages/html/html-icons/tsconfig.build.json @@ -5,7 +5,9 @@ "declarationDir": "dist", "emitDeclarationOnly": true, "outDir": "dist", - "skipLibCheck": true + "skipLibCheck": true, + "composite": false, + "incremental": false }, "exclude": ["dist", "node_modules"] } \ No newline at end of file diff --git a/packages/html/html/tsconfig.build.json b/packages/html/html/tsconfig.build.json index 4f424202..698a5b71 100644 --- a/packages/html/html/tsconfig.build.json +++ b/packages/html/html/tsconfig.build.json @@ -5,7 +5,9 @@ "declarationDir": "dist", "emitDeclarationOnly": true, "outDir": "dist", - "skipLibCheck": true + "skipLibCheck": true, + "composite": false, + "incremental": false }, "exclude": ["dist", "node_modules"] } \ No newline at end of file diff --git a/packages/react/react-icons/tsconfig.build.json b/packages/react/react-icons/tsconfig.build.json index 4f424202..698a5b71 100644 --- a/packages/react/react-icons/tsconfig.build.json +++ b/packages/react/react-icons/tsconfig.build.json @@ -5,7 +5,9 @@ "declarationDir": "dist", "emitDeclarationOnly": true, "outDir": "dist", - "skipLibCheck": true + "skipLibCheck": true, + "composite": false, + "incremental": false }, "exclude": ["dist", "node_modules"] } \ No newline at end of file diff --git a/packages/react/react/tsconfig.build.json b/packages/react/react/tsconfig.build.json index 4f424202..698a5b71 100644 --- a/packages/react/react/tsconfig.build.json +++ b/packages/react/react/tsconfig.build.json @@ -5,7 +5,9 @@ "declarationDir": "dist", "emitDeclarationOnly": true, "outDir": "dist", - "skipLibCheck": true + "skipLibCheck": true, + "composite": false, + "incremental": false }, "exclude": ["dist", "node_modules"] } \ No newline at end of file