Forráskód Böngészése

chore: removed references to tshy, in favor of our in-house wrapper around tsdown

benduran 1 hónapja
szülő
commit
45caeba50f
33 módosított fájl, 46 hozzáadás és 303 törlés
  1. 1 2
      .gitignore
  2. 2 5
      apps/hermes/client/js/package.json
  3. 2 5
      apps/price_pusher/package.json
  4. 2 5
      governance/pyth_staking_sdk/package.json
  5. 3 6
      lazer/contracts/sui/sdk/js/package.json
  6. 3 6
      lazer/sdk/js-solana/package.json
  7. 1 1
      lazer/sdk/js-solana/turbo.json
  8. 0 8
      lazer/sdk/js/.tshy/build.json
  9. 0 16
      lazer/sdk/js/.tshy/commonjs.json
  10. 0 15
      lazer/sdk/js/.tshy/esm.json
  11. 2 9
      lazer/sdk/js/package.json
  12. 1 2
      package.json
  13. 3 1
      packages/build-ts-package/src/build-ts-package.js
  14. 0 1
      packages/component-library/turbo.json
  15. 0 110
      pnpm-lock.yaml
  16. 2 5
      price_service/client/js/package.json
  17. 0 9
      price_service/sdk/js/.tshy/build.json
  18. 0 16
      price_service/sdk/js/.tshy/commonjs.json
  19. 0 15
      price_service/sdk/js/.tshy/esm.json
  20. 2 5
      price_service/sdk/js/package.json
  21. 2 5
      target_chains/aptos/sdk/js/package.json
  22. 1 4
      target_chains/ethereum/entropy_sdk/solidity/package.json
  23. 1 4
      target_chains/ethereum/pulse_sdk/solidity/package.json
  24. 2 5
      target_chains/ethereum/sdk/js/package.json
  25. 1 4
      target_chains/ethereum/sdk/solidity/package.json
  26. 1 4
      target_chains/ethereum/sdk/stylus/pyth-mock-solidity/package.json
  27. 2 5
      target_chains/fuel/sdk/js/package.json
  28. 2 5
      target_chains/solana/sdk/js/pyth_solana_receiver/package.json
  29. 2 5
      target_chains/solana/sdk/js/solana_utils/package.json
  30. 2 5
      target_chains/starknet/sdk/js/package.json
  31. 2 5
      target_chains/sui/sdk/js-iota/package.json
  32. 2 5
      target_chains/sui/sdk/js/package.json
  33. 2 5
      target_chains/ton/sdk/js/package.json

+ 1 - 2
.gitignore

@@ -25,5 +25,4 @@ __pycache__
 .turbo/
 .cursorrules
 .corepack
-justfile
-.tshy*
+justfile

+ 2 - 5
apps/hermes/client/js/package.json

@@ -32,7 +32,7 @@
     "prepublishOnly": "pnpm run build:typescript && pnpm run test:lint",
     "preversion": "pnpm run test:lint",
     "version": "pnpm run format && git add -A src",
-    "build": "tshy"
+    "build": "build-ts-package"
   },
   "keywords": [
     "pyth",
@@ -62,8 +62,5 @@
     "node": ">=22",
     "pnpm": ">=10.19.0"
   },
-  "packageManager": "pnpm@10.19.0",
-  "tshy": {
-    "project": "tsconfig.build.json"
-  }
+  "packageManager": "pnpm@10.19.0"
 }

+ 2 - 5
apps/price_pusher/package.json

@@ -21,7 +21,7 @@
     "access": "public"
   },
   "scripts": {
-    "build": "tshy",
+    "build": "build-ts-package",
     "fix:format": "prettier --write \"src/**/*.ts\"",
     "fix:lint": "eslint src/ --fix --max-warnings 0",
     "test:format": "prettier --check \"src/**/*.ts\"",
@@ -95,8 +95,5 @@
     "node": ">=22",
     "pnpm": ">=10.19.0"
   },
-  "packageManager": "pnpm@10.19.0",
-  "tshy": {
-    "project": "tsconfig.build.json"
-  }
+  "packageManager": "pnpm@10.19.0"
 }

+ 2 - 5
governance/pyth_staking_sdk/package.json

