Mount /vip with nomadvip+payjsapi, add @nomadro/pay|pb|sdk, apps/api, /admin shell, and backup/rollback scripts under git.nomadro.cn workflow. Co-authored-by: Cursor <cursoragent@cursor.com>
15 lines
442 B
Markdown
15 lines
442 B
Markdown
# Shared packages
|
|
|
|
| Package | Role |
|
|
|---------|------|
|
|
| `@nomadro/pb` | PocketBase URL resolve + client factory |
|
|
| `@nomadro/pay` | Device/region → gateway (creem/zpay/xpay) |
|
|
| `@nomadro/sdk` | Public façade for other apps / miniapps |
|
|
|
|
Vertical apps (`apps/*`) depend on these; packages must not import vertical pages.
|
|
|
|
```ts
|
|
import { resolvePayProvider } from "@nomadro/pay";
|
|
import { createNomadroClient } from "@nomadro/sdk";
|
|
```
|