From 7b51f255717809a1b2718f8cc05d6129df7ee583 Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Sat, 26 Sep 2026 07:32:41 +1000 Subject: [PATCH 1/2] fix(codemods): update codemods build script --- .../framework/react/guides/migrating-to-v5.md | 4 +- integrations/react-webpack-4/package.json | 3 +- package.json | 2 +- packages/preact-query/package.json | 3 +- packages/query-codemods/package.json | 3 - packages/react-query/package.json | 3 +- pnpm-lock.yaml | 199 ++---------------- pnpm-workspace.yaml | 1 + 8 files changed, 21 insertions(+), 197 deletions(-) diff --git a/docs/framework/react/guides/migrating-to-v5.md b/docs/framework/react/guides/migrating-to-v5.md index f46d4b6a12d..c7162614b6f 100644 --- a/docs/framework/react/guides/migrating-to-v5.md +++ b/docs/framework/react/guides/migrating-to-v5.md @@ -114,7 +114,7 @@ If you want to run it against `.js` or `.jsx` files, please use the command belo ``` npx jscodeshift@latest ./path/to/src/ \ --extensions=js,jsx \ - --transform=./node_modules/@tanstack/react-query/build/codemods/src/v5/remove-overloads/remove-overloads.cjs + --transform=./node_modules/@tanstack/react-query/build/codemods/v5/remove-overloads/remove-overloads.cjs ``` If you want to run it against `.ts` or `.tsx` files, please use the command below: @@ -123,7 +123,7 @@ If you want to run it against `.ts` or `.tsx` files, please use the command belo npx jscodeshift@latest ./path/to/src/ \ --extensions=ts,tsx \ --parser=tsx \ - --transform=./node_modules/@tanstack/react-query/build/codemods/src/v5/remove-overloads/remove-overloads.cjs + --transform=./node_modules/@tanstack/react-query/build/codemods/v5/remove-overloads/remove-overloads.cjs ``` Please note in the case of `TypeScript` you need to use `tsx` as the parser; otherwise, the codemod won't be applied properly! diff --git a/integrations/react-webpack-4/package.json b/integrations/react-webpack-4/package.json index 386775227b5..b88fa323cbe 100644 --- a/integrations/react-webpack-4/package.json +++ b/integrations/react-webpack-4/package.json @@ -2,7 +2,7 @@ "name": "react-webpack-4", "private": true, "scripts": { - "build": "cross-env NODE_OPTIONS=--openssl-legacy-provider webpack --mode production" + "build": "NODE_OPTIONS=--openssl-legacy-provider webpack --mode production" }, "dependencies": { "@tanstack/react-query": "workspace:*", @@ -15,7 +15,6 @@ "@babel/preset-env": "^7.26.0", "@babel/preset-react": "^7.25.9", "babel-loader": "^8.3.0", - "cross-env": "^10.1.0", "html-webpack-plugin": "^4.5.2", "webpack": "^4.44.2", "webpack-cli": "^4.10.0" diff --git a/package.json b/package.json index 241570aafd1..e7e72699575 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "premove": "^4.0.0", "prettier": "^3.9.9", "prettier-plugin-svelte": "^4.1.1", - "publint": "^0.3.13", + "publint": "^0.3.24", "react": "^19.2.1", "react-dom": "^19.2.1", "sherif": "^1.13.0", diff --git a/packages/preact-query/package.json b/packages/preact-query/package.json index 892862675e1..8545d0beb9f 100644 --- a/packages/preact-query/package.json +++ b/packages/preact-query/package.json @@ -30,7 +30,7 @@ "test:build": "publint --strict && attw --pack", "build": "pnpm build:tsdown && pnpm build:codemods", "build:tsdown": "tsdown --tsconfig tsconfig.prod.json", - "build:codemods": "cpy ../query-codemods/* ./build/codemods" + "build:codemods": "rm -rf ./build/codemods && mkdir ./build/codemods && cp -r ../query-codemods/src/* ./build/codemods" }, "type": "module", "types": "build/legacy/index.d.ts", @@ -68,7 +68,6 @@ "@tanstack/query-persist-client-core": "workspace:*", "@tanstack/query-test-utils": "workspace:*", "@testing-library/preact": "^3.2.4", - "cpy-cli": "^5.0.0", "eslint-config-preact": "^2.0.0", "npm-run-all2": "^9.0.3", "preact": "^10.29.8", diff --git a/packages/query-codemods/package.json b/packages/query-codemods/package.json index b7ec4493c66..19d3204fff2 100644 --- a/packages/query-codemods/package.json +++ b/packages/query-codemods/package.json @@ -21,9 +21,6 @@ "test:lib:dev": "pnpm run test:lib --watch" }, "type": "module", - "exports": { - "./package.json": "./package.json" - }, "sideEffects": false, "files": [ "src", diff --git a/packages/react-query/package.json b/packages/react-query/package.json index 16a220c07e5..83d44c579ed 100644 --- a/packages/react-query/package.json +++ b/packages/react-query/package.json @@ -30,7 +30,7 @@ "test:build": "publint --strict && attw --pack", "build": "pnpm build:tsdown && pnpm build:codemods", "build:tsdown": "tsdown --tsconfig tsconfig.prod.json", - "build:codemods": "cpy ../query-codemods/* ./build/codemods" + "build:codemods": "rm -rf ./build/codemods && mkdir ./build/codemods && cp -r ../query-codemods/src/* ./build/codemods" }, "type": "module", "types": "build/legacy/index.d.ts", @@ -72,7 +72,6 @@ "@types/react": "^19.2.7", "@types/react-dom": "^19.2.3", "@vitejs/plugin-react": "^4.3.4", - "cpy-cli": "^5.0.0", "npm-run-all2": "^9.0.3", "react": "^19.2.1", "react-dom": "^19.2.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e3d2b9f9a1a..2672ef1602b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -259,8 +259,8 @@ importers: specifier: ^4.1.1 version: 4.1.1(prettier@3.9.9)(svelte@5.57.1(@typescript-eslint/types@8.58.1)) publint: - specifier: ^0.3.13 - version: 0.3.18 + specifier: ^0.3.24 + version: 0.3.24 react: specifier: ^19.2.1 version: 19.2.4 @@ -278,7 +278,7 @@ importers: version: 0.2.17 tsdown: specifier: ^0.22.14 - version: 0.22.14(@arethetypeswrong/core@0.18.5)(@volar/typescript@2.4.28(typescript@6.0.3))(oxc-resolver@11.24.2)(publint@0.3.18)(tsx@4.21.0)(typescript@6.0.3) + version: 0.22.14(@arethetypeswrong/core@0.18.5)(@volar/typescript@2.4.28(typescript@6.0.3))(oxc-resolver@11.24.2)(publint@0.3.24)(tsx@4.21.0)(typescript@6.0.3) typescript: specifier: 6.0.3 version: 6.0.3 @@ -2490,9 +2490,6 @@ importers: babel-loader: specifier: ^8.3.0 version: 8.4.1(@babel/core@7.29.7(supports-color@10.2.2))(webpack@4.47.0) - cross-env: - specifier: ^10.1.0 - version: 10.1.0 html-webpack-plugin: specifier: ^4.5.2 version: 4.5.2(webpack@4.47.0) @@ -2765,9 +2762,6 @@ importers: '@testing-library/preact': specifier: ^3.2.4 version: 3.2.4(preact@10.29.8) - cpy-cli: - specifier: ^5.0.0 - version: 5.0.0 eslint-config-preact: specifier: ^2.0.0 version: 2.0.0(eslint@9.39.4(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2) @@ -3023,9 +3017,6 @@ importers: '@vitejs/plugin-react': specifier: ^4.3.4 version: 4.7.0(supports-color@10.2.2)(vite@6.4.1(@types/node@22.19.15)(jiti@2.7.0)(lightningcss@1.32.0)(sass@1.90.0)(terser@5.46.1)(tsx@4.21.0)(yaml@2.9.0)) - cpy-cli: - specifier: ^5.0.0 - version: 5.0.0 npm-run-all2: specifier: ^9.0.3 version: 9.0.3 @@ -4871,9 +4862,6 @@ packages: '@emnapi/wasi-threads@1.2.3': resolution: {integrity: sha512-ELEBe8PsLvvJ6QMr0zLt8ffvOHW/dc1m3CEzNMg7aJUv3bMaoDtw2TXyDAwkYBuroxxuHEwhRTLJSe5sya547g==} - '@epic-web/invariant@1.0.0': - resolution: {integrity: sha512-lrTPqgvfFQtR/eY/qkIzp98OGdNJu0m5ji3q/nJI8v3SXkRKEnWiOxMmbvcSoAIzv/cGiuvRy57k4suKQSAdwA==} - '@es-joy/jsdoccomment@0.50.2': resolution: {integrity: sha512-YAdE/IJSpwbOTiaURNCKECdAwqrJuFiZhylmesBcIRawtYKnBR2wxPhoIewMg+Yu+QuYvHfJNReWpoxGBKOChA==} engines: {node: '>=18'} @@ -6718,8 +6706,8 @@ packages: preact: ^10.4.0 || ^11.0.0-0 vite: ^6.4.1 - '@publint/pack@0.1.4': - resolution: {integrity: sha512-HDVTWq3H0uTXiU0eeSQntcVUTPP3GamzeXI41+x7uU9J65JgWQh3qWZHblR1i0npXfFtF+mxBiU2nJH8znxWnQ==} + '@publint/pack@0.1.7': + resolution: {integrity: sha512-4EDEmvxWtgsCnnVeBvtFIFZtUhPPt1+bA9JrSwU4Sa//6oKtzCSlGGXYJr44OD9aGISymbieJ4mCKHUygUDU+g==} engines: {node: '>=18'} '@quansync/fs@1.0.0': @@ -9041,10 +9029,6 @@ packages: engines: {node: '>=18.18'} hasBin: true - aggregate-error@4.0.1: - resolution: {integrity: sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==} - engines: {node: '>=12'} - ajv-draft-04@1.0.0: resolution: {integrity: sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==} peerDependencies: @@ -9261,10 +9245,6 @@ packages: resolution: {integrity: sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==} engines: {node: '>= 0.4'} - arrify@3.0.0: - resolution: {integrity: sha512-tLkvA81vQG/XqE2mjDkGQHoOINtMHtysSnemrmoGe6PydDPMRbVugqyk4A6V/WDWEfm3l+0d8anA9r8cv/5Jaw==} - engines: {node: '>=12'} - asap@2.0.6: resolution: {integrity: sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==} @@ -9809,10 +9789,6 @@ packages: resolution: {integrity: sha512-D5J+kHaVb/wKSFcyyV75uCn8fiY4sV38XJoe4CUyGQ+mOU/fMVYUdH1hJC+CJQ5uY3EnW27SbJYS4X8BiLrAFg==} engines: {node: '>= 10.0'} - clean-stack@4.2.0: - resolution: {integrity: sha512-LYv6XPxoyODi36Dp976riBtSY27VmFo+MKqEU9QCCWyTrdEPDog+RWA7xQWHi6Vbp61j5c4cdzzX1NidnwtUWg==} - engines: {node: '>=12'} - clear-module@4.1.2: resolution: {integrity: sha512-LWAxzHqdHsAZlPlEyJ2Poz6AIs384mPeqLVCru2p0BrP9G/kVGuhNyZYClLO6cXlnuJjzC8xtsJIuMjKqLXoAw==} engines: {node: '>=8'} @@ -10092,19 +10068,6 @@ packages: resolution: {integrity: sha512-tJtZBBHA6vjIAaF6EnIaq6laBBP9aq/Y3ouVJjEfoHbRBcHBAHYcMh/w8LDrk2PvIMMq8gmopa5D4V8RmbrxGw==} engines: {node: '>= 0.10'} - cp-file@10.0.0: - resolution: {integrity: sha512-vy2Vi1r2epK5WqxOLnskeKeZkdZvTKfFZQCplE3XWsP+SUJyd5XAUFC9lFgTjjXJF2GMne/UML14iEmkAaDfFg==} - engines: {node: '>=14.16'} - - cpy-cli@5.0.0: - resolution: {integrity: sha512-fb+DZYbL9KHc0BC4NYqGRrDIJZPXUmjjtqdw4XRRg8iV8dIfghUX/WiL+q4/B/KFTy3sK6jsbUhBaz0/Hxg7IQ==} - engines: {node: '>=16'} - hasBin: true - - cpy@10.1.0: - resolution: {integrity: sha512-VC2Gs20JcTyeQob6UViBLnyP0bYHkBh6EiKzot9vi2DmeGlFT9Wd7VG3NBrkNx/jYvFBeyDOMMHdHQhbtKLgHQ==} - engines: {node: '>=16'} - crc-32@1.2.2: resolution: {integrity: sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==} engines: {node: '>=0.8'} @@ -10127,11 +10090,6 @@ packages: resolution: {integrity: sha512-ixNtAJndqh173VQ4KodSdJEI6nuioBWI0V1ITNKhZZsO0pEMoDxz539T4FTTbSZ/xIOSuDnzxLVRqBVSvPNE2g==} engines: {node: '>=18.0'} - cross-env@10.1.0: - resolution: {integrity: sha512-GsYosgnACZTADcmEyJctkJIoqAhHjttw7RsFrVoJNXbsWWqaq6Ym+7kZjq6mS45O0jij6vtiReppKQEtqWy6Dw==} - engines: {node: '>=20'} - hasBin: true - cross-fetch@3.2.0: resolution: {integrity: sha512-Q+xVJLoGOeIMXZmbUK4HYk+69cQH6LudR0Vu/pRm2YlU/hDV9CiS0gKUMaWY5f2NeUH9C1nV3bsTlCo0FsTV1Q==} @@ -10437,10 +10395,6 @@ packages: diffie-hellman@5.0.3: resolution: {integrity: sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==} - dir-glob@3.0.1: - resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} - engines: {node: '>=8'} - dlv@1.1.3: resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==} @@ -11496,10 +11450,6 @@ packages: resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==} engines: {node: '>= 0.4'} - globby@13.2.2: - resolution: {integrity: sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - globby@16.2.0: resolution: {integrity: sha512-QrJia2qDf5BB/V6HYlDTs0I0lBahyjLzpGQg3KT7FnCdTonAyPy2RtY802m2k4ALx6Dp752f82WsOczEVr3l6Q==} engines: {node: '>=20'} @@ -11857,10 +11807,6 @@ packages: resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} engines: {node: '>=8'} - indent-string@5.0.0: - resolution: {integrity: sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==} - engines: {node: '>=12'} - infer-owner@1.0.4: resolution: {integrity: sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==} @@ -12421,10 +12367,6 @@ packages: resolution: {integrity: sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==} engines: {node: '>=4.0'} - junk@4.0.1: - resolution: {integrity: sha512-Qush0uP+G8ZScpGMZvHUiRfI0YBWuB3gVBYlI0v0vvOJt5FLicco+IkP0a50LqTTQhmts/m6tP5SWE+USyIvcQ==} - engines: {node: '>=12.20'} - keyv@4.5.4: resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} @@ -12868,10 +12810,6 @@ packages: resolution: {integrity: sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==} engines: {node: '>= 0.10.0'} - meow@12.1.1: - resolution: {integrity: sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==} - engines: {node: '>=16.10'} - merge-anything@5.1.7: resolution: {integrity: sha512-eRtbOb1N5iyH0tkQDAoQ4Ipsp/5qSR79Dzrz8hEPxRX10RWWR/iQXdoKmBSRCThY1Fh5EhISDtpSc93fpxUniQ==} engines: {node: '>=12.13'} @@ -13334,9 +13272,6 @@ packages: resolution: {integrity: sha512-Z4SmBUweYa09+o6pG+eASabEpP6QkQ70yHj351pQoEXIs8uHbaU2DWVmzBANKgflPa47A50PtB2+NgRpQvr7vA==} engines: {node: '>= 10'} - nested-error-stacks@2.1.1: - resolution: {integrity: sha512-9iN1ka/9zmX1ZvLV9ewJYEk9h7RyRRtqdK0woXcqohu8EWIerfPUjYJPg0ULy0UqP7cslmdGc8xKDJcojlKiaw==} - next@14.2.35: resolution: {integrity: sha512-KhYd2Hjt/O1/1aZVX3dCwGXM1QmOV4eNM2UTacK5gipDdPN/oHHK/4oVGy7X8GMfPMsUTUEmGlsy0EY1YGAkig==} engines: {node: '>=18.17.0'} @@ -13735,14 +13670,6 @@ packages: oxc-resolver@11.24.2: resolution: {integrity: sha512-FY91FiDBj7ls5MsFS9jN3tjz2o0/zsdSsymlakySaBwVJZorHhkWyICLZMKxlu1R9vYo+sd3z1jwb4J8x7bNDw==} - p-event@5.0.1: - resolution: {integrity: sha512-dd589iCQ7m1L0bmC5NLlVYfy3TbBEsMUfWx9PyAgPeIcFZ/E2yaTZ4Rz4MiBmmJShviiftHVXOqfnfzJ6kyMrQ==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - - p-filter@3.0.0: - resolution: {integrity: sha512-QtoWLjXAW++uTX67HZQz1dbTpqBfiidsB6VtQUC9iR85S120+s0T5sO6s+B5MLzFcZkrEd/DGMmCjR+f2Qpxwg==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - p-finally@1.0.0: resolution: {integrity: sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==} engines: {node: '>=4'} @@ -13779,14 +13706,6 @@ packages: resolution: {integrity: sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - p-map@5.5.0: - resolution: {integrity: sha512-VFqfGDHlx87K66yZrNdI4YGtD70IRyd+zSvgks6mzHPRNkoKy+9EKP4SFC77/vTTQYmRmti7dvqC+m5jBrBAcg==} - engines: {node: '>=12'} - - p-map@6.0.0: - resolution: {integrity: sha512-T8BatKGY+k5rU+Q/GTYgrEf2r4xRMevAN5mtXc2aPc4rS1j3s+vWTaO2Wag94neXuCAUAs8cxBL9EeB5EA6diw==} - engines: {node: '>=16'} - p-map@7.0.4: resolution: {integrity: sha512-tkAQEw8ysMzmkhgw8k+1U/iPhWNhykKnSk4Rd5zLoPJCuJaGRPo6YposrZgaxHKzDHdDWWZvE/Sk7hsL2X/CpQ==} engines: {node: '>=18'} @@ -13803,10 +13722,6 @@ packages: resolution: {integrity: sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==} engines: {node: '>=8'} - p-timeout@5.1.0: - resolution: {integrity: sha512-auFDyzzzGZZZdHz3BtET9VEz0SE/uMEAx7uWfGPucfzEwwe/xH0iVeZibQmANYE/hp9T2+UUZT5m+BKyrDp3Ew==} - engines: {node: '>=12'} - p-timeout@6.1.4: resolution: {integrity: sha512-MyIV3ZA/PmyBN/ud8vV9XzwTrNtR4jFrObymZYnZqMmW0zA8Z17vnT0rBgFE/TlohB+YCHqXMgZzb3Csp49vqg==} engines: {node: '>=14.16'} @@ -13948,10 +13863,6 @@ packages: path-to-regexp@8.4.1: resolution: {integrity: sha512-fvU78fIjZ+SBM9YwCknCvKOUKkLVqtWDVctl0s7xIqfmfb38t2TT4ZU2gHm+Z8xGwgW+QWEU3oQSAzIbo89Ggw==} - path-type@4.0.0: - resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} - engines: {node: '>=8'} - pathe@1.1.2: resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==} @@ -14277,8 +14188,8 @@ packages: public-encrypt@4.0.3: resolution: {integrity: sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==} - publint@0.3.18: - resolution: {integrity: sha512-JRJFeBTrfx4qLwEuGFPk+haJOJN97KnPuK01yj+4k/Wj5BgoOK5uNsivporiqBjk2JDaslg7qJOhGRnpltGeog==} + publint@0.3.24: + resolution: {integrity: sha512-9zS56KrKBoqi5Qt8h92uMP8TTM9AYZSgnmCo4u2priMqkOZvQnTsziZ2p5LJ2ywbYkAjoCDp2jda9u4cgFefIw==} engines: {node: '>=18'} hasBin: true @@ -15161,10 +15072,6 @@ packages: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} - slash@4.0.0: - resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==} - engines: {node: '>=12'} - slash@5.1.0: resolution: {integrity: sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==} engines: {node: '>=14.16'} @@ -19061,8 +18968,6 @@ snapshots: dependencies: tslib: 2.8.1 - '@epic-web/invariant@1.0.0': {} - '@es-joy/jsdoccomment@0.50.2': dependencies: '@types/estree': 1.0.9 @@ -20865,7 +20770,9 @@ snapshots: transitivePeerDependencies: - supports-color - '@publint/pack@0.1.4': {} + '@publint/pack@0.1.7': + dependencies: + tinyexec: 1.3.1 '@quansync/fs@1.0.0': dependencies: @@ -23523,11 +23430,6 @@ snapshots: agent-cli-detector@0.1.7: {} - aggregate-error@4.0.1: - dependencies: - clean-stack: 4.2.0 - indent-string: 5.0.0 - ajv-draft-04@1.0.0(ajv@8.13.0): optionalDependencies: ajv: 8.13.0 @@ -23785,8 +23687,6 @@ snapshots: get-intrinsic: 1.3.0 is-array-buffer: 3.0.5 - arrify@3.0.0: {} - asap@2.0.6: {} asn1.js@4.10.1: @@ -24620,10 +24520,6 @@ snapshots: dependencies: source-map: 0.6.1 - clean-stack@4.2.0: - dependencies: - escape-string-regexp: 5.0.0 - clear-module@4.1.2: dependencies: parent-module: 2.0.0 @@ -24886,28 +24782,6 @@ snapshots: object-assign: 4.1.1 vary: 1.1.2 - cp-file@10.0.0: - dependencies: - graceful-fs: 4.2.11 - nested-error-stacks: 2.1.1 - p-event: 5.0.1 - - cpy-cli@5.0.0: - dependencies: - cpy: 10.1.0 - meow: 12.1.1 - - cpy@10.1.0: - dependencies: - arrify: 3.0.0 - cp-file: 10.0.0 - globby: 13.2.2 - junk: 4.0.1 - micromatch: 4.0.8 - nested-error-stacks: 2.1.1 - p-filter: 3.0.0 - p-map: 6.0.0 - crc-32@1.2.2: {} crc32-stream@6.0.0: @@ -24939,11 +24813,6 @@ snapshots: croner@10.0.1: {} - cross-env@10.1.0: - dependencies: - '@epic-web/invariant': 1.0.0 - cross-spawn: 7.0.6 - cross-fetch@3.2.0: dependencies: node-fetch: 2.7.0 @@ -25290,10 +25159,6 @@ snapshots: miller-rabin: 4.0.1 randombytes: 2.1.0 - dir-glob@3.0.1: - dependencies: - path-type: 4.0.0 - dlv@1.1.3: {} dnssd-advertise@1.1.6: {} @@ -26705,14 +26570,6 @@ snapshots: define-properties: 1.2.1 gopd: 1.2.0 - globby@13.2.2: - dependencies: - dir-glob: 3.0.1 - fast-glob: 3.3.3 - ignore: 5.3.2 - merge2: 1.4.1 - slash: 4.0.0 - globby@16.2.0: dependencies: '@sindresorhus/merge-streams': 4.0.0 @@ -27169,8 +27026,6 @@ snapshots: indent-string@4.0.0: {} - indent-string@5.0.0: {} - infer-owner@1.0.4: {} inflight@1.0.6: @@ -27840,8 +27695,6 @@ snapshots: object.assign: 4.1.7 object.values: 1.2.1 - junk@4.0.1: {} - keyv@4.5.4: dependencies: json-buffer: 3.0.1 @@ -28405,8 +28258,6 @@ snapshots: memorystream@0.3.1: {} - meow@12.1.1: {} - merge-anything@5.1.7: dependencies: is-what: 4.1.16 @@ -29259,8 +29110,6 @@ snapshots: neotraverse@0.6.18: {} - nested-error-stacks@2.1.1: {} - next@14.2.35(@babel/core@7.29.7(supports-color@10.2.2))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.90.0): dependencies: '@next/env': 14.2.35 @@ -30063,14 +29912,6 @@ snapshots: '@oxc-resolver/binding-win32-arm64-msvc': 11.24.2 '@oxc-resolver/binding-win32-x64-msvc': 11.24.2 - p-event@5.0.1: - dependencies: - p-timeout: 5.1.0 - - p-filter@3.0.0: - dependencies: - p-map: 5.5.0 - p-finally@1.0.0: {} p-limit@2.3.0: @@ -30105,12 +29946,6 @@ snapshots: dependencies: p-limit: 4.0.0 - p-map@5.5.0: - dependencies: - aggregate-error: 4.0.1 - - p-map@6.0.0: {} - p-map@7.0.4: {} p-queue@6.6.2: @@ -30127,8 +29962,6 @@ snapshots: dependencies: p-finally: 1.0.0 - p-timeout@5.1.0: {} - p-timeout@6.1.4: {} p-try@2.2.0: {} @@ -30285,8 +30118,6 @@ snapshots: path-to-regexp@8.4.1: {} - path-type@4.0.0: {} - pathe@1.1.2: {} pathe@2.0.3: {} @@ -30561,9 +30392,9 @@ snapshots: randombytes: 2.1.0 safe-buffer: 5.2.1 - publint@0.3.18: + publint@0.3.24: dependencies: - '@publint/pack': 0.1.4 + '@publint/pack': 0.1.7 package-manager-detector: 1.8.0 picocolors: 1.1.1 sade: 1.8.1 @@ -31735,8 +31566,6 @@ snapshots: slash@3.0.0: {} - slash@4.0.0: {} - slash@5.1.0: {} slice-ansi@5.0.0: @@ -32528,7 +32357,7 @@ snapshots: minimist: 1.2.8 strip-bom: 3.0.0 - tsdown@0.22.14(@arethetypeswrong/core@0.18.5)(@volar/typescript@2.4.28(typescript@6.0.3))(oxc-resolver@11.24.2)(publint@0.3.18)(tsx@4.21.0)(typescript@6.0.3): + tsdown@0.22.14(@arethetypeswrong/core@0.18.5)(@volar/typescript@2.4.28(typescript@6.0.3))(oxc-resolver@11.24.2)(publint@0.3.24)(tsx@4.21.0)(typescript@6.0.3): dependencies: ansis: 4.3.1 cac: 7.0.0 @@ -32547,7 +32376,7 @@ snapshots: verkit: 0.3.2 optionalDependencies: '@arethetypeswrong/core': 0.18.5 - publint: 0.3.18 + publint: 0.3.24 tsx: 4.21.0 typescript: 6.0.3 transitivePeerDependencies: diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 4e37d863ded..dac89d4c2be 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -3,6 +3,7 @@ minimumReleaseAge: 1440 linkWorkspacePackages: true preferWorkspacePackages: true blockExoticSubdeps: true +shellEmulator: true trustPolicy: 'no-downgrade' trustPolicyExclude: - 'vite@6.4.1' # Socket score 94/100; popular and healthy. From ffce232f5c24b7eddfc42aa001de4891e6a7b638 Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Sat, 26 Sep 2026 07:33:42 +1000 Subject: [PATCH 2/2] Add changeset --- .changeset/flat-bears-leave.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changeset/flat-bears-leave.md diff --git a/.changeset/flat-bears-leave.md b/.changeset/flat-bears-leave.md new file mode 100644 index 00000000000..0d691fa1ca1 --- /dev/null +++ b/.changeset/flat-bears-leave.md @@ -0,0 +1,6 @@ +--- +"@tanstack/preact-query": patch +"@tanstack/react-query": patch +--- + +fix(codemods): avoid copying unnecessary files from codemods project