Skip to content

Commit efb8602

Browse files
committed
⬆️ Yarn moderno y actualizar dependencias
1 parent 896010f commit efb8602

File tree

9 files changed

+5667
-3562
lines changed

9 files changed

+5667
-3562
lines changed

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
7+
[*.{js,json,yml}]
8+
charset = utf-8
9+
indent_style = space
10+
indent_size = 2

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/.yarn/** linguist-vendored
2+
/.yarn/releases/* binary
3+
/.yarn/plugins/**/* binary
4+
/.pnp.* binary linguist-generated

.github/workflows/despliegue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Despliegue
1+
name: 🦍 Despliegue
22

33
on:
44
push:

.github/workflows/estilo-codigo.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Estilo Código
1+
name: 🐾 Estilo Código
22

33
on:
44
push:
@@ -14,18 +14,22 @@ jobs:
1414

1515
steps:
1616
- name: 🐯 Obtener código del repositorio
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0
2020

21+
- name: 🐜 Activar Corepack
22+
run: corepack enable
23+
2124
- name: 🐝 Usar Node
22-
uses: actions/setup-node@v3
25+
uses: actions/setup-node@v4
2326
with:
2427
node-version: 'lts/*'
28+
cache: 'yarn'
2529

2630
- name: 🦒 Instalar dependencias
2731
run: |
28-
yarn install --frozen-lockfile
32+
yarn install --immutable
2933
3034
- name: 👀 Buscar errores
3135
run: yarn lint

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,12 @@ pnpm-debug.log*
1818

1919
# temporales de mac
2020
.DS_Store
21+
22+
# Ver documentación de Yarn moderno (> v2): https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
23+
.yarn/*
24+
!.yarn/cache
25+
!.yarn/patches
26+
!.yarn/plugins
27+
!.yarn/releases
28+
!.yarn/sdks
29+
!.yarn/versions

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

package.json

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{
2-
"name": "enfujo-www",
3-
"version": "1.0.0",
2+
"name": "enflujo-www",
3+
"packageManager": "yarn@4.5.0",
4+
"version": "1.1.0",
45
"type": "module",
56
"private": true,
67
"scripts": {
78
"dev": "astro dev --host",
89
"build": "astro build",
9-
"preview": "astro build && astro preview",
10+
"preview": "astro preview",
1011
"revisar": "astro check",
1112
"lint": "prettier --check .",
1213
"lint:fix": "prettier --write --list-different .",
@@ -18,23 +19,23 @@
1819
"server:restart": "pm2 restart ecosystem.config.js"
1920
},
2021
"dependencies": {
21-
"@astrojs/check": "^0.8.1",
22+
"@astrojs/check": "^0.9.3",
2223
"@astrojs/sitemap": "^3.1.6",
2324
"@enflujo/alquimia": "^2.0.0",
2425
"@rollup/plugin-graphql": "^2.0.4",
2526
"@speed-highlight/core": "^1.2.6",
26-
"astro": "^4.11.5",
27+
"astro": "^4.15.7",
2728
"astro-robots-txt": "^1.0.0",
28-
"autoprefixer": "^10.4.19",
29-
"marked": "^13.0.2",
30-
"marked-highlight": "^2.1.3",
29+
"autoprefixer": "^10.4.20",
30+
"marked": "^14.1.2",
31+
"marked-highlight": "^2.1.4",
3132
"typescript": "^5.5.3"
3233
},
3334
"devDependencies": {
3435
"@types/marked": "^6.0.0",
3536
"graphql": "^16.9.0",
36-
"postcss": "^8.4.39",
37+
"postcss": "^8.4.47",
3738
"prettier": "^3.3.3",
38-
"sass": "^1.77.8"
39+
"sass": "^1.79.1"
3940
}
4041
}

src/env.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
/// <reference path="../.astro/types.d.ts" />
12
/// <reference types="astro/client" />

0 commit comments

Comments
 (0)