Skip to content

Commit a698211

Browse files
committed
Update some deps
1 parent 4a711e9 commit a698211

File tree

6 files changed

+14
-9
lines changed

6 files changed

+14
-9
lines changed

.husky/pre-commit

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
yarn tsc && yarn lint && yarn prettier && yarn test:coverage
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
yarn tsc && yarn lint && yarn prettier && yarn test:coverage

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export default [
6868
},
6969
settings: {
7070
react: {
71-
version: 'detect'
71+
version: '19'
7272
}
7373
},
7474
rules: {

insights/gitlab.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export const getCalendar = async (): Promise<Record<string, number>> => {
3737
const value1 = calendar1[key];
3838
const value2 = calendar2[key];
3939

40+
// eslint-disable-next-line no-useless-assignment
4041
let result = undefined;
4142

4243
if (typeof value1 === 'undefined') {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"pre": "yarn time && yarn fetch-projects && yarn svg",
5050
"post": "yarn tsc && yarn houdini && yarn next:build && next-sitemap",
5151
"build": "yarn pre && yarn post",
52-
"prepare": "husky"
52+
"prepare": "husky && husky install"
5353
},
5454
"dependencies": {
5555
"@apollo/client": "4.1.5",

src/pages/api/mail.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,17 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
3434
});
3535
}
3636

37+
// eslint-disable-next-line no-useless-assignment
3738
let result = {};
3839

3940
const htmlContent = interpolateTemplate(emailTemplate, data);
4041

4142
try {
4243
result = await brevo.transactionalEmails.sendTransacEmail({
43-
to: [{ email: 'hi@atanas.info' }],
44+
htmlContent: htmlContent,
4445
sender: { email: data.email },
4546
subject: 'New contact form submission from https://atanas.info',
46-
htmlContent: htmlContent
47+
to: [{ email: 'hi@atanas.info' }]
4748
});
4849

4950
return res.status(200).json(result);

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7185,10 +7185,10 @@ human-signals@^2.1.0:
71857185
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
71867186
integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==
71877187

7188-
husky@9.1.7:
7189-
version "9.1.7"
7190-
resolved "https://registry.yarnpkg.com/husky/-/husky-9.1.7.tgz#d46a38035d101b46a70456a850ff4201344c0b2d"
7191-
integrity sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==
7188+
husky@^8.0.0:
7189+
version "8.0.3"
7190+
resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.3.tgz#4936d7212e46d1dea28fef29bb3a108872cd9184"
7191+
integrity sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==
71927192

71937193
iconv-lite@0.6, iconv-lite@0.6.3, iconv-lite@^0.6.3:
71947194
version "0.6.3"

0 commit comments

Comments
 (0)