mirror of
https://github.com/kamask-dev/pchelpmaster.git
synced 2026-11-11 05:49:38 +00:00
Add proxy.conf.mjs mirroring `location /pb/` from nginx: the prefix is stripped, target comes from PB_URL (empty value falls back to the default, same as the SSR provider). Cover the config with tests in tests/lint and update docs. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
20 lines
566 B
JSON
20 lines
566 B
JSON
/* Проверка типов стенда API-тестов и вспомогательного кода: запускается из `pnpm test:api`. */
|
|
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"allowImportingTsExtensions": true,
|
|
"allowJs": true,
|
|
"types": ["node"]
|
|
},
|
|
"files": [],
|
|
"include": [
|
|
"tests/**/*.ts",
|
|
"vitest.api.config.mts",
|
|
"vitest.integration.config.mts",
|
|
"vitest.lint.config.mts",
|
|
"proxy.conf.mjs"
|
|
]
|
|
}
|