ソースを参照

chore: migrated all package.json and tsconfig files to a single, modern standard

benduran 3 週間 前
コミット
fe92275443
100 ファイル変更747 行追加334 行削除
  1. 5 3
      apps/api-reference/package.json
  2. 13 0
      apps/api-reference/tsconfig.build.json
  3. 5 3
      apps/developer-hub/package.json
  4. 13 0
      apps/developer-hub/tsconfig.build.json
  5. 5 3
      apps/entropy-debugger/package.json
  6. 13 0
      apps/entropy-debugger/tsconfig.build.json
  7. 5 3
      apps/entropy-explorer/package.json
  8. 13 0
      apps/entropy-explorer/tsconfig.build.json
  9. 7 2
      apps/entropy-tester/package.json
  10. 10 3
      apps/entropy-tester/tsconfig.build.json
  11. 8 3
      apps/hermes/client/js/package.json
  12. 13 0
      apps/hermes/client/js/tsconfig.build.json
  13. 1 13
      apps/hermes/client/js/tsconfig.json
  14. 5 3
      apps/insights/package.json
  15. 13 0
      apps/insights/tsconfig.build.json
  16. 9 4
      apps/price_pusher/package.json
  17. 13 0
      apps/price_pusher/tsconfig.build.json
  18. 1 11
      apps/price_pusher/tsconfig.json
  19. 5 3
      apps/staking/package.json
  20. 13 0
      apps/staking/tsconfig.build.json
  21. 7 2
      contract_manager/package.json
  22. 13 0
      contract_manager/tsconfig.build.json
  23. 3 6
      contract_manager/tsconfig.json
  24. 5 3
      governance/pyth_staking_sdk/package.json
  25. 13 0
      governance/pyth_staking_sdk/tsconfig.build.json
  26. 2 1
      governance/pyth_staking_sdk/tsconfig.json
  27. 7 2
      governance/xc_admin/packages/crank_executor/package.json
  28. 13 0
      governance/xc_admin/packages/crank_executor/tsconfig.build.json
  29. 2 6
      governance/xc_admin/packages/crank_executor/tsconfig.json
  30. 7 2
      governance/xc_admin/packages/crank_pythnet_relayer/package.json
  31. 13 0
      governance/xc_admin/packages/crank_pythnet_relayer/tsconfig.build.json
  32. 2 6
      governance/xc_admin/packages/crank_pythnet_relayer/tsconfig.json
  33. 7 2
      governance/xc_admin/packages/proposer_server/package.json
  34. 13 0
      governance/xc_admin/packages/proposer_server/tsconfig.build.json
  35. 2 6
      governance/xc_admin/packages/proposer_server/tsconfig.json
  36. 7 2
      governance/xc_admin/packages/xc_admin_cli/package.json
  37. 13 0
      governance/xc_admin/packages/xc_admin_cli/tsconfig.build.json
  38. 2 6
      governance/xc_admin/packages/xc_admin_cli/tsconfig.json
  39. 7 2
      governance/xc_admin/packages/xc_admin_common/package.json
  40. 13 0
      governance/xc_admin/packages/xc_admin_common/tsconfig.build.json
  41. 3 7
      governance/xc_admin/packages/xc_admin_common/tsconfig.json
  42. 5 3
      governance/xc_admin/packages/xc_admin_frontend/package.json
  43. 1 14
      governance/xc_admin/packages/xc_admin_frontend/tsconfig.json
  44. 7 2
      lazer/contracts/solana/package.json
  45. 5 8
      lazer/contracts/solana/tsconfig.json
  46. 6 4
      lazer/contracts/sui/sdk/js/package.json
  47. 6 2
      lazer/contracts/sui/sdk/js/tsconfig.build.json
  48. 2 1
      lazer/contracts/sui/sdk/js/tsconfig.json
  49. 7 2
      lazer/sdk/js-solana/package.json
  50. 6 1
      lazer/sdk/js-solana/tsconfig.build.json
  51. 5 3
      lazer/sdk/js/package.json
  52. 6 2
      lazer/sdk/js/tsconfig.build.json
  53. 1 1
      package.json
  54. 5 3
      packages/component-library/package.json
  55. 6 2
      packages/component-library/tsconfig.build.json
  56. 7 2
      packages/known-publishers/package.json
  57. 13 0
      packages/known-publishers/tsconfig.build.json
  58. 8 3
      price_service/client/js/package.json
  59. 13 0
      price_service/client/js/tsconfig.build.json
  60. 2 14
      price_service/client/js/tsconfig.json
  61. 8 3
      price_service/sdk/js/package.json
  62. 13 0
      price_service/sdk/js/tsconfig.build.json
  63. 2 7
      price_service/sdk/js/tsconfig.json
  64. 7 2
      pythnet/message_buffer/package.json
  65. 13 0
      pythnet/message_buffer/tsconfig.build.json
  66. 4 8
      pythnet/message_buffer/tsconfig.json
  67. 7 2
      target_chains/aptos/cli/package.json
  68. 13 0
      target_chains/aptos/cli/tsconfig.build.json
  69. 2 9
      target_chains/aptos/cli/tsconfig.json
  70. 8 3
      target_chains/aptos/sdk/js/package.json
  71. 13 0
      target_chains/aptos/sdk/js/tsconfig.build.json
  72. 2 12
      target_chains/aptos/sdk/js/tsconfig.json
  73. 7 2
      target_chains/cosmwasm/deploy-scripts/package.json
  74. 13 0
      target_chains/cosmwasm/deploy-scripts/tsconfig.build.json
  75. 2 9
      target_chains/cosmwasm/deploy-scripts/tsconfig.json
  76. 7 2
      target_chains/cosmwasm/tools/package.json
  77. 13 0
      target_chains/cosmwasm/tools/tsconfig.build.json
  78. 2 19
      target_chains/cosmwasm/tools/tsconfig.json
  79. 7 2
      target_chains/ethereum/abi_generator/package.json
  80. 7 2
      target_chains/ethereum/contracts/package.json
  81. 10 2
      target_chains/ethereum/entropy_sdk/solidity/package.json
  82. 10 2
      target_chains/ethereum/pulse_sdk/solidity/package.json
  83. 8 3
      target_chains/ethereum/sdk/js/package.json
  84. 13 0
      target_chains/ethereum/sdk/js/tsconfig.build.json
  85. 2 13
      target_chains/ethereum/sdk/js/tsconfig.json
  86. 10 2
      target_chains/ethereum/sdk/solidity/package.json
  87. 10 2
      target_chains/ethereum/sdk/stylus/pyth-mock-solidity/package.json
  88. 8 3
      target_chains/fuel/sdk/js/package.json
  89. 13 0
      target_chains/fuel/sdk/js/tsconfig.build.json
  90. 2 13
      target_chains/fuel/sdk/js/tsconfig.json
  91. 8 3
      target_chains/solana/sdk/js/pyth_solana_receiver/package.json
  92. 13 0
      target_chains/solana/sdk/js/pyth_solana_receiver/tsconfig.build.json
  93. 2 7
      target_chains/solana/sdk/js/pyth_solana_receiver/tsconfig.json
  94. 8 3
      target_chains/solana/sdk/js/solana_utils/package.json
  95. 13 0
      target_chains/solana/sdk/js/solana_utils/tsconfig.build.json
  96. 2 7
      target_chains/solana/sdk/js/solana_utils/tsconfig.json
  97. 8 3
      target_chains/starknet/sdk/js/package.json
  98. 13 0
      target_chains/starknet/sdk/js/tsconfig.build.json
  99. 2 13
      target_chains/starknet/sdk/js/tsconfig.json
  100. 7 2
      target_chains/sui/cli-iota/package.json

