From e1db10c961af3750f97fa22aeb4fae2857cb9c28 Mon Sep 17 00:00:00 2001 From: Greg Pabian <35925521+grzpab@users.noreply.github.com> Date: Wed, 17 Jan 2024 12:45:12 +0100 Subject: [PATCH] chore: replace ts-node with tsx for the builder package --- builder/package.json | 6 +++--- pnpm-lock.yaml | 37 +++---------------------------------- 2 files changed, 6 insertions(+), 37 deletions(-) diff --git a/builder/package.json b/builder/package.json index d4e33f3f..d5756eea 100644 --- a/builder/package.json +++ b/builder/package.json @@ -10,11 +10,11 @@ "@codemod-registry/tsconfig": "workspace:*", "@types/node": "^20.9.2", "@types/tar": "^6.1.9", - "ts-node": "^10.9.1", + "tsx": "^4.7.0", "typescript": "^5.2.2" }, "scripts": { - "build": "ts-node --esm ./index.ts", - "build:homedir": "ts-node --esm ./index.ts --homedir" + "build": "tsx ./index.ts", + "build:homedir": "tsx --esm ./index.ts --homedir" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 92c0fa67..fb4fcb60 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -75,9 +75,9 @@ importers: '@types/tar': specifier: ^6.1.9 version: 6.1.10 - ts-node: - specifier: ^10.9.1 - version: 10.9.1(@types/node@20.9.3)(typescript@5.2.2) + tsx: + specifier: ^4.7.0 + version: 4.7.0 typescript: specifier: ^5.2.2 version: 5.2.2 @@ -10178,37 +10178,6 @@ packages: yn: 3.1.1 dev: true - /ts-node@10.9.1(@types/node@20.9.3)(typescript@5.2.2): - resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} - hasBin: true - peerDependencies: - '@swc/core': '>=1.2.50' - '@swc/wasm': '>=1.2.50' - '@types/node': '*' - typescript: '>=2.7' - peerDependenciesMeta: - '@swc/core': - optional: true - '@swc/wasm': - optional: true - dependencies: - '@cspotcode/source-map-support': 0.8.1 - '@tsconfig/node10': 1.0.9 - '@tsconfig/node12': 1.0.11 - '@tsconfig/node14': 1.0.3 - '@tsconfig/node16': 1.0.4 - '@types/node': 20.9.3 - acorn: 8.10.0 - acorn-walk: 8.3.1 - arg: 4.1.3 - create-require: 1.1.1 - diff: 4.0.2 - make-error: 1.3.6 - typescript: 5.2.2 - v8-compile-cache-lib: 3.0.1 - yn: 3.1.1 - dev: true - /tslib@2.6.0: resolution: {integrity: sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==}