Skip to content

Commit

Permalink
chore: bumping deps (#37)
Browse files Browse the repository at this point in the history
* chore: bumping deps

* fix: cleaning cache
  • Loading branch information
jpb06 authored Feb 3, 2024
1 parent 46204e2 commit 7006375
Show file tree
Hide file tree
Showing 7 changed files with 2,078 additions and 1,807 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
timeout-minutes: 10
steps:
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- name: Caching node_modules
uses: actions/cache@v3
uses: actions/cache@v4
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
Expand All @@ -29,9 +29,9 @@ jobs:
${{ runner.os }}-yarn-
- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '20.x'

- name: Setting yarn version
run: yarn policies set-version 1.22.19
Expand All @@ -52,7 +52,7 @@ jobs:
run: yarn test-ci

- name: Generating coverage badges
uses: jpb06/[email protected].15
uses: jpb06/[email protected].18

- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fly-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: flyctl setup
uses: superfly/flyctl-actions/setup-flyctl@master
Expand Down
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.x
v20.x
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"eslint.run": "onSave",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": true
"source.fixAll": "explicit"
},
"editor.tabSize": 2
}
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# base node image
FROM node:18-bullseye-slim AS base
FROM node:20-bullseye-slim AS base

# Install dependencies
RUN apt-get update && apt-get install -y openssl make g++ gcc python3
RUN apt-get update \
&& apt-get install -y openssl make g++ gcc python3 \
&& apt-get clean

# set for base and all that inherit from it
ENV NODE_ENV=production
Expand Down
60 changes: 30 additions & 30 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"private": true,
"license": "MIT",
"engines": {
"node": "18.x",
"node": "20.x",
"yarn": "1.x"
},
"scripts": {
Expand Down Expand Up @@ -38,56 +38,56 @@
"fly-deploy": "flyctl deploy -a nestjs-prisma-postgres-sandbox"
},
"dependencies": {
"@nestjs/cli": "^10.0.2",
"@nestjs/common": "^10.0.0",
"@nestjs/config": "^3.0.0",
"@nestjs/core": "^10.0.0",
"@nestjs/jwt": "^10.1.0",
"@nestjs/passport": "^10.0.0",
"@nestjs/platform-express": "^10.0.0",
"@nestjs/swagger": "^7.0.0",
"@nestjs/terminus": "^10.0.0",
"@prisma/client": "^4.15.0",
"bcrypt": "^5.1.0",
"@nestjs/cli": "^10.3.0",
"@nestjs/common": "^10.3.1",
"@nestjs/config": "^3.1.1",
"@nestjs/core": "^10.3.1",
"@nestjs/jwt": "^10.2.0",
"@nestjs/passport": "^10.0.3",
"@nestjs/platform-express": "^10.3.1",
"@nestjs/swagger": "^7.2.0",
"@nestjs/terminus": "^10.2.1",
"@prisma/client": "^5.9.1",
"bcrypt": "^5.1.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"passport": "^0.6.0",
"class-validator": "^0.14.1",
"passport": "^0.7.0",
"passport-jwt": "^4.0.1",
"passport-local": "^1.0.0",
"reflect-metadata": "^0.1.13",
"rimraf": "^5.0.1",
"reflect-metadata": "^0.2.1",
"rimraf": "^5.0.5",
"rxjs": "^7.8.1",
"swagger-ui-express": "^4.6.3"
"swagger-ui-express": "^5.0.0"
},
"devDependencies": {
"@commitlint/cli": "^17.6.5",
"@commitlint/config-conventional": "^17.6.5",
"@commitlint/cli": "^18.6.0",
"@commitlint/config-conventional": "^18.6.0",
"@nestjs/schematics": "^10.0.1",
"@nestjs/testing": "^10.0.0",
"@swc/core": "^1.3.64",
"@swc/jest": "^0.2.26",
"@swc/jest": "^0.2.34",
"@types/bcrypt": "^5.0.0",
"@types/express": "^4.17.17",
"@types/fs-extra": "^11.0.1",
"@types/jest": "^29.5.2",
"@types/jest": "^29.5.12",
"@types/jsonwebtoken": "^9.0.2",
"@types/node": "^20.3.1",
"@types/passport-jwt": "^3.0.8",
"@types/node": "^20.11.16",
"@types/passport-jwt": "^4.0.1",
"@types/passport-local": "^1.0.35",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@typescript-eslint/parser": "^5.59.11",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-prettier": "^5.1.3",
"fs-extra": "^11.1.1",
"jest": "^29.5.0",
"jest-mock-extended": "^3.0.4",
"jsonwebtoken": "^9.0.0",
"prettier": "^2.8.8",
"prisma": "^4.15.0",
"prettier": "^3.2.4",
"prisma": "^5.9.1",
"readme-package-icons": "^1.1.8",
"supertest": "^6.3.3",
"ts-loader": "^9.4.3",
Expand Down
Loading

0 comments on commit 7006375

Please sign in to comment.