Brings the uncommitted body of work under version control so it cannot be
lost. Gates are green: 152 tests pass across rpc/router/dev-server,
typecheck, lint, format and check:public-api all clean.
NOT YET REVIEWED. None of Tasks 5-11 has had an independent task review, and
Task 4's second fix round was never re-reviewed either.
Known gaps against the plan, recorded here rather than discovered later:
- packages/rpc/test/{transport,server,client}.test.ts are ABSENT. The plan
required a test file for each. server.ts holds the fail-closed identity and
permission checks and currently has no direct coverage at all.
- rpc-endpoint.test.ts has 3 tests where the plan specified 9. Missing:
unknown service, non-POST, malformed body, non-rpc passthrough, and the
isInternalCaller sweep. This is the task where a reachable
/__wrnexus/rpc/* makes every permission check in the workspace bypassable.
- http.test.ts has 3 of 7; integration.test.ts 2 of 3;
services-discovery.test.ts 1 of 4.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
29 lines
854 B
JSON
29 lines
854 B
JSON
{
|
|
"name": "auth-showcase",
|
|
"version": "0.8.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "bun run ../../packages/cli/src/index.ts dev .",
|
|
"build": "bun run ../../packages/cli/src/index.ts build .",
|
|
"test": "bun run ../../packages/cli/src/index.ts test .",
|
|
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
"check": "bun run typecheck && bun run test && bun run build"
|
|
},
|
|
"dependencies": {
|
|
"@wrnexus/auth": "workspace:*",
|
|
"@wrnexus/authz": "workspace:*",
|
|
"@wrnexus/rpc": "workspace:*",
|
|
"@wrnexus/captcha": "workspace:*",
|
|
"@wrnexus/core": "workspace:*",
|
|
"@wrnexus/validation": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@iconify-json/lucide": "^1.2.0",
|
|
"@iconify/tailwind4": "^1.0.0",
|
|
"@tailwindcss/cli": "^4.0.0",
|
|
"tailwindcss": "^4.0.0",
|
|
"typescript": "^5.9.2"
|
|
}
|
|
}
|