@@ -20,7 +20,7 @@
     "access": "public"
   },
   "scripts": {
-    "build": "tshy",
+    "build": "build-ts-package",
     "fix:format": "prettier --write .",
     "fix:lint": "eslint --fix . --max-warnings 0",
     "test:format": "prettier --check .",
@@ -50,8 +50,5 @@
     "@streamparser/json": "^0.0.22",
     "zod": "catalog:"
   },
-  "packageManager": "pnpm@10.19.0",
-  "tshy": {
-    "project": "tsconfig.build.json"
-  }
+  "packageManager": "pnpm@10.19.0"
 }

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

@@ -32,7 +32,7 @@
     "test:lint": "eslint . --max-warnings 0",
     "test:types": "tsc",
     "example:fetch-and-verify": "tsx examples/fetch-and-verify-update.ts",
-    "build": "tshy"
+    "build": "build-ts-package"
   },
   "dependencies": {
     "@mysten/sui": "catalog:",
@@ -51,8 +51,5 @@
   "publishConfig": {
     "access": "public"
   },
-  "packageManager": "pnpm@10.19.0",
-  "tshy": {
-    "project": "tsconfig.build.json"
-  }
-}
+  "packageManager": "pnpm@10.19.0"
+}

+ 3 - 6
lazer/sdk/js-solana/package.json

@@ -22,14 +22,14 @@
   },
   "scripts": {
     "update-idl": "cd ../../contracts/solana && RUSTUP_TOOLCHAIN=nightly-2025-04-15 anchor build && cp target/types/pyth_lazer_solana_contract.ts ../../sdk/js-solana/src/idl/pyth-lazer-solana-contract.ts && cp target/idl/pyth_lazer_solana_contract.json ../../sdk/js-solana/src/idl/pyth-lazer-solana-contract.json",
+    "build": "build-ts-package",
     "build:types": "tsc --project tsconfig.build.json",
     "fix:lint": "eslint --fix . --max-warnings 0",
     "test:lint": "eslint . --max-warnings 0",
     "test:types": "tsc",
     "test:format": "prettier --check .",
     "fix:format": "prettier --write .",
-    "build:docs": "typedoc --out docs/typedoc src",
-    "build": "tshy"
+    "build:docs": "typedoc --out docs/typedoc src"
   },
   "devDependencies": {
     "@cprussin/eslint-config": "catalog:",
@@ -65,8 +65,5 @@
     "node": ">=22",
     "pnpm": ">=10.19.0"
   },
-  "packageManager": "pnpm@10.19.0",
-  "tshy": {
-    "project": "tsconfig.build.json"
-  }
+  "packageManager": "pnpm@10.19.0"
 }

+ 1 - 1
lazer/sdk/js-solana/turbo.json

@@ -7,7 +7,7 @@
       "outputs": ["dist/types/**"]
     },
     "build": {
-      "dependsOn": ["build:types", "build:cjs", "build:esm"]
+      "dependsOn": ["build:types"]
     }
   }
 }

+ 0 - 8
lazer/sdk/js/.tshy/build.json

@@ -1,8 +0,0 @@
-{
-  "extends": "../tsconfig.build.json",
-  "compilerOptions": {
-    "rootDir": "../src",
-    "module": "nodenext",
-    "moduleResolution": "nodenext"
-  }
-}

+ 0 - 16
lazer/sdk/js/.tshy/commonjs.json

@@ -1,16 +0,0 @@
-{
-  "extends": "./build.json",
-  "include": [
-    "../src/**/*.ts",
-    "../src/**/*.cts",
-    "../src/**/*.tsx",
-    "../src/**/*.json"
-  ],
-  "exclude": [
-    "../src/**/*.mts",
-    "../src/package.json"
-  ],
-  "compilerOptions": {
-    "outDir": "../.tshy-build/commonjs"
-  }
-}

+ 0 - 15
lazer/sdk/js/.tshy/esm.json

@@ -1,15 +0,0 @@
-{
-  "extends": "./build.json",
-  "include": [
-    "../src/**/*.ts",
-    "../src/**/*.mts",
-    "../src/**/*.tsx",
-    "../src/**/*.json"
-  ],
-  "exclude": [
-    "../src/package.json"
-  ],
-  "compilerOptions": {
-    "outDir": "../.tshy-build/esm"
-  }
-}

