michangarrito/apps/mcp-server/node_modules/hono/dist/adapter/deno/ssg.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

19 lines
566 B
JavaScript

// src/adapter/deno/ssg.ts
import { toSSG as baseToSSG } from "../../helper/ssg/index.js";
var denoFileSystemModule = {
writeFile: async (path, data) => {
const uint8Data = typeof data === "string" ? new TextEncoder().encode(data) : new Uint8Array(data);
await Deno.writeFile(path, uint8Data);
},
mkdir: async (path, options) => {
return Deno.mkdir(path, { recursive: options?.recursive ?? false });
}
};
var toSSG = async (app, options) => {
return baseToSSG(app, denoFileSystemModule, options);
};
export {
denoFileSystemModule,
toSSG
};