create-sailor 1.3.1 → 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.
Files changed (3) hide show
  1. package/README.md +23 -8
  2. package/dist/index.js +193 -182
  3. package/package.json +15 -12
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # create-sailor
2
2
 
3
- > AI-Native SaaS unicorn template — 领先的 AI SaaS 独角兽模板 + OPC(一人公司)创新创业生态社区脚手架。
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
  [![npm version](https://img.shields.io/npm/v/create-sailor.svg?color=0033FE)](https://www.npmjs.com/package/create-sailor)
6
6
  [![License: AGPL-3.0](https://img.shields.io/badge/License-AGPL--3.0-0033FE.svg)](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
- bun create sailor
22
+ bunx create-sailor@latest
20
23
  ```
21
24
 
22
25
  ## What You Get
23
26
 
24
- - **8 apps + 54 packages + 9 microservices** — landing · dashboard · docs · storybook · api-gateway · community · IDP · studio + Python AI/ML workloads
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
- npm create sailor@latest
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 generic SaaS starters, **Sailor is both a template and a community** — you
123
- build your product with it, and you join the OPC creator network in the
124
- process.
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** — `sailor add <feature>` with remote registry
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