+ 5 - 3
apps/api-reference/package.json

@@ -4,7 +4,8 @@
   "private": true,
   "type": "module",
   "engines": {
-    "node": "22"
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
   },
   "scripts": {
     "build:vercel": "next build",
@@ -64,5 +65,6 @@
     "tailwindcss": "catalog:",
     "typescript": "catalog:",
     "vercel": "catalog:"
-  }
-}
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
apps/api-reference/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 5 - 3
apps/developer-hub/package.json

@@ -4,7 +4,8 @@
   "private": true,
   "type": "module",
   "engines": {
-    "node": "22"
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
   },
   "scripts": {
     "build": "next build",
@@ -72,5 +73,6 @@
     "tailwindcss": "^4.1.6",
     "typescript": "catalog:",
     "vercel": "catalog:"
-  }
-}
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
apps/developer-hub/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 5 - 3
apps/entropy-debugger/package.json

@@ -4,7 +4,8 @@
   "private": true,
   "type": "module",
   "engines": {
-    "node": "22"
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
   },
   "scripts": {
     "build": "next build",
@@ -48,5 +49,6 @@
     "tailwindcss": "catalog:",
     "typescript": "catalog:",
     "vercel": "catalog:"
-  }
-}
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
apps/entropy-debugger/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 5 - 3
apps/entropy-explorer/package.json

@@ -4,7 +4,8 @@
   "private": true,
   "type": "module",
   "engines": {
-    "node": "22"
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
   },
   "scripts": {
     "build:vercel": "next build",
@@ -52,5 +53,6 @@
     "stylelint-config-standard-scss": "catalog:",
     "typescript": "catalog:",
     "vercel": "catalog:"
-  }
-}
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
apps/entropy-explorer/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 7 - 2
apps/entropy-tester/package.json

@@ -60,5 +60,10 @@
   },
   "keywords": [],
   "author": "",
-  "license": "Apache-2.0"
-}
+  "license": "Apache-2.0",
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 10 - 3
apps/entropy-tester/tsconfig.build.json

@@ -2,6 +2,13 @@
   "extends": "./tsconfig.json",
   "compilerOptions": {
     "outDir": "./dist",
-    "noEmit": false
-  }
-}
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 8 - 3
apps/hermes/client/js/package.json

