Skip to content

Commit 50d8af1

Browse files
authored
chore(deps): switch to tsx (#1076)
1 parent b82089a commit 50d8af1

File tree

3 files changed

+102
-106
lines changed

3 files changed

+102
-106
lines changed

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@
5454
"scripts": {
5555
"clean": "rimraf coverage .eslintcache dist docs/.vitepress/dist pnpm-lock.yaml node_modules",
5656
"build:clean": "rimraf dist",
57-
"build:code": "esno ./scripts/bundle.ts",
57+
"build:code": "tsx ./scripts/bundle.ts",
5858
"build:types": "tsc --emitDeclarationOnly --outDir dist/types",
5959
"build": "run-s build:clean build:code build:types",
60-
"generate:api-docs": "esno ./scripts/apidoc.ts",
61-
"generate:locales": "esno ./scripts/generateLocales.ts",
62-
"copy:mime-types": "esno ./scripts/copyMimeTypes.ts",
60+
"generate:api-docs": "tsx ./scripts/apidoc.ts",
61+
"generate:locales": "tsx ./scripts/generateLocales.ts",
62+
"copy:mime-types": "tsx ./scripts/copyMimeTypes.ts",
6363
"docs:build": "run-s docs:prepare docs:build:run",
6464
"docs:build:run": "vitepress build docs",
6565
"docs:build:ci": "run-s build docs:build",
@@ -82,7 +82,7 @@
8282
},
8383
"simple-git-hooks": {
8484
"pre-commit": "npx lint-staged --concurrent false",
85-
"commit-msg": "npx esno scripts/verifyCommit.ts $1"
85+
"commit-msg": "npx tsx scripts/verifyCommit.ts $1"
8686
},
8787
"lint-staged": {
8888
"*": [
@@ -95,7 +95,7 @@
9595
"devDependencies": {
9696
"@algolia/client-search": "~4.13.1",
9797
"@types/markdown-it": "~12.2.3",
98-
"@types/node": "~17.0.40",
98+
"@types/node": "~18.0.0",
9999
"@types/prettier": "~2.6.3",
100100
"@types/react": "~18.0.13",
101101
"@types/sanitize-html": "~2.6.2",
@@ -113,9 +113,8 @@
113113
"eslint-gitignore": "~0.1.0",
114114
"eslint-plugin-jsdoc": "~39.3.2",
115115
"eslint-plugin-prettier": "~4.0.0",
116-
"esno": "~0.16.3",
117116
"glob": "~8.0.3",
118-
"lint-staged": "~13.0.1",
117+
"lint-staged": "~13.0.2",
119118
"mime-db": "~1.52.0",
120119
"npm-run-all": "~4.1.5",
121120
"picocolors": "~1.0.0",
@@ -127,6 +126,7 @@
127126
"sanitize-html": "~2.7.0",
128127
"simple-git-hooks": "~2.8.0",
129128
"standard-version": "~9.5.0",
129+
"tsx": "~3.4.3",
130130
"typedoc": "~0.22.17",
131131
"typedoc-plugin-missing-exports": "~0.22.6",
132132
"typescript": "~4.7.3",

0 commit comments

Comments
 (0)