+ 2 - 9
lazer/sdk/js/package.json

@@ -13,7 +13,7 @@
     "dist/**/*"
   ],
   "scripts": {
-    "build": "tshy",
+    "build": "build-ts-package",
     "clean": "rm -rf dist/",
     "fix:lint": "eslint --fix . --max-warnings 0",
     "test:lint": "eslint . --max-warnings 0",
@@ -59,13 +59,6 @@
     "ws": "^8.18.0"
   },
   "packageManager": "pnpm@10.19.0",
-  "tshy": {
-    "project": "tsconfig.build.json",
-    "exports": {
-      "./package.json": "./package.json",
-      ".": "./src/index.ts"
-    }
-  },
   "exports": {
     "./package.json": "./package.json",
     ".": {
@@ -82,4 +75,4 @@
   "main": "./dist/commonjs/index.js",
   "types": "./dist/commonjs/index.d.ts",
   "module": "./dist/esm/index.js"
-}
+}

+ 1 - 2
package.json

@@ -16,7 +16,6 @@
     "@cprussin/prettier-config": "catalog:",
     "prettier": "catalog:",
     "prettier-plugin-solidity": "catalog:",
-    "turbo": "^2.5.8",
-    "tshy": "^3.0.3"
+    "turbo": "^2.5.8"
   }
 }

+ 3 - 1
packages/build-ts-package/src/build-ts-package.js

@@ -116,11 +116,13 @@ export async function buildTsPackage(argv = process.argv) {
     entry: [
       "./src/**/*.ts",
       "./src/**/*.tsx",
+      // ignore all storybook entrypoints
       "!./src/**/*.stories.ts",
       "!./src/**/*.stories.tsx",
-      "!./src/**/*.stories.mdx", // if you use MDX stories
+      "!./src/**/*.stories.mdx",
     ],
     exports: all ? { all: true } : true,
+    // do not attempt to resolve or import CSS, SCSS or SVG files
     external: [/\.s?css$/, /\.svg$/],
     format,
     outDir: outDirPath,

+ 0 - 1
packages/component-library/turbo.json

@@ -7,7 +7,6 @@
         "//#install:modules",
         "^build",
         "build:declarations",
-        "build:esm",
         "build:scss",
         "build:svg"
       ]

+ 0 - 110
pnpm-lock.yaml

@@ -379,9 +379,6 @@ importers:
       prettier-plugin-solidity:
         specifier: 'catalog:'
         version: 1.4.2(prettier@3.5.3)
-      tshy:
-        specifier: ^3.0.3
-        version: 3.0.3
       turbo:
         specifier: ^2.5.8
         version: 2.5.8
@@ -13136,10 +13133,6 @@ packages:
     resolution: {integrity: sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w==}
     engines: {node: ^12.17.0 || ^14.13 || >=16.0.0}
 
-  chalk@5.6.2:
-    resolution: {integrity: sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==}
-    engines: {node: ^12.17.0 || ^14.13 || >=16.0.0}
-
   change-case@4.1.2:
     resolution: {integrity: sha512-bSxY2ws9OtviILG1EiY5K7NNxkqg/JnRnFxLtKQ96JaviiIxi7djMrSd0ECT9AC+lttClmYwKw53BWpOMblo7A==}
 
@@ -15818,11 +15811,6 @@ packages:
     resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==}
     hasBin: true
 
-  glob@11.0.3:
-    resolution: {integrity: sha512-2Nim7dha1KVkaiF4q6Dj+ngPPMdfvLJEOpZk/jKiUAkqKebpGAWQXAq9z1xu9HKu5lWfqw/FASuccEjyznjPaA==}
-    engines: {node: 20 || >=22}
-    hasBin: true
-
   glob@7.1.6:
     resolution: {integrity: sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==}
     deprecated: Glob versions prior to v9 are no longer supported
@@ -16753,10 +16741,6 @@ packages:
   jackspeak@3.4.3:
     resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==}
 
-  jackspeak@4.1.1:
-    resolution: {integrity: sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==}
-    engines: {node: 20 || >=22}
-
   jake@10.9.2:
     resolution: {integrity: sha512-2P4SQ0HrLQ+fw6llpLnOaGAvN2Zu6778SJMrCUwns4fOoG9ayrTiZk3VV8sCPkVZF8ab0zksVpS8FDY5pRCNBA==}
     engines: {node: '>=10'}
