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>
25 lines
833 B
JavaScript
25 lines
833 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.ModuleFinder = void 0;
|
|
const core_1 = require("@angular-devkit/core");
|
|
class ModuleFinder {
|
|
constructor(tree) {
|
|
this.tree = tree;
|
|
}
|
|
find(options) {
|
|
const generatedDirectoryPath = options.path;
|
|
const generatedDirectory = this.tree.getDir(generatedDirectoryPath);
|
|
return this.findIn(generatedDirectory);
|
|
}
|
|
findIn(directory) {
|
|
if (!directory) {
|
|
return null;
|
|
}
|
|
const moduleFilename = directory.subfiles.find(filename => /\.module\.(t|j)s$/.test(filename));
|
|
return moduleFilename !== undefined
|
|
? (0, core_1.join)(directory.path, moduleFilename.valueOf())
|
|
: this.findIn(directory.parent);
|
|
}
|
|
}
|
|
exports.ModuleFinder = ModuleFinder;
|