create-sailor 1.6.0 → 1.7.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-sailor",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "description": "Governed AI-native SaaS scaffolder for Nebutra Sailor. Bootstrap a production-ready Next.js + Hono + Prisma monorepo with multi-tenant foundations, region-aware defaults, and AI integrations.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -59,7 +59,7 @@
59
59
  "registry"
60
60
  ],
61
61
  "author": "Nebutra <hello@nebutra.com> (https://nebutra.com)",
62
- "license": "AGPL-3.0",
62
+ "license": "MIT",
63
63
  "homepage": "https://nebutra.com",
64
64
  "repository": {
65
65
  "type": "git",
@@ -0,0 +1,93 @@
1
+ # Nebutra-Sailor Independent Developer License
2
+
3
+ > **Quick answer:** if you used `create-sailor` to scaffold this project AND
4
+ > your team is ≤ 1 FTE (one person), you may build and ship a commercial
5
+ > product on top of Nebutra-Sailor **without AGPL copyleft**, free of charge.
6
+ > Above that threshold you need a paid commercial tier — see the full
7
+ > commercial license at https://nebutra.com/legal/license.
8
+
9
+ This file ships with every project created by `create-sailor`. It is the
10
+ license that applies to the Nebutra-Sailor source code **as scaffolded into
11
+ this project by the CLI**. Direct forks of the source repository
12
+ (https://github.com/Nebutra/Nebutra-Sailor) remain under AGPL-3.0; see
13
+ `LICENSE-AGPL-REFERENCE.md` for the upstream copyleft text.
14
+
15
+ ---
16
+
17
+ ## 1. Free tier — Individual / One-person Company (OPC)
18
+
19
+ **Eligible if all of the following are true:**
20
+
21
+ - You scaffolded this project using the official `create-sailor` CLI
22
+ (a `.nebutra/scaffold-meta.json` is present at the repo root).
23
+ - The product or service built on this codebase has **at most one full-time
24
+ equivalent (FTE)** working on it — solo developer, OPC, or solopreneur.
25
+ - Annual revenue derived from this product is **under $1,000,000 USD**.
26
+
27
+ **You get:**
28
+
29
+ - Full right to use, modify, and extend the scaffolded code in commercial
30
+ or non-commercial projects.
31
+ - **No AGPL copyleft.** You do not need to open-source your product or
32
+ serve source code to your users.
33
+ - Community support via Discord and GitHub Discussions.
34
+
35
+ **You must:**
36
+
37
+ - Keep this `LICENSE` file and the `.nebutra/scaffold-meta.json` marker
38
+ intact at the root of your repository.
39
+ - Display a "Built with Nebutra-Sailor" credit (one of: README, product
40
+ about page, marketing footer). Link to https://nebutra.com is preferred
41
+ but not required.
42
+ - Re-evaluate eligibility annually. If you cross the FTE or revenue
43
+ threshold, upgrade to the Startup tier within 30 days.
44
+
45
+ ---
46
+
47
+ ## 2. Crossed the threshold? Upgrade tiers
48
+
49
+ | Tier | Eligibility | Price |
50
+ |--------------|------------------------------------------------------|--------------|
51
+ | Independent | ≤ 1 FTE, < $1M ARR | Free |
52
+ | Startup | 2–50 FTE, any revenue | $799/year |
53
+ | Enterprise | 50+ FTE, ≥ $1M ARR, or white-label / SLA needs | Custom |
54
+
55
+ Purchase or contact at https://nebutra.com/get-license.
56
+
57
+ The Startup and Enterprise tiers grant the **same no-copyleft permissions**
58
+ as the Independent tier, with added support, white-labeling rights, and
59
+ SLA guarantees. The full commercial license terms are in
60
+ `LICENSE-COMMERCIAL.md` if you've shipped one with your fork, or at
61
+ https://nebutra.com/legal/license.
62
+
63
+ ---
64
+
65
+ ## 3. What happens if you fork the source repo instead
66
+
67
+ If you cloned or forked https://github.com/Nebutra/Nebutra-Sailor directly
68
+ (without using `create-sailor`), the source code in that fork remains
69
+ licensed under **AGPL-3.0** — the upstream license. AGPL's network copyleft
70
+ clause (Section 13) applies: if you offer the modified software as a
71
+ network service, you must make the modified source available to users.
72
+
73
+ To avoid AGPL on a direct fork, purchase a Startup or Enterprise commercial
74
+ license at https://nebutra.com/get-license.
75
+
76
+ The CLI-scaffolded path (this license file) and the fork-from-source path
77
+ (AGPL) are two distinct grants from the same copyright holder
78
+ (Nebutra Technologies). The presence or absence of `.nebutra/scaffold-meta.json`
79
+ at the repo root is the legal marker that distinguishes the two.
80
+
81
+ ---
82
+
83
+ ## 4. Disclaimer
84
+
85
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND. THE AUTHORS
86
+ OR COPYRIGHT HOLDERS SHALL NOT BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER
87
+ LIABILITY ARISING FROM OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
88
+ OTHER DEALINGS IN THE SOFTWARE.
89
+
90
+ ---
91
+
92
+ **License contact:** legal@nebutra.com
93
+ **License version:** 1.0 (scaffold-emitted, 2026-05)
@@ -1,5 +1,5 @@
1
1
  import { loader } from "fumadocs-core/source";
2
- import { docs } from "@/.source";
2
+ import { docs } from "@/.source/server";
3
3
 
4
4
  export const source = loader({
5
5
  baseUrl: "/docs",
@@ -1,6 +1,9 @@
1
1
  import { createMDX } from "fumadocs-mdx/next";
2
2
 
3
- const withMDX = createMDX();
3
+ const withMDX = createMDX({
4
+ configPath: "source.config.ts",
5
+ outDir: ".source",
6
+ });
4
7
 
5
8
  /** @type {import('next').NextConfig} */
6
9
  const nextConfig = {
@@ -3,14 +3,16 @@
3
3
  "private": true,
4
4
  "version": "0.0.1",
5
5
  "scripts": {
6
+ "predev": "fumadocs-mdx",
6
7
  "dev": "next dev -p 3001",
7
- "build": "next build",
8
+ "prebuild": "fumadocs-mdx",
9
+ "build": "_FUMADOCS_MDX=1 next build",
8
10
  "start": "next start -p 3001",
9
- "typecheck": "tsc --noEmit"
11
+ "typecheck": "fumadocs-mdx && _FUMADOCS_MDX=1 next typegen && tsc --noEmit"
10
12
  },
11
13
  "dependencies": {
12
- "@nebutra/tokens": "workspace:*",
13
- "@nebutra/ui": "workspace:*",
14
+ "@nebutra/tokens": "^0.1.0",
15
+ "@nebutra/ui": "^0.1.0",
14
16
  "fumadocs-core": "^16.6.12",
15
17
  "fumadocs-mdx": "^14.2.9",
16
18
  "fumadocs-ui": "^16.6.12",