@@ -18738,10 +18722,6 @@ packages:
     resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==}
     engines: {node: '>=16 || 14 >=14.18'}
 
-  path-scurry@2.0.0:
-    resolution: {integrity: sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==}
-    engines: {node: 20 || >=22}
-
   path-to-regexp@0.1.12:
     resolution: {integrity: sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==}
 
@@ -18889,10 +18869,6 @@ packages:
     resolution: {integrity: sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==}
     engines: {node: '>=10.13.0'}
 
-  polite-json@5.0.0:
-    resolution: {integrity: sha512-OLS/0XeUAcE8a2fdwemNja+udKgXNnY6yKVIXqAD2zVRx1KvY6Ato/rZ2vdzbxqYwPW0u6SCNC/bAMPNzpzxbw==}
-    engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}
-
   pony-cause@2.1.11:
     resolution: {integrity: sha512-M7LhCsdNbNgiLYiP4WjsfLUuFmCfnjdF6jKe2R9NKl4WFN+HZPGHJZ9lnLP7f9ZnKe3U9nuWD0szirmj+migUg==}
     engines: {node: '>=12.0.0'}
@@ -19818,10 +19794,6 @@ packages:
     resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==}
     engines: {node: '>=8'}
 
-  resolve-import@2.0.0:
-    resolution: {integrity: sha512-jpKjLibLuc8D1XEV2+7zb0aqN7I8d12u89g/v6IsgCzdVlccMQJq4TKkPw5fbhHdxhm7nbVtN+KvOTnjFf+nEA==}
-    engines: {node: 20 || >=22}
-
   resolve-pkg-maps@1.0.0:
     resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==}
 
@@ -19882,11 +19854,6 @@ packages:
     resolution: {integrity: sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ==}
     hasBin: true
 
-  rimraf@6.0.1:
-    resolution: {integrity: sha512-9dkvaxAsk/xNXSJzMgFqqMCuFgt2+KsOFek3TMLfo8NCPfWpBmqwyNn5Y+NX56QUYfCtsyhF3ayiboEoUmJk/A==}
-    engines: {node: 20 || >=22}
-    hasBin: true
-
   ripemd160-min@0.0.6:
     resolution: {integrity: sha512-+GcJgQivhs6S9qvLogusiTcS9kQUfgR75whKuy5jIhuiOfQuJ8fjqxV6EGD5duH1Y/FawFUMtMhyeq3Fbnib8A==}
     engines: {node: '>=8'}
@@ -20819,11 +20786,6 @@ packages:
   symbol.inspect@1.0.1:
     resolution: {integrity: sha512-YQSL4duoHmLhsTD1Pw8RW6TZ5MaTX5rXJnqacJottr2P2LZBF/Yvrc3ku4NUpMOm8aM0KOCqM+UAkMA5HWQCzQ==}
 
-  sync-content@2.0.1:
-    resolution: {integrity: sha512-NI1mo514yFhr8pV/5Etvgh+pSBUIpoAKoiBIUwALVlQQNAwb40bTw8hhPFaip/dvv0GhpHVOq0vq8iY02ppLTg==}
-    engines: {node: 20 || >=22}
-    hasBin: true
-
   synckit@0.10.3:
     resolution: {integrity: sha512-R1urvuyiTaWfeCggqEvpDJwAlDVdsT9NM+IP//Tk2x7qHCkSvBk/fwFgw/TLAHzZlrAnnazMcRw0ZD8HlYFTEQ==}
     engines: {node: ^14.18.0 || >=16.0.0}
@@ -21248,11 +21210,6 @@ packages:
       unplugin-unused:
         optional: true
 
-  tshy@3.0.3:
-    resolution: {integrity: sha512-bUX6HQCvVdPyPLy2VZuKw95CtYD5aRSEgYEK7IPV9l9xN/z284kl5/hIwOfLY/mZOOdhrO34dFOOcL1VUMVyaw==}
-    engines: {node: 20 || >=22}
-    hasBin: true
-
   tslib@1.14.1:
     resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==}
 
