mirror of
https://github.com/modelstudioai/cli.git
synced 2026-09-14 19:49:23 +08:00
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:
@@ -43,6 +43,7 @@ tools/generated
|
||||
# Test & scene outputs
|
||||
/test/
|
||||
packages/cli/scene/**/outputs/
|
||||
**/tests/**/*.d.ts
|
||||
|
||||
# Environment variables (sensitive data)
|
||||
.env
|
||||
|
||||
@@ -16,5 +16,6 @@
|
||||
"isolatedModules": true,
|
||||
"verbatimModuleSyntax": true,
|
||||
"skipLibCheck": true
|
||||
}
|
||||
},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
||||
@@ -30,4 +30,7 @@ export default defineConfig({
|
||||
run: {
|
||||
cache: true,
|
||||
},
|
||||
fmt: {
|
||||
ignorePatterns: ["**/tests/**/*.d.ts"],
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user