michangarrito/apps/backend/node_modules/@nestjs/cli/lib/utils/get-default-tsconfig-path.js
rckrdmrd 97f407c661 [MIGRATION-V2] feat: Migrar michangarrito a estructura v2
- Prefijo v2: MCH
- TRACEABILITY-MASTER.yml creado
- Listo para integracion como submodulo

Workspace: v2.0.0 | SIMCO: v4.0.0
2026-01-10 11:28:54 -06:00

13 lines
454 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDefaultTsconfigPath = getDefaultTsconfigPath;
const fs = require("fs");
const path_1 = require("path");
const TSCONFIG_BUILD_JSON = 'tsconfig.build.json';
const TSCONFIG_JSON = 'tsconfig.json';
function getDefaultTsconfigPath() {
return fs.existsSync((0, path_1.join)(process.cwd(), TSCONFIG_BUILD_JSON))
? TSCONFIG_BUILD_JSON
: TSCONFIG_JSON;
}