Commit 910b65c
Modernize toolchain: esbuild + vitest + GitHub Actions (#59)
* Modernize toolchain: esbuild + vitest + GitHub Actions
Replace legacy dev stack (browserify, uglify-js, mocha, budo, assert)
with esbuild and vitest. Adds GitHub Actions CI (Node 18/20/22),
removes Travis CI.
- 395 → 131 packages, 32 → 0 vulnerabilities
- Build time: ~2s → 3ms
- All 9 tests passing
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Address Copilot review feedback
- Drop Node 18 from CI matrix (vitest/vite requires >=20.19.0)
- Use npm ci instead of npm install in CI
- Update CLAUDE.md commands to reflect new toolchain
- Fix CLAUDE.md ESLint wording (not enforced in CI)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Address remaining review feedback
- Bump esbuild ^0.27.0, vitest ^4.1.0 (all deps latest)
- Remove engines field (unnecessary for a lib)
- Add Node 24 to CI matrix
- Remove visual-demo.js and its README reference
- Fix README: correct lib path (src/index.js), typo
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Fix example/index.html to use dist bundle
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: greweb <greweb@protonmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 7785b0b commit 910b65c
10 files changed
Lines changed: 1838 additions & 3368 deletions
File tree
- .github/workflows
- example
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments