ferst-core 0.12.0 → 0.12.1

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.
@@ -312,6 +312,28 @@ export function scaffoldFileAfterUpdate(path, upstreamRaw, currentRaw, coreRange
312
312
  return out;
313
313
  }
314
314
 
315
+ /** The site's content folders the first scaffold ignored; routines and sessions commit them. */
316
+ const NO_LONGER_IGNORED = new Set(['public/uploads', 'public/uploads/', 'src/content/posts', 'src/content/posts/']);
317
+ const OLD_IGNORE_COMMENT = ['# Content authored in production by editors via /admin', '# git-proxy straight to the configured branch). Local dev edits must not pollute.'];
318
+
319
+ /**
320
+ * Take `public/uploads/` and `src/content/posts/` (and the comment the first scaffold put above
321
+ * them) out of a site's .gitignore. The file is the site's own (a seed path, copied once), so
322
+ * only those lines go and every other rule stays. Keeps the file's line endings. Pure.
323
+ * @param {string} raw the site's .gitignore
324
+ * @returns {string | null} the new text, or null when there's nothing to change
325
+ */
326
+ export function unignoreClientContent(raw) {
327
+ if (typeof raw !== 'string') return null;
328
+ const eol = raw.includes('\r\n') ? '\r\n' : '\n';
329
+ const lines = raw.split(/\r?\n/);
330
+ if (!lines.some((l) => NO_LONGER_IGNORED.has(l.trim()))) return null;
331
+ const kept = lines.filter((l) => !NO_LONGER_IGNORED.has(l.trim()) && !OLD_IGNORE_COMMENT.some((c) => l.trim().startsWith(c)));
332
+ // Don't leave a run of blank lines where the block was.
333
+ const tidy = kept.filter((l, i) => !(l.trim() === '' && i > 0 && kept[i - 1].trim() === ''));
334
+ return tidy.join(eol);
335
+ }
336
+
315
337
  /** Whether a new drift stamp records a different state than the last (the time alone isn't). */
316
338
  export function stampChanged(previous, next) {
317
339
  if (!previous || typeof previous !== 'object') return true;
@@ -454,6 +476,9 @@ function main() {
454
476
  const lf = (t) => t.replace(/\r\n/g, '\n'); // a checkout's line endings aren't a change
455
477
  if (upstreamRaw === null || current === null || lf(scaffoldFileAfterUpdate(f, lf(upstreamRaw), lf(current), range)) !== lf(current)) dryScaffold.push(f);
456
478
  }
479
+ try {
480
+ if (unignoreClientContent(readFileSync(resolve(cwd, '.gitignore'), 'utf8')) !== null) dryScaffold.push('.gitignore');
481
+ } catch { /* no .gitignore */ }
457
482
  console.log('ferst-update: --dry-run — scaffold changes that WOULD apply:');
458
483
  console.log(dryScaffold.length ? dryScaffold.map((f) => ` ${f}`).join('\n') : ' (no scaffold changes)');
459
484
  } else {
@@ -500,6 +525,16 @@ function main() {
500
525
  }
501
526
  }
502
527
  templateVersion = upstreamVersion ?? readTemplateVersion(raw);
528
+ // .gitignore is the site's own, but two of the first scaffold's lines stopped routines and
529
+ // sessions committing pictures and posts: take just those out.
530
+ const ignorePath = resolve(cwd, '.gitignore');
531
+ try {
532
+ const unignored = unignoreClientContent(readFileSync(ignorePath, 'utf8'));
533
+ if (unignored !== null) {
534
+ writeFileSync(ignorePath, unignored);
535
+ console.log('ferst-update: .gitignore no longer ignores public/uploads/ or src/content/posts/.');
536
+ }
537
+ } catch { /* no .gitignore */ }
503
538
  const status = (tryGit('status --short', cwd) || '').trim();
504
539
  scaffoldCount = status ? status.split(/\r?\n/).filter(Boolean).length : 0;
505
540
  console.log('ferst-update: scaffold synced. git status --short:');
