- Fix getTemplateDir to evict the cached promise on rejection so transient failures don't permanently poison the cache for subsequent calls. - Extract pickFreePort, waitForServerReady, stopChildProcess, cleanupPerfRunDir, verifyBuiltArtifacts, and parsePerfSeededState into test/perf/support/perfProcess.ts, replacing duplicated copies in scripts/open-perf-app.ts and apps/web/test/perf/appHarness.ts.
35 lines
894 B
JSON
35 lines
894 B
JSON
{
|
|
"extends": "../../tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"composite": true,
|
|
"jsx": "react-jsx",
|
|
"lib": ["ES2023", "DOM", "DOM.Iterable"],
|
|
"types": ["vite/client"],
|
|
"paths": {
|
|
"~/*": ["./src/*"]
|
|
},
|
|
"plugins": [
|
|
{
|
|
"name": "@effect/language-service",
|
|
"namespaceImportPackages": ["@effect/platform-node"],
|
|
"diagnosticSeverity": {
|
|
"importFromBarrel": "error",
|
|
"anyUnknownInErrorContext": "warning",
|
|
"instanceOfSchema": "warning",
|
|
"deterministicKeys": "warning"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"include": [
|
|
"src",
|
|
"vite.config.ts",
|
|
"test",
|
|
"../../test/perf/support/artifact.ts",
|
|
"../../test/perf/support/browserMetrics.ts",
|
|
"../../test/perf/support/perfProcess.ts",
|
|
"../../test/perf/support/serverSampler.ts",
|
|
"../../test/perf/support/thresholds.ts"
|
|
]
|
|
}
|