create-sailor 1.3.2 → 1.3.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 +23 -8
- package/dist/index.js +130 -130
- package/package.json +2 -2
- package/dist/aws-kms-BRGZLC2X.js +0 -1
- package/dist/chunk-2VIWVVHK.js +0 -1
- package/dist/chunk-4F23MJOI.js +0 -1
- package/dist/chunk-6EI2BXXZ.js +0 -1
- package/dist/chunk-7DCGNQSQ.js +0 -5
- package/dist/chunk-7HOF72FC.js +0 -1
- package/dist/chunk-7VJYOZUP.js +0 -2
- package/dist/chunk-7Z3O7WJM.js +0 -49
- package/dist/chunk-B35GFLVZ.js +0 -5
- package/dist/chunk-BAI5W3AB.js +0 -1
- package/dist/chunk-DGJUBN33.js +0 -1
- package/dist/chunk-DIXI4M5O.js +0 -1
- package/dist/chunk-EA5HU2X4.js +0 -9
- package/dist/chunk-EXLRPVEX.js +0 -1
- package/dist/chunk-FGJ5K4WM.js +0 -1
- package/dist/chunk-HC3S5NWW.js +0 -1
- package/dist/chunk-KIX47M2V.js +0 -40
- package/dist/chunk-LOPYJ44X.js +0 -31
- package/dist/chunk-O3WYNHSC.js +0 -20
- package/dist/chunk-OJM5Y4UT.js +0 -1
- package/dist/chunk-PXU2OOBT.js +0 -1
- package/dist/chunk-QEIMNOY2.js +0 -1
- package/dist/chunk-QMKVUKS6.js +0 -1
- package/dist/chunk-RR5R4AKJ.js +0 -1
- package/dist/chunk-XSSPJU77.js +0 -1
- package/dist/chunk-YW4FFW47.js +0 -1
- package/dist/chunk-ZEEOYOWD.js +0 -1
- package/dist/credits-L2HL2UEU.js +0 -1787
- package/dist/dist-XS6SQF6X.js +0 -5
- package/dist/dist-Z6UUHTH2.js +0 -8
- package/dist/dist-es-M3FWVZJF.js +0 -1
- package/dist/dist-es-NDZJSZR3.js +0 -2
- package/dist/dist-es-NVFYVK4E.js +0 -1
- package/dist/dist-es-OUTR3NFA.js +0 -5
- package/dist/dist-es-UGE2JJUB.js +0 -1
- package/dist/dist-es-VHZAJVLW.js +0 -1
- package/dist/dist-es-WTYBIVJ2.js +0 -2
- package/dist/event-streams-WTP73PI5.js +0 -1
- package/dist/getMachineId-bsd-DVN24SFH.js +0 -1
- package/dist/getMachineId-darwin-LMU6AYNV.js +0 -2
- package/dist/getMachineId-linux-BHWLMOUW.js +0 -1
- package/dist/getMachineId-unsupported-G5LY7Y3J.js +0 -1
- package/dist/getMachineId-win-CWK62SDK.js +0 -1
- package/dist/loadSso-O5OGD76B.js +0 -1
- package/dist/local-V5XPOCXA.js +0 -1
- package/dist/multipart-parser-73SROTP5.js +0 -2
- package/dist/query_compiler_fast_bg.postgresql-7BFUBDOL.js +0 -2
- package/dist/query_compiler_fast_bg.postgresql.wasm-base64-I4FAC6EL.js +0 -1
- package/dist/signin-DZIPNQBV.js +0 -1
- package/dist/src-BFSJ5KFS.js +0 -3
- package/dist/src-ERQKJBBE.js +0 -1
- package/dist/sso-oidc-SYBBWZG3.js +0 -1
- package/dist/sts-DREA5KZD.js +0 -6
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# create-sailor
|
|
2
2
|
|
|
3
|
-
> AI-
|
|
3
|
+
> AI-native SaaS scaffolder for Nebutra Sailor. Bootstrap a production-ready Next.js + Hono + Prisma monorepo with multi-tenant foundations, billing, auth, and AI integrations.
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/create-sailor)
|
|
6
6
|
[](https://www.gnu.org/licenses/agpl-3.0)
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
## Quick Start
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
+
# npx
|
|
13
|
+
npx create-sailor@latest
|
|
14
|
+
|
|
12
15
|
# npm
|
|
13
16
|
npm create sailor@latest
|
|
14
17
|
|
|
@@ -16,12 +19,12 @@ npm create sailor@latest
|
|
|
16
19
|
pnpm create sailor@latest
|
|
17
20
|
|
|
18
21
|
# bun
|
|
19
|
-
|
|
22
|
+
bunx create-sailor@latest
|
|
20
23
|
```
|
|
21
24
|
|
|
22
25
|
## What You Get
|
|
23
26
|
|
|
24
|
-
- **
|
|
27
|
+
- **Production-ready monorepo scaffold** — marketing site, dashboard, docs, Storybook, API gateway, studio, and supporting Python/infra services without hand-assembling the stack
|
|
25
28
|
- **AI-native** — 20+ provider registry, Vercel AI SDK v5, custom OpenAI-compatible endpoints, Multi-Agent orchestration
|
|
26
29
|
- **Dual-track: 海外 + 国内 双生态开箱即用**
|
|
27
30
|
- **Email**: Resend / Postmark / AWS SES / 阿里云邮件推送 / 腾讯云 SES / 网易企业邮箱
|
|
@@ -40,7 +43,7 @@ bun create sailor
|
|
|
40
43
|
### Interactive (recommended)
|
|
41
44
|
|
|
42
45
|
```bash
|
|
43
|
-
|
|
46
|
+
npx create-sailor@latest
|
|
44
47
|
```
|
|
45
48
|
|
|
46
49
|
Asks just 4 questions: **project name / region / auth / AI providers**. Everything else uses region-aware smart defaults.
|
|
@@ -114,14 +117,26 @@ callbacks exchange `code` for provider access tokens and leave a
|
|
|
114
117
|
```bash
|
|
115
118
|
cd my-app
|
|
116
119
|
pnpm install
|
|
120
|
+
# create .env.local and add your provider credentials
|
|
121
|
+
pnpm db:migrate
|
|
122
|
+
pnpm db:seed
|
|
117
123
|
pnpm dev
|
|
118
124
|
```
|
|
119
125
|
|
|
126
|
+
Useful follow-ups:
|
|
127
|
+
|
|
128
|
+
```bash
|
|
129
|
+
pnpm brand:init
|
|
130
|
+
pnpm brand:apply
|
|
131
|
+
pnpm generate:api-types
|
|
132
|
+
```
|
|
133
|
+
|
|
120
134
|
## Why Sailor?
|
|
121
135
|
|
|
122
|
-
Unlike
|
|
123
|
-
|
|
124
|
-
|
|
136
|
+
Unlike a thin starter, **Sailor scaffolds the same platform baseline Nebutra uses**
|
|
137
|
+
for multi-tenant SaaS: auth, billing, branding, docs, and AI integration are
|
|
138
|
+
already wired into a coherent monorepo you can adapt instead of assembling from
|
|
139
|
+
scratch.
|
|
125
140
|
|
|
126
141
|
## Roadmap
|
|
127
142
|
|
|
@@ -129,7 +144,7 @@ process.
|
|
|
129
144
|
- ✅ **v1.1** — Fumadocs integration + AI Provider registry
|
|
130
145
|
- ✅ **v1.2** — All flags working end-to-end
|
|
131
146
|
- ✅ **v1.3** — Region-aware defaults + 双生态 providers + 合规套件 + CN social login
|
|
132
|
-
- 🔜 **v1.4** — `
|
|
147
|
+
- 🔜 **v1.4** — `nebutra add <feature>` with remote registry
|
|
133
148
|
- 🔜 **v1.5** — Interactive AI Welcome page with onboarding assistant
|
|
134
149
|
|
|
135
150
|
## Documentation
|