Skip to content

Commit

Permalink
Upgrade deps (#504)
Browse files Browse the repository at this point in the history
* Fix frontend error

* Update backend deps

* Update frontend deps

* Update workflow scripts
  • Loading branch information
MelissaAutumn authored Jun 27, 2024
1 parent bc84434 commit efa014a
Show file tree
Hide file tree
Showing 7 changed files with 1,894 additions and 2,052 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ jobs:
- name: Setup NPM
uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '20.x'

- name: Install dependencies
run: cd frontend && yarn install
Expand Down Expand Up @@ -317,7 +317,7 @@ jobs:
- name: Setup NPM
uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '20.x'

- name: Install dependencies
run: cd frontend && yarn install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: 'yarn'
cache-dependency-path: 'frontend/yarn.lock'

Expand Down
12 changes: 6 additions & 6 deletions backend/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "appointment"
version = "0.2.0"
version = "0.3.0"
description = "Backend component to Thunderbird Appointment"
requires-python = ">3.11"
dynamic = ["dependencies"]
Expand All @@ -21,11 +21,11 @@ db = [
"mysql-connector-python==8.0.32",
]
test = [
"Faker==20.1.0",
"httpx==0.25.1",
"pytest==7.4.3",
"freezegun==1.4.0",
"coverage==7.4.3",
"Faker==26.0.0",
"httpx==0.27.0",
"pytest==8.2.2",
"freezegun==1.5.1",
"coverage==7.5.4",
]
deploy = ['appointment[cli]', 'appointment[db]']

Expand Down
45 changes: 22 additions & 23 deletions backend/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,35 +1,34 @@
alembic==1.9.3
alembic==1.13.2
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
Babel==2.14.0
caldav==1.0.1
cryptography==42.0.4
fastapi-auth0==0.3.2
fastapi==0.109.1
Babel==2.15.0
caldav==1.3.9
cryptography==42.0.8
fastapi==0.111.0
fluent.runtime==0.4.0
fluent.syntax==0.19.0
google-api-python-client==2.114.0
google-auth-httplib2==0.1.0
google-auth-oauthlib==1.0.0
google-api-python-client==2.134.0
google-auth-httplib2==0.2.0
google-auth-oauthlib==1.2.0
jinja2==3.1.4
icalendar==5.0.4
itsdangerous==2.1.2
icalendar==5.0.13
itsdangerous==2.2.0
markdown==3.6
MarkupSafe==2.1.2
nh3==0.2.17
python-dotenv==1.0.0
python-multipart==0.0.7
python-dotenv==1.0.1
python-multipart==0.0.9
PyJWT==2.6.0
pydantic==2.5.2
sentry-sdk==1.26.0
pydantic==2.7.4
sentry-sdk==2.7.1
starlette-context==0.3.6
sqlalchemy-utils==0.39.0
sqlalchemy==2.0.30
typer[all]==0.9.0
tzdata==2022.7
uvicorn==0.20.0
validators==0.20.0
sqlalchemy-utils==0.41.2
sqlalchemy==2.0.31
typer==0.12.3
tzdata==2024.1
uvicorn==0.30.1
validators==0.28.3
oauthlib==3.2.2
requests-oauthlib==1.3.1
redis==5.0.2
requests-oauthlib==2.0.0
redis==5.0.7
hiredis==2.3.2
13 changes: 8 additions & 5 deletions frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "thunderbird-appointment",
"version": "0.2.0",
"version": "0.3.0",
"private": true,
"scripts": {
"dev": "vite --port 8080",
Expand All @@ -13,8 +13,8 @@
"dependencies": {
"@rushstack/eslint-patch": "^1.3.3",
"@sentry/vite-plugin": "^2.10.2",
"@sentry/vue": "^7.56.0",
"@tabler/icons-vue": "^2.4.0",
"@sentry/vue": "^8.13.0",
"@tabler/icons-vue": "^3.7.0",
"@tailwindcss/forms": "^0.5.3",
"@vitejs/plugin-vue": "^5.0.4",
"@vueuse/components": "^10.4.1",
Expand All @@ -33,7 +33,7 @@
"@babel/core": "^7.12.16",
"@babel/eslint-parser": "^7.12.16",
"autoprefixer": "^10.4.12",
"eslint": "^8.55.0",
"eslint": "^9.5.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.25.2",
Expand All @@ -55,5 +55,8 @@
"postcss-nesting": {}
}
},
"type": "module"
"type": "module",
"engines": {
"node": ">=20.15.0"
}
}
2 changes: 1 addition & 1 deletion frontend/src/views/BookingView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ const handleError = (data) => {
if (data?.detail?.id === 'SCHEDULE_NOT_ACTIVE') {
errorHeading.value = '';
errorBody.value = data.value.detail.message;
errorBody.value = data?.detail.message;
}
};
Expand Down
Loading

0 comments on commit efa014a

Please sign in to comment.