@sarimarcus/content-sites-core 0.45.0 → 0.47.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.
- package/CHANGELOG.md +8 -0
- package/dist/articles/formats.js +2 -2
- package/package.json +1 -1
- package/src/articles/formats.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
All packages in the platform release in lockstep; entries are per release version.
|
|
4
4
|
|
|
5
|
+
## 0.47.0 (2026-10-23)
|
|
6
|
+
|
|
7
|
+
- No changes; lockstep release with ui (SLA-3311).
|
|
8
|
+
|
|
9
|
+
## 0.46.0 (2026-10-22)
|
|
10
|
+
|
|
11
|
+
- No changes; lockstep release with ui (SLA-3306).
|
|
12
|
+
|
|
5
13
|
## 0.45.0 (2026-10-22)
|
|
6
14
|
|
|
7
15
|
- `people`: `peopleSchemaFields` gains an optional `knownFor` (one trimmed line, at most `KNOWN_FOR_MAX` = 100 characters) for the PersonCard hook. The schema needs no site edit; to show it, a site passes `p.data.knownFor ?? p.data.description` to `PeopleHub` (SLA-3297).
|
package/dist/articles/formats.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// legacy shape (article-craft §1 / discover-mode.md). Pure: no Node APIs, it runs in the Astro build.
|
|
4
4
|
import { isObject } from "../internal/guards.js";
|
|
5
5
|
const DISCOVER = { sections: [3, 6], faqs: [0, 3], words: [700, 1600] };
|
|
6
|
-
const EXPLAINER = { sections: [4, 6], faqs: [5, 9], words: [
|
|
6
|
+
const EXPLAINER = { sections: [4, 6], faqs: [5, 9], words: [950, 2100] };
|
|
7
7
|
export const LEGACY_SHAPE = {
|
|
8
8
|
evergreen: { sections: EXPLAINER.sections, faqs: EXPLAINER.faqs, keyFacts: [3, 3] },
|
|
9
9
|
discover: { sections: DISCOVER.sections, faqs: DISCOVER.faqs, keyFacts: [3, 3] },
|
|
@@ -20,7 +20,7 @@ export const ARTICLE_FORMATS = [
|
|
|
20
20
|
export const FORMATS = {
|
|
21
21
|
'direct-answer': card([4, 5], [5, 9], [900, 1400]),
|
|
22
22
|
explainer: card(EXPLAINER.sections, EXPLAINER.faqs, EXPLAINER.words, {}),
|
|
23
|
-
'narrative-profile': card([4, 6], [5, 9], [
|
|
23
|
+
'narrative-profile': card([4, 6], [5, 9], [950, 2100], {}),
|
|
24
24
|
'claim-check': card([3, 5], [3, 9], [900, 1400], { sections: [3, 5], words: [700, 1400] }),
|
|
25
25
|
roundup: card([4, 6], [3, 9], [1500, 2100]),
|
|
26
26
|
'how-to': card([4, 6], [5, 9], [1500, 2100]),
|
package/package.json
CHANGED
package/src/articles/formats.ts
CHANGED
|
@@ -29,7 +29,7 @@ export interface ArticleShape extends ShapeRanges {
|
|
|
29
29
|
export type ShapeIssue = FieldIssue;
|
|
30
30
|
|
|
31
31
|
const DISCOVER = { sections: [3, 6], faqs: [0, 3], words: [700, 1600] } as const satisfies { sections: Range; faqs: Range; words: Range };
|
|
32
|
-
const EXPLAINER = { sections: [4, 6], faqs: [5, 9], words: [
|
|
32
|
+
const EXPLAINER = { sections: [4, 6], faqs: [5, 9], words: [950, 2100] } as const satisfies { sections: Range; faqs: Range; words: Range };
|
|
33
33
|
|
|
34
34
|
export const LEGACY_SHAPE: Record<ArticleMode, ShapeRanges> = {
|
|
35
35
|
evergreen: { sections: EXPLAINER.sections, faqs: EXPLAINER.faqs, keyFacts: [3, 3] },
|
|
@@ -57,7 +57,7 @@ export type ArticleFormat = (typeof ARTICLE_FORMATS)[number];
|
|
|
57
57
|
export const FORMATS: Record<ArticleFormat, FormatCard> = {
|
|
58
58
|
'direct-answer': card([4, 5], [5, 9], [900, 1400]),
|
|
59
59
|
explainer: card(EXPLAINER.sections, EXPLAINER.faqs, EXPLAINER.words, {}),
|
|
60
|
-
'narrative-profile': card([4, 6], [5, 9], [
|
|
60
|
+
'narrative-profile': card([4, 6], [5, 9], [950, 2100], {}),
|
|
61
61
|
'claim-check': card([3, 5], [3, 9], [900, 1400], { sections: [3, 5], words: [700, 1400] }),
|
|
62
62
|
roundup: card([4, 6], [3, 9], [1500, 2100]),
|
|
63
63
|
'how-to': card([4, 6], [5, 9], [1500, 2100]),
|