Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ jobs:
- run: npm run lint
- run: npm run typecheck
- run: npm run build
- run: npm test
- run: npm run size
- run: npm run test:coverage
10 changes: 10 additions & 0 deletions .size-limit.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const preset = require('@size-limit/preset-small-lib');

module.exports = [
...preset,
{
name: 'bundle',
path: 'dist/index.js',
limit: '40 KB',
},
];
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ npm run lint # ESLint + TypeScript rules
npm run typecheck # Strict TypeScript validation
npm run build # Emits dist/ with ESM + .d.ts
npm test # Vitest suite
npm run test:coverage # Enforce coverage thresholds
npm run benchmark # Compare algorithm variants locally
npm run size # Enforce bundle size budget
```

Examples live under `examples/` and can be executed with `tsx`/`ts-node` or compiled for the browser. See `examples/astar.ts`, `examples/steering.ts`, `examples/boids.ts`, `examples/requestDedup.ts`, `examples/sat.ts`, `examples/simplex.ts`, and `examples/worley.ts` for quick starts.
Expand Down
2 changes: 1 addition & 1 deletion ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
- [x] Ship virtual scrolling utilities
- [x] Add diff/patch helpers for nested JSON structures
- [x] Create benchmarking scripts to compare algorithm variants
- [ ] Expand CI to include coverage gating and bundle size checks
- [x] Expand CI to include coverage gating and bundle size checks

## Milestone 1.0.0 – Production Readiness
- [ ] Publish to npm with semver automation and changelog management
Expand Down
Loading