@@ -21429,11 +21386,6 @@ packages:
     engines: {node: '>=14.17'}
     hasBin: true
 
-  typescript@5.9.3:
-    resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==}
-    engines: {node: '>=14.17'}
-    hasBin: true
-
   typical@4.0.0:
     resolution: {integrity: sha512-VAH4IvQ7BDFYglMd7BPRDfLgxZZX4O4TFcRDA6EN5X7erNJJq+McIEp8np9aVtxrCJ6qx4GTYVfOWNjcqwZgRw==}
     engines: {node: '>=8'}
@@ -21919,10 +21871,6 @@ packages:
       typescript:
         optional: true
 
-  walk-up-path@4.0.0:
-    resolution: {integrity: sha512-3hu+tD8YzSLGuFYtPRb48vdhKMi0KQV5sn+uWr8+7dMEq/2G/dtLrdDinkLjqq5TIbIBjYJ4Ax/n3YiaW7QM8A==}
-    engines: {node: 20 || >=22}
-
   walker@1.0.8:
     resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==}
 
@@ -39711,8 +39659,6 @@ snapshots:
 
   chalk@5.4.1: {}
 
-  chalk@5.6.2: {}
-
   change-case@4.1.2:
     dependencies:
       camel-case: 4.1.2
@@ -43456,15 +43402,6 @@ snapshots:
       package-json-from-dist: 1.0.1
       path-scurry: 1.11.1
 
-  glob@11.0.3:
-    dependencies:
-      foreground-child: 3.3.1
-      jackspeak: 4.1.1
-      minimatch: 10.0.3
-      minipass: 7.1.2
-      package-json-from-dist: 1.0.1
-      path-scurry: 2.0.0
-
   glob@7.1.6:
     dependencies:
       fs.realpath: 1.0.0
@@ -44634,10 +44571,6 @@ snapshots:
     optionalDependencies:
       '@pkgjs/parseargs': 0.11.0
 
-  jackspeak@4.1.1:
-    dependencies:
-      '@isaacs/cliui': 8.0.2
-
   jake@10.9.2:
     dependencies:
       async: 3.2.6
@@ -47862,11 +47795,6 @@ snapshots:
       lru-cache: 10.4.3
       minipass: 7.1.2
 
-  path-scurry@2.0.0:
-    dependencies:
-      lru-cache: 11.2.1
-      minipass: 7.1.2
-
   path-to-regexp@0.1.12: {}
 
   path-to-regexp@1.9.0:
@@ -48017,8 +47945,6 @@ snapshots:
 
   pngjs@5.0.0: {}
 
-  polite-json@5.0.0: {}
-
   pony-cause@2.1.11: {}
 
   popmotion@11.0.3:
@@ -49311,11 +49237,6 @@ snapshots:
 
   resolve-from@5.0.0: {}
 
-  resolve-import@2.0.0:
-    dependencies:
-      glob: 11.0.3
-      walk-up-path: 4.0.0
-
   resolve-pkg-maps@1.0.0: {}
 
   resolve-url-loader@5.0.0:
@@ -49375,11 +49296,6 @@ snapshots:
     dependencies:
       glob: 10.4.5
 
-  rimraf@6.0.1:
-    dependencies:
-      glob: 11.0.3
-      package-json-from-dist: 1.0.1
-
   ripemd160-min@0.0.6: {}
 
   ripemd160@2.0.2:
@@ -50647,14 +50563,6 @@ snapshots:
 
   symbol.inspect@1.0.1: {}
 
-  sync-content@2.0.1:
-    dependencies:
-      glob: 11.0.3
-      mkdirp: 3.0.1
-      path-scurry: 2.0.0
-      rimraf: 6.0.1
-      tshy: 3.0.3
-
   synckit@0.10.3:
     dependencies:
       '@pkgr/core': 0.2.0
@@ -51465,20 +51373,6 @@ snapshots:
       - supports-color
       - vue-tsc
 
-  tshy@3.0.3:
-    dependencies:
-      chalk: 5.6.2
-      chokidar: 4.0.3
-      foreground-child: 3.3.1
-      minimatch: 10.0.3
-      mkdirp: 3.0.1
-      polite-json: 5.0.0
-      resolve-import: 2.0.0
-      rimraf: 6.0.1
-      sync-content: 2.0.1
-      typescript: 5.9.3
-      walk-up-path: 4.0.0
-
   tslib@1.14.1: {}
 
   tslib@2.7.0: {}
