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:
11
package.json
11
package.json
@@ -111,6 +111,7 @@
|
||||
"@swc/core": "^1.9.3",
|
||||
"@types/bcryptjs": "^2.4.6",
|
||||
"@types/express": "^4.17.17",
|
||||
"@types/graphql-upload": "^17.0.0",
|
||||
"@types/jest": "^29.5.2",
|
||||
"@types/lodash": "^4.17.13",
|
||||
"@types/luxon": "^3.4.2",
|
||||
@@ -137,13 +138,19 @@
|
||||
"@css-inline/css-inline-linux-x64-musl": "^0.14.3"
|
||||
},
|
||||
"jest": {
|
||||
"moduleFileExtensions": ["js", "json", "ts"],
|
||||
"moduleFileExtensions": [
|
||||
"js",
|
||||
"json",
|
||||
"ts"
|
||||
],
|
||||
"rootDir": "src",
|
||||
"testRegex": ".*\\.spec\\.ts$",
|
||||
"transform": {
|
||||
"^.+\\.(t|j)s$": "ts-jest"
|
||||
},
|
||||
"collectCoverageFrom": ["**/*.(t|j)s"],
|
||||
"collectCoverageFrom": [
|
||||
"**/*.(t|j)s"
|
||||
],
|
||||
"coverageDirectory": "../coverage",
|
||||
"testEnvironment": "node"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user