Skip to content

Commit

Permalink
⬆️ Actualizar Yarn moderno
Browse files Browse the repository at this point in the history
  • Loading branch information
1cgonza committed Sep 6, 2024
1 parent 3893440 commit 8e52fa2
Show file tree
Hide file tree
Showing 8 changed files with 5,614 additions and 3,814 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true

[*.{js,json,yml}]
charset = utf-8
indent_style = space
indent_size = 2
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/.yarn/** linguist-vendored
/.yarn/releases/* binary
/.yarn/plugins/**/* binary
/.pnp.* binary linguist-generated
2 changes: 1 addition & 1 deletion .github/workflows/despliegue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
cd ${{ secrets.RUTA }}
git pull
docker compose down
yarn install --frozen-lockfile
yarn install --immutable
yarn build
docker compose pull
docker compose up -d
13 changes: 9 additions & 4 deletions .github/workflows/estilo-codigo.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Estilo Código
name: 🐾 Estilo Código

on:
push:
Expand All @@ -14,17 +14,22 @@ jobs:

steps:
- name: 🐯 Obtener código del repositorio
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: 🐜 Activar Corepack
run: corepack enable

- name: 🐝 Usar Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'yarn'

- name: 🦒 Instalar dependencias
run: |
yarn install --frozen-lockfile
yarn install --immutable
- name: 👀 Buscar errores
run: yarn lint
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,13 @@ Thumbs.db
/extensions/hooks
/extensions/interfaces
/extensions/modules
/extensions/endpoints
/extensions/endpoints

# Ver documentación de Yarn moderno (> v2): https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
.yarn/*
!.yarn/cache
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "arca-api",
"version": "1.0.0",
"packageManager": "[email protected]",
"version": "1.1.0",
"main": "index.js",
"repository": "https://github.com/enflujo/arca-api.git",
"author": "Juan Camilo González <[email protected]>",
Expand Down Expand Up @@ -30,8 +31,8 @@
"@types/node": "^20.12.7",
"@types/pino": "^7.0.5",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"typescript": "^5.4.5"
"prettier": "^3.3.3",
"typescript": "^5.5.4"
},
"dependencies": {
"meilisearch": "^0.34.2"
Expand Down
Loading

0 comments on commit 8e52fa2

Please sign in to comment.