Skip to content

Commit 5a05679

Browse files
committed
add version id null
1 parent 69f4372 commit 5a05679

File tree

8 files changed

+3039
-3582
lines changed

8 files changed

+3039
-3582
lines changed

.swcrc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"jsc": {
3+
"loose": true,
4+
"target": "es2018",
5+
"parser": {
6+
"syntax": "typescript",
7+
"tsx": false,
8+
"decorators": false,
9+
"dynamicImport": false
10+
}
11+
},
12+
"module": {
13+
"type": "commonjs"
14+
}
15+
}

bun.lockb

157 KB
Binary file not shown.

package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"cli.json"
1313
],
1414
"scripts": {
15-
"prepublish": "babel src --out-dir lib && chmod +x lib/index.js"
15+
"build": "swc src -d lib --strip-leading-paths",
16+
"prepublish": "npm run build && chmod +x lib/index.js"
1617
},
1718
"repository": {
1819
"type": "git",
@@ -53,14 +54,14 @@
5354
"yauzl": "^2.10.0",
5455
"yazl": "2.5.1"
5556
},
56-
"devDependencies": {
57-
"babel-cli": "^6.26.0",
58-
"babel-plugin-syntax-object-rest-spread": "^6.13.0",
59-
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
60-
"babel-plugin-transform-es2015-spread": "^6.22.0",
61-
"babel-plugin-transform-object-rest-spread": "^6.26.0"
62-
},
6357
"engines": {
6458
"node": ">= 10"
59+
},
60+
"devDependencies": {
61+
"@swc/cli": "^0.4.1-nightly.20240914",
62+
"@swc/core": "^1.7.36",
63+
"@types/node": "^22.7.5",
64+
"oxlint": "^0.9.10",
65+
"typescript": "^5.6.3"
6566
}
6667
}

0 commit comments

Comments
 (0)