@@ -9,7 +9,7 @@
   "main": "lib/HermesClient.js",
   "types": "lib/HermesClient.d.ts",
   "files": [
-    "lib/**/*"
+    "dist/**/*"
   ],
   "repository": {
     "type": "git",
@@ -55,5 +55,10 @@
     "@zodios/core": "^10.9.6",
     "eventsource": "^3.0.5",
     "zod": "^3.23.8"
-  }
-}
+  },
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
apps/hermes/client/js/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 1 - 13
apps/hermes/client/js/tsconfig.json

@@ -1,17 +1,5 @@
 {
-  "extends": "../../../../tsconfig.base.json",
-  "compilerOptions": {
-    "target": "esnext",
-    "module": "commonjs",
-    "declaration": true,
-    "composite": true,
-    "declarationMap": true,
-    "incremental": true,
-    "outDir": "./lib",
-    "strict": true,
-    "rootDir": "src/",
-    "esModuleInterop": true
-  },
+  "extends": "@cprussin/tsconfig/base.json",
   "include": ["src"],
   "exclude": ["node_modules"]
 }

+ 5 - 3
apps/insights/package.json

@@ -4,7 +4,8 @@
   "private": true,
   "type": "module",
   "engines": {
-    "node": "22"
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
   },
   "scripts": {
     "build:vercel": "next build",
@@ -73,5 +74,6 @@
     "stylelint-config-standard-scss": "catalog:",
     "typescript": "catalog:",
     "vercel": "catalog:"
-  }
-}
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
apps/insights/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 9 - 4
apps/price_pusher/package.json

@@ -6,7 +6,7 @@
   "main": "lib/index.js",
   "types": "lib/index.d.ts",
   "files": [
-    "lib/**/*"
+    "dist/**/*"
   ],
   "bin": {
     "pyth-price-pusher": "./lib/index.js"
@@ -20,7 +20,7 @@
     "access": "public"
   },
   "scripts": {
-    "build": "tsc",
+    "build": "ts-duality",
     "fix:format": "prettier --write \"src/**/*.ts\"",
     "fix:lint": "eslint src/ --fix --max-warnings 0",
     "test:format": "prettier --check \"src/**/*.ts\"",
@@ -89,5 +89,10 @@
     "viem": "^2.19.4",
     "yaml": "^2.1.1",
     "yargs": "^17.5.1"
-  }
-}
+  },
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
apps/price_pusher/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 1 - 11
apps/price_pusher/tsconfig.json

@@ -1,15 +1,5 @@
 {
-  "extends": "../../tsconfig.base.json",
-  "compilerOptions": {
-    "target": "esnext",
-    "module": "commonjs",
-    "declaration": true,
-    "rootDir": "src/",
-    "outDir": "./lib",
-    "strict": true,
-    "esModuleInterop": true,
-    "resolveJsonModule": true
-  },
+  "extends": "@cprussin/tsconfig/base.json",
   "include": ["src"],
   "exclude": ["node_modules", "**/__tests__/*"]
 }

+ 5 - 3
apps/staking/package.json

@@ -4,7 +4,8 @@
   "private": true,
   "type": "module",
   "engines": {
-    "node": "22"
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
   },
   "scripts": {
     "build:vercel": "next build",
@@ -73,5 +74,6 @@
     "tailwindcss-react-aria-components": "catalog:",
     "typescript": "catalog:",
     "vercel": "catalog:"
-  }
-}
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
apps/staking/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 7 - 2
contract_manager/package.json

@@ -96,5 +96,10 @@
     "eslint": "^8.0.0",
     "prettier": "catalog:",
     "typedoc": "^0.25.7"
-  }
-}
+  },
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
contract_manager/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 3 - 6
contract_manager/tsconfig.json

@@ -1,8 +1,5 @@
 {
-  "extends": "../tsconfig.base.json",
-  "compilerOptions": {
-    "rootDir": "src/",
-    "outDir": "./lib"
-  },
-  "include": ["src/**/*"],
+  "extends": "@cprussin/tsconfig/base.json",
+  "include": ["src"],
+  "exclude": ["node_modules", "**/__tests__/*"]
 }

+ 5 - 3
governance/pyth_staking_sdk/package.json

@@ -13,7 +13,8 @@
     "dist/**/*"
   ],
   "engines": {
-    "node": "20 || 22 || 24"
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
   },
   "publishConfig": {
     "access": "public"
@@ -48,5 +49,6 @@
     "@solana/web3.js": "catalog:",
     "@streamparser/json": "^0.0.22",
     "zod": "catalog:"
-  }
-}
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
governance/pyth_staking_sdk/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 2 - 1
governance/pyth_staking_sdk/tsconfig.json

@@ -1,4 +1,5 @@
 {
   "extends": "@cprussin/tsconfig/base.json",
-  "exclude": ["node_modules", "dist"]
+  "include": ["src"],
+  "exclude": ["dist", "node_modules", "**/__tests__/*"]
 }

