Skip to content

Commit 2e2b7b4

Browse files
author
NehaSrivastava
committed
chore: rebasing and linting
1 parent e3ff38a commit 2e2b7b4

16 files changed

+33
-20
lines changed

packages/article/article.showcase.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const renderArticle = ({
4141
}) => (
4242
<ArticleProvider debounceTimeMs={0} id={id}>
4343
{({ article, isLoading, error, refetch }) => (
44-
<Context.Provider value={{ theme: { scale, sectionColour } }}>
44+
<Context.Provider value={{ theme: { scale, sectionColour}, makeUrl }}>
4545
<Article
4646
adConfig={adConfig}
4747
analyticsStream={analyticsStream}

packages/author-profile/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
},
7474
"dependencies": {
7575
"@times-components/article-list": "5.2.9",
76-
"@times-components/context": "0.4.27",
76+
"@times-components/context": "0.4.28",
7777
"@times-components/gradient": "2.1.36",
7878
"@times-components/icons": "2.2.28",
7979
"@times-components/image": "4.0.11",

packages/related-articles/fixtures/leadandtwo/1-article.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ const defaultCrop169 =
33
const defaultHeadline = "Defence of the Realm";
44
const defaultShortHeadline = "Defence of the Realm";
55
const defaultLabel = "leading article";
6-
const defaultSlug = "bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely";
6+
const defaultSlug =
7+
"bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely";
78
const defaultShortIdentifier = "2k629tpvh";
89
const defaultSummary105 = [
910
{

packages/related-articles/fixtures/leadandtwo/2-articles.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,8 @@ const defaultSecondSummary225 = [
269269
const defaultSecondUrl =
270270
"https://www.uat-thetimes.co.uk/article/size-matters-so-ministers-must-prove-they-are-serious-about-defence-bhs0jnw6d";
271271

272-
const defaultSlug = "bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely";
272+
const defaultSlug =
273+
"bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely";
273274
const defaultShortIdentifier = "2k629tpvh";
274275
export default (
275276
{

packages/related-articles/fixtures/leadandtwo/3-articles.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ const defaultSecondHeadline = "Trident gets out of MoD budget, Hammond urged";
112112
const defaultSecondShortHeadline = "Trident gets out of MoD budget";
113113
const defaultSecondLabel = "defence cuts";
114114
const defaultSecondSection = "sport";
115-
const defaultSlug = "bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely";
115+
const defaultSlug =
116+
"bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely";
116117
const defaultShortIdentifier = "2k629tpvh";
117118
const defaultSecondSummary105 = [
118119
{

packages/related-articles/fixtures/opinionandtwo/1-article.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ const defaultHeadline =
77
const defaultShortHeadline = "Nothing proves Jeremy Corbyn is anti-semitic";
88
const defaultLabel = "opinion";
99
const defaultSection = "comment";
10-
const defaultSlug = "bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely";
10+
const defaultSlug =
11+
"bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely";
1112
const defaultShortIdentifier = "2k629tpvh";
1213
const defaultSummary105 = [
1314
{

packages/related-articles/fixtures/opinionandtwo/2-articles.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,8 @@ const defaultSecondSummary225 = [
263263
]
264264
}
265265
];
266-
const defaultSlug = "bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely";
266+
const defaultSlug =
267+
"bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely";
267268
const defaultShortIdentifier = "2k629tpvh";
268269
const defaultSecondUrl =
269270
"https://www.uat-thetimes.co.uk/article/size-matters-so-ministers-must-prove-they-are-serious-about-defence-bhs0jnw6d";

packages/related-articles/fixtures/opinionandtwo/3-articles.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ const defaultFirstHeadline = "High score for labour in football club election";
66
const defaultFirstShortHeadline = "High score for labour in football";
77
const defaultFirstLabel = "opinion";
88
const defaultFirstSection = "comment";
9-
const defaultSlug = "bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely";
9+
const defaultSlug =
10+
"bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely";
1011
const defaultShortIdentifier = "2k629tpvh";
1112
const defaultFirstSummary105 = [
1213
{

packages/related-articles/fixtures/standard/1-article-no-byline.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
"id": "08604618-fb0e-11e7-a987-7fcf5e9983dc",
99
"headline":
1010
"Now for a new battle: bringing the fragile masterpiece over safely",
11-
"slug":"bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely",
12-
"shortIdentifier":"2k629tpvh",
11+
"slug":
12+
"bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely",
13+
"shortIdentifier": "2k629tpvh",
1314
"shortHeadline": "Bringing the fragile masterpiece over safely",
1415
"section": "thedish",
1516
"summary105": [

packages/related-articles/fixtures/standard/1-article-no-image.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
"id": "18604618-fb0e-11e7-a987-7fcf5e9983dc",
99
"headline":
1010
"Now for a new battle: bringing the fragile masterpiece over safely",
11-
"slug":"bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely",
12-
"shortIdentifier":"2k629tpvh",
11+
"slug":
12+
"bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely",
13+
"shortIdentifier": "2k629tpvh",
1314
"shortHeadline": "Bringing the fragile masterpiece over safely",
1415
"section": "thedish",
1516
"summary105": [

packages/related-articles/fixtures/standard/1-article-no-label.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
"id": "28604618-fb0e-11e7-a987-7fcf5e9983dc",
99
"headline":
1010
"Now for a new battle: bringing the fragile masterpiece over safely",
11-
"slug":"bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely",
12-
"shortIdentifier":"2k629tpvh",
11+
"slug":
12+
"bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely",
13+
"shortIdentifier": "2k629tpvh",
1314
"shortHeadline": "Bringing the fragile masterpiece over safely",
1415
"section": "thedish",
1516
"summary105": [

packages/related-articles/fixtures/standard/1-article-video-lead.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99
"hasVideo": true,
1010
"headline":
1111
"Now for a new battle: bringing the fragile masterpiece over safely",
12-
"slug":"bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely",
13-
"shortIdentifier":"2k629tpvh",
12+
"slug":
13+
"bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely",
14+
"shortIdentifier": "2k629tpvh",
1415
"shortHeadline": "Bringing the fragile masterpiece over safely",
1516
"section": "thedish",
1617
"summary105": [

packages/related-articles/fixtures/standard/1-article.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ const defaultTitle =
113113
const defaultUrl =
114114
"https://www.thetimes.co.uk/article/bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely-2k629tpvh";
115115

116-
const defaultSlug = "bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely";
116+
const defaultSlug =
117+
"bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely";
117118
const defaultShortIdentifier = "2k629tpvh";
118119
export default (
119120
{

packages/related-articles/fixtures/standard/2-articles.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,8 @@ const defaultSecondSummary225 = [
366366
const defaultSecondUrl =
367367
"https://www.thetimes.co.uk/article/bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely-2k629tpvh";
368368

369-
const defaultSlug = "bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely";
369+
const defaultSlug =
370+
"bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely";
370371
const defaultShortIdentifier = "2k629tpvh";
371372

372373
export default (

packages/related-articles/fixtures/standard/3-articles.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ const defaultFirstTitle =
106106
"The tapestry has had a purpose-built home since 1983, having once been kept at Bayeux Cathedral";
107107
const defaultFirstUrl =
108108
"https://www.thetimes.co.uk/article/bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely-2k629tpvh";
109-
const defaultSlug = "bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely";
109+
const defaultSlug =
110+
"bayeux-tapestry-now-for-a-new-battle-bringing-fragile-masterpiece-to-britain-safely";
110111
const defaultShortIdentifier = "2k629tpvh";
111112
const defaultSecondCrop169 =
112113
"https://www.thetimes.co.uk/imageserver/image/methode%2Ftimes%2Fprod%2Fweb%2Fbin%2F82723c10-fb7f-11e7-a987-7fcf5e9983dc.jpg?crop=4886%2C2748%2C92%2C108";

packages/topic/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"webpack-cli": "2.1.4"
7070
},
7171
"dependencies": {
72-
"@times-components/context": "0.4.27",
72+
"@times-components/context": "0.4.28",
7373
"@times-components/article-list": "5.2.9",
7474
"@times-components/markup": "3.2.8",
7575
"@times-components/markup-forest": "1.0.6",

0 commit comments

Comments
 (0)