Conversation
- Agregar Husky para pre-commit hooks con autoformateo - Agregar tasks: fmt, precommit, prepare en deno.json - Configurar pre-commit hook para ejecutar deno fmt + lint + check - Arreglar wrangler.jsonc: eliminar coma trailing, agregar nodejs_compat - Simplificar deploy.yml: eliminar cp innecesarios de _fresh - Refactor utils/i18n.ts: usar imports estáticos para CF Workers - Actualizar routes/_app.tsx: quitar async/await de función síncrona - Documentar workflow de desarrollo y limitaciones de CF Workers - Actualizar README.md y CLAUDE.md con guías completas
- Update deno.json with Fresh 2.2.2, Vite 7.3.2, and Preact 10.22.0 - Replace fresh.config.ts with vite.config.ts for Vite-based build - Migrate from Fresh 1.x dev.ts/server.ts to Fresh 2 client.ts entry - Add utils.ts with State interface and define helper for type safety - Implement i18n middleware in main.ts for state injection - Update _app.tsx to read state instead of modifying it (Fresh 2 pattern) - Simplify route handlers to use state from middleware - Remove Fresh 1.x manifest (fresh.gen.ts) and legacy config files - Migrate to Tailwind CSS 4 with @theme in assets/css/styles.css - Remove tailwind.config.ts (Tailwind 4 uses CSS-only config) - Update wrangler.jsonc compatibility_date for Cloudflare Workers - Make utils Cloudflare Workers compatible (no filesystem APIs) - Add deno.lock for reproducible builds
The font file was empty (0 bytes placeholder). Downloaded actual Roboto Mono 500 weight from Google Fonts (12 KB woff2 format). Font now loads correctly in browser at /fonts/roboto-mono-latin-500-normal.woff
Rename 404.tsx to _404.tsx for Fresh 2 compatibility. Add bilingual error messages (Spanish/English) based on lang state. Page now responds correctly to /es and /en language routes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement Husky for pre-commit hooks, ensuring code quality through automatic formatting and validation. Update the project for compatibility with Cloudflare Workers, including necessary configuration changes and documentation updates. Add bilingual titles to the README and translations for better accessibility.