- Updated TypeScript configuration to include test files. - Modified Vitest configuration to include test files from both src and tests directories. - Added ADR-063 documenting the decision and implementation of PM2 namespaces. - Created implementation report detailing the migration to PM2 namespaces. - Developed migration script for transitioning to namespaced PM2 processes. - Updated ecosystem configuration files to define namespaces for production, test, and development environments. - Enhanced workflow files to include namespace flags in all PM2 commands. - Verified migration with comprehensive tests ensuring all processes are correctly namespaced.
30 lines
1.0 KiB
JSON
30 lines
1.0 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ESNext",
|
|
"useDefineForClassFields": true,
|
|
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
|
"allowJs": false,
|
|
"skipLibCheck": true,
|
|
"esModuleInterop": true, // Often helpful for broader library compatibility
|
|
"allowSyntheticDefaultImports": true,
|
|
"strict": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"module": "ESNext",
|
|
"moduleResolution": "Bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
// Required for tsoa decorator-based controllers (ADR-055)
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
// This line makes Vitest's global APIs (describe, it, expect) available everywhere
|
|
// without needing to import them.
|
|
"types": ["vitest/globals"]
|
|
},
|
|
// This is the most important part: It tells TypeScript to include ALL files
|
|
// within the 'src' directory and 'tests' directory.
|
|
"include": ["src", "tests"],
|
|
"references": [{ "path": "./tsconfig.node.json" }]
|
|
}
|