create-sailor 1.3.2 → 1.3.4

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 +34 -29
  2. package/dist/index.js +130 -130
  3. package/package.json +13 -15
package/README.md CHANGED
@@ -1,14 +1,17 @@
1
1
  # create-sailor
2
2
 
3
- > AI-Native SaaS unicorn template — 领先的 AI SaaS 独角兽模板 + OPC(一人公司)创新创业生态社区脚手架。
3
+ > Governed scaffolding for AI-native SaaS. Bootstrap the Nebutra Sailor platform baseline with multi-tenant foundations, region-aware defaults, and production-ready 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)
7
- [![Commercial License](https://img.shields.io/badge/Commercial-Free%20for%20OPC-0BF1C3.svg)](https://nebutra.com/licensing)
7
+ [![Commercial License](https://img.shields.io/badge/Licensing-Commercial%20Options-0BF1C3.svg)](https://nebutra.com/licensing)
8
8
 
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,31 +19,23 @@ 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
25
- - **AI-native** — 20+ provider registry, Vercel AI SDK v5, custom OpenAI-compatible endpoints, Multi-Agent orchestration
26
- - **Dual-track: 海外 + 国内 双生态开箱即用**
27
- - **Email**: Resend / Postmark / AWS SES / 阿里云邮件推送 / 腾讯云 SES / 网易企业邮箱
28
- - **Storage**: R2 / S3 / Supabase / 阿里云 OSS / 腾讯云 COS / 七牛
29
- - **Monitoring**: Sentry / Datadog / 阿里云 ARMS / 听云
30
- - **Analytics**: PostHog / Plausible / Umami / 百度统计 / 神策 / GrowingIO
31
- - **SMS**: Twilio / 阿里云短信 / 腾讯云短信 / 云片
32
- - **Payment**: Stripe / Lemon Squeezy / 微信支付 / 支付宝
33
- - **Social login (CN)**: 微信开放平台 · QQ · 钉钉 · 企业微信 · 飞书 · 微博
34
- - **中国合规套件**: ICP 备案 · 公安备案 · Cookie 弹窗 · AIGC 算法备案声明 · 隐私政策模板
35
- - **White-label**: `brand.config.ts` 一键换品牌(colors · domains · logos · SEO)
36
- - **AGPL-3.0 + Commercial Exception**(Individual / OPC 免费)
27
+ - **Governed platform baseline** — web app, marketing site, API gateway, docs, Storybook, studio, and supporting infra packages scaffolded as one coherent monorepo
28
+ - **Verified scaffolding path** — region-aware defaults, template checks, and reproducible project bootstrap instead of hand-assembling a starter stack
29
+ - **AI runtime foundation** — provider registry, Vercel AI SDK v5, OpenAI-compatible endpoints, and agent-ready packages wired into the platform baseline
30
+ - **Global + China delivery surface** — email, storage, monitoring, analytics, SMS, payments, and CN social login options selected through one scaffolding flow
31
+ - **Brand, tenant, and compliance primitives** — white-label branding, multi-tenant foundations, and China-market compliance scaffolding already wired in
37
32
 
38
33
  ## Usage
39
34
 
40
35
  ### Interactive (recommended)
41
36
 
42
37
  ```bash
43
- npm create sailor@latest
38
+ npx create-sailor@latest
44
39
  ```
45
40
 
46
41
  Asks just 4 questions: **project name / region / auth / AI providers**. Everything else uses region-aware smart defaults.
@@ -114,23 +109,33 @@ callbacks exchange `code` for provider access tokens and leave a
114
109
  ```bash
115
110
  cd my-app
116
111
  pnpm install
112
+ # create .env.local and add your provider credentials
113
+ pnpm db:migrate
114
+ pnpm db:seed
117
115
  pnpm dev
118
116
  ```
119
117
 
118
+ Useful follow-ups:
119
+
120
+ ```bash
121
+ pnpm brand:init
122
+ pnpm brand:apply
123
+ pnpm generate:api-types
124
+ ```
125
+
120
126
  ## Why Sailor?
121
127
 
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.
128
+ Sailor is not a thin starter with a long feature checklist. It is the governed
129
+ platform baseline Nebutra uses for AI-native SaaS: auth, billing, branding,
130
+ docs, tenant-aware app structure, and AI integration are scaffolded into a
131
+ single monorepo you can extend instead of re-assembling from scratch.
125
132
 
126
133
  ## Roadmap
127
134
 
128
- - ✅ **v1.0** — Core scaffolding with cfonts banner + full CLI UX
129
- - ✅ **v1.1** — Fumadocs integration + AI Provider registry
130
- - ✅ **v1.2** — All flags working end-to-end
131
- - ✅ **v1.3** — Region-aware defaults + 双生态 providers + 合规套件 + CN social login
132
- - 🔜 **v1.4** — `sailor add <feature>` with remote registry
133
- - 🔜 **v1.5** — Interactive AI Welcome page with onboarding assistant
135
+ - **Verified scaffolding** — immutable template delivery, scaffold smoke validation, and safer bootstrap defaults
136
+ - **Remote feature registry** — `nebutra add` with compatibility checks, provider awareness, and controlled file application
137
+ - **Harness runtime** — stronger MCP, agent, and automation primitives for AI-native SaaS workflows
138
+ - **Upgrade path** — version-aware migrations, diagnostics, and guided adoption of new platform capabilities
134
139
 
135
140
  ## Documentation
136
141
 
@@ -141,10 +146,10 @@ process.
141
146
 
142
147
  ## License
143
148
 
144
- AGPL-3.0 with Commercial License Exception for Individual / OPC use.
149
+ AGPL-3.0 with a commercial license exception.
145
150
  See [LICENSE-COMMERCIAL.md](https://github.com/nebutra/nebutra-sailor/blob/main/LICENSE-COMMERCIAL.md) for details.
146
- Free for Individual / OPC: [get-license](https://nebutra.com/get-license).
151
+ Commercial and individual licensing details: [get-license](https://nebutra.com/get-license).
147
152
 
148
153
  ---
149
154
 
150
- **Made with ♥ by [Nebutra](https://nebutra.com)** — Vibe Business for the AI-native era.
155
+ **Built by [Nebutra](https://nebutra.com)** for teams shipping AI-native products.