@se-studio/contentful-cms 4.12.2 → 4.13.2
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 +18 -0
- package/README.md +1 -6
- package/pack/generated/version.d.ts +1 -1
- package/pack/generated/version.js +1 -1
- package/package.json +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @se-studio/contentful-cms Changelog
|
|
2
2
|
|
|
3
|
+
## 4.13.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 0169b8f: cms-edit host `/api/health` now checks every tenant's editor pack. If any tenant has no usable pack it returns HTTP 503 with `status: "degraded"` and the failing tenants in `failingTenants`; per-tenant detail is under `checks.editorPacks` and `checks.editorPack` is unchanged. All packs loading still returns 200 with `status: "ok"`.
|
|
8
|
+
|
|
9
|
+
## 4.13.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- a9c8c87: Docs only: cms-edit packs are served by each customer site's well-known route. Remove the retired GitHub release pack workflow, pack tags and pack tokens from the contentful-cms README and the cms-edit skills.
|
|
14
|
+
|
|
15
|
+
## 4.13.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- e866c4c: cms-edit host: packs now come only from each tenant's develop site (`<wellKnownBase>/manifest.json`, then `pack.json`), never from GitHub Releases, with no fallback. `wellKnownBase`, `siteUrls` and the `bypassToken` env name (sent as `x-vercel-protection-bypass`) are read from the Redis tenant record `cms-edit:tenant:<key>` once per task (5 minute cache). The pack is verified (digest, projectKey, spaceId, safe paths), cached on disk, and a failed refresh keeps the last good pack and reports `error`/`stale` in `/api/health` `checks.editorPack` (`source`, `url`, `generatedAt`, `version`). Removes `packRepo`/`packTag`/`packAssetName` from both registries, the GitHub token env vars and the `tar` dependency. Per-user `access.json` is read from the private Redis key `cms-edit:tenant:<key>:access`; a tenant with the `access-restrictions` capability and no access config is refused. The seed script takes `--access <key>=<file>`.
|
|
20
|
+
|
|
3
21
|
## 4.12.2
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @se-studio/contentful-cms
|
|
2
2
|
|
|
3
|
-
The published package is the **editor-pack CLI** for hosted cms-edit. It validates `project.json
|
|
3
|
+
The published package is the **editor-pack CLI** for hosted cms-edit. It validates `project.json` and generates `editor-pack/`. The customer site serves the committed pack from its `/.well-known/se-studio/cms-edit` route, and the host reads it from there.
|
|
4
4
|
|
|
5
5
|
Content editing (open, save, set, schema) runs on the hosted editor in `apps/cms-edit-host`. That runtime is not in this npm package. The command manual is in the se-core-product repo at `packages/contentful-cms/docs/hosted-command-reference.md`.
|
|
6
6
|
|
|
@@ -18,11 +18,6 @@ In the se-core-product monorepo, `pnpm build` still emits the hosted editor for
|
|
|
18
18
|
cms-edit project validate --project-config cms-edit/<site>/project.json
|
|
19
19
|
cms-edit project doctor --project-config cms-edit/<site>/project.json
|
|
20
20
|
cms-edit editor-pack generate --project-config cms-edit/<site>/project.json
|
|
21
|
-
cms-edit host pack-publish \
|
|
22
|
-
--editor-pack cms-edit/<site>/editor-pack \
|
|
23
|
-
--tag cms-edit-pack-<projectKey>-v1.0.0 \
|
|
24
|
-
--out-dir dist/cms-edit-pack \
|
|
25
|
-
--repo <owner>/<repo>
|
|
26
21
|
cms-edit version
|
|
27
22
|
```
|
|
28
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@se-studio/contentful-cms",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.13.2",
|
|
4
4
|
"description": "Editor-pack CLI for hosted cms-edit. Content editing runs on the hosted editor, not this package.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -51,7 +51,6 @@
|
|
|
51
51
|
"picocolors": "^1.1.1",
|
|
52
52
|
"react": "^19.3.1",
|
|
53
53
|
"react-dom": "^19.3.1",
|
|
54
|
-
"tar": "^7.5.23",
|
|
55
54
|
"typescript": "^7.0.2",
|
|
56
55
|
"vitest": "^5.1.0"
|
|
57
56
|
},
|