@newskit-render/mock 0.36.0 → 0.38.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 +30 -0
- package/package.json +1 -1
- package/src/articles/index.js +44 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.37.1](https://github.com/newscorp-ghfb/ncu-newskit-render/compare/@newskit-render/mock@0.37.0...@newskit-render/mock@0.37.1) (2022-05-13)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @newskit-render/mock
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [0.37.0](https://github.com/newscorp-ghfb/ncu-newskit-render/compare/@newskit-render/mock@0.36.0...@newskit-render/mock@0.37.0) (2022-05-10)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **PPDSR-763:** Integrate Brightcove video ([#706](https://github.com/newscorp-ghfb/ncu-newskit-render/issues/706)) ([497131a](https://github.com/newscorp-ghfb/ncu-newskit-render/commit/497131a83c6e74c2af19aa578e0249dd25fb835a))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [0.36.0](https://github.com/newscorp-ghfb/ncu-newskit-render/compare/@newskit-render/mock@0.35.0...@newskit-render/mock@0.36.0) (2022-04-19)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* **PPDSR-689:** Update index pages to use the new layout ([#673](https://github.com/newscorp-ghfb/ncu-newskit-render/issues/673)) ([4d50f65](https://github.com/newscorp-ghfb/ncu-newskit-render/commit/4d50f65af939233ec9d45f35e9ace91e5c1b50f7))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [0.35.0](https://github.com/newscorp-ghfb/ncu-newskit-render/compare/@newskit-render/mock@0.33.1...@newskit-render/mock@0.35.0) (2022-04-15)
|
|
7
37
|
|
|
8
38
|
|
package/package.json
CHANGED
package/src/articles/index.js
CHANGED
|
@@ -672,7 +672,50 @@ const { crop, video } = require("./media");
|
|
|
672
672
|
}
|
|
673
673
|
]
|
|
674
674
|
}
|
|
675
|
-
}
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
id: "18376388",
|
|
678
|
+
url: "https://www.thesun.co.uk/sport/18376388/man-utd-arsenal-ruben-neves-transfer-blow-barcelona/",
|
|
679
|
+
label: null,
|
|
680
|
+
slug: "man-utd-arsenal-ruben-neves-transfer-blow-barcelona",
|
|
681
|
+
publisher: "SUN_UK",
|
|
682
|
+
headline: "Man Utd & Arsenal handed Neves blow with Wolves ace ‘crazy about Barcelona’",
|
|
683
|
+
kicker: "RU CAMP",
|
|
684
|
+
flags: [
|
|
685
|
+
"Gossip"
|
|
686
|
+
],
|
|
687
|
+
topics: [],
|
|
688
|
+
template: "theme-football",
|
|
689
|
+
bylines: [
|
|
690
|
+
{
|
|
691
|
+
"value": "Gary Stonehouse",
|
|
692
|
+
"type": "inline"
|
|
693
|
+
}
|
|
694
|
+
],
|
|
695
|
+
publishedDateTime: "2022-04-26T10:24:05.000Z",
|
|
696
|
+
updatedDateTime: "2022-04-26T18:30:23.000Z",
|
|
697
|
+
summary: {
|
|
698
|
+
children: [
|
|
699
|
+
{
|
|
700
|
+
"text": "PORTUGUESE star has been at Molineux since 2017 and helped them rise from the Championship to the Premier League. He still has two years left on his deal but wants to play in the Champions League."
|
|
701
|
+
}
|
|
702
|
+
]
|
|
703
|
+
},
|
|
704
|
+
media: {
|
|
705
|
+
// TODO (PPDSR-XXX): In this example accountId is taken directly from Sun sitemap data, ideally this field should be populated in each article query
|
|
706
|
+
accountId: "5067014667001",
|
|
707
|
+
videoId: "6288769193001",
|
|
708
|
+
posterImage: {
|
|
709
|
+
crops: [
|
|
710
|
+
{
|
|
711
|
+
url: "https://www.thesun.co.uk/wp-content/uploads/2021/12/image-5923b09d66.jpg?strip=all&w=600&h=338&crop=1",
|
|
712
|
+
alt: null,
|
|
713
|
+
aspectRatio: null
|
|
714
|
+
}
|
|
715
|
+
]
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
}
|
|
676
719
|
]
|
|
677
720
|
|
|
678
721
|
|