+ 7 - 2
governance/xc_admin/packages/crank_executor/package.json

@@ -33,5 +33,10 @@
   },
   "devDependencies": {
     "typescript": "catalog:"
-  }
-}
+  },
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
governance/xc_admin/packages/crank_executor/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 2 - 6
governance/xc_admin/packages/crank_executor/tsconfig.json

@@ -1,9 +1,5 @@
 {
-  "extends": "../../../../tsconfig.base.json",
+  "extends": "@cprussin/tsconfig/base.json",
   "include": ["src"],
-  "exclude": ["node_modules", "**/__tests__/*"],
-  "compilerOptions": {
-    "rootDir": "src/",
-    "outDir": "./lib"
-  }
+  "exclude": ["dist", "node_modules", "**/__tests__/*"]
 }

+ 7 - 2
governance/xc_admin/packages/crank_pythnet_relayer/package.json

@@ -32,5 +32,10 @@
   },
   "devDependencies": {
     "typescript": "catalog:"
-  }
-}
+  },
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
governance/xc_admin/packages/crank_pythnet_relayer/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 2 - 6
governance/xc_admin/packages/crank_pythnet_relayer/tsconfig.json

@@ -1,9 +1,5 @@
 {
-  "extends": "../../../../tsconfig.base.json",
+  "extends": "@cprussin/tsconfig/base.json",
   "include": ["src"],
-  "exclude": ["node_modules", "**/__tests__/*"],
-  "compilerOptions": {
-    "rootDir": "src/",
-    "outDir": "./lib"
-  }
+  "exclude": ["dist", "node_modules", "**/__tests__/*"]
 }

+ 7 - 2
governance/xc_admin/packages/proposer_server/package.json

@@ -35,5 +35,10 @@
   "devDependencies": {
     "@types/express": "^4.17.21",
     "typescript": "catalog:"
-  }
-}
+  },
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
governance/xc_admin/packages/proposer_server/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 2 - 6
governance/xc_admin/packages/proposer_server/tsconfig.json

@@ -1,9 +1,5 @@
 {
-  "extends": "../../../../tsconfig.base.json",
+  "extends": "@cprussin/tsconfig/base.json",
   "include": ["src"],
-  "exclude": ["node_modules", "**/__tests__/*"],
-  "compilerOptions": {
-    "rootDir": "src/",
-    "outDir": "./lib"
-  }
+  "exclude": ["dist", "node_modules", "**/__tests__/*"]
 }

+ 7 - 2
governance/xc_admin/packages/xc_admin_cli/package.json

@@ -37,5 +37,10 @@
   },
   "dev-dependencies": {
     "ts-node": "catalog:"
-  }
-}
+  },
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
governance/xc_admin/packages/xc_admin_cli/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 2 - 6
governance/xc_admin/packages/xc_admin_cli/tsconfig.json

@@ -1,9 +1,5 @@
 {
-  "extends": "../../../../tsconfig.base.json",
+  "extends": "@cprussin/tsconfig/base.json",
   "include": ["src"],
-  "exclude": ["node_modules", "**/__tests__/*"],
-  "compilerOptions": {
-    "rootDir": "src/",
-    "outDir": "./lib"
-  }
+  "exclude": ["dist", "node_modules", "**/__tests__/*"]
 }

+ 7 - 2
governance/xc_admin/packages/xc_admin_common/package.json

@@ -52,5 +52,10 @@
     "jest": "^29.3.1",
     "prettier": "catalog:",
     "ts-jest": "^29.0.3"
-  }
-}
+  },
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
governance/xc_admin/packages/xc_admin_common/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 3 - 7
governance/xc_admin/packages/xc_admin_common/tsconfig.json

@@ -1,9 +1,5 @@
 {
-  "extends": "../../../../tsconfig.base.json",
-  "include": ["./src/**/*.ts", "./src/**/*.json"],
-  "exclude": ["node_modules", "**/__tests__/*"],
-  "compilerOptions": {
-    "rootDir": "src/",
-    "outDir": "./lib"
-  }
+  "extends": "@cprussin/tsconfig/base.json",
+  "include": ["src"],
+  "exclude": ["dist", "node_modules", "**/__tests__/*"]
 }

+ 5 - 3
governance/xc_admin/packages/xc_admin_frontend/package.json

@@ -3,7 +3,8 @@
   "version": "0.1.0",
   "private": true,
   "engines": {
-    "node": "22"
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
   },
   "scripts": {
     "build": "next build",
@@ -63,5 +64,6 @@
     "tailwindcss": "^3.1.8",
     "typescript": "catalog:",
     "vercel": "^37.12.1"
-  }
-}
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 1 - 14
governance/xc_admin/packages/xc_admin_frontend/tsconfig.json

