michangarrito/apps/whatsapp-service/node_modules/@nestjs/cli/lib/utils/local-binaries.js
rckrdmrd 48dea7a5d0 feat: Initial commit - michangarrito
Marketplace móvil para negocios locales mexicanos.

Estructura inicial:
- apps/backend (NestJS API)
- apps/frontend (React Web)
- apps/mobile (Expo/React Native)
- apps/mcp-server (Claude MCP Server)
- apps/whatsapp-service (WhatsApp Business API)
- database/ (PostgreSQL DDL)
- docs/ (Documentación)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 04:41:02 -06:00

16 lines
664 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.localBinExists = localBinExists;
exports.loadLocalBinCommandLoader = loadLocalBinCommandLoader;
const fs_1 = require("fs");
const path_1 = require("path");
const localBinPathSegments = [process.cwd(), 'node_modules', '@nestjs', 'cli'];
function localBinExists() {
return (0, fs_1.existsSync)((0, path_1.join)(...localBinPathSegments));
}
function loadLocalBinCommandLoader() {
// eslint-disable-next-line @typescript-eslint/no-var-requires
const commandsFile = require(path_1.posix.join(...localBinPathSegments, 'commands'));
return commandsFile.CommandLoader;
}