Skip to content

Commit 4ef1111

Browse files
committed
chore: agregar package.json mínimo para Wrangler en CI/CD
1 parent a984aff commit 4ef1111

4 files changed

Lines changed: 26 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ jobs:
2121
with:
2222
deno-version: "2.6.8"
2323

24+
- name: Install npm dependencies
25+
run: npm install
26+
2427
- name: Type check and lint
2528
run: deno task check
2629

CLAUDE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ Proyecto construido con Deno Fresh con soporte para internacionalización
1414
- **CSS**: Tailwind CSS 3.4.1
1515
- **Deployment**: Cloudflare Workers (via Wrangler)
1616

17+
**Nota sobre dependencias**: El proyecto usa Deno como runtime principal, pero
18+
incluye un `package.json` mínimo con Wrangler 4.80.0 como devDependency
19+
exclusivamente para GitHub Actions CI/CD. Tailwind y otras herramientas se
20+
instalan vía Deno.
21+
1722
## Convenciones de Código
1823

1924
### Componentes Fresh

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,16 @@ commit.
4747
#### Setup inicial (solo una vez):
4848

4949
```bash
50-
# Instalar dependencias npm de Deno (Tailwind, Wrangler, etc.)
51-
deno install
50+
# Instalar dependencias npm (Wrangler para CI/CD)
51+
npm install
5252

5353
# Configurar git hooks de Husky
5454
deno task prepare
5555
```
5656

57-
Esto instalará automáticamente los hooks en `.git/hooks/`.
57+
**Nota**: Este proyecto usa Deno como runtime principal, pero incluye un
58+
`package.json` mínimo con Wrangler como devDependency para facilitar el deploy
59+
en GitHub Actions.
5860

5961
#### Pre-commit Hook
6062

package.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "landing-vibe-coding-peter-wong",
3+
"version": "1.0.0",
4+
"private": true,
5+
"description": "Landing page informativa sobre Vibe Coding basada en el trabajo de Peter Wong",
6+
"type": "module",
7+
"scripts": {
8+
"deploy": "wrangler deploy"
9+
},
10+
"devDependencies": {
11+
"wrangler": "4.80.0"
12+
}
13+
}

0 commit comments

Comments
 (0)