@@ -1,19 +1,6 @@
 {
+  "extends": "@cprussin/tsconfig/nextjs.json",
   "compilerOptions": {
-    "target": "es2020",
-    "lib": ["dom", "dom.iterable", "esnext"],
-    "allowJs": true,
-    "strict": true,
-    "forceConsistentCasingInFileNames": true,
-    "noEmit": true,
-    "esModuleInterop": true,
-    "module": "esnext",
-    "moduleResolution": "node",
-    "resolveJsonModule": true,
-    "isolatedModules": true,
-    "jsx": "preserve",
-    "incremental": true,
-    "skipLibCheck": true,
     "paths": {
       "@images/*": ["./images/*"],
       "xc-admin-common": ["../xc_admin_common/src"]

+ 7 - 2
lazer/contracts/solana/package.json

@@ -27,5 +27,10 @@
     "ts-node": "catalog:",
     "typescript": "catalog:",
     "yargs": "^17.7.2"
-  }
-}
+  },
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 5 - 8
lazer/contracts/solana/tsconfig.json

@@ -1,11 +1,8 @@
 {
+  "extends": "@cprussin/tsconfig/base.json",
   "compilerOptions": {
-    "types": ["mocha", "chai"],
-    "typeRoots": ["./node_modules/@types"],
-    "lib": ["es2015"],
-    "module": "commonjs",
-    "target": "es6",
-    "esModuleInterop": true,
-    "resolveJsonModule": true
-  }
+    "types": ["mocha", "chai"]
+  },
+  "include": ["src"],
+  "exclude": ["dist", "node_modules", "**/__tests__/*"]
 }

+ 6 - 4
lazer/contracts/sui/sdk/js/package.json

@@ -5,10 +5,11 @@
   "license": "Apache-2.0",
   "type": "module",
   "engines": {
-    "node": "22"
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
   },
   "files": [
-    "dist"
+    "dist/**/*"
   ],
   "exports": {
     ".": {
@@ -49,5 +50,6 @@
   },
   "publishConfig": {
     "access": "public"
-  }
-}
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 6 - 2
lazer/contracts/sui/sdk/js/tsconfig.build.json

@@ -5,5 +5,9 @@
     "incremental": false,
     "declaration": true
   },
-  "exclude": ["node_modules", "dist"]
-}
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 2 - 1
lazer/contracts/sui/sdk/js/tsconfig.json

@@ -1,3 +1,4 @@
 {
-  "extends": "@cprussin/tsconfig/base.json"
+  "extends": "@cprussin/tsconfig/base.json",
+  "exclude": ["dist", "node_modules", "**/__tests__/*"]
 }

+ 7 - 2
lazer/sdk/js-solana/package.json

@@ -61,5 +61,10 @@
   "dependencies": {
     "@solana/buffer-layout": "catalog:",
     "@solana/web3.js": "catalog:"
-  }
-}
+  },
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 6 - 1
lazer/sdk/js-solana/tsconfig.build.json

@@ -7,5 +7,10 @@
     "declaration": true,
     "outDir": "./dist/types"
   },
-  "exclude": ["node_modules", "dist"]
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/",
+    "**/__tests__/*"
+  ]
 }

+ 5 - 3
lazer/sdk/js/package.json

@@ -3,7 +3,8 @@
   "version": "5.1.0",
   "description": "Pyth Lazer SDK",
   "engines": {
-    "node": ">=22"
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
   },
   "publishConfig": {
     "access": "public"
@@ -68,5 +69,6 @@
     "isomorphic-ws": "^5.0.0",
     "ts-log": "^2.2.7",
     "ws": "^8.18.0"
-  }
-}
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 6 - 2
lazer/sdk/js/tsconfig.build.json

@@ -5,5 +5,9 @@
     "incremental": false,
     "declaration": true
   },
-  "exclude": ["node_modules", "dist", "examples/"]
-}
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 1 - 1
package.json

@@ -19,4 +19,4 @@
     "prettier-plugin-solidity": "catalog:",
     "turbo": "catalog:"
   }
-}
+}

+ 5 - 3
packages/component-library/package.json

@@ -4,7 +4,8 @@
   "private": true,
   "type": "module",
   "engines": {
-    "node": "22"
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
   },
   "exports": {
     "./*": {
@@ -101,5 +102,6 @@
     "extraExports": {
       "./theme": "./dist/esm/theme.scss"
     }
-  }
-}
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 6 - 2
packages/component-library/tsconfig.build.json

@@ -6,5 +6,9 @@
     "declaration": true,
     "emitDeclarationOnly": true
   },
-  "exclude": ["node_modules", "dist", ".storybook", "**/*.stories.tsx"]
-}
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 7 - 2
packages/known-publishers/package.json

@@ -28,5 +28,10 @@
     "prettier": "catalog:",
     "react": "catalog:",
     "typescript": "catalog:"
-  }
-}
+  },
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
packages/known-publishers/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 8 - 3
price_service/client/js/package.json

@@ -10,7 +10,7 @@
   "main": "lib/index.js",
   "types": "lib/index.d.ts",
   "files": [
-    "lib/**/*"
+    "dist/**/*"
   ],
   "repository": {
     "type": "git",
@@ -57,5 +57,10 @@
     "isomorphic-ws": "^4.0.1",
     "ts-log": "^2.2.4",
     "ws": "^8.6.0"
-  }
-}
+  },
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
price_service/client/js/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 2 - 14
price_service/client/js/tsconfig.json

