create-apollo-suite-monorepo 1.0.1 → 1.0.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 +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -75,7 +75,7 @@ subdomains (e.g. `cms.example.com` + `example.com`).
|
|
|
75
75
|
| Flag | Default | Description |
|
|
76
76
|
| -------------------------- | --------------------------------------- | ------------------------------------ |
|
|
77
77
|
| `--frontend-name <name>` | `@<dir>/frontend` | Frontend `package.json` name |
|
|
78
|
-
| `--backend-url <url>` | `https://github.com/5Lab-Group-Co-Ltd/apollo-
|
|
78
|
+
| `--backend-url <url>` | `https://github.com/5Lab-Group-Co-Ltd/apollo-suite.git` | Submodule git URL |
|
|
79
79
|
| `--backend-branch <name>` | `main` | Submodule branch to track |
|
|
80
80
|
| `-d, --db <url>` | _(prompted)_ | `DATABASE_URL` for backend |
|
|
81
81
|
| `-u, --url <url>` | `:3001` single-origin / `:3000` separate | `NEXT_PUBLIC_SITE_URL` |
|
package/index.mjs
CHANGED
|
@@ -22,7 +22,7 @@ import { createInterface } from "node:readline";
|
|
|
22
22
|
|
|
23
23
|
// ─── Constants ───────────────────────────────────────────────────────────────
|
|
24
24
|
|
|
25
|
-
const BACKEND_REPO_URL = "https://github.com/5Lab-Group-Co-Ltd/apollo-
|
|
25
|
+
const BACKEND_REPO_URL = "https://github.com/5Lab-Group-Co-Ltd/apollo-suite.git";
|
|
26
26
|
const BACKEND_BRANCH = "main";
|
|
27
27
|
const BACKEND_PATH = "apps/backend";
|
|
28
28
|
const FRONTEND_PATH = "apps/frontend";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-apollo-suite-monorepo",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Scaffold a monorepo with a frontend app and Apollo CMS as a git submodule backend (single-origin via Next.js rewrites + assetPrefix)",
|
|
5
5
|
"bin": {
|
|
6
6
|
"create-apollo-suite-monorepo": "index.mjs"
|