chore: update package dependencies and adjust GraphQL upload imports
- Updated various package dependencies in package-lock.json and package.json for improved stability and performance. - Changed import paths for graphql-upload to use .mjs extensions, ensuring compatibility with ES modules. - Added @types/graphql-upload to package.json for better TypeScript support. - Adjusted Jest configuration for improved readability and maintainability.
This commit is contained in:
@@ -4,7 +4,8 @@ import { AppModule } from './app.module'
|
||||
import { Logger } from '@nestjs/common'
|
||||
import { NestFactory } from '@nestjs/core'
|
||||
import { clerkMiddleware } from '@clerk/express'
|
||||
import graphqlUploadExpress from 'graphql-upload/graphqlUploadExpress.js'
|
||||
// @ts-expect-error
|
||||
import graphqlUploadExpress from 'graphql-upload/graphqlUploadExpress.mjs'
|
||||
import path from 'node:path'
|
||||
import { readFileSync } from 'node:fs'
|
||||
import { json } from 'express'
|
||||
|
||||
Reference in New Issue
Block a user