@thednp/rpc 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -6
- package/package.json +6 -7
package/README.md
CHANGED
|
@@ -129,7 +129,7 @@ deno add jsr:@thednp/rpc
|
|
|
129
129
|
```
|
|
130
130
|
|
|
131
131
|
```bash
|
|
132
|
-
// pnpm/
|
|
132
|
+
// pnpm/bun from the npm registry
|
|
133
133
|
pnpm add @thednp/rpc
|
|
134
134
|
```
|
|
135
135
|
|
|
@@ -138,11 +138,6 @@ pnpm add @thednp/rpc
|
|
|
138
138
|
npm i @thednp/rpc
|
|
139
139
|
```
|
|
140
140
|
|
|
141
|
-
```bash
|
|
142
|
-
// bun
|
|
143
|
-
bun add @thednp/rpc
|
|
144
|
-
```
|
|
145
|
-
|
|
146
141
|
### 2. Configuration
|
|
147
142
|
|
|
148
143
|
Create `rpc.config.ts` at your project root:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thednp/rpc",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "thednp",
|
|
6
6
|
"description": "⚡ A Vite plugin for creating server functions with automatic Remote Procedure Calls (RPC)",
|
|
@@ -65,24 +65,23 @@
|
|
|
65
65
|
"up:examples": "pnpm up:examples:lib && pnpm up -r --latest --filter \"./examples/*\" && pnpm ci -r --filter \"./examples/*\"",
|
|
66
66
|
"up:examples:lib": "node scripts/update-examples.js",
|
|
67
67
|
"up:root": "pnpm up --latest",
|
|
68
|
+
"release": "node scripts/release.js",
|
|
68
69
|
"up:deno": "deno update && deno -A scripts/update-deno.js",
|
|
69
70
|
"upd": "pnpm up:examples:lib && pnpm up:examples && pnpm up:root",
|
|
70
71
|
"audit:src": "node scripts/audit-src.js",
|
|
71
|
-
"
|
|
72
|
-
"prepareOnly": "pnpm upd && pnpm up:deno && pnpm lint && pnpm format && pnpm audit:src && pnpm build",
|
|
73
|
-
"prepublishOnly_": "pnpm upd && pnpm up:deno && pnpm lint && pnpm format && pnpm audit:src && pnpm build",
|
|
72
|
+
"prepublishOnly": "pnpm upd && pnpm up:deno && pnpm lint && pnpm format && pnpm audit:src && pnpm build",
|
|
74
73
|
"build": "tsdown"
|
|
75
74
|
},
|
|
76
75
|
"dependencies": {
|
|
77
76
|
"express": "^5.2.1",
|
|
78
|
-
"fastify": "^5.11.
|
|
77
|
+
"fastify": "^5.11.2",
|
|
79
78
|
"fastify-plugin": "^6.0.0",
|
|
80
|
-
"hono": "^4.
|
|
79
|
+
"hono": "^4.13.0",
|
|
81
80
|
"koa": "^3.2.1",
|
|
82
81
|
"vite": "^8.2.0"
|
|
83
82
|
},
|
|
84
83
|
"devDependencies": {
|
|
85
|
-
"@hono/node-server": "^2.0
|
|
84
|
+
"@hono/node-server": "^2.1.0",
|
|
86
85
|
"@types/express": "^5.0.6",
|
|
87
86
|
"@types/koa": "^3.0.3",
|
|
88
87
|
"@types/node": "^26.1.2",
|