Skip to content

Commit a5839b5

Browse files
authored
fix: update dependencies (#14)
1 parent 40ebe2a commit a5839b5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+3955
-4199
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ jobs:
1717
working-directory: frontend
1818
steps:
1919
- name: Checkout Git repository
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 0
2323
- name: Setup pnpm
2424
uses: pnpm/action-setup@v2
2525
with:
26-
version: "8"
26+
version: 8
2727
- name: Setup Node.js
28-
uses: actions/setup-node@v3
28+
uses: actions/setup-node@v4
2929
with:
30-
node-version: "18"
31-
cache: "pnpm"
30+
node-version-file: .node-version
31+
cache: pnpm
3232
cache-dependency-path: frontend/pnpm-lock.yaml
3333
- name: 📦 Install dependencies
3434
run: pnpm install
@@ -48,7 +48,7 @@ jobs:
4848
working-directory: backend
4949
steps:
5050
- name: Checkout Git repository
51-
uses: actions/checkout@v3
51+
uses: actions/checkout@v4
5252
with:
5353
fetch-depth: 0
5454
# needed because backend release would fail if frontend release pushed new changes (e.g. CHANGELOG.md)
@@ -57,12 +57,12 @@ jobs:
5757
- name: Setup pnpm
5858
uses: pnpm/action-setup@v2
5959
with:
60-
version: "8"
60+
version: 8
6161
- name: Setup Node.js
62-
uses: actions/setup-node@v3
62+
uses: actions/setup-node@v4
6363
with:
64-
node-version: "18"
65-
cache: "pnpm"
64+
node-version-file: .node-version
65+
cache: pnpm
6666
cache-dependency-path: backend/pnpm-lock.yaml
6767
- name: 📦 Install dependencies
6868
run: pnpm install
@@ -82,7 +82,7 @@ jobs:
8282
if: github.ref_name == 'main'
8383
steps:
8484
- name: Checkout Git repository
85-
uses: actions/checkout@v3
85+
uses: actions/checkout@v4
8686
- name: Deploy
8787
uses: appleboy/ssh-action@v0.1.6
8888
with:

.node-version

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

backend/.eslintrc.cjs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module.exports = {
2+
env: {
3+
es2021: true,
4+
node: true,
5+
},
6+
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
7+
parser: "@typescript-eslint/parser",
8+
plugins: ["@typescript-eslint", "prettier"],
9+
};

backend/.eslintrc.js

Lines changed: 0 additions & 21 deletions
This file was deleted.

backend/.prettierignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
dist
2-
node_modules
3-
logs
1+
CHANGELOG.md
2+
pnpm-lock.yaml
43
public

backend/.prettierrc.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
2-
"trailingComma": "es5",
3-
"singleQuote": true,
4-
"semi": true
2+
"$schema": "https://json.schemastore.org/prettierrc",
3+
"semi": true,
4+
"tabWidth": 2,
5+
"singleQuote": false,
6+
"printWidth": 100,
7+
"trailingComma": "all"
58
}

backend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18-alpine
1+
FROM node:20-alpine
22

33
WORKDIR /usr/src/app
44

backend/package.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,38 +8,38 @@
88
"dev": "cross-env NODE_ENV=development ts-node-dev .",
99
"start": "cross-env NODE_ENV=production ts-node .",
1010
"lint": "tsc --noEmit && eslint --fix src",
11-
"format": "prettier --write src --ignore-path ../.gitignore",
11+
"format": "prettier --write .",
1212
"preinstall": "npx only-allow pnpm"
1313
},
1414
"dependencies": {
15-
"@types/cors": "^2.8.13",
16-
"@types/express": "^4.17.17",
17-
"@types/node": "^18.17.1",
18-
"@types/swagger-jsdoc": "^6.0.1",
19-
"@types/swagger-ui-express": "^4.1.3",
20-
"axios": "^1.4.0",
15+
"@types/cors": "^2.8.17",
16+
"@types/express": "^4.17.21",
17+
"@types/node": "^20.11.5",
18+
"@types/swagger-jsdoc": "^6.0.4",
19+
"@types/swagger-ui-express": "^4.1.6",
20+
"axios": "^1.6.5",
2121
"cors": "^2.8.5",
2222
"cross-env": "^7.0.3",
2323
"express": "^4.18.2",
24-
"keyv": "^4.5.3",
25-
"node-ical": "^0.16.1",
26-
"rrule": "^2.7.2",
24+
"keyv": "^4.5.4",
25+
"node-ical": "~0.17.1",
26+
"rrule": "^2.8.1",
2727
"swagger-jsdoc": "6.2.8",
28-
"swagger-ui-express": "^4.6.3",
29-
"ts-node": "^10.9.1",
30-
"typescript": "^4.9.5"
28+
"swagger-ui-express": "^5.0.0",
29+
"ts-node": "^10.9.2",
30+
"typescript": "~4.9.5"
3131
},
3232
"devDependencies": {
3333
"@semantic-release/changelog": "^6.0.3",
3434
"@semantic-release/git": "^10.0.1",
35-
"@typescript-eslint/eslint-plugin": "^5.62.0",
36-
"@typescript-eslint/parser": "^5.62.0",
37-
"eslint": "^8.46.0",
38-
"eslint-config-prettier": "^8.9.0",
39-
"eslint-plugin-prettier": "^4.2.1",
40-
"prettier": "^2.8.8",
41-
"semantic-release": "^20.1.3",
42-
"semantic-release-monorepo": "^7.0.5",
35+
"@typescript-eslint/eslint-plugin": "^6.19.0",
36+
"@typescript-eslint/parser": "^6.19.0",
37+
"eslint": "^8.56.0",
38+
"eslint-config-prettier": "^9.1.0",
39+
"eslint-plugin-prettier": "^5.1.3",
40+
"prettier": "^3.2.4",
41+
"semantic-release": "^23.0.0",
42+
"semantic-release-monorepo": "^8.0.0",
4343
"ts-node-dev": "^2.0.0"
4444
},
4545
"release": {

0 commit comments

Comments
 (0)