Skip to content

Commit 665dfdf

Browse files
committed
feat: update package version
1 parent eda52b3 commit 665dfdf

File tree

6 files changed

+1436
-1025
lines changed

6 files changed

+1436
-1025
lines changed

apps/api/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const withRawCypherFiles = (config, ctx) => {
1212
}
1313

1414
// Nx plugins for webpack.
15-
module.exports = composePlugins(withNx(), withRawCypherFiles, (config) => {
15+
module.exports = composePlugins(withNx({}), withRawCypherFiles, (config) => {
1616
// Update the webpack config as needed here.
1717
// e.g. `config.plugins.push(new MyPlugin())`
1818

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,23 @@
1-
import type { Auth0IdToken, IUserDto } from '@codelab/shared/abstract/core'
1+
import type { Auth0IdToken } from '@codelab/shared/abstract/core'
22
import type { ExecutionContext } from '@nestjs/common'
33

44
import { User } from '@codelab/backend/domain/user'
55
import { createParamDecorator } from '@nestjs/common'
66
import { GqlExecutionContext } from '@nestjs/graphql'
77

8-
export const CurrentUser = createParamDecorator<
9-
unknown,
10-
ExecutionContext,
11-
IUserDto
12-
>((data: unknown, ctx: ExecutionContext) => {
13-
const gqlContext = GqlExecutionContext.create(ctx)
8+
export const CurrentUser = createParamDecorator<unknown, ExecutionContext>(
9+
(data: unknown, ctx: ExecutionContext) => {
10+
const gqlContext = GqlExecutionContext.create(ctx)
1411

15-
// Check if it's a GraphQL execution context
16-
if (gqlContext.getContext().req && gqlContext.getContext().res) {
17-
return gqlContext.getContext().user
18-
}
12+
// Check if it's a GraphQL execution context
13+
if (gqlContext.getContext().req && gqlContext.getContext().res) {
14+
return gqlContext.getContext().user
15+
}
1916

20-
// Otherwise assume it's a CLI execution context
21-
const httpContext = ctx.switchToHttp().getRequest()
22-
const userSession = httpContext.user as Auth0IdToken
17+
// Otherwise assume it's a CLI execution context
18+
const httpContext = ctx.switchToHttp().getRequest()
19+
const userSession = httpContext.user as Auth0IdToken
2320

24-
return User.fromSession(userSession)
25-
})
21+
return User.fromSession(userSession)
22+
},
23+
)

libs/shared/infra/gqlgen/src/gql/graphql.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable */
2-
import { DocumentTypeDecoration } from '@graphql-typed-document-node/core'
2+
import type { DocumentTypeDecoration } from '@graphql-typed-document-node/core'
33
export type Maybe<T> = T | null
44
export type InputMaybe<T> = Maybe<T>
55
export type Exact<T extends { [key: string]: unknown }> = {

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,15 @@
8989
"@mailchimp/mailchimp_marketing": "3.0.80",
9090
"@neo4j/graphql": "6.3.0",
9191
"@nestjs/apollo": "13.0.2",
92-
"@nestjs/common": "10.4.15",
93-
"@nestjs/config": "3.3.0",
94-
"@nestjs/core": "10.4.15",
95-
"@nestjs/cqrs": "10.2.8",
96-
"@nestjs/event-emitter": "2.1.1",
92+
"@nestjs/common": "11.0.6",
93+
"@nestjs/config": "4.0.0",
94+
"@nestjs/core": "11.0.6",
95+
"@nestjs/cqrs": "11.0.0",
96+
"@nestjs/event-emitter": "3.0.0",
9797
"@nestjs/graphql": "13.0.2",
98-
"@nestjs/passport": "10.0.3",
99-
"@nestjs/platform-express": "10.4.15",
100-
"@nestjs/swagger": "8.1.0",
98+
"@nestjs/passport": "11.0.5",
99+
"@nestjs/platform-express": "11.0.6",
100+
"@nestjs/swagger": "11.0.3",
101101
"@next/bundle-analyzer": "14.2.8",
102102
"@opentelemetry/api": "1.9.0",
103103
"@pinojs/json-colorizer": "4.0.0",
@@ -143,7 +143,7 @@
143143
"@sinclair/typebox": "0.34.13",
144144
"@sotaproject/strikethrough": "1.0.1",
145145
"@supabase/supabase-js": "2.1.1",
146-
"@swc/helpers": "0.5.13",
146+
"@swc/helpers": "0.5.15",
147147
"@twind/core": "1.1.3",
148148
"@twind/preset-tailwind": "1.1.4",
149149
"@twind/with-next": "1.2.2",
@@ -287,10 +287,10 @@
287287
"@graphql-hive/cli": "0.34.0",
288288
"@jest/globals": "29.7.0",
289289
"@ls-lint/ls-lint": "2.0.0",
290-
"@nestjs/cli": "10.4.9",
290+
"@nestjs/cli": "11.0.2",
291291
"@nestjs/devtools-integration": "0.1.6",
292-
"@nestjs/schematics": "10.2.3",
293-
"@nestjs/testing": "10.4.15",
292+
"@nestjs/schematics": "11.0.0",
293+
"@nestjs/testing": "11.0.6",
294294
"@next/eslint-plugin-next": "14.2.3",
295295
"@nx/devkit": "20.4.0",
296296
"@nx/eslint": "20.4.0",
@@ -328,10 +328,10 @@
328328
"@stylistic/eslint-plugin-ts": "1.6.3",
329329
"@svgr/webpack": "8.0.1",
330330
"@swc-node/register": "1.10.9",
331-
"@swc/cli": "0.4.0",
332-
"@swc/core": "1.7.26",
333-
"@swc/jest": "0.2.36",
334-
"@swc/plugin-styled-components": "3.0.1",
331+
"@swc/cli": "0.6.0",
332+
"@swc/core": "1.10.11",
333+
"@swc/jest": "0.2.37",
334+
"@swc/plugin-styled-components": "6.5.0",
335335
"@testing-library/dom": "10.4.0",
336336
"@testing-library/jest-dom": "6.6.3",
337337
"@testing-library/react": "16.2.0",

0 commit comments

Comments
 (0)