소스 검색

fix(deps): pin @jest/globals ^30.5.2 as explicit devDependency

- src/__tests__/version.test.ts imports @jest/globals directly, which is
  only a transitive dep of jest — resolvable under npm's hoisting but not
  under pnpm's strict node_modules (tsc TS2307 on pnpm installs)
- version matched to jest 30.5.2
Paul Klumpp 2 주 전
부모
커밋
bd519c84fe
2개의 변경된 파일과 2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      package-lock.json
  2. 1 0
      package.json

+ 1 - 0
package-lock.json

@@ -24,6 +24,7 @@
 				"@graphql-codegen/typescript": "^6.1.2",
 				"@graphql-codegen/typescript-graphql-request": "^7.1.0",
 				"@graphql-codegen/typescript-operations": "^6.1.10",
+				"@jest/globals": "^30.5.2",
 				"@types/jest": "^30.0.0",
 				"@types/node": "^26.6.5",
 				"@typescript-eslint/eslint-plugin": "^8.0.0",

+ 1 - 0
package.json

@@ -55,6 +55,7 @@
 		"@graphql-codegen/typescript": "^6.1.2",
 		"@graphql-codegen/typescript-graphql-request": "^7.1.0",
 		"@graphql-codegen/typescript-operations": "^6.1.10",
+		"@jest/globals": "^30.5.2",
 		"@types/jest": "^30.0.0",
 		"@types/node": "^26.6.5",
 		"@typescript-eslint/eslint-plugin": "^8.0.0",