Skip to content

Commit

Permalink
build: use esbuild (#887)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice authored Nov 8, 2024
1 parent d16f12d commit 4a407be
Show file tree
Hide file tree
Showing 9 changed files with 288 additions and 144 deletions.
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default tseslint.config(
},
json.configs.recommended,
{
files: ['**/tsconfig.json'],
files: ['**/tsconfig.json', '**/tsconfig.*.json'],
rules: {
'json/*': ['error', { allowComments: true }],
},
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"scripts": {
"build": "run-s clean compile",
"clean": "rimraf dist/",
"compile": "ncc build -o dist --target es2021",
"compile": "node tools/compile.js",
"lint": "run-s lint-es prettier",
"lint-es": "eslint .",
"lint-es:file": "eslint",
Expand Down Expand Up @@ -46,8 +46,8 @@
"@tsconfig/strictest": "2.0.5",
"@types/eslint-config-prettier": "6.11.3",
"@types/node": "20.17.5",
"@vercel/ncc": "0.38.2",
"conventional-changelog-conventionalcommits": "8.0.0",
"esbuild": "0.24.0",
"eslint": "9.13.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-json": "4.0.1",
Expand All @@ -59,7 +59,6 @@
"prettier-plugin-packagejson": "2.5.3",
"rimraf": "6.0.1",
"semantic-release": "24.2.0",
"ts-node": "10.9.2",
"typescript": "5.6.3",
"typescript-eslint": "8.13.0"
},
Expand Down
Loading

0 comments on commit 4a407be

Please sign in to comment.