feat(rpc): scaffold the package and shared contract types

This commit is contained in:
2026-08-05 09:52:48 +05:30
parent 63e6148cdb
commit e1fca3eddf
6 changed files with 137 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
{
"name": "@wrnexus/rpc",
"version": "0.8.4",
"private": true,
"type": "module",
"main": "./src/index.ts",
"types": "./src/index.ts",
"exports": {
".": "./src/index.ts"
},
"description": "Typed request/response calls between workspace apps, carrying end-user identity.",
"files": [
"src",
"README.md"
],
"scripts": {
"test": "bun test",
"typecheck": "tsc --noEmit",
"check": "bun run typecheck && bun run test"
},
"dependencies": {
"@wrnexus/authz": "workspace:*",
"@wrnexus/core": "workspace:*",
"@wrnexus/jwt": "workspace:*",
"@wrnexus/validation": "workspace:*"
},
"devDependencies": {
"@types/bun": "^1.3.14",
"typescript": "^5.9.2"
}
}