@@ -1,232 +1,239 @@
1
- # Sveltia CMS — the content editor for a Ferst site. SINGLE SOURCE: this file lives
2
- # in ferst-core and is written to dist/admin/config.yml at build by `ferst-cms-config`,
3
- # so every client's collections are identical and always match the engine. The client
4
- # repo commits NO config.yml — it is a build product, so it can never drift by hand.
5
- #
6
- # The backend repo (owner/name), git-proxy origin, its /git api_root and this
7
- # deployment's branch are injected at build by ferst-cms-config.
8
- backend:
9
- name: github
10
- repo: __REPO__
11
- branch: __BRANCH__
12
- base_url: __BASE_URL__
13
- auth_endpoint: auth
14
- api_root: __API_ROOT__
15
-
16
- media_folder: public/uploads
17
- public_folder: /uploads
18
-
19
- collections:
20
- - name: settings
21
- label: Site settings
22
- files:
23
- # No design tokens pane: a site's look is set in the portal, on its Design tab, for every
24
- # site and branch (myai4-webdev #119). The themeSettings file is the portal's to write.
25
- - name: identity
26
- label: Identity & contact
27
- file: src/content/siteSettings/index.json
28
- icon: info
29
- fields:
30
- - name: identity
31
- label: Identity
32
- widget: object
33
- fields:
34
- - { name: siteTitle, label: Site title, widget: string }
35
- - { name: shortName, label: Short name, widget: string }
36
- - { name: description, label: Description, widget: text }
37
- - { name: location, label: Location, widget: string, required: false }
38
- - { name: kind, label: Kind of organisation, widget: select, required: false, default: organisation, options: [{ label: Church, value: church }, { label: School, value: school }, { label: Charity, value: charity }, { label: Business, value: business }, { label: Other organisation, value: organisation }], hint: "Tells search engines what the site is for." }
39
- - name: contact
40
- label: Contact
41
- widget: object
42
- fields:
43
- - { name: phoneDisplay, label: Phone (display), widget: string, required: false }
44
- - { name: phoneTel, label: 'Phone (tel: digits)', widget: string, required: false }
45
- - { name: email, label: Email, widget: string, required: false }
46
- - { name: facebookUrl, label: Facebook URL, widget: string, required: false }
47
- - name: places
48
- label: Places
49
- label_singular: Place
50
- widget: list
51
- required: false
52
- hint: "Each place the site is for, with its address (a parish may have several churches). Search engines read these."
53
- fields:
54
- - { name: name, label: Name, widget: string }
55
- - { name: streetAddress, label: Street address, widget: string, required: false }
56
- - { name: locality, label: Town, widget: string, required: false }
57
- - { name: postalCode, label: Postcode, widget: string, required: false }
58
- - { name: country, label: Country code, widget: string, required: false, default: GB }
59
- - { name: mapUrl, label: Map link, widget: string, required: false }
60
- - name: verification
61
- label: Search engine verification
62
- widget: object
63
- required: false
64
- collapsed: true
65
- hint: "Codes from Google Search Console and Bing Webmaster Tools, when they ask for an HTML tag."
66
- fields:
67
- - { name: google, label: Google code, widget: string, required: false }
68
- - { name: bing, label: Bing code, widget: string, required: false }
69
-
70
- - name: logos
71
- label: Logos
72
- file: src/content/logoSettings/index.json
73
- icon: image
74
- fields:
75
- - { name: primaryLogoLight, label: Header logo (light), widget: image, required: false }
76
- - { name: primaryLogoDark, label: Header logo (dark), widget: image, required: false }
77
- - { name: secondaryLogoLight, label: Footer logo (light), widget: image, required: false }
78
- - { name: secondaryLogoDark, label: Footer logo (dark), widget: image, required: false }
79
- - { name: favicon, label: Browser icon, widget: image, required: false, hint: "A square image (PNG or SVG), at least 48 x 48. Leave blank to use the header logo if it's square, or the site's initial in its brand colour." }
80
-
81
- - name: navbar
82
- label: Navigation
83
- file: src/content/navbarSettings/index.json
84
- icon: menu
85
- fields:
86
- - name: primary
87
- label: Primary links
88
- widget: list
89
- fields:
90
- - { name: label, label: Label, widget: string }
91
- - { name: href, label: Link, widget: string }
92
- - name: cta
93
- label: Header button
94
- widget: object
95
- required: false
96
- hint: The button at the right of the header (and in the footer). Leave as Contact → /contact/ unless your contact page lives elsewhere.
97
- fields:
98
- - { name: label, label: Label, widget: string, default: Contact }
99
- - { name: href, label: Link, widget: string, default: /contact/ }
100
-
101
- - name: footer
102
- label: Footer
103
- file: src/content/footerSettings/index.json
104
- icon: table_rows
105
- fields:
106
- - name: footer
107
- label: Footer links
108
- widget: list
109
- fields:
110
- - { name: label, label: Label, widget: string }
111
- - { name: href, label: Link, widget: string }
112
- - name: groups
113
- label: Footer columns
114
- widget: list
115
- required: false
116
- hint: Headed columns for policies, safeguarding, documents and forms — keep the main menu short.
117
- fields:
118
- - { name: heading, label: Heading, widget: string }
119
- - name: links
120
- label: Links
121
- widget: list
122
- fields:
123
- - { name: label, label: Label, widget: string }
124
- - { name: href, label: Link, widget: string }
125
-
126
- - name: calendar-settings
127
- label: Calendar
128
- file: src/content/calendarSettings/index.json
129
- icon: calendar_today
130
- fields:
131
- - { name: title, label: Heading, widget: string, default: Calendar }
132
- - { name: intro, label: Intro, widget: text, required: false }
133
- - { name: embedUrl, label: Embed URL, widget: string, required: false }
134
- - { name: publicUrl, label: Public link, widget: string, required: false }
135
- - { name: height, label: Height (px), widget: number, default: 700, value_type: int, min: 200, max: 2000 }
136
- - { name: provider, label: Provider name, widget: string, default: Google Calendar }
137
- - { name: weekStart, label: Week starts on, widget: select, default: monday, options: [{ label: "Monday", value: monday }, { label: "Sunday", value: sunday }] }
138
-
139
- - name: posts-settings
140
- label: News
141
- file: src/content/postsSettings/index.json
142
- icon: newspaper
143
- fields:
144
- - { name: title, label: Heading, widget: string, default: News }
145
- - { name: intro, label: Intro, widget: text, required: false }
146
- - { name: perPage, label: Posts per page, widget: number, default: 12, value_type: int, min: 1, max: 48, hint: "How many posts each news page shows. 12 fills rows of one, two, three or four evenly." }
147
- - { name: excludeFromIndex, label: Tags kept off the main news page, widget: list, required: false, hint: "Tag names (for example newsletter) whose posts appear only on their own tag page." }
148
-
149
- - name: posts
150
- label: Posts
151
- label_singular: Post
152
- folder: src/content/posts
153
- create: true
154
- slug: "{{slug}}"
155
- extension: md
156
- format: frontmatter
157
- icon: article
158
- summary: "{{title}} — {{date}}"
159
- sortable_fields: [date, title]
160
- fields:
161
- - { name: title, label: Title, widget: string }
162
- - { name: date, label: Date, widget: datetime, picker_utc: true }
163
- - { name: summary, label: Summary, widget: text, required: false }
164
- - name: tags
165
- label: Tags
166
- widget: relation
167
- required: false
168
- collection: tags
169
- value_field: "{{slug}}"
170
- display_fields: [label]
171
- search_fields: [label]
172
- multiple: true
173
- - { name: heroImage, label: Hero image, widget: image, required: false }
174
- - { name: heroImageAlt, label: Picture description, widget: string, required: false, hint: "Who or what the picture shows, in a short sentence, for people who can't see it (e.g. Parishioners outside the church after the Easter Vigil). Leave empty if it's only decoration." }
175
- - { name: attachment, label: Attachment (e.g. PDF), widget: file, required: false }
176
- - { name: draft, label: Draft, widget: boolean, default: false, required: false }
177
- - { name: body, label: Body, widget: markdown, required: false }
178
-
179
- - name: tags
180
- label: Tags
181
- label_singular: Tag
182
- folder: src/content/tags
183
- create: true
184
- slug: "{{slug}}"
185
- extension: json
186
- format: json
187
- icon: label
188
- identifier_field: label
189
- fields:
190
- - { name: label, label: Label, widget: string }
191
- - { name: description, label: Description, widget: text, required: false }
192
- - { name: hidden, label: Hidden, widget: boolean, default: false, required: false }
193
-
194
- - name: pages
195
- label: Pages
196
- label_singular: Page
197
- description: "__PAGES_DESCRIPTION__"
198
- folder: src/content/pages
199
- extension: json
200
- format: json
201
- icon: description
202
- # Pages are added, published and made drafts on the portal's Pages tab, within the site's
203
- # plan (myai4-webdev #119): the CMS shows each page, for its people to request changes.
204
- create: false
205
- delete: false
206
- nested: { depth: 3, summary: "{{title}}" }
207
- summary: "{{title}}"
208
- identifier_field: title
209
- fields:
210
- - { name: title, label: Page title, widget: string }
211
- # ferst:requests (the Basic plan only: bin/cms-config.mjs leaves it out on the free plan)
212
- - name: requests
213
- label: Requested changes
214
- label_singular: Request
215
- widget: list
216
- required: false
217
- summary: "{{fields.text}}"
218
- fields:
219
- - { name: text, label: "What would you like changed?", widget: text }
220
- - { name: status, label: Status, widget: select, default: open, options: [{ label: Open, value: open }, { label: Done, value: done }] }
221
- # Stamped by the platform when the request is raised with the team (who, when, the
222
- # tracking number). Hidden, but kept on every save so a request is raised only once.
223
- - { name: issue, widget: hidden, required: false }
224
- - { name: by, widget: hidden, required: false }
225
- - { name: at, widget: hidden, required: false }
226
- # /ferst:requests
227
- - { name: description, label: SEO description, widget: hidden, required: false }
228
- - { name: heroImage, widget: hidden, required: false }
229
- - { name: align, widget: hidden, required: false }
230
- - { name: templateId, widget: hidden, required: false }
231
- - { name: draft, widget: hidden, required: false }
232
- - { name: blocks, widget: hidden }
1
+ # Sveltia CMS — the content editor for a Ferst site. SINGLE SOURCE: this file lives
2
+ # in ferst-core and is written to dist/admin/config.yml at build by `ferst-cms-config`,
3
+ # so every client's collections are identical and always match the engine. The client
4
+ # repo commits NO config.yml — it is a build product, so it can never drift by hand.
5
+ #
6
+ # The backend repo (owner/name), git-proxy origin, its /git api_root and this
7
+ # deployment's branch are injected at build by ferst-cms-config.
8
+ backend:
9
+ name: github
10
+ repo: __REPO__
11
+ branch: __BRANCH__
12
+ base_url: __BASE_URL__
13
+ auth_endpoint: auth
14
+ api_root: __API_ROOT__
15
+
16
+ media_folder: public/uploads
17
+ public_folder: /uploads
18
+
19
+ # The site's own icon on the sign-in and in the header (the ferst() integration writes it
20
+ # into every build), so editors see their site, not the tools behind it.
21
+ logo_url: /apple-touch-icon.png
22
+
23
+ collections:
24
+ - name: settings
25
+ label: Site settings
26
+ files:
27
+ # No design tokens pane: a site's look is set in the portal, on its Design tab, for every
28
+ # site and branch (myai4-webdev #119). The themeSettings file is the portal's to write.
29
+ - name: identity
30
+ label: Identity & contact
31
+ file: src/content/siteSettings/index.json
32
+ icon: info
33
+ fields:
34
+ - name: identity
35
+ label: Identity
36
+ widget: object
37
+ fields:
38
+ - { name: siteTitle, label: Site title, widget: string }
39
+ - { name: shortName, label: Short name, widget: string }
40
+ - { name: description, label: Description, widget: text }
41
+ - { name: location, label: Location, widget: string, required: false }
42
+ - { name: kind, label: Kind of organisation, widget: select, required: false, default: organisation, options: [{ label: Church, value: church }, { label: School, value: school }, { label: Charity, value: charity }, { label: Business, value: business }, { label: Other organisation, value: organisation }], hint: "Tells search engines what the site is for." }
43
+ - name: contact
44
+ label: Contact
45
+ widget: object
46
+ fields:
47
+ - { name: phoneDisplay, label: Phone (display), widget: string, required: false }
48
+ - { name: phoneTel, label: 'Phone (tel: digits)', widget: string, required: false }
49
+ - { name: email, label: Email, widget: string, required: false }
50
+ - { name: facebookUrl, label: Facebook URL, widget: string, required: false }
51
+ - name: places
52
+ label: Places
53
+ label_singular: Place
54
+ widget: list
55
+ required: false
56
+ hint: "Each place the site is for, with its address (a parish may have several churches). Search engines read these."
57
+ fields:
58
+ - { name: name, label: Name, widget: string }
59
+ - { name: streetAddress, label: Street address, widget: string, required: false }
60
+ - { name: locality, label: Town, widget: string, required: false }
61
+ - { name: postalCode, label: Postcode, widget: string, required: false }
62
+ - { name: country, label: Country code, widget: string, required: false, default: GB }
63
+ - { name: mapUrl, label: Map link, widget: string, required: false }
64
+ - name: verification
65
+ label: Search engine verification
66
+ widget: object
67
+ required: false
68
+ collapsed: true
69
+ hint: "Codes from Google Search Console and Bing Webmaster Tools, when they ask for an HTML tag."
70
+ fields:
71
+ - { name: google, label: Google code, widget: string, required: false }
72
+ - { name: bing, label: Bing code, widget: string, required: false }
73
+
74
+ - name: logos
75
+ label: Logos
76
+ file: src/content/logoSettings/index.json
77
+ icon: image
78
+ fields:
79
+ - { name: primaryLogoLight, label: Header logo (light), widget: image, required: false }
80
+ - { name: primaryLogoDark, label: Header logo (dark), widget: image, required: false }
81
+ - { name: secondaryLogoLight, label: Footer logo (light), widget: image, required: false }
82
+ - { name: secondaryLogoDark, label: Footer logo (dark), widget: image, required: false }
83
+ - { name: favicon, label: Browser icon, widget: image, required: false, hint: "A square image (PNG or SVG), at least 48 x 48. Leave blank to use the header logo if it's square, or the site's initial in its brand colour." }
84
+
85
+ - name: navbar
86
+ label: Navigation
87
+ file: src/content/navbarSettings/index.json
88
+ icon: menu
89
+ fields:
90
+ - name: primary
91
+ label: Primary links
92
+ widget: list
93
+ fields:
94
+ - { name: label, label: Label, widget: string }
95
+ - { name: href, label: Link, widget: string }
96
+ - name: cta
97
+ label: Header button
98
+ widget: object
99
+ required: false
100
+ hint: The button at the right of the header (and in the footer). Leave as Contact → /contact/ unless your contact page lives elsewhere.
101
+ fields:
102
+ - { name: label, label: Label, widget: string, default: Contact }
103
+ - { name: href, label: Link, widget: string, default: /contact/ }
104
+
105
+ - name: footer
106
+ label: Footer
107
+ file: src/content/footerSettings/index.json
108
+ icon: table_rows
109
+ fields:
110
+ - name: footer
111
+ label: Footer links
112
+ widget: list
113
+ fields:
114
+ - { name: label, label: Label, widget: string }
115
+ - { name: href, label: Link, widget: string }
116
+ - name: groups
117
+ label: Footer columns
118
+ widget: list
119
+ required: false
120
+ hint: Headed columns for policies, safeguarding, documents and forms — keep the main menu short.
121
+ fields:
122
+ - { name: heading, label: Heading, widget: string }
123
+ - name: links
124
+ label: Links
125
+ widget: list
126
+ fields:
127
+ - { name: label, label: Label, widget: string }
128
+ - { name: href, label: Link, widget: string }
129
+
130
+ - name: calendar-settings
131
+ label: Calendar
132
+ file: src/content/calendarSettings/index.json
133
+ icon: calendar_today
134
+ fields:
135
+ - { name: title, label: Heading, widget: string, default: Calendar }
136
+ - { name: intro, label: Intro, widget: text, required: false }
137
+ - { name: embedUrl, label: Embed URL, widget: string, required: false }
138
+ - { name: publicUrl, label: Public link, widget: string, required: false }
139
+ - { name: height, label: Height (px), widget: number, default: 700, value_type: int, min: 200, max: 2000 }
140
+ - { name: provider, label: Provider name, widget: string, default: Google Calendar }
141
+ - { name: weekStart, label: Week starts on, widget: select, default: monday, options: [{ label: "Monday", value: monday }, { label: "Sunday", value: sunday }] }
142
+
143
+ - name: posts-settings
144
+ label: News
145
+ file: src/content/postsSettings/index.json
146
+ icon: newspaper
147
+ fields:
148
+ - { name: title, label: Heading, widget: string, default: News }
149
+ - { name: intro, label: Intro, widget: text, required: false }
150
+ - { name: perPage, label: Posts per page, widget: number, default: 12, value_type: int, min: 1, max: 48, hint: "How many posts each news page shows. 12 fills rows of one, two, three or four evenly." }
151
+ - { name: excludeFromIndex, label: Tags kept off the main news page, widget: list, required: false, hint: "Tag names (for example newsletter) whose posts appear only on their own tag page." }
152
+
153
+ - name: posts
154
+ label: Posts
155
+ label_singular: Post
156
+ folder: src/content/posts
157
+ create: true
158
+ slug: "{{slug}}"
159
+ extension: md
160
+ format: frontmatter
161
+ icon: article
162
+ summary: "{{title}} — {{date}}"
163
+ # Newest first: editors look for what they wrote last.
164
+ sortable_fields:
165
+ fields: [date, title]
166
+ default: { field: date, direction: descending }
167
+ fields:
168
+ - { name: title, label: Title, widget: string }
169
+ - { name: date, label: Date, widget: datetime, picker_utc: true }
170
+ - { name: summary, label: Summary, widget: text, required: false }
171
+ - name: tags
172
+ label: Tags
173
+ widget: relation
174
+ required: false
175
+ collection: tags
176
+ value_field: "{{slug}}"
177
+ display_fields: [label]
178
+ search_fields: [label]
179
+ multiple: true
180
+ - { name: heroImage, label: Hero image, widget: image, required: false }
181
+ - { name: heroImageAlt, label: Picture description, widget: string, required: false, hint: "Who or what the picture shows, in a short sentence, for people who can't see it (e.g. Parishioners outside the church after the Easter Vigil). Leave empty if it's only decoration." }
182
+ - { name: attachment, label: Attachment (e.g. PDF), widget: file, required: false }
183
+ - { name: draft, label: Draft, widget: boolean, default: false, required: false }
184
+ - { name: body, label: Body, widget: markdown, required: false }
185
+
186
+ - name: tags
187
+ label: Tags
188
+ label_singular: Tag
189
+ folder: src/content/tags
190
+ create: true
191
+ slug: "{{slug}}"
192
+ extension: json
193
+ format: json
194
+ icon: label
195
+ identifier_field: label
196
+ fields:
197
+ - { name: label, label: Label, widget: string }
198
+ - { name: description, label: Description, widget: text, required: false }
199
+ - { name: hidden, label: Hidden, widget: boolean, default: false, required: false }
200
+
201
+ - name: pages
202
+ label: Pages
203
+ label_singular: Page
204
+ description: "__PAGES_DESCRIPTION__"
205
+ folder: src/content/pages
206
+ extension: json
207
+ format: json
208
+ icon: description
209
+ # Pages are added, published and made drafts on the portal's Pages tab, within the site's
210
+ # plan (myai4-webdev #119): the CMS shows each page, for its people to request changes.
211
+ create: false
212
+ delete: false
213
+ nested: { depth: 3, summary: "{{title}}" }
214
+ summary: "{{title}}"
215
+ identifier_field: title
216
+ fields:
217
+ - { name: title, label: Page title, widget: string }
218
+ # ferst:requests (the Basic plan only: bin/cms-config.mjs leaves it out on the free plan)
219
+ - name: requests
220
+ label: Requested changes
221
+ label_singular: Request
222
+ widget: list
223
+ required: false
224
+ summary: "{{fields.text}}"
225
+ fields:
226
+ - { name: text, label: "What would you like changed?", widget: text }
227
+ - { name: status, label: Status, widget: select, default: open, options: [{ label: Open, value: open }, { label: Done, value: done }] }
228
+ # Stamped by the platform when the request is raised with the team (who, when, the
229
+ # tracking number). Hidden, but kept on every save so a request is raised only once.
230
+ - { name: issue, widget: hidden, required: false }
231
+ - { name: by, widget: hidden, required: false }
232
+ - { name: at, widget: hidden, required: false }
233
+ # /ferst:requests
234
+ - { name: description, label: SEO description, widget: hidden, required: false }
235
+ - { name: heroImage, widget: hidden, required: false }
236
+ - { name: align, widget: hidden, required: false }
237
+ - { name: templateId, widget: hidden, required: false }
238
+ - { name: draft, widget: hidden, required: false }
239
+ - { name: blocks, widget: hidden }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ferst-core",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "type": "module",
5
5
  "description": "Ferst Core — the shared, brand-agnostic client-site system: Astro components, layouts, content schemas, the layered config resolver, and a neutral styling architecture that every client overrides.",
6
6
  "license": "BUSL-1.1",