浏览代码

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",