@@ -1,16 +1,4 @@
 {
-  "extends": "../../../tsconfig.base.json",
-  "compilerOptions": {
-    "target": "esnext",
-    "module": "commonjs",
-    "declaration": true,
-    "composite": true,
-    "declarationMap": true,
-    "incremental": true,
-    "outDir": "./lib",
-    "strict": true,
-    "rootDir": "src/"
-  },
-  "include": ["src"],
-  "exclude": ["node_modules", "**/__tests__/*"]
+  "extends": "@cprussin/tsconfig/base.json",
+  "exclude": ["dist", "node_modules"]
 }

+ 8 - 3
price_service/sdk/js/package.json

@@ -6,7 +6,7 @@
   "main": "lib/index.js",
   "types": "lib/index.d.ts",
   "files": [
-    "lib/**/*"
+    "dist/**/*"
   ],
   "repository": {
     "type": "git",
@@ -46,5 +46,10 @@
   },
   "dependencies": {
     "bn.js": "^5.2.1"
-  }
-}
+  },
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
price_service/sdk/js/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 2 - 7
price_service/sdk/js/tsconfig.json

@@ -1,9 +1,4 @@
 {
-  "extends": "../../../tsconfig.base.json",
-  "include": ["src"],
-  "exclude": ["node_modules", "**/__tests__/*"],
-  "compilerOptions": {
-    "rootDir": "src/",
-    "outDir": "./lib"
-  }
+  "extends": "@cprussin/tsconfig/base.json",
+  "exclude": ["dist", "node_modules"]
 }

+ 7 - 2
pythnet/message_buffer/package.json

@@ -22,5 +22,10 @@
     "prettier": "catalog:",
     "ts-mocha": "^10.0.0",
     "typescript": "^4.3.5"
-  }
-}
+  },
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
pythnet/message_buffer/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 4 - 8
pythnet/message_buffer/tsconfig.json

@@ -1,11 +1,7 @@
 {
+  "extends": "@cprussin/tsconfig/base.json",
   "compilerOptions": {
-    "types": ["mocha", "chai"],
-    "typeRoots": ["./node_modules/@types"],
-    "lib": ["es2015"],
-    "module": "commonjs",
-    "target": "es6",
-    "esModuleInterop": true,
-    "resolveJsonModule": true
-  }
+    "types": ["chai", "mocha"]
+  },
+  "exclude": ["dist", "node_modules"]
 }

+ 7 - 2
target_chains/aptos/cli/package.json

@@ -28,5 +28,10 @@
     "ethers": "^5.7.1",
     "js-sha3": "^0.8.0",
     "yargs": "^17.5.1"
-  }
-}
+  },
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
target_chains/aptos/cli/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 2 - 9
target_chains/aptos/cli/tsconfig.json

@@ -1,11 +1,4 @@
 {
-  "extends": "../../../tsconfig.base.json",
-  "include": ["src"],
-  "exclude": ["node_modules", "**/__tests__/*"],
-  "compilerOptions": {
-    "rootDir": "src/",
-    "outDir": "./lib",
-    "moduleResolution": "nodenext",
-    "module": "nodenext"
-  }
+  "extends": "@cprussin/tsconfig/base.json",
+  "exclude": ["dist", "node_modules"]
 }

+ 8 - 3
target_chains/aptos/sdk/js/package.json

@@ -9,7 +9,7 @@
   "main": "lib/index.js",
   "types": "lib/index.d.ts",
   "files": [
-    "lib/**/*"
+    "dist/**/*"
   ],
   "repository": {
     "type": "git",
@@ -56,5 +56,10 @@
     "@pythnetwork/price-service-client": "workspace:*",
     "aptos": "^1.3.14",
     "buffer": "^6.0.3"
-  }
-}
+  },
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
target_chains/aptos/sdk/js/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 2 - 12
target_chains/aptos/sdk/js/tsconfig.json

@@ -1,14 +1,4 @@
 {
-  "extends": "../../../../tsconfig.base.json",
-  "compilerOptions": {
-    "target": "esnext",
-    "module": "commonjs",
-    "declaration": true,
-    "outDir": "./lib",
-    "rootDir": "src/",
-    "strict": true,
-    "esModuleInterop": true
-  },
-  "include": ["src"],
-  "exclude": ["node_modules", "**/__tests__/*"]
+  "extends": "@cprussin/tsconfig/base.json",
+  "exclude": ["dist", "node_modules"]
 }

+ 7 - 2
target_chains/cosmwasm/deploy-scripts/package.json

@@ -30,5 +30,10 @@
     "@types/yargs": "^17.0.18",
     "prettier": "catalog:",
     "ts-node": "catalog:"
-  }
-}
+  },
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
target_chains/cosmwasm/deploy-scripts/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 2 - 9
target_chains/cosmwasm/deploy-scripts/tsconfig.json

