Skip to content

Commit 39d6967

Browse files
authored
chore(ci): use tsx instead of ts-node (#6762)
* chore(ci): use tsx instead of ts-node * style: undo accidental changes
1 parent 0be2799 commit 39d6967

File tree

4 files changed

+83
-17
lines changed

4 files changed

+83
-17
lines changed

.github/workflows/on-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
key: dist-${{ github.run_id }}
9090

9191
# - run: npm run scully
92-
- run: npx ts-node ./scripts/gh-pages-predeploy.ts
92+
- run: npx tsx ./scripts/gh-pages-predeploy.ts
9393
- run: |
9494
cd gh-pages
9595
git config user.email gh-actions-${GITHUB_ACTOR}@github.com

package-lock.json

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"scully": "scully",
4545
"scully:serve": "scully serve",
4646
"prepare": "husky install",
47-
"version": "npx ts-node ./scripts/set-version.ts",
47+
"version": "npx tsx ./scripts/set-version.ts",
4848
"release": "release-it",
4949
"dev:ssr": "ng run ngx-bootstrap-docs:serve-ssr",
5050
"serve:ssr": "node dist/ngx-bootstrap-docs/server/main.js",
@@ -133,7 +133,7 @@
133133
"prettier": "3.2.5",
134134
"release-it": "16.1.0",
135135
"ts-jest": "29.1.1",
136-
"ts-node": "10.9.1",
136+
"tsx": "4.20.3",
137137
"typescript": "5.8.2",
138138
"webpack-bundle-analyzer": "4.5.0"
139139
}

src/root/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"executor": "nx:run-commands",
9393
"outputs": [],
9494
"options": {
95-
"commands": ["ts-node ./scripts/set-version.ts"],
95+
"commands": ["tsx ./scripts/set-version.ts"],
9696
"parallel": false
9797
},
9898
"configurations": {

0 commit comments

Comments
 (0)