Skip to content

Commit 1a07a8a

Browse files
authored
chore: remove tsx and use node for release scripts (#777)
1 parent 8fec8e3 commit 1a07a8a

File tree

4 files changed

+49
-65
lines changed

4 files changed

+49
-65
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
- name: Install pnpm
2020
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
2121

22-
- name: Set node version to 20
22+
- name: Set node version
2323
uses: actions/setup-node@v4
2424
with:
25-
node-version: 20
25+
node-version: 22
2626
registry-url: https://registry.npmjs.org/
2727
cache: "pnpm"
2828

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
"debug-build": "VITE_TEST_BUILD=1 VITE_PRESERVE_BUILD_ARTIFACTS=1 vitest run -c playground/vitest.config.e2e.ts",
3030
"build": "pnpm -r --filter='./packages/*' run build",
3131
"dev": "pnpm -r --parallel --filter='./packages/*' run dev",
32-
"release": "tsx scripts/release.ts",
33-
"ci-publish": "tsx scripts/publishCI.ts"
32+
"release": "node scripts/release.ts",
33+
"ci-publish": "node scripts/publishCI.ts"
3434
},
3535
"devDependencies": {
3636
"@eslint/js": "^9.33.0",
@@ -48,7 +48,6 @@
4848
"playwright-chromium": "^1.54.2",
4949
"prettier": "^3.6.2",
5050
"simple-git-hooks": "^2.13.1",
51-
"tsx": "^4.20.4",
5251
"typescript": "^5.9.2",
5352
"typescript-eslint": "^8.39.1",
5453
"vite": "^7.1.2",

pnpm-lock.yaml

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

scripts/tsconfig.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
"$schema": "https://json.schemastore.org/tsconfig",
33
"include": ["."],
44
"compilerOptions": {
5-
"module": "CommonJS",
6-
"target": "ES2020",
7-
"moduleResolution": "Node",
5+
"target": "esnext",
6+
"module": "nodenext",
7+
"allowImportingTsExtensions": true,
8+
"erasableSyntaxOnly": true,
9+
"verbatimModuleSyntax": true,
810
"noEmit": true,
911
"strict": true,
1012
"esModuleInterop": true,

0 commit comments

Comments
 (0)