diff --git a/code/package.json b/code/package.json index 77bf4bf5d2e2..e0042afeeeaf 100644 --- a/code/package.json +++ b/code/package.json @@ -220,7 +220,6 @@ "svelte": "^5.0.0-next.65", "trash": "^7.2.0", "ts-dedent": "^2.0.0", - "ts-node": "^10.9.1", "typescript": "^5.4.3", "util": "^0.12.4", "vite": "^4.0.0", diff --git a/code/tsconfig.json b/code/tsconfig.json index d26e5efa6de8..800b83594d3a 100644 --- a/code/tsconfig.json +++ b/code/tsconfig.json @@ -19,12 +19,5 @@ "noUnusedLocals": true, "strict": true }, - "exclude": ["dist", "**/dist", "node_modules", "**/node_modules"], - "ts-node": { - "transpileOnly": true, - "files": true, - "compilerOptions": { - "types": ["node"] - } - } + "exclude": ["dist", "**/dist", "node_modules", "**/node_modules"] } diff --git a/code/yarn.lock b/code/yarn.lock index a21d86ed3c0b..f93c8d556c37 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -6864,7 +6864,6 @@ __metadata: svelte: "npm:^5.0.0-next.65" trash: "npm:^7.2.0" ts-dedent: "npm:^2.0.0" - ts-node: "npm:^10.9.1" typescript: "npm:^5.4.3" util: "npm:^0.12.4" vite: "npm:^4.0.0" @@ -27627,44 +27626,6 @@ __metadata: languageName: node linkType: hard -"ts-node@npm:^10.9.1": - version: 10.9.2 - resolution: "ts-node@npm:10.9.2" - dependencies: - "@cspotcode/source-map-support": "npm:^0.8.0" - "@tsconfig/node10": "npm:^1.0.7" - "@tsconfig/node12": "npm:^1.0.7" - "@tsconfig/node14": "npm:^1.0.0" - "@tsconfig/node16": "npm:^1.0.2" - acorn: "npm:^8.4.1" - acorn-walk: "npm:^8.1.1" - arg: "npm:^4.1.0" - create-require: "npm:^1.1.0" - diff: "npm:^4.0.1" - make-error: "npm:^1.1.1" - v8-compile-cache-lib: "npm:^3.0.1" - yn: "npm:3.1.1" - 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 - bin: - ts-node: dist/bin.js - ts-node-cwd: dist/bin-cwd.js - ts-node-esm: dist/bin-esm.js - ts-node-script: dist/bin-script.js - ts-node-transpile-only: dist/bin-transpile.js - ts-script: dist/bin-script-deprecated.js - checksum: 10c0/5f29938489f96982a25ba650b64218e83a3357d76f7bede80195c65ab44ad279c8357264639b7abdd5d7e75fc269a83daa0e9c62fd8637a3def67254ecc9ddc2 - languageName: node - linkType: hard - "ts-pnp@npm:^1.1.6": version: 1.2.0 resolution: "ts-pnp@npm:1.2.0" diff --git a/scripts/prepare/addon-bundle.ts b/scripts/prepare/addon-bundle.ts index d4163609d5bf..af4861aa73ae 100755 --- a/scripts/prepare/addon-bundle.ts +++ b/scripts/prepare/addon-bundle.ts @@ -1,5 +1,3 @@ -#!/usr/bin/env ../../node_modules/.bin/ts-node - import * as fs from 'fs-extra'; import path, { dirname, join, relative } from 'path'; import type { Options } from 'tsup';