diff --git a/package.json b/package.json index b00e2ce430..e3baadd4ab 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "type": "git", "url": "git+https://github.com/TanStack/query.git" }, - "packageManager": "pnpm@10.24.0", + "packageManager": "pnpm@11.1.0", "type": "module", "scripts": { "clean": "pnpm --filter \"./packages/**\" run clean", @@ -82,26 +82,5 @@ "typescript60": "npm:typescript@6.0.1-rc", "vite": "^6.4.1", "vitest": "^4.0.18" - }, - "pnpm": { - "overrides": { - "@types/react": "^19.2.7", - "@types/react-dom": "^19.2.3", - "@types/node": "^22.15.3", - "@typescript-eslint/eslint-plugin": "8.58.1", - "@typescript-eslint/parser": "8.58.1", - "@typescript-eslint/project-service": "8.58.1", - "@typescript-eslint/rule-tester": "8.58.1", - "@typescript-eslint/scope-manager": "8.58.1", - "@typescript-eslint/tsconfig-utils": "8.58.1", - "@typescript-eslint/type-utils": "8.58.1", - "@typescript-eslint/types": "8.58.1", - "@typescript-eslint/typescript-estree": "8.58.1", - "@typescript-eslint/utils": "8.58.1", - "@typescript-eslint/visitor-keys": "8.58.1", - "typescript-eslint": "8.58.1", - "vite": "^6.4.1", - "esbuild": "^0.27.2" - } } } diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 34482c7ec4..d0663df8d6 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -14,3 +14,49 @@ packages: - 'examples/vue/*' - '!examples/vue/2*' - '!examples/vue/nuxt*' + +overrides: + '@types/react': '^19.2.7' + '@types/react-dom': '^19.2.3' + '@types/node': '^22.15.3' + '@typescript-eslint/eslint-plugin': '8.58.1' + '@typescript-eslint/parser': '8.58.1' + '@typescript-eslint/project-service': '8.58.1' + '@typescript-eslint/rule-tester': '8.58.1' + '@typescript-eslint/scope-manager': '8.58.1' + '@typescript-eslint/tsconfig-utils': '8.58.1' + '@typescript-eslint/type-utils': '8.58.1' + '@typescript-eslint/types': '8.58.1' + '@typescript-eslint/typescript-estree': '8.58.1' + '@typescript-eslint/utils': '8.58.1' + '@typescript-eslint/visitor-keys': '8.58.1' + typescript-eslint: '8.58.1' + vite: '^6.4.1' + esbuild: '^0.27.2' + +allowBuilds: + # root dependency + nx: true + unrs-resolver: false # not directly required for build + esbuild: true + + # vite + fsevents: false # optional dependency + + # msw + msw: false # used for example only + + # nx, @vitejs/plugin-react-swc, terser-webpack-plugin + '@swc/core': true + + # @angular/build + '@parcel/watcher': false # optional dep of @angular/build + lmdb: false # optional dep of @angular/build + msgpackr-extract: false # optional dep of @angular/build + + # @tanstack/vue-store + vue-demi: false # only required for vue 2 support + + # nextJs + sharp: false # not directly required for build +