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.
This commit is contained in:
clh02467605
2026-07-10 12:26:41 +08:00
parent 0d420b6e5a
commit 301986b669
3 changed files with 6 additions and 1 deletions
+1
View File
@@ -43,6 +43,7 @@ tools/generated
# Test & scene outputs
/test/
packages/cli/scene/**/outputs/
**/tests/**/*.d.ts
# Environment variables (sensitive data)
.env
+2 -1
View File
@@ -16,5 +16,6 @@
"isolatedModules": true,
"verbatimModuleSyntax": true,
"skipLibCheck": true
}
},
"include": ["src/**/*"]
}
+3
View File
@@ -30,4 +30,7 @@ export default defineConfig({
run: {
cache: true,
},
fmt: {
ignorePatterns: ["**/tests/**/*.d.ts"],
},
});