Skip to content

Commit

Permalink
chore: update yarn to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
B4nan committed Jan 29, 2025
1 parent cefc81f commit 79cc0d6
Show file tree
Hide file tree
Showing 5 changed files with 7,364 additions and 5,076 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Cache node_modules
uses: actions/cache@v4
with:
path: '**/node_modules'
key: ${{ runner.os }}-${{ matrix.node-version }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Enable corepack
run: |
corepack enable
corepack prepare yarn@stable --activate
- name: Init docker
run: docker compose up -d
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ dist
temp
node_modules
.idea
.yarn/*
!.yarn/patches
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
25 changes: 13 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,24 @@
"webpack": "webpack --config webpack.config.js"
},
"dependencies": {
"@mikro-orm/core": "^6.1.0",
"@mikro-orm/mysql": "^6.1.0",
"@mikro-orm/nestjs": "^6.0.0",
"@mikro-orm/reflection": "^6.1.0",
"@mikro-orm/core": "^6.4.4",
"@mikro-orm/mysql": "^6.4.4",
"@mikro-orm/nestjs": "^6.1.0",
"@mikro-orm/reflection": "^6.4.4",
"@mikro-orm/sql-highlighter": "^1.0.1",
"@nestjs/common": "^11.0.0",
"@nestjs/core": "^11.0.0",
"@nestjs/platform-express": "^11.0.0",
"@nestjs/common": "^11.0.6",
"@nestjs/core": "^11.0.6",
"@nestjs/platform-express": "^11.0.6",
"reflect-metadata": "^0.2.0",
"rxjs": "^7.8.1",
"typescript": "^5.3.3"
},
"devDependencies": {
"@mikro-orm/cli": "^6.1.0",
"@nestjs/testing": "^11.0.0",
"@mikro-orm/cli": "^6.4.4",
"@nestjs/testing": "^11.0.6",
"@types/express": "^5.0.0",
"@types/jest": "^29.5.12",
"@types/node": "^22.0.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.12.0",
"@types/supertest": "^6.0.2",
"jest": "^29.7.0",
"nodemon": "^3.0.3",
Expand Down Expand Up @@ -73,5 +73,6 @@
"./src/mikro-orm.config.ts",
"./dist/mikro-orm.config.js"
]
}
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit 79cc0d6

Please sign in to comment.