@@ -1,11 +1,4 @@
 {
-  "extends": "../../../tsconfig.base.json",
-  "include": ["src"],
-  "exclude": ["node_modules", "**/__tests__/*"],
-  "compilerOptions": {
-    "rootDir": "src/",
-    "outDir": "./lib",
-    "moduleResolution": "nodenext",
-    "module": "nodenext"
-  }
+  "extends": "@cprussin/tsconfig/base.json",
+  "exclude": ["dist", "node_modules"]
 }

+ 7 - 2
target_chains/cosmwasm/tools/package.json

@@ -43,5 +43,10 @@
     "eslint-config-prettier": "^8.5.0",
     "ts-node": "catalog:",
     "typescript": "catalog:"
-  }
-}
+  },
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
target_chains/cosmwasm/tools/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 2 - 19
target_chains/cosmwasm/tools/tsconfig.json

@@ -1,21 +1,4 @@
 {
-  "extends": "../../../tsconfig.base.json",
-  "compilerOptions": {
-    "declaration": true,
-    "composite": true,
-    "declarationMap": true,
-    "incremental": true,
-    "target": "es2020",
-    "module": "CommonJS",
-    "moduleResolution": "node",
-    "outDir": "lib",
-    "esModuleInterop": true,
-    "forceConsistentCasingInFileNames": true,
-    "strict": true,
-    "noErrorTruncation": true,
-    "sourceMap": true,
-    "lib": ["es2021"],
-    "rootDir": "src/"
-  },
-  "include": ["src/**/*.ts"]
+  "extends": "@cprussin/tsconfig/base.json",
+  "exclude": ["dist", "node_modules"]
 }

+ 7 - 2
target_chains/ethereum/abi_generator/package.json

@@ -25,5 +25,10 @@
   "devDependencies": {
     "prettier": "catalog:",
     "solc": "^0.8.15"
-  }
-}
+  },
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 7 - 2
target_chains/ethereum/contracts/package.json

@@ -55,5 +55,10 @@
     "web3-utils": "^1.2.2",
     "zksync-ethers": "^6.11.2",
     "zksync-web3": "^0.13.4"
-  }
-}
+  },
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 10 - 2
target_chains/ethereum/entropy_sdk/solidity/package.json

@@ -32,5 +32,13 @@
     "abi_generator": "workspace:*",
     "prettier": "catalog:",
     "prettier-plugin-solidity": "catalog:"
-  }
-}
+  },
+  "files": [
+    "dist/**/*"
+  ],
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 10 - 2
target_chains/ethereum/pulse_sdk/solidity/package.json

@@ -36,5 +36,13 @@
   },
   "dependencies": {
     "@pythnetwork/pyth-sdk-solidity": "workspace:*"
-  }
-}
+  },
+  "files": [
+    "dist/**/*"
+  ],
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 8 - 3
target_chains/ethereum/sdk/js/package.json

@@ -9,7 +9,7 @@
   "main": "lib/index.js",
   "types": "lib/index.d.ts",
   "files": [
-    "lib/**/*"
+    "dist/**/*"
   ],
   "repository": {
     "type": "git",
@@ -52,5 +52,10 @@
   "dependencies": {
     "@pythnetwork/hermes-client": "workspace:*",
     "viem": "catalog:"
-  }
-}
+  },
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
target_chains/ethereum/sdk/js/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 2 - 13
target_chains/ethereum/sdk/js/tsconfig.json

@@ -1,15 +1,4 @@
 {
-  "extends": "../../../../tsconfig.base.json",
-  "compilerOptions": {
-    "target": "esnext",
-    "module": "commonjs",
-    "declaration": true,
-    "rootDir": "src/",
-    "outDir": "./lib",
-    "strict": true,
-    "esModuleInterop": true,
-    "resolveJsonModule": true
-  },
-  "include": ["src"],
-  "exclude": ["node_modules", "**/__tests__/*"]
+  "extends": "@cprussin/tsconfig/base.json",
+  "exclude": ["dist", "node_modules"]
 }

+ 10 - 2
target_chains/ethereum/sdk/solidity/package.json

@@ -31,5 +31,13 @@
     "prettier": "catalog:",
     "prettier-plugin-solidity": "catalog:",
     "solc": "^0.8.25"
-  }
-}
+  },
+  "files": [
+    "dist/**/*"
+  ],
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 10 - 2
target_chains/ethereum/sdk/stylus/pyth-mock-solidity/package.json

@@ -20,5 +20,13 @@
   "devDependencies": {
     "prettier": "catalog:",
     "prettier-plugin-solidity": "catalog:"
-  }
-}
+  },
+  "files": [
+    "dist/**/*"
+  ],
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 8 - 3
target_chains/fuel/sdk/js/package.json

