@easy-web/cli 0.5.0 → 0.6.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.
Files changed (2) hide show
  1. package/README.md +17 -1
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -124,11 +124,27 @@ Lists and details show locale-formatted dates with semantic `<time>` elements
124
124
  in UTC; labels are German for German locales and English otherwise.
125
125
  The existing CMS trait fields expose a required start and optional end with
126
126
  date-only UTC widgets. Schedule dates do not filter or sort content: default slug
127
- ordering and the opt-in `order` trait remain unchanged. The feature does not
127
+ ordering and the opt-in `order` trait remain unchanged unless the list explicitly
128
+ opts in below. The feature does not
128
129
  provide event times, time zones, recurrence, upcoming-event filtering or automatic
129
130
  schedule-based publishing. Publication gating is a separate option below.
130
131
  Schedule alone uses the existing core `^1.6.0` and CMS `^1.9.0` runtime floors.
131
132
 
133
+ ### Order a generated list by schedule start
134
+
135
+ Add `"listOrder": "schedule-start"` to a content type that selects `schedule`.
136
+ Its generated list sorts by ascending `startDate` (a calendar day), then by
137
+ locale-aware slug and collection ID. This is a list setting, not a filter or
138
+ an ordering imposed on other views. Publication and locale filters still apply
139
+ before sorting.
140
+
141
+ If the type also selects `order`, entries with an integer order come first in
142
+ ascending numeric order. Equal orders, and entries without an order, sort by
143
+ start date before slug and ID. Assigning only some entries an order therefore
144
+ moves them ahead of all unordered entries; assign every entry an order for full
145
+ manual control. Without `listOrder`, the existing numeric or default slug ordering
146
+ is unchanged. This option requires no additional generated runtime dependency.
147
+
132
148
  ### Opt in to publication gating
133
149
 
134
150
  Set `"publish": "missing-date-means-draft"` on an individual content type in
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easy-web/cli",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Create-only command-line interface for generating easy-web sites.",
5
5
  "type": "module",
6
6
  "engines": {
@@ -16,9 +16,9 @@
16
16
  "dependencies": {
17
17
  "mri": "^1.2.0",
18
18
  "astro": "^7.3.5",
19
- "@easy-web/core": "1.14.0",
20
- "@easy-web/auth": "1.14.0",
21
- "@easy-web/cms-adapters": "1.14.0"
19
+ "@easy-web/core": "1.15.0",
20
+ "@easy-web/auth": "1.15.0",
21
+ "@easy-web/cms-adapters": "1.15.0"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@types/node": "^24.0.0",