Skip to content

Commit

Permalink
build: set yup-next to v1.4.0 everywhere; fix jwt types
Browse files Browse the repository at this point in the history
  • Loading branch information
Falinor committed Feb 4, 2025
1 parent bfe53bf commit f62a4c0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 18 deletions.
2 changes: 1 addition & 1 deletion packages/schemas/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@zerologementvacant/models": "workspace:*",
"yup": "^1.4.0"
"yup": "1.4.0"
},
"devDependencies": {
"@fast-check/jest": "^1.8.2",
Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"uuid": "^9.0.1",
"validator": "^13.12.0",
"wuzzy": "^0.1.8",
"yup": "^1.4.0"
"yup": "1.4.0"
},
"devDependencies": {
"@fast-check/jest": "^1.8.2",
Expand Down
3 changes: 2 additions & 1 deletion server/src/infra/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import dotenv from 'dotenv';
import path from 'node:path';

import { LOG_LEVELS, LogLevel } from '@zerologementvacant/utils';
import jwt from 'jsonwebtoken';

dotenv.config({
path: path.join(__dirname, '..', '..', '.env')
Expand Down Expand Up @@ -42,7 +43,7 @@ interface Config {
};
auth: {
secret: string;
expiresIn: string;
expiresIn: NonNullable<jwt.SignOptions['expiresIn']>;
};
ban: {
api: {
Expand Down
18 changes: 3 additions & 15 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10189,7 +10189,7 @@ __metadata:
rimraf: "npm:^5.0.10"
ts-jest: "npm:^29.2.5"
typescript: "npm:^5.6.2"
yup: "npm:^1.4.0"
yup: "npm:1.4.0"
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -10313,7 +10313,7 @@ __metadata:
uuid: "npm:^9.0.1"
validator: "npm:^13.12.0"
wuzzy: "npm:^0.1.8"
yup: "npm:^1.4.0"
yup: "npm:1.4.0"
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -30537,7 +30537,7 @@ __metadata:
languageName: node
linkType: hard

"yup-next@npm:[email protected]":
"yup-next@npm:[email protected], yup@npm:1.4.0":
version: 1.4.0
resolution: "yup@npm:1.4.0"
dependencies:
Expand All @@ -30564,18 +30564,6 @@ __metadata:
languageName: node
linkType: hard

"yup@npm:^1.4.0":
version: 1.6.1
resolution: "yup@npm:1.6.1"
dependencies:
property-expr: "npm:^2.0.5"
tiny-case: "npm:^1.0.3"
toposort: "npm:^2.0.2"
type-fest: "npm:^2.19.0"
checksum: 10c0/84c2b53996e8001041239cf2719851719f67063ec7cd843067df73562353216f5ad4f8a222319696882d5a6058e528fade1e463c59d70cbffb41b99cd0d7571b
languageName: node
linkType: hard

"zero-logement-vacant@workspace:.":
version: 0.0.0-use.local
resolution: "zero-logement-vacant@workspace:."
Expand Down

0 comments on commit f62a4c0

Please sign in to comment.