strengthen repo verification and runtime coverage

Add clearer app docs plus targeted desktop, CLI, web, and worker tests so cross-surface regressions are caught earlier and the repo is easier to navigate.
This commit is contained in:
nocxcloud-oss 2026-04-15 19:10:41 +08:00
parent 2133d7226f
commit 4239f9f1ef
63 changed files with 3678 additions and 764 deletions

View file

@ -4,8 +4,11 @@
"main": "index.js",
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint src test bin",
"typecheck": "tsc --noEmit",
"test": "npm run build && node ./test/run-tests.mjs",
"build": "rm -rf dist && tsc",
"verify": "npm run lint && npm run typecheck && npm test",
"server": "node dist/server.js",
"migrate-agents": "node dist/scripts/migrate-agents.js"
},
@ -21,8 +24,12 @@
"license": "Apache-2.0",
"description": "",
"devDependencies": {
"@eslint/js": "^9.39.2",
"@types/node": "^24.9.1",
"@types/react": "^18.3.12",
"eslint": "^9.39.2",
"globals": "^16.5.0",
"typescript-eslint": "^8.50.1",
"typescript": "^5.9.3"
},
"dependencies": {