@@ -51644,8 +51538,6 @@ snapshots:
 
   typescript@5.8.2: {}
 
-  typescript@5.9.3: {}
-
   typical@4.0.0: {}
 
   typical@7.3.0: {}
@@ -52232,8 +52124,6 @@ snapshots:
       - utf-8-validate
       - zod
 
-  walk-up-path@4.0.0: {}
-
   walker@1.0.8:
     dependencies:
       makeerror: 1.0.12

+ 2 - 5
price_service/client/js/package.json

@@ -23,7 +23,7 @@
   },
   "scripts": {
     "test:e2e": "jest --testPathPattern=.*.e2e.test.ts",
-    "build": "tshy",
+    "build": "build-ts-package",
     "example": "pnpm run build && node lib/examples/PriceServiceClient.js",
     "fix:format": "prettier --write \"src/**/*.ts\"",
     "fix:lint": "eslint src/ --fix --max-warnings 0",
@@ -63,8 +63,5 @@
     "node": ">=22",
     "pnpm": ">=10.19.0"
   },
-  "packageManager": "pnpm@10.19.0",
-  "tshy": {
-    "project": "tsconfig.build.json"
-  }
+  "packageManager": "pnpm@10.19.0"
 }

+ 0 - 9
price_service/sdk/js/.tshy/build.json

@@ -1,9 +0,0 @@
-{
-  "extends": "../tsconfig.build.json",
-  "compilerOptions": {
-    "target": "es2022",
-    "rootDir": "../src",
-    "module": "nodenext",
-    "moduleResolution": "nodenext"
-  }
-}

+ 0 - 16
price_service/sdk/js/.tshy/commonjs.json

@@ -1,16 +0,0 @@
-{
-  "extends": "./build.json",
-  "include": [
-    "../src/**/*.ts",
-    "../src/**/*.cts",
-    "../src/**/*.tsx",
-    "../src/**/*.json"
-  ],
-  "exclude": [
-    "../src/**/*.mts",
-    "../src/package.json"
-  ],
-  "compilerOptions": {
-    "outDir": "../.tshy-build/commonjs"
-  }
-}

+ 0 - 15
price_service/sdk/js/.tshy/esm.json

@@ -1,15 +0,0 @@
-{
-  "extends": "./build.json",
-  "include": [
-    "../src/**/*.ts",
-    "../src/**/*.mts",
-    "../src/**/*.tsx",
-    "../src/**/*.json"
-  ],
-  "exclude": [
-    "../src/package.json"
-  ],
-  "compilerOptions": {
-    "outDir": "../.tshy-build/esm"
-  }
-}

+ 2 - 5
price_service/sdk/js/package.json

@@ -18,7 +18,7 @@
     "access": "public"
   },
   "scripts": {
-    "build": "tshy",
+    "build": "build-ts-package",
     "gen-ts-schema": "quicktype --src-lang schema src/schemas/price_feed.json -o src/schemas/PriceFeed.ts --raw-type any --converters all-objects && prettier --write \"src/schemas/*.ts\"",
     "test:unit": "jest",
     "test:lint": "eslint src/ --max-warnings 0",
@@ -53,8 +53,5 @@
     "node": ">=22",
     "pnpm": ">=10.19.0"
   },
-  "packageManager": "pnpm@10.19.0",
-  "tshy": {
-    "project": "tsconfig.build.json"
-  }
+  "packageManager": "pnpm@10.19.0"
 }

+ 2 - 5
target_chains/aptos/sdk/js/package.json

@@ -21,7 +21,7 @@
     "access": "public"
   },
   "scripts": {
-    "build": "tshy",
+    "build": "build-ts-package",
     "example-relay": "pnpm run build && node lib/examples/AptosRelay.js",
     "fix:format": "prettier --write \"src/**/*.ts\"",
     "fix:lint": "eslint src/ --fix --max-warnings 0",
@@ -62,8 +62,5 @@
     "node": ">=22",
     "pnpm": ">=10.19.0"
   },
