mirror of
https://github.com/Shik3i/KoalaSync.git
synced 2026-07-26 12:08:15 +00:00
463f871958
## Added - **WebSocket Protocol Specification** (docs/PROTOCOL.md) - Complete reference for all 20+ events with payload schemas, rate limits, and edge cases - **LEAVE_ROOM Rate Limiting** - 10 requests/socket/minute to prevent abuse - **Vitest Testing Framework** - Modern test setup with coverage reporting - **Host Control Mode Documentation** - Consolidated EN documentation (docs/host-control-mode.md) with references to internal implementation ## Changed - **Graceful Shutdown** - Socket.IO clients properly disconnected during server shutdown (server/index.js) - **CI Workflow** - Added test step with continue-on-error for gradual rollout - **README** - Added protocol documentation link - **CHANGELOG** - Updated with all new features and improvements ## Moved - Internal documentation moved to docs/internal/ for better organization - Host Control Mode docs consolidated from 4 files to 1 comprehensive guide ## Technical Details - Protocol spec: 495 lines, covers all events from shared/constants.js - Rate limiter: Follows existing pattern (checkAuthRate, checkEventRate) - Vitest: 6 tests for rate limiter, all passing - Documentation: Host Control Mode doc includes edge cases, testing checklist, architecture decisions
25 lines
564 B
JSON
25 lines
564 B
JSON
{
|
|
"name": "koalasync",
|
|
"version": "2.5.1",
|
|
"description": "KoalaSync Build Scripts",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build:extension": "node scripts/build-extension.cjs",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"test": "vitest run",
|
|
"verify": "node scripts/verify-release.mjs"
|
|
},
|
|
"devDependencies": {
|
|
"archiver": "^7.0.1",
|
|
"c8": "^11.0.0",
|
|
"esbuild": "^0.28.1",
|
|
"eslint": "^10.4.0",
|
|
"fs-extra": "^11.2.0",
|
|
"sharp": "^0.34.5",
|
|
"svgo": "^4.0.1",
|
|
"vitest": "^4.1.9"
|
|
}
|
|
}
|