Skip to content

Commit 776dfab

Browse files
feat: update some libs
1 parent bd875d4 commit 776dfab

File tree

8 files changed

+525
-726
lines changed

8 files changed

+525
-726
lines changed

apps/backend-e2e/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"test": "echo \"Did you mean to run 'test:e'?\" && exit 0"
1212
},
1313
"devDependencies": {
14-
"@babel/core": "7.23.5",
14+
"@babel/core": "7.23.6",
1515
"@babel/plugin-transform-modules-commonjs": "7.23.3",
1616
"@babel/preset-env": "7.23.6",
1717
"@darraghor/eslint-plugin-nestjs-typed": "4.3.9",

apps/backend/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
}
3333
},
3434
"dependencies": {
35-
"@babel/core": "7.23.5",
36-
"@darraghor/nest-backend-libs": "2.42.4",
35+
"@babel/core": "7.23.6",
36+
"@darraghor/nest-backend-libs": "3.0.0",
3737
"@mapbox/rehype-prism": "0.8.0",
3838
"@nestjs/bull": "10.0.1",
3939
"@nestjs/cache-manager": "2.1.1",

apps/frontend/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"browserslist": "defaults, not ie <= 11",
1313
"dependencies": {
1414
"@auth0/nextjs-auth0": "3.5.0",
15-
"@babel/core": "7.23.5",
15+
"@babel/core": "7.23.6",
1616
"@babel/plugin-syntax-flow": "^7.22.5",
1717
"@babel/plugin-transform-react-jsx": "^7.22.15",
1818
"@headlessui/react": "1.7.17",
@@ -66,7 +66,7 @@
6666
"next": "14.0.4",
6767
"next-progress": "2.3.1",
6868
"nx": "17.1.3",
69-
"opentelemetry-instrumentation-undici": "0.1.1",
69+
"opentelemetry-instrumentation-undici": "0.2.2",
7070
"postcss": "8.4.32",
7171
"postcss-focus-visible": "9.0.1",
7272
"prettier": "3.1.1",

apps/frontend/src/hooks/useGetCustomerPortalSession.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import {
55
import { useMutation } from "@tanstack/react-query";
66

77
export function useGetCustomerPortalSession() {
8-
return useMutation(
9-
["getCustomerPortalSession"],
10-
async (
11-
variables: StripeCustomerPortalRequestDto
8+
return useMutation({
9+
mutationKey: ["getCustomerPortalSession"],
10+
mutationFn: async (
11+
variables: StripeCustomerPortalRequestDto,
1212
): Promise<StripeCustomerPortalResponseDto> => {
1313
const response = await fetch("/api/stripe/customer-portal-link", {
1414
method: "POST",
@@ -20,6 +20,6 @@ export function useGetCustomerPortalSession() {
2020
const result =
2121
(await response.json()) as StripeCustomerPortalResponseDto;
2222
return result;
23-
}
24-
);
23+
},
24+
});
2525
}

apps/frontend/src/hooks/useGetPaymentLink.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import {
55
import { useMutation } from "@tanstack/react-query";
66

77
export function useGetPaymentLink() {
8-
return useMutation(
9-
["getCheckoutSession"],
10-
async (
11-
variables: StripeCheckoutSessionRequestDto
8+
return useMutation({
9+
mutationKey: ["getCheckoutSession"],
10+
mutationFn: async (
11+
variables: StripeCheckoutSessionRequestDto,
1212
): Promise<StripeCheckoutSessionResponseDto> => {
1313
const response = await fetch("/api/stripe/checkout-link", {
1414
method: "POST",
@@ -21,6 +21,6 @@ export function useGetPaymentLink() {
2121
(await response.json()) as StripeCheckoutSessionResponseDto;
2222

2323
return result;
24-
}
25-
);
24+
},
25+
});
2626
}

libs/project-setup/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"mill-init": "dist/miller-setup.js"
1616
},
1717
"devDependencies": {
18-
"@babel/core": "7.23.5",
18+
"@babel/core": "7.23.6",
1919
"@babel/preset-env": "7.23.6",
2020
"@babel/preset-typescript": "7.23.3",
2121
"@types/figlet": "1.5.8",

libs/shared-api-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
"prepare": "pnpm build"
1212
},
1313
"devDependencies": {
14-
"typescript": "^5.3.3"
14+
"typescript": "^3.9.5"
1515
}
1616
}

0 commit comments

Comments
 (0)