From 8df79487584e3ad35b37dd9ba7e8cc1cadd9d735 Mon Sep 17 00:00:00 2001 From: George Oastler Date: Mon, 15 Jul 2024 11:44:32 +0100 Subject: [PATCH] ts-node to tsx (#1291) Co-authored-by: Chris --- .vscode/launch.json | 4 ++-- packages/provider/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index f400099c6c..d11ab1806d 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -2,10 +2,10 @@ "version": "1.0.0", "configurations": [ { - "name": "TS-Node", + "name": "tsx", "type": "node", "request": "launch", - "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/ts-node", + "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/tsx", "runtimeArgs": ["--transpile-only", "--esm"], "program": "${workspaceRoot}/dev/scripts/src/cli/index.ts", "args": ["version"], diff --git a/packages/provider/package.json b/packages/provider/package.json index 3cafadad95..4116372960 100644 --- a/packages/provider/package.json +++ b/packages/provider/package.json @@ -22,7 +22,7 @@ "build:debug": "tsc --build --verbose", "build:config": "tsc --project", "test": "npx vitest run --config ./vite.test.config.ts", - "mnemonic": "ts-node ./scripts/generateMnemonic.ts", + "mnemonic": "tsx ./scripts/generateMnemonic.ts", "coverage": "npx c8 npm run test", "eslint": "npx eslint . --cache --cache-location ../../node_modules/.cache/eslint/.eslintcache --no-error-on-unmatched-pattern --ignore-path ../../.eslintignore --quiet", "eslint:fix": "npm run eslint -- --fix --quiet",