orpc-file-based-router 0.0.2 → 0.0.3
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 +0 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,7 +13,6 @@ yarn add orpc-file-based-router
|
|
|
13
13
|
## Usage
|
|
14
14
|
|
|
15
15
|
```typescript
|
|
16
|
-
// generator.ts
|
|
17
16
|
import { generateRouter } from 'orpc-file-based-router'
|
|
18
17
|
|
|
19
18
|
const routesDir = new URL('./routes', import.meta.url).pathname
|
|
@@ -43,7 +42,6 @@ src/routes
|
|
|
43
42
|
│
|
|
44
43
|
└── sse.ts (exports: sse)
|
|
45
44
|
```
|
|
46
|
-
### Run `tsx src/generator.ts `
|
|
47
45
|
|
|
48
46
|
### Generated result
|
|
49
47
|
|
package/package.json
CHANGED