Skip to content

Commit

Permalink
chore: tsx -> tnode
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBarre committed Jun 3, 2023
1 parent 44113d0 commit 8e311c0
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 289 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

permissions:
id-token: write
contents: read

jobs:
publish:
Expand All @@ -26,7 +27,7 @@ jobs:
cache-dependency-path: "**/pnpm-lock.yaml"
- run: pnpm install --frozen-lockfile --prefer-offline
- run: pnpm build
- run: pnpm tsx scripts/publish.ts ${{ github.ref_name }}
- run: pnpm tnode scripts/publish.ts ${{ github.ref_name }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: ArnaudBarre/github-release@v1
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"type": "module",
"private": true,
"scripts": {
"dev": "tsx scripts/bundle.ts --dev",
"build": "tsx scripts/bundle.ts",
"dev": "tnode scripts/bundle.ts --dev",
"build": "tnode scripts/bundle.ts",
"test": "playwright test",
"prettier": "pnpm prettier-ci --write",
"prettier-ci": "prettier --cache --ignore-path=.gitignore --check \"**/*.{js,jsx,ts,tsx,html,css,json,md,yml}\"",
"qa": "tsc && pnpm prettier-ci && pnpm build && pnpm test",
"release": "pnpm build && tsx scripts/release.ts"
"release": "pnpm build && tnode scripts/release.ts"
},
"prettier": {
"trailingComma": "all"
Expand All @@ -23,6 +23,7 @@
"vite": "^4"
},
"devDependencies": {
"@arnaud-barre/tnode": "^0.17.1",
"@playwright/test": "^1.34.3",
"@types/fs-extra": "^11.0.1",
"@types/node": "^18.16.16",
Expand All @@ -31,7 +32,6 @@
"fs-extra": "^11.1.1",
"picocolors": "^1.0.0",
"prettier": "^2.8.8",
"tsx": "^3.12.7",
"typescript": "^5.1.3",
"vite": "^4.3.9"
}
Expand Down
Loading

0 comments on commit 8e311c0

Please sign in to comment.