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",