Skip to content

Commit 301986b

Browse files
committed
fix(ci): stop emitting and checking generated tests helpers.d.ts
Runtime pack build was pulling in e2e test imports and tsgo emitted helpers.d.ts beside commands/tests; restrict runtime tsconfig to src and ignore tests/**/*.d.ts in fmt/gitignore as a safety net.
1 parent 0d420b6 commit 301986b

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ tools/generated
4343
# Test & scene outputs
4444
/test/
4545
packages/cli/scene/**/outputs/
46+
**/tests/**/*.d.ts
4647

4748
# Environment variables (sensitive data)
4849
.env

packages/runtime/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@
1616
"isolatedModules": true,
1717
"verbatimModuleSyntax": true,
1818
"skipLibCheck": true
19-
}
19+
},
20+
"include": ["src/**/*"]
2021
}

vite.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,7 @@ export default defineConfig({
3030
run: {
3131
cache: true,
3232
},
33+
fmt: {
34+
ignorePatterns: ["**/tests/**/*.d.ts"],
35+
},
3336
});

0 commit comments

Comments
 (0)