-  "packageManager": "pnpm@10.19.0",
-  "tshy": {
-    "project": "tsconfig.build.json"
-  }
+  "packageManager": "pnpm@10.19.0"
 }

+ 1 - 4
target_chains/ethereum/entropy_sdk/solidity/package.json

@@ -14,7 +14,7 @@
   "scripts": {
     "test:format": "prettier --check .",
     "fix:format": "prettier --write .",
-    "build": "tshy",
+    "build": "build-ts-package",
     "test": "git diff --exit-code abis"
   },
   "keywords": [
@@ -38,9 +38,6 @@
     "pnpm": ">=10.19.0"
   },
   "packageManager": "pnpm@10.19.0",
-  "tshy": {
-    "project": "tsconfig.build.json"
-  },
   "files": [
     "dist/**/*"
   ]

+ 1 - 4
target_chains/ethereum/pulse_sdk/solidity/package.json

@@ -14,7 +14,7 @@
   "scripts": {
     "test:format": "prettier --check .",
     "fix:format": "prettier --write .",
-    "build": "tshy",
+    "build": "build-ts-package",
     "test": "git diff --exit-code abis"
   },
   "keywords": [
@@ -42,9 +42,6 @@
     "pnpm": ">=10.19.0"
   },
   "packageManager": "pnpm@10.19.0",
-  "tshy": {
-    "project": "tsconfig.build.json"
-  },
   "files": [
     "dist/**/*"
   ]

+ 2 - 5
target_chains/ethereum/sdk/js/package.json

@@ -21,7 +21,7 @@
     "access": "public"
   },
   "scripts": {
-    "build": "tshy",
+    "build": "build-ts-package",
     "test:format": "prettier --check \"src/**/*.ts\"",
     "test:lint": "eslint src/ --max-warnings 0",
     "fix:format": "prettier --write \"src/**/*.ts\"",
@@ -58,8 +58,5 @@
     "node": ">=22",
     "pnpm": ">=10.19.0"
   },
-  "packageManager": "pnpm@10.19.0",
-  "tshy": {
-    "project": "tsconfig.build.json"
-  }
+  "packageManager": "pnpm@10.19.0"
 }

+ 1 - 4
target_chains/ethereum/sdk/solidity/package.json

@@ -14,7 +14,7 @@
     "fix:format": "prettier --write .",
     "test:format": "prettier --check .",
     "test": "git diff --exit-code abis",
-    "build": "tshy"
+    "build": "build-ts-package"
   },
   "keywords": [
     "pyth",
@@ -38,9 +38,6 @@
     "pnpm": ">=10.19.0"
   },
   "packageManager": "pnpm@10.19.0",
-  "tshy": {
-    "project": "tsconfig.build.json"
-  },
   "publishConfig": {
     "access": "public"
   },

+ 1 - 4
target_chains/ethereum/sdk/stylus/pyth-mock-solidity/package.json

@@ -10,7 +10,7 @@
   "scripts": {
     "test:format": "prettier --check .",
     "fix:format": "prettier --write .",
-    "build": "tshy"
+    "build": "build-ts-package"
   },
   "keywords": [],
   "author": "",
@@ -27,9 +27,6 @@
     "pnpm": ">=10.19.0"
   },
   "packageManager": "pnpm@10.19.0",
-  "tshy": {
-    "project": "tsconfig.build.json"
-  },
   "publishConfig": {
     "access": "public"
   },

+ 2 - 5
target_chains/fuel/sdk/js/package.json

@@ -22,7 +22,7 @@
   },
   "scripts": {
     "usage-example": "tsx src/examples/usage.ts",
-    "build": "tshy",
+    "build": "build-ts-package",
     "test:format": "prettier --check \"src/**/*.ts\"",
     "test:lint": "eslint src/ --max-warnings 0",
     "fix:format": "prettier --write \"src/**/*.ts\"",
@@ -55,8 +55,5 @@
     "node": ">=22",
     "pnpm": ">=10.19.0"
   },
-  "packageManager": "pnpm@10.19.0",
-  "tshy": {
-    "project": "tsconfig.build.json"
-  }
+  "packageManager": "pnpm@10.19.0"
 }

+ 2 - 5
target_chains/solana/sdk/js/pyth_solana_receiver/package.json

