Skip to content

Commit bcc3353

Browse files
committed
chore: switch to esbuild, upgrade all dependencies to latest
- Replace @vercel/ncc with esbuild for bundling (supports ESM deps) - Upgrade @actions/core to 3.0.0, @actions/github to 9.1.0 - Upgrade typescript to 6.0.2, add @types/node 25.6.0 - Update tsconfig target to es2021, add skipLibCheck - Add Makefile
1 parent d0454e3 commit bcc3353

4 files changed

Lines changed: 37 additions & 12 deletions

File tree

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
default: build
2+
3+
init:
4+
pnpm install
5+
6+
build: init
7+
pnpm run build

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,13 @@
3131
"tencentcloud-sdk-nodejs": "^4.1.214"
3232
},
3333
"devDependencies": {
34+
"@types/node": "^25.6.0",
3435
"esbuild": "^0.28.0",
35-
"typescript": "^5.9.3"
36+
"typescript": "^6.0.2"
37+
},
38+
"pnpm": {
39+
"onlyBuiltDependencies": [
40+
"esbuild"
41+
]
3642
}
3743
}

pnpm-lock.yaml

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

tsconfig.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
{
22
"compilerOptions": {
3-
"alwaysStrict": true,
4-
"target": "es6",
3+
"target": "es2021",
54
"module": "commonjs",
6-
"lib": [
7-
"es6"
8-
],
95
"outDir": "./dist",
106
"rootDir": "./src",
117
"strict": true,
128
"noImplicitAny": true,
13-
"esModuleInterop": true
9+
"esModuleInterop": true,
10+
"skipLibCheck": true
1411
},
1512
"exclude": [
1613
"node_modules",

0 commit comments

Comments
 (0)