Skip to content

Commit a8e342e

Browse files
committed
Drop tsx
1 parent c615b20 commit a8e342e

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2929
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
3030
with:
31-
node-version: 18
31+
node-version: 24
3232

3333
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
3434
name: Install pnpm

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dev": "vite",
88
"build": "tsc && vite build",
99
"preview": "vite preview",
10-
"vendor-esbuild": "tsx ./scripts/vendor-esbuild.ts"
10+
"vendor-esbuild": "node ./scripts/vendor-esbuild.ts"
1111
},
1212
"dependencies": {
1313
"@bjorn3/browser_wasi_shim": "^0.4.2",
@@ -45,7 +45,6 @@
4545
"globals": "^16.3.0",
4646
"tmp": "^0.2.3",
4747
"ts-morph": "^26.0.0",
48-
"tsx": "^4.20.3",
4948
"typescript": "^5.8.3",
5049
"typescript-eslint": "^8.35.1",
5150
"vite": "^7.0.0",

pnpm-lock.yaml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
"compilerOptions": {
33
"strict": true,
44
"noEmit": true,
5-
"module": "ESNext",
5+
"module": "nodenext",
66
"target": "es2018",
7-
"moduleResolution": "bundler",
7+
"erasableSyntaxOnly": true,
8+
"allowImportingTsExtensions": true,
89
"skipLibCheck": true,
910
"resolveJsonModule": true
1011
},

scripts/vendor-esbuild.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import path from "node:path";
33
import { execa } from "execa";
44
import { Node, Project, VariableDeclarationKind } from "ts-morph";
55

6-
import { ESBUILD_VERSION, repoRoot } from "./helpers";
6+
import { ESBUILD_VERSION, repoRoot } from "./helpers.ts";
77

88
const licenseUrl = `https://raw.githubusercontent.com/evanw/esbuild/v${ESBUILD_VERSION}/LICENSE.md`;
99
const licenseResponse = await fetch(licenseUrl);

0 commit comments

Comments
 (0)