@@ -18,7 +18,7 @@
     "access": "public"
   },
   "scripts": {
-    "build": "tshy",
+    "build": "build-ts-package",
     "test:lint": "eslint src/ --max-warnings 0",
     "test:format": "prettier --check \"src/**/*.ts\"",
     "fix:lint": "eslint src/ --fix --max-warnings 0",
@@ -57,8 +57,5 @@
     "node": ">=22",
     "pnpm": ">=10.19.0"
   },
-  "packageManager": "pnpm@10.19.0",
-  "tshy": {
-    "project": "tsconfig.build.json"
-  }
+  "packageManager": "pnpm@10.19.0"
 }

+ 2 - 5
target_chains/solana/sdk/js/solana_utils/package.json

@@ -18,7 +18,7 @@
     "access": "public"
   },
   "scripts": {
-    "build": "tshy",
+    "build": "build-ts-package",
     "test:unit": "jest",
     "test:lint": "eslint src/ --max-warnings 0",
     "test:format": "prettier --check \"src/**/*.ts\"",
@@ -57,8 +57,5 @@
     "node": ">=22",
     "pnpm": ">=10.19.0"
   },
-  "packageManager": "pnpm@10.19.0",
-  "tshy": {
-    "project": "tsconfig.build.json"
-  }
+  "packageManager": "pnpm@10.19.0"
 }

+ 2 - 5
target_chains/starknet/sdk/js/package.json

@@ -21,7 +21,7 @@
     "access": "public"
   },
   "scripts": {
-    "build": "tshy",
+    "build": "build-ts-package",
     "usage-example": "tsx src/examples/usage.ts",
     "test:format": "prettier --check \"src/**/*.ts\"",
     "test:lint": "eslint src/ --max-warnings 0",
@@ -51,8 +51,5 @@
     "node": ">=22",
     "pnpm": ">=10.19.0"
   },
-  "packageManager": "pnpm@10.19.0",
-  "tshy": {
-    "project": "tsconfig.build.json"
-  }
+  "packageManager": "pnpm@10.19.0"
 }

+ 2 - 5
target_chains/sui/sdk/js-iota/package.json

@@ -21,7 +21,7 @@
     "access": "public"
   },
   "scripts": {
-    "build": "tshy",
+    "build": "build-ts-package",
     "example-relay": "pnpm run build && node lib/examples/SuiRelay.js",
     "test:lint": "eslint src/",
     "test:format": "prettier --check \"src/**/*.ts\"",
@@ -63,8 +63,5 @@
     "node": ">=22",
     "pnpm": ">=10.19.0"
   },
-  "packageManager": "pnpm@10.19.0",
-  "tshy": {
-    "project": "tsconfig.build.json"
-  }
+  "packageManager": "pnpm@10.19.0"
 }

+ 2 - 5
target_chains/sui/sdk/js/package.json

@@ -21,7 +21,7 @@
     "access": "public"
   },
   "scripts": {
-    "build": "tshy",
+    "build": "build-ts-package",
     "example-relay": "node lib/examples/SuiRelay.js",
     "test:lint": "eslint src/ --max-warnings 0",
     "test:format": "prettier --check \"src/**/*.ts\"",
@@ -63,8 +63,5 @@
     "node": ">=22",
     "pnpm": ">=10.19.0"
   },
-  "packageManager": "pnpm@10.19.0",
-  "tshy": {
-    "project": "tsconfig.build.json"
-  }
+  "packageManager": "pnpm@10.19.0"
 }

+ 2 - 5
target_chains/ton/sdk/js/package.json

@@ -21,7 +21,7 @@
     "access": "public"
   },
   "scripts": {
-    "build": "tshy",
+    "build": "build-ts-package",
     "test:lint": "eslint src/ --max-warnings 0",
     "test:format": "prettier --check \"src/**/*.ts\"",
     "fix:lint": "eslint src/ --fix --max-warnings 0",
@@ -53,8 +53,5 @@
     "node": ">=22",
     "pnpm": ">=10.19.0"
   },
-  "packageManager": "pnpm@10.19.0",
-  "tshy": {
-    "project": "tsconfig.build.json"
-  }
+  "packageManager": "pnpm@10.19.0"
 }