@@ -9,7 +9,7 @@
   "main": "lib/index.js",
   "types": "lib/index.d.ts",
   "files": [
-    "lib/**/*"
+    "dist/**/*"
   ],
   "repository": {
     "type": "git",
@@ -49,5 +49,10 @@
   },
   "dependencies": {
     "fuels": "^0.96.1"
-  }
-}
+  },
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
target_chains/fuel/sdk/js/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 2 - 13
target_chains/fuel/sdk/js/tsconfig.json

@@ -1,15 +1,4 @@
 {
-  "extends": "../../../../tsconfig.base.json",
-  "compilerOptions": {
-    "target": "esnext",
-    "module": "commonjs",
-    "declaration": true,
-    "outDir": "./lib",
-    "rootDir": "src/",
-    "strict": true,
-    "esModuleInterop": true,
-    "resolveJsonModule": true
-  },
-  "include": ["src", "src/**/*.json"],
-  "exclude": ["node_modules", "**/__tests__/*"]
+  "extends": "@cprussin/tsconfig/base.json",
+  "exclude": ["dist", "node_modules"]
 }

+ 8 - 3
target_chains/solana/sdk/js/pyth_solana_receiver/package.json

@@ -6,7 +6,7 @@
   "main": "lib/index.js",
   "types": "lib/index.d.ts",
   "files": [
-    "lib/**/*"
+    "dist/**/*"
   ],
   "repository": {
     "type": "git",
@@ -51,5 +51,10 @@
     "@pythnetwork/price-service-sdk": "workspace:*",
     "@pythnetwork/solana-utils": "workspace:*",
     "@solana/web3.js": "^1.90.0"
-  }
-}
+  },
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
target_chains/solana/sdk/js/pyth_solana_receiver/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 2 - 7
target_chains/solana/sdk/js/pyth_solana_receiver/tsconfig.json

@@ -1,9 +1,4 @@
 {
-  "extends": "../../../../../tsconfig.base.json",
-  "include": ["src/**/*.ts", "src/**/*.json"],
-  "exclude": ["node_modules", "**/__tests__/*"],
-  "compilerOptions": {
-    "rootDir": "src/",
-    "outDir": "./lib"
-  }
+  "extends": "@cprussin/tsconfig/base.json",
+  "exclude": ["dist", "node_modules"]
 }

+ 8 - 3
target_chains/solana/sdk/js/solana_utils/package.json

@@ -6,7 +6,7 @@
   "main": "lib/index.js",
   "types": "lib/index.d.ts",
   "files": [
-    "lib/**/*"
+    "dist/**/*"
   ],
   "repository": {
     "type": "git",
@@ -51,5 +51,10 @@
     "bs58": "^5.0.0",
     "jito-ts": "^3.0.1",
     "ts-log": "^2.2.7"
-  }
-}
+  },
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
target_chains/solana/sdk/js/solana_utils/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 2 - 7
target_chains/solana/sdk/js/solana_utils/tsconfig.json

@@ -1,9 +1,4 @@
 {
-  "extends": "../../../../../tsconfig.base.json",
-  "include": ["src/**/*.ts", "src/**/*.json"],
-  "exclude": ["node_modules", "**/__tests__/*"],
-  "compilerOptions": {
-    "rootDir": "src/",
-    "outDir": "./lib"
-  }
+  "extends": "@cprussin/tsconfig/base.json",
+  "exclude": ["dist", "node_modules"]
 }

+ 8 - 3
target_chains/starknet/sdk/js/package.json

@@ -9,7 +9,7 @@
   "main": "lib/index.js",
   "types": "lib/index.d.ts",
   "files": [
-    "lib/**/*"
+    "dist/**/*"
   ],
   "repository": {
     "type": "git",
@@ -45,5 +45,10 @@
     "ts-jest": "^29.0.5",
     "ts-node": "catalog:",
     "typescript": "catalog:"
-  }
-}
+  },
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

+ 13 - 0
target_chains/starknet/sdk/js/tsconfig.build.json

@@ -0,0 +1,13 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "noEmit": false,
+    "incremental": false,
+    "declaration": true
+  },
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/"
+  ]
+}

+ 2 - 13
target_chains/starknet/sdk/js/tsconfig.json

@@ -1,15 +1,4 @@
 {
-  "extends": "../../../../tsconfig.base.json",
-  "compilerOptions": {
-    "target": "esnext",
-    "module": "commonjs",
-    "declaration": true,
-    "outDir": "./lib",
-    "rootDir": "src/",
-    "strict": true,
-    "esModuleInterop": true,
-    "resolveJsonModule": true
-  },
-  "include": ["src", "src/**/*.json"],
-  "exclude": ["node_modules", "**/__tests__/*"]
+  "extends": "@cprussin/tsconfig/base.json",
+  "exclude": ["dist", "node_modules"]
 }

+ 7 - 2
target_chains/sui/cli-iota/package.json

@@ -25,5 +25,10 @@
   },
   "devDependencies": {
     "@types/yargs": "^17.0.32"
-  }
-}
+  },
+  "engines": {
+    "node": ">=22.16.0",
+    "pnpm": ">=10.19.0"
+  },
+  "packageManager": "pnpm@10.19.0"
+}

この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません