Skip to content

Commit 5c41454

Browse files
committed
chore: setup modern toolchain
Replace Gulp/Browserify/Mocha with tsup/Vitest/Biome. package.json v2.0.0, ESM+CJS dual exports, Node 20+. tsconfig.json strict, ES2022 target. Assisted-by: 🤖 claude-opus-4-6@default
1 parent e4c8df6 commit 5c41454

7 files changed

Lines changed: 3172 additions & 46 deletions

File tree

‎.gitignore‎

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1+
# Dependencies
2+
node_modules/
3+
4+
# Build output
5+
dist/
6+
7+
# Coverage
8+
coverage/
9+
110
# Logs
2-
logs
311
*.log
412

513
# Runtime data
6-
pids
714
*.pid
815
*.seed
916

10-
# Directory for instrumented libs generated by jscoverage/JSCover
11-
lib-cov
12-
13-
# Coverage directory used by tools like istanbul
14-
coverage
15-
16-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
17-
.grunt
18-
19-
# node-waf configuration
20-
.lock-wscript
17+
# OS files
18+
.DS_Store
19+
Thumbs.db
2120

22-
# Compiled binary addons (http://nodejs.org/api/addons.html)
23-
build/Release
21+
# IDE
22+
.idea/
23+
.vscode/
24+
*.swp
25+
*.swo
2426

25-
# Dependency directory
26-
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
27-
node_modules
28-
target/
27+
# Temp
28+
.ai/

‎biome.json‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.9.0/schema.json",
3+
"organizeImports": {
4+
"enabled": true
5+
},
6+
"formatter": {
7+
"indentStyle": "space",
8+
"indentWidth": 2,
9+
"lineWidth": 100
10+
},
11+
"linter": {
12+
"enabled": true,
13+
"rules": {
14+
"recommended": true
15+
}
16+
},
17+
"files": {
18+
"ignore": ["dist", "coverage", "node_modules"]
19+
}
20+
}

0 commit comments

Comments
 (0)