@se-studio/skills 1.9.2 → 1.9.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 +6 -0
- package/package.json +1 -1
- package/skills/contentful-cms-core/SKILL.md +12 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @se-studio/skills
|
|
2
2
|
|
|
3
|
+
## 1.9.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- cms-edit can create draft banners, page variants, page tests, and custom types, and add alternate page content on a page variant. Banner, page test, and custom type are in the content catalog (schema v5) and open by label or slug. A page variant only accepts alternate page content. The core cms-edit skill documents the new commands.
|
|
8
|
+
|
|
3
9
|
## 1.9.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -456,9 +456,19 @@ cms-edit create taxonomy-from-json --json '{"tagTypes":[...]}' --if-not-exists
|
|
|
456
456
|
cms-edit create tag-type --slug conference-venue --name "Conference Venue" --if-not-exists
|
|
457
457
|
cms-edit create tag --slug asco-2025 --name "ASCO 2025" --tag-type conference-venue \
|
|
458
458
|
--description "Annual ASCO conference." --featured-image <logoAssetId> --if-not-exists
|
|
459
|
+
|
|
460
|
+
# Site-wide and routing entries (drafts). See cms-edit help create-editor-entries.
|
|
461
|
+
cms-edit create banner --cms-label "Spring promo" --message "Free delivery this week"
|
|
462
|
+
cms-edit create page-test --cms-label "Home hero test" --control <pageId> --variant <pageVariantId>
|
|
463
|
+
cms-edit create page-variant --cms-label "Home B" --slug home-b --original-page /
|
|
464
|
+
cms-edit create custom-type --cms-label "People" --name "People" --slug people \
|
|
465
|
+
--index-page-name "Team" --index-page-title "Team" --index-page-description "The team" \
|
|
466
|
+
--featured-image <assetId>
|
|
459
467
|
```
|
|
460
468
|
|
|
461
|
-
|
|
469
|
+
`create page-variant` and `create custom-type` open a session. Banner and page test do not. On an open page variant, the only `add` content type is `alternatePageContent` (`--source-id` required, optional `--replacement-id`). That content type is refused on a page or article, and a component is refused on a page variant.
|
|
470
|
+
|
|
471
|
+
See `cms-edit help fields-taxonomy`, `cms-edit help taxonomy-from-json`, and `cms-edit help create-editor-entries`.
|
|
462
472
|
|
|
463
473
|
## Person entries
|
|
464
474
|
|
|
@@ -839,7 +849,7 @@ cms-edit resolve 4xKj2abcDef
|
|
|
839
849
|
|
|
840
850
|
## Inventory & Status
|
|
841
851
|
|
|
842
|
-
Use `list --type <type>` for inventory. Catalog types (page, article, pageVariant, template, taxonomy, navigation) use the local index
|
|
852
|
+
Use `list --type <type>` for inventory. Catalog types (page, article, pageVariant, template, taxonomy, navigation, banner, pageTest, customType) use the local index after `index sync`. Use `--force-cma` for types still outside the catalog (person) or published-only with `--published`.
|
|
843
853
|
|
|
844
854
|
```bash
|
|
845
855
|
cms-edit list --type page
|