Skip to content
This repository was archived by the owner on Jul 24, 2025. It is now read-only.

Commit 8e311c0

Browse files
committed
chore: tsx -> tnode
1 parent 44113d0 commit 8e311c0

File tree

4 files changed

+17
-289
lines changed

4 files changed

+17
-289
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77

88
permissions:
99
id-token: write
10+
contents: read
1011

1112
jobs:
1213
publish:
@@ -26,7 +27,7 @@ jobs:
2627
cache-dependency-path: "**/pnpm-lock.yaml"
2728
- run: pnpm install --frozen-lockfile --prefer-offline
2829
- run: pnpm build
29-
- run: pnpm tsx scripts/publish.ts ${{ github.ref_name }}
30+
- run: pnpm tnode scripts/publish.ts ${{ github.ref_name }}
3031
env:
3132
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3233
- uses: ArnaudBarre/github-release@v1

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"type": "module",
55
"private": true,
66
"scripts": {
7-
"dev": "tsx scripts/bundle.ts --dev",
8-
"build": "tsx scripts/bundle.ts",
7+
"dev": "tnode scripts/bundle.ts --dev",
8+
"build": "tnode scripts/bundle.ts",
99
"test": "playwright test",
1010
"prettier": "pnpm prettier-ci --write",
1111
"prettier-ci": "prettier --cache --ignore-path=.gitignore --check \"**/*.{js,jsx,ts,tsx,html,css,json,md,yml}\"",
1212
"qa": "tsc && pnpm prettier-ci && pnpm build && pnpm test",
13-
"release": "pnpm build && tsx scripts/release.ts"
13+
"release": "pnpm build && tnode scripts/release.ts"
1414
},
1515
"prettier": {
1616
"trailingComma": "all"
@@ -23,6 +23,7 @@
2323
"vite": "^4"
2424
},
2525
"devDependencies": {
26+
"@arnaud-barre/tnode": "^0.17.1",
2627
"@playwright/test": "^1.34.3",
2728
"@types/fs-extra": "^11.0.1",
2829
"@types/node": "^18.16.16",
@@ -31,7 +32,6 @@
3132
"fs-extra": "^11.1.1",
3233
"picocolors": "^1.0.0",
3334
"prettier": "^2.8.8",
34-
"tsx": "^3.12.7",
3535
"typescript": "^5.1.3",
3636
"vite": "^4.3.9"
3737
}

0 commit comments

Comments
 (0)