Skip to content

Commit

Permalink
chore(deps): use tsx instead of ts-node (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
zfy0701 committed May 11, 2024
1 parent 69d4fcf commit 1d2638e
Show file tree
Hide file tree
Showing 7 changed files with 596 additions and 27 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"prettier-plugin-sh": "^0.14.0",
"semantic-release": "^23.1.1",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
"tsx": "^4.10.0",
"typedoc": "^0.25.13",
"typescript": "^5.4.5"
},
Expand Down

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions packages/aptos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
"!{dist,src}/*/tests"
],
"scripts": {
"_gen": "pnpm gen:test && node --loader ts-node/esm src/codegen/run.ts -t src/builtin -a src/abis",
"_gen": "pnpm gen:test && tsx src/codegen/run.ts -t src/builtin -a src/abis",
"build": "pnpm gen && tsc && pnpm build:cjs",
"build:all": "pnpm --filter=$(node -p \"require('./package.json').name\")... build",
"build:cjs": "tsc --project tsconfig.cjs.json && cp ../../package.cjs.json ./dist/cjs/package.json",
"gen": "pnpm _gen 0x1 && pnpm _gen 0x3 && pnpm _gen 0x4",
"gen:test": "node --loader ts-node/esm src/codegen/run.ts -t src/tests/types src/tests/abis",
"gen-with-address": "node --loader ts-node/esm src/codegen/run.ts -t ./src/tests/types 0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af",
"gen:test": "tsx src/codegen/run.ts -t src/tests/types src/tests/abis",
"gen-with-address": "tsx src/codegen/run.ts -t ./src/tests/types 0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af",
"test": "NODE_OPTIONS=--experimental-vm-modules pnpm jest"
},
"types": "./dist/cjs/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions packages/sui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
"!{dist,src}/*/tests"
],
"scripts": {
"_gen": "pnpm gen:test && node --loader ts-node/esm src/codegen/run.ts -t src/builtin -a src/abis",
"_gen": "pnpm gen:test && tsx src/codegen/run.ts -t src/builtin -a src/abis",
"build": "pnpm gen && tsc && pnpm build:cjs",
"build:all": "pnpm --filter=$(node -p \"require('./package.json').name\")... build",
"build:cjs": "tsc --project tsconfig.cjs.json && cp ../../package.cjs.json ./dist/cjs/package.json",
"gen": "pnpm _gen 0x1 && pnpm _gen 0x2 && pnpm _gen 0x3",
"gen:test": "node --loader ts-node/esm src/codegen/run.ts -t src/tests/types/testnet -n testnet src/tests/abis/testnet",
"gen:test": "tsx src/codegen/run.ts -t src/tests/types/testnet -n testnet src/tests/abis/testnet",
"test": "NODE_OPTIONS=--experimental-vm-modules pnpm jest"
},
"types": "./dist/cjs/index.d.ts",
Expand Down
Loading

0 comments on commit 1d2638e

Please sign in to comment.