@se-studio/skills 1.2.2 → 1.2.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/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -27,13 +27,15 @@ Run after any of these change:
|
|
|
27
27
|
|
|
28
28
|
| Action | Automatic on git push? |
|
|
29
29
|
|--------|------------------------|
|
|
30
|
-
| Copy **committed** `editor-pack/` into cms-edit-host | Yes (
|
|
30
|
+
| Copy **committed** `editor-pack/` + `.mcpb` into cms-edit-host | Yes (`stage-site.mjs` on Vercel build) |
|
|
31
31
|
| Run `editor-pack generate` | **No** — always manual (this skill) |
|
|
32
|
-
| Rebuild `.mcpb` on Vercel |
|
|
32
|
+
| Rebuild `.mcpb` on Vercel | **No** — commit locally (`pnpm cms-edit:mcpb` or `build-mcpb.sh`) when `hosted.mcpUrl` or extension metadata changes |
|
|
33
33
|
| Update hosted guide/prompts from `@se-studio/contentful-cms` | Redeploy host after bumping package version |
|
|
34
34
|
|
|
35
35
|
Editors do **not** reinstall `.mcpb` when only the editor pack changes.
|
|
36
36
|
|
|
37
|
+
**Staging:** `stage-site.mjs` copies committed artifacts into `cms-edit/host/` before build. Requires `CMS_EDIT_ROOT` on Vercel. Single-site repos default to `cms-edit` locally; multi-site repos need `CMS_EDIT_ROOT` in `cms-edit/host/.env.local`. Run manually with `pnpm cms-edit:stage` (or site-specific variant).
|
|
38
|
+
|
|
37
39
|
## Step 1 — Locate config
|
|
38
40
|
|
|
39
41
|
| Repo layout | Config path |
|
|
@@ -84,17 +86,17 @@ git commit -m "chore(cms-edit): regenerate editor pack"
|
|
|
84
86
|
|
|
85
87
|
## Step 6 — Deploy
|
|
86
88
|
|
|
87
|
-
### SE Studio
|
|
89
|
+
### Customer repo with `cms-edit/host/` (SE Studio, Pedestal, Headwater)
|
|
88
90
|
|
|
89
|
-
|
|
91
|
+
Commit `editor-pack/` (and `.mcpb` if `hosted.mcpUrl` changed), then push to the branch Vercel watches (usually `develop`). Changes under `cms-edit/**` trigger a host rebuild (`stage-site.mjs` copies committed artifacts).
|
|
90
92
|
|
|
91
93
|
```bash
|
|
92
94
|
git push
|
|
93
95
|
```
|
|
94
96
|
|
|
95
|
-
|
|
97
|
+
Manual deploy without pushing: `pnpm cms-edit:deploy` (single-site) or `pnpm cms-edit:deploy:<site>` (multi-site) — runs validate, stage, then `vercel deploy --prod`.
|
|
96
98
|
|
|
97
|
-
###
|
|
99
|
+
### Customers without `cms-edit/host/` in their repo
|
|
98
100
|
|
|
99
101
|
From `se-core-product`:
|
|
100
102
|
|
|
@@ -105,8 +107,6 @@ From `se-core-product`:
|
|
|
105
107
|
--prod
|
|
106
108
|
```
|
|
107
109
|
|
|
108
|
-
Or commit + push if that customer repo has its own cms-edit-host Vercel project.
|
|
109
|
-
|
|
110
110
|
## Homepage slug reminder
|
|
111
111
|
|
|
112
112
|
SE Studio sites store the marketing homepage as Contentful slug **`index`** (public URL `/`). Regenerated `routing.md` documents this. Set `website.homepageSlug` in `project.json` only for exceptions (e.g. Pedestal `home`).
|