Date: Mon, 16 Sep 2024 10:02:29 +0000
Subject: [PATCH 26/97] chore: Publish f59c8227bd [ci skip]
- @times-components/article-extras@0.32.7
- @times-components/article-in-depth@3.89.7
- @times-components/article-magazine-comment@3.85.7
- @times-components/article-magazine-standard@3.85.7
- @times-components/article-main-comment@2.88.7
- @times-components/article-main-standard@3.97.7
- @times-components/article-paragraph@1.9.328
- @times-components/article-skeleton@1.137.8
- @times-components/article@7.17.11
- @times-components/save-and-share-bar@0.24.0
- @times-components/ssr@2.58.10
---
packages/article-extras/CHANGELOG.md | 8 ++++++++
packages/article-extras/package.json | 4 ++--
packages/article-in-depth/CHANGELOG.md | 8 ++++++++
packages/article-in-depth/package.json | 4 ++--
packages/article-magazine-comment/CHANGELOG.md | 8 ++++++++
packages/article-magazine-comment/package.json | 4 ++--
packages/article-magazine-standard/CHANGELOG.md | 8 ++++++++
packages/article-magazine-standard/package.json | 4 ++--
packages/article-main-comment/CHANGELOG.md | 8 ++++++++
packages/article-main-comment/package.json | 4 ++--
packages/article-main-standard/CHANGELOG.md | 8 ++++++++
packages/article-main-standard/package.json | 4 ++--
packages/article-paragraph/CHANGELOG.md | 8 ++++++++
packages/article-paragraph/package.json | 4 ++--
packages/article-skeleton/CHANGELOG.md | 8 ++++++++
packages/article-skeleton/package.json | 8 ++++----
packages/article/CHANGELOG.md | 8 ++++++++
packages/article/package.json | 12 ++++++------
packages/save-and-share-bar/CHANGELOG.md | 11 +++++++++++
packages/save-and-share-bar/package.json | 2 +-
packages/ssr/CHANGELOG.md | 8 ++++++++
packages/ssr/package.json | 4 ++--
22 files changed, 118 insertions(+), 27 deletions(-)
diff --git a/packages/article-extras/CHANGELOG.md b/packages/article-extras/CHANGELOG.md
index 1a3f9aa729d..27b979e9f19 100644
--- a/packages/article-extras/CHANGELOG.md
+++ b/packages/article-extras/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.32.7](https://github.com/newsuk/times-components/compare/@times-components/article-extras@0.32.6...@times-components/article-extras@0.32.7) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/article-extras
+
+
+
+
+
## [0.32.6](https://github.com/newsuk/times-components/compare/@times-components/article-extras@0.32.5...@times-components/article-extras@0.32.6) (2024-09-09)
**Note:** Version bump only for package @times-components/article-extras
diff --git a/packages/article-extras/package.json b/packages/article-extras/package.json
index a6056056c55..1fc7a1d658c 100644
--- a/packages/article-extras/package.json
+++ b/packages/article-extras/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-extras",
- "version": "0.32.6",
+ "version": "0.32.7",
"description": "Extra information components at the bottom of the articles, such as topics, related articles and comments ",
"main": "dist/index",
"dev": "src/index",
@@ -55,7 +55,7 @@
"@times-components/context": "1.24.0",
"@times-components/message-bar": "0.7.85",
"@times-components/related-articles": "6.17.86",
- "@times-components/save-and-share-bar": "0.23.4",
+ "@times-components/save-and-share-bar": "0.24.0",
"@times-components/ts-components": "1.103.4",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/user-state": "0.5.51",
diff --git a/packages/article-in-depth/CHANGELOG.md b/packages/article-in-depth/CHANGELOG.md
index 8bc82bf3922..f91e03878f3 100644
--- a/packages/article-in-depth/CHANGELOG.md
+++ b/packages/article-in-depth/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.89.7](https://github.com/newsuk/times-components/compare/@times-components/article-in-depth@3.89.6...@times-components/article-in-depth@3.89.7) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/article-in-depth
+
+
+
+
+
## [3.89.6](https://github.com/newsuk/times-components/compare/@times-components/article-in-depth@3.89.5...@times-components/article-in-depth@3.89.6) (2024-09-09)
**Note:** Version bump only for package @times-components/article-in-depth
diff --git a/packages/article-in-depth/package.json b/packages/article-in-depth/package.json
index 1f8f7325dac..3e57b5c9f1e 100644
--- a/packages/article-in-depth/package.json
+++ b/packages/article-in-depth/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-in-depth",
- "version": "3.89.6",
+ "version": "3.89.7",
"description": "In Depth Article Template",
"main": "dist/article-in-depth",
"dev": "src/article-in-depth",
@@ -57,7 +57,7 @@
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.42",
- "@times-components/article-skeleton": "1.137.7",
+ "@times-components/article-skeleton": "1.137.8",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
diff --git a/packages/article-magazine-comment/CHANGELOG.md b/packages/article-magazine-comment/CHANGELOG.md
index 754b2a7f33a..96bbf591866 100644
--- a/packages/article-magazine-comment/CHANGELOG.md
+++ b/packages/article-magazine-comment/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.85.7](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-comment@3.85.6...@times-components/article-magazine-comment@3.85.7) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/article-magazine-comment
+
+
+
+
+
## [3.85.6](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-comment@3.85.5...@times-components/article-magazine-comment@3.85.6) (2024-09-09)
**Note:** Version bump only for package @times-components/article-magazine-comment
diff --git a/packages/article-magazine-comment/package.json b/packages/article-magazine-comment/package.json
index 80bef18ac8b..544fc7f878a 100644
--- a/packages/article-magazine-comment/package.json
+++ b/packages/article-magazine-comment/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-magazine-comment",
- "version": "3.85.6",
+ "version": "3.85.7",
"description": "Magazine Comment Article Template",
"main": "dist/article-magazine-comment",
"dev": "src/article-magazine-comment",
@@ -57,7 +57,7 @@
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.42",
- "@times-components/article-skeleton": "1.137.7",
+ "@times-components/article-skeleton": "1.137.8",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
diff --git a/packages/article-magazine-standard/CHANGELOG.md b/packages/article-magazine-standard/CHANGELOG.md
index 9d01b834a08..8117a477439 100644
--- a/packages/article-magazine-standard/CHANGELOG.md
+++ b/packages/article-magazine-standard/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.85.7](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-standard@3.85.6...@times-components/article-magazine-standard@3.85.7) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/article-magazine-standard
+
+
+
+
+
## [3.85.6](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-standard@3.85.5...@times-components/article-magazine-standard@3.85.6) (2024-09-09)
**Note:** Version bump only for package @times-components/article-magazine-standard
diff --git a/packages/article-magazine-standard/package.json b/packages/article-magazine-standard/package.json
index bcf248d5841..f8e7998e6fe 100644
--- a/packages/article-magazine-standard/package.json
+++ b/packages/article-magazine-standard/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-magazine-standard",
- "version": "3.85.6",
+ "version": "3.85.7",
"description": "Magazine Standard Article Template",
"main": "dist/article-magazine-standard",
"dev": "src/article-magazine-standard",
@@ -57,7 +57,7 @@
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.42",
- "@times-components/article-skeleton": "1.137.7",
+ "@times-components/article-skeleton": "1.137.8",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
diff --git a/packages/article-main-comment/CHANGELOG.md b/packages/article-main-comment/CHANGELOG.md
index dcdfa707fc1..25881e627eb 100644
--- a/packages/article-main-comment/CHANGELOG.md
+++ b/packages/article-main-comment/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.88.7](https://github.com/newsuk/times-components/compare/@times-components/article-main-comment@2.88.6...@times-components/article-main-comment@2.88.7) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/article-main-comment
+
+
+
+
+
## [2.88.6](https://github.com/newsuk/times-components/compare/@times-components/article-main-comment@2.88.5...@times-components/article-main-comment@2.88.6) (2024-09-09)
**Note:** Version bump only for package @times-components/article-main-comment
diff --git a/packages/article-main-comment/package.json b/packages/article-main-comment/package.json
index 3109f7c0523..73023c1e445 100644
--- a/packages/article-main-comment/package.json
+++ b/packages/article-main-comment/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-main-comment",
- "version": "2.88.6",
+ "version": "2.88.7",
"description": "Main Comment Article Template",
"main": "dist/article-main-comment",
"dev": "src/article-main-comment",
@@ -56,7 +56,7 @@
"@times-components/ad": "2.22.23",
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
- "@times-components/article-skeleton": "1.137.7",
+ "@times-components/article-skeleton": "1.137.8",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
"@times-components/image": "6.18.1",
diff --git a/packages/article-main-standard/CHANGELOG.md b/packages/article-main-standard/CHANGELOG.md
index a0d93fa699e..8d90775cbb4 100644
--- a/packages/article-main-standard/CHANGELOG.md
+++ b/packages/article-main-standard/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.97.7](https://github.com/newsuk/times-components/compare/@times-components/article-main-standard@3.97.6...@times-components/article-main-standard@3.97.7) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/article-main-standard
+
+
+
+
+
## [3.97.6](https://github.com/newsuk/times-components/compare/@times-components/article-main-standard@3.97.5...@times-components/article-main-standard@3.97.6) (2024-09-09)
**Note:** Version bump only for package @times-components/article-main-standard
diff --git a/packages/article-main-standard/package.json b/packages/article-main-standard/package.json
index 6bacb12dc59..e36cdf1a55d 100644
--- a/packages/article-main-standard/package.json
+++ b/packages/article-main-standard/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-main-standard",
- "version": "3.97.6",
+ "version": "3.97.7",
"description": "Main Standard Article Template",
"main": "dist/article-main-standard",
"dev": "src/article-main-standard",
@@ -56,7 +56,7 @@
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.42",
- "@times-components/article-skeleton": "1.137.7",
+ "@times-components/article-skeleton": "1.137.8",
"@times-components/article-topics": "4.11.55",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
diff --git a/packages/article-paragraph/CHANGELOG.md b/packages/article-paragraph/CHANGELOG.md
index db42ec3607e..f3cd9d42694 100644
--- a/packages/article-paragraph/CHANGELOG.md
+++ b/packages/article-paragraph/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.9.328](https://github.com/newsuk/times-components/compare/@times-components/article-paragraph@1.9.327...@times-components/article-paragraph@1.9.328) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/article-paragraph
+
+
+
+
+
## [1.9.327](https://github.com/newsuk/times-components/compare/@times-components/article-paragraph@1.9.326...@times-components/article-paragraph@1.9.327) (2024-09-09)
**Note:** Version bump only for package @times-components/article-paragraph
diff --git a/packages/article-paragraph/package.json b/packages/article-paragraph/package.json
index 393caee5294..29711a960f9 100644
--- a/packages/article-paragraph/package.json
+++ b/packages/article-paragraph/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-paragraph",
- "version": "1.9.327",
+ "version": "1.9.328",
"description": "Article Paragraph",
"main": "dist/index",
"dev": "src/index",
@@ -32,7 +32,7 @@
},
"homepage": "https://github.com/newsuk/times-components#readme",
"dependencies": {
- "@times-components/article-skeleton": "1.137.7",
+ "@times-components/article-skeleton": "1.137.8",
"@times-components/context": "1.24.0",
"@times-components/markup-forest": "1.9.2",
"@times-components/ts-styleguide": "1.50.34",
diff --git a/packages/article-skeleton/CHANGELOG.md b/packages/article-skeleton/CHANGELOG.md
index 57bfa63b7ac..228da4b76d1 100644
--- a/packages/article-skeleton/CHANGELOG.md
+++ b/packages/article-skeleton/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.137.8](https://github.com/newsuk/times-components/compare/@times-components/article-skeleton@1.137.7...@times-components/article-skeleton@1.137.8) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/article-skeleton
+
+
+
+
+
## [1.137.7](https://github.com/newsuk/times-components/compare/@times-components/article-skeleton@1.137.6...@times-components/article-skeleton@1.137.7) (2024-09-09)
**Note:** Version bump only for package @times-components/article-skeleton
diff --git a/packages/article-skeleton/package.json b/packages/article-skeleton/package.json
index 0ac8653b4f2..1e6131d0683 100644
--- a/packages/article-skeleton/package.json
+++ b/packages/article-skeleton/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-skeleton",
- "version": "1.137.7",
+ "version": "1.137.8",
"description": "The article skeleton",
"main": "dist/article-skeleton",
"dev": "src/article-skeleton",
@@ -62,9 +62,9 @@
},
"dependencies": {
"@times-components/ad": "2.22.23",
- "@times-components/article-extras": "0.32.6",
+ "@times-components/article-extras": "0.32.7",
"@times-components/article-image": "7.18.1",
- "@times-components/article-paragraph": "1.9.327",
+ "@times-components/article-paragraph": "1.9.328",
"@times-components/article-topics": "4.11.55",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
@@ -77,7 +77,7 @@
"@times-components/message-bar": "0.7.85",
"@times-components/provider-queries": "2.23.2",
"@times-components/pull-quote": "3.15.40",
- "@times-components/save-and-share-bar": "0.23.4",
+ "@times-components/save-and-share-bar": "0.24.0",
"@times-components/sticky": "0.5.84",
"@times-components/tracking": "2.22.34",
"@times-components/ts-components": "1.103.4",
diff --git a/packages/article/CHANGELOG.md b/packages/article/CHANGELOG.md
index bf9d19e814b..b79ad044f2d 100644
--- a/packages/article/CHANGELOG.md
+++ b/packages/article/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [7.17.11](https://github.com/newsuk/times-components/compare/@times-components/article@7.17.10...@times-components/article@7.17.11) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/article
+
+
+
+
+
## [7.17.10](https://github.com/newsuk/times-components/compare/@times-components/article@7.17.9...@times-components/article@7.17.10) (2024-09-09)
**Note:** Version bump only for package @times-components/article
diff --git a/packages/article/package.json b/packages/article/package.json
index 06c4d1a5ad9..cbeaa0d5686 100644
--- a/packages/article/package.json
+++ b/packages/article/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article",
- "version": "7.17.10",
+ "version": "7.17.11",
"description": "The article",
"main": "dist/article",
"dev": "src/article",
@@ -53,11 +53,11 @@
},
"dependencies": {
"@times-components/ad": "2.22.23",
- "@times-components/article-in-depth": "3.89.6",
- "@times-components/article-magazine-comment": "3.85.6",
- "@times-components/article-magazine-standard": "3.85.6",
- "@times-components/article-main-comment": "2.88.6",
- "@times-components/article-main-standard": "3.97.6",
+ "@times-components/article-in-depth": "3.89.7",
+ "@times-components/article-magazine-comment": "3.85.7",
+ "@times-components/article-magazine-standard": "3.85.7",
+ "@times-components/article-main-comment": "2.88.7",
+ "@times-components/article-main-standard": "3.97.7",
"@times-components/context": "1.24.0",
"@times-components/message-bar": "0.7.85",
"@times-components/provider": "1.41.3",
diff --git a/packages/save-and-share-bar/CHANGELOG.md b/packages/save-and-share-bar/CHANGELOG.md
index 7738a8549fd..67c075e0fae 100644
--- a/packages/save-and-share-bar/CHANGELOG.md
+++ b/packages/save-and-share-bar/CHANGELOG.md
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [0.24.0](https://github.com/newsuk/times-components/compare/@times-components/save-and-share-bar@0.23.4...@times-components/save-and-share-bar@0.24.0) (2024-09-16)
+
+
+### Features
+
+* **TMD-465:** Article share bar padding and mobile scroll update ([#3935](https://github.com/newsuk/times-components/issues/3935)) ([f59c822](https://github.com/newsuk/times-components/commit/f59c8227bdd21c71937ed5fc06f0ee9a6664a50e))
+
+
+
+
+
## [0.23.4](https://github.com/newsuk/times-components/compare/@times-components/save-and-share-bar@0.23.3...@times-components/save-and-share-bar@0.23.4) (2024-09-09)
diff --git a/packages/save-and-share-bar/package.json b/packages/save-and-share-bar/package.json
index 465ff077439..b32c3affbf5 100644
--- a/packages/save-and-share-bar/package.json
+++ b/packages/save-and-share-bar/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/save-and-share-bar",
- "version": "0.23.4",
+ "version": "0.24.0",
"description": "Save and Share bar ",
"main": "dist/save-and-share-bar",
"dev": "src/save-and-share-bar",
diff --git a/packages/ssr/CHANGELOG.md b/packages/ssr/CHANGELOG.md
index 1773d7e7fc6..ce5b333ec28 100644
--- a/packages/ssr/CHANGELOG.md
+++ b/packages/ssr/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.58.10](https://github.com/newsuk/times-components/compare/@times-components/ssr@2.58.9...@times-components/ssr@2.58.10) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/ssr
+
+
+
+
+
## [2.58.9](https://github.com/newsuk/times-components/compare/@times-components/ssr@2.58.8...@times-components/ssr@2.58.9) (2024-09-09)
**Note:** Version bump only for package @times-components/ssr
diff --git a/packages/ssr/package.json b/packages/ssr/package.json
index fd87ed3b8ba..c4c67f98dad 100644
--- a/packages/ssr/package.json
+++ b/packages/ssr/package.json
@@ -1,7 +1,7 @@
{
"name": "@times-components/ssr",
"main": "src",
- "version": "2.58.9",
+ "version": "2.58.10",
"scripts": {
"bundle:dev": "yarn cleanup-dist && webpack --config=webpack.config.js",
"bundle:prod": "yarn cleanup-dist && NODE_ENV=production webpack --config=webpack.config.js -p",
@@ -52,7 +52,7 @@
"webpack": "4.30.0"
},
"dependencies": {
- "@times-components/article": "7.17.10",
+ "@times-components/article": "7.17.11",
"@times-components/author-profile": "6.18.23",
"@times-components/context": "1.24.0",
"@times-components/provider": "1.41.3",
From d715f9716462d76bf92f0c2258c23714d5919196 Mon Sep 17 00:00:00 2001
From: douglasmik <48333391+douglasmik@users.noreply.github.com>
Date: Mon, 16 Sep 2024 14:17:22 +0100
Subject: [PATCH 27/97] fix(TMRS-427): refactor 410 error logic tc (#3934)
---
.../article/__tests__/web/article.test.js | 53 ++++++++++++++++---
packages/article/src/article.js | 5 ++
packages/provider-queries/package.json | 1 +
yarn.lock | 12 +++++
4 files changed, 64 insertions(+), 7 deletions(-)
diff --git a/packages/article/__tests__/web/article.test.js b/packages/article/__tests__/web/article.test.js
index 6b864bf9294..5dee76178c0 100644
--- a/packages/article/__tests__/web/article.test.js
+++ b/packages/article/__tests__/web/article.test.js
@@ -5,6 +5,7 @@ import ArticleMainComment from "@times-components/article-main-comment";
import ArticleMagazineStandard from "@times-components/article-magazine-standard";
import ArticleMagazineComment from "@times-components/article-magazine-comment";
import Article from "../../src/article";
+import { testFixture } from "../../fixtures/full-article";
jest.mock("@times-components/image", () => "TimesImage");
jest.mock("react-helmet-async", () => ({ Helmet: "Helmet" }));
@@ -27,6 +28,12 @@ const requiredProps = {
refetch: () => {}
};
+const articleContentData = {
+ content: testFixture.content,
+ section: testFixture.section,
+ tiles: []
+};
+
describe("Article", () => {
it("renders with ArticleMainStandard as the default template if article is null", () => {
const testRenderer = TestRenderer.create(
@@ -37,9 +44,25 @@ describe("Article", () => {
expect(testInstance.findByType(ArticleMainStandard)).toBeTruthy();
});
+ it("throws `ENOCONTENT` error if article content is null", () => {
+ const emptyArticleContentData = {
+ content: [],
+ tiles: []
+ };
+
+ const testRenderer = () =>
+ TestRenderer.create(
+
+ )
+ .then(res => res.root)
+ .catch(() => {});
+
+ expect(() => testRenderer()).toThrow("ENOCONTENT");
+ });
+
it("renders with ArticleMainStandard as the default template if no template is provided", () => {
const testRenderer = TestRenderer.create(
-
+
);
const testInstance = testRenderer.root;
@@ -51,7 +74,8 @@ describe("Article", () => {
@@ -63,7 +87,10 @@ describe("Article", () => {
it("renders with ArticleMainStandard as the default template if null is set for template", () => {
const testRenderer = TestRenderer.create(
-
+
);
const testInstance = testRenderer.root;
@@ -72,7 +99,10 @@ describe("Article", () => {
it("renders with ArticleMainStandard if the correct template is chosen", () => {
const testRenderer = TestRenderer.create(
-
+
);
const testInstance = testRenderer.root;
@@ -81,7 +111,10 @@ describe("Article", () => {
it("renders with ArticleMainComment if the correct template is chosen", () => {
const testRenderer = TestRenderer.create(
-
+
);
const testInstance = testRenderer.root;
@@ -90,7 +123,10 @@ describe("Article", () => {
it("renders with ArticleMagazineStandard if the correct template is chosen", () => {
const testRenderer = TestRenderer.create(
-
+
);
const testInstance = testRenderer.root;
@@ -99,7 +135,10 @@ describe("Article", () => {
it("renders with ArticleMagazineComment if the correct template is chosen", () => {
const testRenderer = TestRenderer.create(
-
+
);
const testInstance = testRenderer.root;
diff --git a/packages/article/src/article.js b/packages/article/src/article.js
index c0eb4f95212..8e3a3446969 100644
--- a/packages/article/src/article.js
+++ b/packages/article/src/article.js
@@ -31,6 +31,11 @@ const Article = props => {
if (template === "takeoverpage") {
throw new TakeoverBailout("Aborted react render: Takeover page");
}
+
+ if (article && !article.tiles.length && !content.length) {
+ throw new Error("ENOCONTENT");
+ }
+
let onImagePressArticle = null;
if (onImagePress) {
content = addIndexesToInlineImages(content, leadAsset);
diff --git a/packages/provider-queries/package.json b/packages/provider-queries/package.json
index d99f43b77c8..bae7654fcb8 100644
--- a/packages/provider-queries/package.json
+++ b/packages/provider-queries/package.json
@@ -38,6 +38,7 @@
"webpack": "4.30.0"
},
"dependencies": {
+ "@babel/plugin-syntax-export-default-from": "7.24.7",
"apollo-utilities": "1.2.1",
"graphql": "14.2.1",
"graphql-tag": "2.10.3"
diff --git a/yarn.lock b/yarn.lock
index 8593f203a21..ba55d449bce 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -638,6 +638,11 @@
resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.18.9.tgz#4b8aea3b069d8cb8a72cdfe28ddf5ceca695ef2f"
integrity sha512-aBXPT3bmtLryXaoJLyYPXPlSD4p1ld9aYeR+sJNOZjJJGiOpb+fKfh3NkcCu7J54nUJwCERPBExCCpyCOHnu/w==
+"@babel/helper-plugin-utils@^7.24.7":
+ version "7.24.8"
+ resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.8.tgz#94ee67e8ec0e5d44ea7baeb51e571bd26af07878"
+ integrity sha512-FFWx5142D8h2Mgr/iPVGH5G7w6jDn4jUSpZTyDnQO0Yn7Ks2Kuz6Pci8H6MPCoUJegd/UZQ3tAvfLCxQSnWWwg==
+
"@babel/helper-remap-async-to-generator@^7.13.0":
version "7.13.0"
resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.13.0.tgz#376a760d9f7b4b2077a9dd05aa9c3927cadb2209"
@@ -1297,6 +1302,13 @@
dependencies:
"@babel/helper-plugin-utils" "^7.8.0"
+"@babel/plugin-syntax-export-default-from@7.24.7":
+ version "7.24.7"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.24.7.tgz#85dae9098933573aae137fb52141dd3ca52ae7ac"
+ integrity sha512-bTPz4/635WQ9WhwsyPdxUJDVpsi/X9BMmy/8Rf/UAlOO4jSql4CxUCjWI5PiM+jG+c4LVPTScoTw80geFj9+Bw==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.24.7"
+
"@babel/plugin-syntax-export-default-from@^7.12.13":
version "7.12.13"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.12.13.tgz#3c807d37efaf0a806f1deb556ccb3b2f562ae9c2"
From 84322b64e4bc8d5c462bf94770068949d79d437c Mon Sep 17 00:00:00 2001
From: times-tools
Date: Mon, 16 Sep 2024 13:49:11 +0000
Subject: [PATCH 28/97] chore: Publish d715f97164 [ci skip]
- @times-components/article-comments@0.44.9
- @times-components/article-extras@0.32.8
- @times-components/article-in-depth@3.89.8
- @times-components/article-list@9.19.10
- @times-components/article-magazine-comment@3.85.8
- @times-components/article-magazine-standard@3.85.8
- @times-components/article-main-comment@2.88.8
- @times-components/article-main-standard@3.97.8
- @times-components/article-paragraph@1.9.329
- @times-components/article-skeleton@1.137.9
- @times-components/article-summary@3.25.7
- @times-components/article@7.17.12
- @times-components/author-profile@6.18.24
- @times-components/key-facts@2.12.98
- @times-components/mock-tpa-server@0.4.10
- @times-components/provider-queries@2.23.3
- @times-components/provider-test-tools@1.30.4
- @times-components/provider@1.41.4
- @times-components/related-articles@6.17.87
- @times-components/save-and-share-bar@0.24.1
- @times-components/save-star-web@0.10.66
- @times-components/ssr@2.58.11
- @times-components/ts-components@1.103.5
---
packages/article-comments/CHANGELOG.md | 8 ++++++++
packages/article-comments/package.json | 4 ++--
packages/article-extras/CHANGELOG.md | 8 ++++++++
packages/article-extras/package.json | 10 +++++-----
packages/article-in-depth/CHANGELOG.md | 8 ++++++++
packages/article-in-depth/package.json | 10 +++++-----
packages/article-list/CHANGELOG.md | 8 ++++++++
packages/article-list/package.json | 10 +++++-----
packages/article-magazine-comment/CHANGELOG.md | 8 ++++++++
packages/article-magazine-comment/package.json | 10 +++++-----
packages/article-magazine-standard/CHANGELOG.md | 8 ++++++++
packages/article-magazine-standard/package.json | 10 +++++-----
packages/article-main-comment/CHANGELOG.md | 8 ++++++++
packages/article-main-comment/package.json | 10 +++++-----
packages/article-main-standard/CHANGELOG.md | 8 ++++++++
packages/article-main-standard/package.json | 10 +++++-----
packages/article-paragraph/CHANGELOG.md | 8 ++++++++
packages/article-paragraph/package.json | 4 ++--
packages/article-skeleton/CHANGELOG.md | 8 ++++++++
packages/article-skeleton/package.json | 16 ++++++++--------
packages/article-summary/CHANGELOG.md | 8 ++++++++
packages/article-summary/package.json | 4 ++--
packages/article/CHANGELOG.md | 11 +++++++++++
packages/article/package.json | 16 ++++++++--------
packages/author-profile/CHANGELOG.md | 8 ++++++++
packages/author-profile/package.json | 10 +++++-----
packages/key-facts/CHANGELOG.md | 8 ++++++++
packages/key-facts/package.json | 4 ++--
packages/mock-tpa-server/CHANGELOG.md | 8 ++++++++
packages/mock-tpa-server/package.json | 4 ++--
packages/provider-queries/CHANGELOG.md | 11 +++++++++++
packages/provider-queries/package.json | 2 +-
packages/provider-test-tools/CHANGELOG.md | 8 ++++++++
packages/provider-test-tools/package.json | 4 ++--
packages/provider/CHANGELOG.md | 8 ++++++++
packages/provider/package.json | 6 +++---
packages/related-articles/CHANGELOG.md | 8 ++++++++
packages/related-articles/package.json | 4 ++--
packages/save-and-share-bar/CHANGELOG.md | 8 ++++++++
packages/save-and-share-bar/package.json | 8 ++++----
packages/save-star-web/CHANGELOG.md | 8 ++++++++
packages/save-star-web/package.json | 8 ++++----
packages/ssr/CHANGELOG.md | 8 ++++++++
packages/ssr/package.json | 10 +++++-----
packages/ts-components/CHANGELOG.md | 8 ++++++++
packages/ts-components/package.json | 10 +++++-----
46 files changed, 282 insertions(+), 92 deletions(-)
diff --git a/packages/article-comments/CHANGELOG.md b/packages/article-comments/CHANGELOG.md
index 17a9986f231..a9aaf889303 100644
--- a/packages/article-comments/CHANGELOG.md
+++ b/packages/article-comments/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.44.9](https://github.com/newsuk/times-components/compare/@times-components/article-comments@0.44.8...@times-components/article-comments@0.44.9) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/article-comments
+
+
+
+
+
## [0.44.8](https://github.com/newsuk/times-components/compare/@times-components/article-comments@0.44.7...@times-components/article-comments@0.44.8) (2024-09-06)
**Note:** Version bump only for package @times-components/article-comments
diff --git a/packages/article-comments/package.json b/packages/article-comments/package.json
index 2771b0f1403..898e6b7d42c 100644
--- a/packages/article-comments/package.json
+++ b/packages/article-comments/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-comments",
- "version": "0.44.8",
+ "version": "0.44.9",
"description": "Article Comments",
"main": "dist/article-comments",
"dev": "src/article-comments",
@@ -35,7 +35,7 @@
"dependencies": {
"@times-components/link": "3.17.34",
"@times-components/tracking": "2.22.34",
- "@times-components/ts-components": "1.103.4",
+ "@times-components/ts-components": "1.103.5",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/user-state": "0.5.51",
"prop-types": "15.7.2",
diff --git a/packages/article-extras/CHANGELOG.md b/packages/article-extras/CHANGELOG.md
index 27b979e9f19..49158ae7f85 100644
--- a/packages/article-extras/CHANGELOG.md
+++ b/packages/article-extras/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.32.8](https://github.com/newsuk/times-components/compare/@times-components/article-extras@0.32.7...@times-components/article-extras@0.32.8) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/article-extras
+
+
+
+
+
## [0.32.7](https://github.com/newsuk/times-components/compare/@times-components/article-extras@0.32.6...@times-components/article-extras@0.32.7) (2024-09-16)
**Note:** Version bump only for package @times-components/article-extras
diff --git a/packages/article-extras/package.json b/packages/article-extras/package.json
index 1fc7a1d658c..89cf6528f6b 100644
--- a/packages/article-extras/package.json
+++ b/packages/article-extras/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-extras",
- "version": "0.32.7",
+ "version": "0.32.8",
"description": "Extra information components at the bottom of the articles, such as topics, related articles and comments ",
"main": "dist/index",
"dev": "src/index",
@@ -49,14 +49,14 @@
"webpack": "4.30.0"
},
"dependencies": {
- "@times-components/article-comments": "0.44.8",
+ "@times-components/article-comments": "0.44.9",
"@times-components/article-topics": "4.11.55",
"@times-components/button": "2.10.61",
"@times-components/context": "1.24.0",
"@times-components/message-bar": "0.7.85",
- "@times-components/related-articles": "6.17.86",
- "@times-components/save-and-share-bar": "0.24.0",
- "@times-components/ts-components": "1.103.4",
+ "@times-components/related-articles": "6.17.87",
+ "@times-components/save-and-share-bar": "0.24.1",
+ "@times-components/ts-components": "1.103.5",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/user-state": "0.5.51",
"@times-components/utils": "6.26.0",
diff --git a/packages/article-in-depth/CHANGELOG.md b/packages/article-in-depth/CHANGELOG.md
index f91e03878f3..3f2ff4d87ca 100644
--- a/packages/article-in-depth/CHANGELOG.md
+++ b/packages/article-in-depth/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.89.8](https://github.com/newsuk/times-components/compare/@times-components/article-in-depth@3.89.7...@times-components/article-in-depth@3.89.8) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/article-in-depth
+
+
+
+
+
## [3.89.7](https://github.com/newsuk/times-components/compare/@times-components/article-in-depth@3.89.6...@times-components/article-in-depth@3.89.7) (2024-09-16)
**Note:** Version bump only for package @times-components/article-in-depth
diff --git a/packages/article-in-depth/package.json b/packages/article-in-depth/package.json
index 3e57b5c9f1e..26e3e8727f8 100644
--- a/packages/article-in-depth/package.json
+++ b/packages/article-in-depth/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-in-depth",
- "version": "3.89.7",
+ "version": "3.89.8",
"description": "In Depth Article Template",
"main": "dist/article-in-depth",
"dev": "src/article-in-depth",
@@ -36,8 +36,8 @@
"@times-components/eslint-config-thetimes": "0.8.18",
"@times-components/jest-configurator-web": "0.8.2",
"@times-components/jest-serializer": "3.13.20",
- "@times-components/provider": "1.41.3",
- "@times-components/provider-test-tools": "1.30.3",
+ "@times-components/provider": "1.41.4",
+ "@times-components/provider-test-tools": "1.30.4",
"@times-components/storybook": "4.12.34",
"@times-components/tealium-utils": "0.9.1",
"@times-components/test-utils": "2.4.2",
@@ -57,11 +57,11 @@
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.42",
- "@times-components/article-skeleton": "1.137.8",
+ "@times-components/article-skeleton": "1.137.9",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
- "@times-components/ts-components": "1.103.4",
+ "@times-components/ts-components": "1.103.5",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/user-state": "0.5.51",
"@times-components/utils": "6.26.0",
diff --git a/packages/article-list/CHANGELOG.md b/packages/article-list/CHANGELOG.md
index 6c93d6ea25b..0483df25f2e 100644
--- a/packages/article-list/CHANGELOG.md
+++ b/packages/article-list/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [9.19.10](https://github.com/newsuk/times-components/compare/@times-components/article-list@9.19.9...@times-components/article-list@9.19.10) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/article-list
+
+
+
+
+
## [9.19.9](https://github.com/newsuk/times-components/compare/@times-components/article-list@9.19.8...@times-components/article-list@9.19.9) (2024-09-06)
**Note:** Version bump only for package @times-components/article-list
diff --git a/packages/article-list/package.json b/packages/article-list/package.json
index 789bc0c6bb3..a12e3a5c48b 100644
--- a/packages/article-list/package.json
+++ b/packages/article-list/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-list",
- "version": "9.19.9",
+ "version": "9.19.10",
"description": "Paginated list of articles",
"main": "dist/article-list",
"dev": "src/article-list",
@@ -36,9 +36,9 @@
"@times-components/eslint-config-thetimes": "0.8.18",
"@times-components/jest-configurator-web": "0.8.2",
"@times-components/jest-serializer": "3.13.20",
- "@times-components/provider": "1.41.3",
- "@times-components/provider-queries": "2.23.2",
- "@times-components/provider-test-tools": "1.30.3",
+ "@times-components/provider": "1.41.4",
+ "@times-components/provider-queries": "2.23.3",
+ "@times-components/provider-test-tools": "1.30.4",
"@times-components/storybook": "4.12.34",
"@times-components/tealium-utils": "0.9.1",
"@times-components/test-utils": "2.4.2",
@@ -61,7 +61,7 @@
},
"dependencies": {
"@times-components/ad": "2.22.23",
- "@times-components/article-summary": "3.25.6",
+ "@times-components/article-summary": "3.25.7",
"@times-components/button": "2.10.61",
"@times-components/card": "6.15.1",
"@times-components/context": "1.24.0",
diff --git a/packages/article-magazine-comment/CHANGELOG.md b/packages/article-magazine-comment/CHANGELOG.md
index 96bbf591866..dde7cd14450 100644
--- a/packages/article-magazine-comment/CHANGELOG.md
+++ b/packages/article-magazine-comment/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.85.8](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-comment@3.85.7...@times-components/article-magazine-comment@3.85.8) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/article-magazine-comment
+
+
+
+
+
## [3.85.7](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-comment@3.85.6...@times-components/article-magazine-comment@3.85.7) (2024-09-16)
**Note:** Version bump only for package @times-components/article-magazine-comment
diff --git a/packages/article-magazine-comment/package.json b/packages/article-magazine-comment/package.json
index 544fc7f878a..a12403d2092 100644
--- a/packages/article-magazine-comment/package.json
+++ b/packages/article-magazine-comment/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-magazine-comment",
- "version": "3.85.7",
+ "version": "3.85.8",
"description": "Magazine Comment Article Template",
"main": "dist/article-magazine-comment",
"dev": "src/article-magazine-comment",
@@ -36,8 +36,8 @@
"@times-components/eslint-config-thetimes": "0.8.18",
"@times-components/jest-configurator-web": "0.8.2",
"@times-components/jest-serializer": "3.13.20",
- "@times-components/provider": "1.41.3",
- "@times-components/provider-test-tools": "1.30.3",
+ "@times-components/provider": "1.41.4",
+ "@times-components/provider-test-tools": "1.30.4",
"@times-components/storybook": "4.12.34",
"@times-components/tealium-utils": "0.9.1",
"@times-components/test-utils": "2.4.2",
@@ -57,12 +57,12 @@
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.42",
- "@times-components/article-skeleton": "1.137.8",
+ "@times-components/article-skeleton": "1.137.9",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
"@times-components/image": "6.18.1",
- "@times-components/ts-components": "1.103.4",
+ "@times-components/ts-components": "1.103.5",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/user-state": "0.5.51",
"@times-components/utils": "6.26.0",
diff --git a/packages/article-magazine-standard/CHANGELOG.md b/packages/article-magazine-standard/CHANGELOG.md
index 8117a477439..eba7912294b 100644
--- a/packages/article-magazine-standard/CHANGELOG.md
+++ b/packages/article-magazine-standard/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.85.8](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-standard@3.85.7...@times-components/article-magazine-standard@3.85.8) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/article-magazine-standard
+
+
+
+
+
## [3.85.7](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-standard@3.85.6...@times-components/article-magazine-standard@3.85.7) (2024-09-16)
**Note:** Version bump only for package @times-components/article-magazine-standard
diff --git a/packages/article-magazine-standard/package.json b/packages/article-magazine-standard/package.json
index f8e7998e6fe..71224f92989 100644
--- a/packages/article-magazine-standard/package.json
+++ b/packages/article-magazine-standard/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-magazine-standard",
- "version": "3.85.7",
+ "version": "3.85.8",
"description": "Magazine Standard Article Template",
"main": "dist/article-magazine-standard",
"dev": "src/article-magazine-standard",
@@ -36,8 +36,8 @@
"@times-components/eslint-config-thetimes": "0.8.18",
"@times-components/jest-configurator-web": "0.8.2",
"@times-components/jest-serializer": "3.13.20",
- "@times-components/provider": "1.41.3",
- "@times-components/provider-test-tools": "1.30.3",
+ "@times-components/provider": "1.41.4",
+ "@times-components/provider-test-tools": "1.30.4",
"@times-components/storybook": "4.12.34",
"@times-components/tealium-utils": "0.9.1",
"@times-components/test-utils": "2.4.2",
@@ -57,11 +57,11 @@
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.42",
- "@times-components/article-skeleton": "1.137.8",
+ "@times-components/article-skeleton": "1.137.9",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
- "@times-components/ts-components": "1.103.4",
+ "@times-components/ts-components": "1.103.5",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/user-state": "0.5.51",
"@times-components/utils": "6.26.0",
diff --git a/packages/article-main-comment/CHANGELOG.md b/packages/article-main-comment/CHANGELOG.md
index 25881e627eb..e35c1f7e989 100644
--- a/packages/article-main-comment/CHANGELOG.md
+++ b/packages/article-main-comment/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.88.8](https://github.com/newsuk/times-components/compare/@times-components/article-main-comment@2.88.7...@times-components/article-main-comment@2.88.8) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/article-main-comment
+
+
+
+
+
## [2.88.7](https://github.com/newsuk/times-components/compare/@times-components/article-main-comment@2.88.6...@times-components/article-main-comment@2.88.7) (2024-09-16)
**Note:** Version bump only for package @times-components/article-main-comment
diff --git a/packages/article-main-comment/package.json b/packages/article-main-comment/package.json
index 73023c1e445..6077c601e71 100644
--- a/packages/article-main-comment/package.json
+++ b/packages/article-main-comment/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-main-comment",
- "version": "2.88.7",
+ "version": "2.88.8",
"description": "Main Comment Article Template",
"main": "dist/article-main-comment",
"dev": "src/article-main-comment",
@@ -36,8 +36,8 @@
"@times-components/eslint-config-thetimes": "0.8.18",
"@times-components/jest-configurator-web": "0.8.2",
"@times-components/jest-serializer": "3.13.20",
- "@times-components/provider": "1.41.3",
- "@times-components/provider-test-tools": "1.30.3",
+ "@times-components/provider": "1.41.4",
+ "@times-components/provider-test-tools": "1.30.4",
"@times-components/storybook": "4.12.34",
"@times-components/tealium-utils": "0.9.1",
"@times-components/test-utils": "2.4.2",
@@ -56,12 +56,12 @@
"@times-components/ad": "2.22.23",
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
- "@times-components/article-skeleton": "1.137.8",
+ "@times-components/article-skeleton": "1.137.9",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
"@times-components/image": "6.18.1",
"@times-components/responsive": "0.27.0",
- "@times-components/ts-components": "1.103.4",
+ "@times-components/ts-components": "1.103.5",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/user-state": "0.5.51",
"@times-components/utils": "6.26.0",
diff --git a/packages/article-main-standard/CHANGELOG.md b/packages/article-main-standard/CHANGELOG.md
index 8d90775cbb4..798ba8e2f71 100644
--- a/packages/article-main-standard/CHANGELOG.md
+++ b/packages/article-main-standard/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.97.8](https://github.com/newsuk/times-components/compare/@times-components/article-main-standard@3.97.7...@times-components/article-main-standard@3.97.8) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/article-main-standard
+
+
+
+
+
## [3.97.7](https://github.com/newsuk/times-components/compare/@times-components/article-main-standard@3.97.6...@times-components/article-main-standard@3.97.7) (2024-09-16)
**Note:** Version bump only for package @times-components/article-main-standard
diff --git a/packages/article-main-standard/package.json b/packages/article-main-standard/package.json
index e36cdf1a55d..b7e547c5661 100644
--- a/packages/article-main-standard/package.json
+++ b/packages/article-main-standard/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-main-standard",
- "version": "3.97.7",
+ "version": "3.97.8",
"description": "Main Standard Article Template",
"main": "dist/article-main-standard",
"dev": "src/article-main-standard",
@@ -35,8 +35,8 @@
"@babel/core": "7.4.4",
"@times-components/jest-configurator-web": "0.8.2",
"@times-components/jest-serializer": "3.13.20",
- "@times-components/provider": "1.41.3",
- "@times-components/provider-test-tools": "1.30.3",
+ "@times-components/provider": "1.41.4",
+ "@times-components/provider-test-tools": "1.30.4",
"@times-components/storybook": "4.12.34",
"@times-components/tealium-utils": "0.9.1",
"@times-components/test-utils": "2.4.2",
@@ -56,13 +56,13 @@
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.42",
- "@times-components/article-skeleton": "1.137.8",
+ "@times-components/article-skeleton": "1.137.9",
"@times-components/article-topics": "4.11.55",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
"@times-components/responsive": "0.27.0",
- "@times-components/ts-components": "1.103.4",
+ "@times-components/ts-components": "1.103.5",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/user-state": "0.5.51",
"@times-components/utils": "6.26.0",
diff --git a/packages/article-paragraph/CHANGELOG.md b/packages/article-paragraph/CHANGELOG.md
index f3cd9d42694..4e102c59122 100644
--- a/packages/article-paragraph/CHANGELOG.md
+++ b/packages/article-paragraph/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.9.329](https://github.com/newsuk/times-components/compare/@times-components/article-paragraph@1.9.328...@times-components/article-paragraph@1.9.329) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/article-paragraph
+
+
+
+
+
## [1.9.328](https://github.com/newsuk/times-components/compare/@times-components/article-paragraph@1.9.327...@times-components/article-paragraph@1.9.328) (2024-09-16)
**Note:** Version bump only for package @times-components/article-paragraph
diff --git a/packages/article-paragraph/package.json b/packages/article-paragraph/package.json
index 29711a960f9..42b37dafdf7 100644
--- a/packages/article-paragraph/package.json
+++ b/packages/article-paragraph/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-paragraph",
- "version": "1.9.328",
+ "version": "1.9.329",
"description": "Article Paragraph",
"main": "dist/index",
"dev": "src/index",
@@ -32,7 +32,7 @@
},
"homepage": "https://github.com/newsuk/times-components#readme",
"dependencies": {
- "@times-components/article-skeleton": "1.137.8",
+ "@times-components/article-skeleton": "1.137.9",
"@times-components/context": "1.24.0",
"@times-components/markup-forest": "1.9.2",
"@times-components/ts-styleguide": "1.50.34",
diff --git a/packages/article-skeleton/CHANGELOG.md b/packages/article-skeleton/CHANGELOG.md
index 228da4b76d1..b97f9c82c11 100644
--- a/packages/article-skeleton/CHANGELOG.md
+++ b/packages/article-skeleton/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.137.9](https://github.com/newsuk/times-components/compare/@times-components/article-skeleton@1.137.8...@times-components/article-skeleton@1.137.9) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/article-skeleton
+
+
+
+
+
## [1.137.8](https://github.com/newsuk/times-components/compare/@times-components/article-skeleton@1.137.7...@times-components/article-skeleton@1.137.8) (2024-09-16)
**Note:** Version bump only for package @times-components/article-skeleton
diff --git a/packages/article-skeleton/package.json b/packages/article-skeleton/package.json
index 1e6131d0683..611f1c2a682 100644
--- a/packages/article-skeleton/package.json
+++ b/packages/article-skeleton/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-skeleton",
- "version": "1.137.8",
+ "version": "1.137.9",
"description": "The article skeleton",
"main": "dist/article-skeleton",
"dev": "src/article-skeleton",
@@ -40,7 +40,7 @@
"@times-components/eslint-config-thetimes": "0.8.18",
"@times-components/jest-configurator-web": "0.8.2",
"@times-components/jest-serializer": "3.13.20",
- "@times-components/provider-test-tools": "1.30.3",
+ "@times-components/provider-test-tools": "1.30.4",
"@times-components/storybook": "4.12.34",
"@times-components/tealium-utils": "0.9.1",
"@times-components/test-utils": "2.4.2",
@@ -62,25 +62,25 @@
},
"dependencies": {
"@times-components/ad": "2.22.23",
- "@times-components/article-extras": "0.32.7",
+ "@times-components/article-extras": "0.32.8",
"@times-components/article-image": "7.18.1",
- "@times-components/article-paragraph": "1.9.328",
+ "@times-components/article-paragraph": "1.9.329",
"@times-components/article-topics": "4.11.55",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/interactive-wrapper": "0.9.89",
- "@times-components/key-facts": "2.12.97",
+ "@times-components/key-facts": "2.12.98",
"@times-components/lazy-load": "0.20.0",
"@times-components/link": "3.17.34",
"@times-components/markup": "3.8.61",
"@times-components/markup-forest": "1.9.2",
"@times-components/message-bar": "0.7.85",
- "@times-components/provider-queries": "2.23.2",
+ "@times-components/provider-queries": "2.23.3",
"@times-components/pull-quote": "3.15.40",
- "@times-components/save-and-share-bar": "0.24.0",
+ "@times-components/save-and-share-bar": "0.24.1",
"@times-components/sticky": "0.5.84",
"@times-components/tracking": "2.22.34",
- "@times-components/ts-components": "1.103.4",
+ "@times-components/ts-components": "1.103.5",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/typeset": "0.3.3",
"@times-components/user-state": "0.5.51",
diff --git a/packages/article-summary/CHANGELOG.md b/packages/article-summary/CHANGELOG.md
index 02f3f2f0a4f..86663d9cec6 100644
--- a/packages/article-summary/CHANGELOG.md
+++ b/packages/article-summary/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.25.7](https://github.com/newsuk/times-components/compare/@times-components/article-summary@3.25.6...@times-components/article-summary@3.25.7) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/article-summary
+
+
+
+
+
## [3.25.6](https://github.com/newsuk/times-components/compare/@times-components/article-summary@3.25.5...@times-components/article-summary@3.25.6) (2024-09-06)
**Note:** Version bump only for package @times-components/article-summary
diff --git a/packages/article-summary/package.json b/packages/article-summary/package.json
index 5e32f80176f..6603e2511fb 100644
--- a/packages/article-summary/package.json
+++ b/packages/article-summary/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-summary",
- "version": "3.25.6",
+ "version": "3.25.7",
"main": "dist/article-summary",
"dev": "src/article-summary",
"scripts": {
@@ -55,7 +55,7 @@
"@times-components/date-publication": "0.30.34",
"@times-components/markup": "3.8.61",
"@times-components/markup-forest": "1.9.2",
- "@times-components/ts-components": "1.103.4",
+ "@times-components/ts-components": "1.103.5",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/utils": "6.26.0",
"@times-components/video-label": "2.11.62",
diff --git a/packages/article/CHANGELOG.md b/packages/article/CHANGELOG.md
index b79ad044f2d..461b16b6f3d 100644
--- a/packages/article/CHANGELOG.md
+++ b/packages/article/CHANGELOG.md
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [7.17.12](https://github.com/newsuk/times-components/compare/@times-components/article@7.17.11...@times-components/article@7.17.12) (2024-09-16)
+
+
+### Bug Fixes
+
+* **TMRS-427:** refactor 410 error logic tc ([#3934](https://github.com/newsuk/times-components/issues/3934)) ([d715f97](https://github.com/newsuk/times-components/commit/d715f9716462d76bf92f0c2258c23714d5919196))
+
+
+
+
+
## [7.17.11](https://github.com/newsuk/times-components/compare/@times-components/article@7.17.10...@times-components/article@7.17.11) (2024-09-16)
**Note:** Version bump only for package @times-components/article
diff --git a/packages/article/package.json b/packages/article/package.json
index cbeaa0d5686..935b3883e96 100644
--- a/packages/article/package.json
+++ b/packages/article/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article",
- "version": "7.17.11",
+ "version": "7.17.12",
"description": "The article",
"main": "dist/article",
"dev": "src/article",
@@ -35,7 +35,7 @@
"@babel/core": "7.4.4",
"@times-components/eslint-config-thetimes": "0.8.18",
"@times-components/jest-configurator-web": "0.8.2",
- "@times-components/provider-test-tools": "1.30.3",
+ "@times-components/provider-test-tools": "1.30.4",
"@times-components/storybook": "4.12.34",
"@times-components/tealium-utils": "0.9.1",
"@times-components/user-state": "0.5.51",
@@ -53,14 +53,14 @@
},
"dependencies": {
"@times-components/ad": "2.22.23",
- "@times-components/article-in-depth": "3.89.7",
- "@times-components/article-magazine-comment": "3.85.7",
- "@times-components/article-magazine-standard": "3.85.7",
- "@times-components/article-main-comment": "2.88.7",
- "@times-components/article-main-standard": "3.97.7",
+ "@times-components/article-in-depth": "3.89.8",
+ "@times-components/article-magazine-comment": "3.85.8",
+ "@times-components/article-magazine-standard": "3.85.8",
+ "@times-components/article-main-comment": "2.88.8",
+ "@times-components/article-main-standard": "3.97.8",
"@times-components/context": "1.24.0",
"@times-components/message-bar": "0.7.85",
- "@times-components/provider": "1.41.3",
+ "@times-components/provider": "1.41.4",
"@times-components/responsive": "0.27.0",
"@times-components/ts-styleguide": "1.50.34"
},
diff --git a/packages/author-profile/CHANGELOG.md b/packages/author-profile/CHANGELOG.md
index 53c81579fae..da23c7ed5d6 100644
--- a/packages/author-profile/CHANGELOG.md
+++ b/packages/author-profile/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [6.18.24](https://github.com/newsuk/times-components/compare/@times-components/author-profile@6.18.23...@times-components/author-profile@6.18.24) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/author-profile
+
+
+
+
+
## [6.18.23](https://github.com/newsuk/times-components/compare/@times-components/author-profile@6.18.22...@times-components/author-profile@6.18.23) (2024-09-06)
**Note:** Version bump only for package @times-components/author-profile
diff --git a/packages/author-profile/package.json b/packages/author-profile/package.json
index 08d01100c4b..572599352c2 100644
--- a/packages/author-profile/package.json
+++ b/packages/author-profile/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/author-profile",
- "version": "6.18.23",
+ "version": "6.18.24",
"description": "Author profile information along with a list of articles they have written ",
"main": "dist/author-profile",
"dev": "src/author-profile",
@@ -37,8 +37,8 @@
"@times-components/eslint-config-thetimes": "0.8.18",
"@times-components/jest-configurator-web": "0.8.2",
"@times-components/jest-serializer": "3.13.20",
- "@times-components/provider-queries": "2.23.2",
- "@times-components/provider-test-tools": "1.30.3",
+ "@times-components/provider-queries": "2.23.3",
+ "@times-components/provider-test-tools": "1.30.4",
"@times-components/storybook": "4.12.34",
"@times-components/tealium-utils": "0.9.1",
"@times-components/test-utils": "2.4.2",
@@ -59,7 +59,7 @@
"webpack": "4.30.0"
},
"dependencies": {
- "@times-components/article-list": "9.19.9",
+ "@times-components/article-list": "9.19.10",
"@times-components/gradient": "3.5.61",
"@times-components/icons": "2.22.12",
"@times-components/image": "6.18.1",
@@ -67,7 +67,7 @@
"@times-components/markup": "3.8.61",
"@times-components/markup-forest": "1.9.2",
"@times-components/pagination": "3.13.20",
- "@times-components/provider": "1.41.3",
+ "@times-components/provider": "1.41.4",
"@times-components/responsive": "0.27.0",
"@times-components/tracking": "2.22.34",
"@times-components/ts-styleguide": "1.50.34",
diff --git a/packages/key-facts/CHANGELOG.md b/packages/key-facts/CHANGELOG.md
index 85ac10927f5..94677db5711 100644
--- a/packages/key-facts/CHANGELOG.md
+++ b/packages/key-facts/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.12.98](https://github.com/newsuk/times-components/compare/@times-components/key-facts@2.12.97...@times-components/key-facts@2.12.98) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/key-facts
+
+
+
+
+
## [2.12.97](https://github.com/newsuk/times-components/compare/@times-components/key-facts@2.12.96...@times-components/key-facts@2.12.97) (2024-09-06)
**Note:** Version bump only for package @times-components/key-facts
diff --git a/packages/key-facts/package.json b/packages/key-facts/package.json
index f01e97396fe..9978f3ea9ef 100644
--- a/packages/key-facts/package.json
+++ b/packages/key-facts/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/key-facts",
- "version": "2.12.97",
+ "version": "2.12.98",
"description": "Bulleted list of text data ",
"main": "dist/key-facts",
"dev": "src/key-facts",
@@ -56,7 +56,7 @@
"@times-components/markup": "3.8.61",
"@times-components/markup-forest": "1.9.2",
"@times-components/responsive": "0.27.0",
- "@times-components/ts-components": "1.103.4",
+ "@times-components/ts-components": "1.103.5",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/utils": "6.26.0",
"prop-types": "15.7.2",
diff --git a/packages/mock-tpa-server/CHANGELOG.md b/packages/mock-tpa-server/CHANGELOG.md
index ebc4ff1bdc3..c5cbb30564c 100644
--- a/packages/mock-tpa-server/CHANGELOG.md
+++ b/packages/mock-tpa-server/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.4.10](https://github.com/newsuk/times-components/compare/@times-components/mock-tpa-server@0.4.9...@times-components/mock-tpa-server@0.4.10) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/mock-tpa-server
+
+
+
+
+
## [0.4.9](https://github.com/newsuk/times-components/compare/@times-components/mock-tpa-server@0.4.8...@times-components/mock-tpa-server@0.4.9) (2024-09-06)
**Note:** Version bump only for package @times-components/mock-tpa-server
diff --git a/packages/mock-tpa-server/package.json b/packages/mock-tpa-server/package.json
index dae8c387627..7da0d7efa61 100644
--- a/packages/mock-tpa-server/package.json
+++ b/packages/mock-tpa-server/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/mock-tpa-server",
- "version": "0.4.9",
+ "version": "0.4.10",
"description": "utility for testing times component clients with mocked api",
"main": "./dist/index",
"scripts": {
@@ -38,7 +38,7 @@
"prettier": "1.14.3"
},
"dependencies": {
- "@times-components/provider-test-tools": "1.30.3",
+ "@times-components/provider-test-tools": "1.30.4",
"@times-components/schema": "0.7.5",
"apollo-server": "2.4.8",
"graphql": "14.2.1",
diff --git a/packages/provider-queries/CHANGELOG.md b/packages/provider-queries/CHANGELOG.md
index 9cba80cb165..bcaa59af244 100644
--- a/packages/provider-queries/CHANGELOG.md
+++ b/packages/provider-queries/CHANGELOG.md
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.23.3](https://github.com/newsuk/times-components/compare/@times-components/provider-queries@2.23.2...@times-components/provider-queries@2.23.3) (2024-09-16)
+
+
+### Bug Fixes
+
+* **TMRS-427:** refactor 410 error logic tc ([#3934](https://github.com/newsuk/times-components/issues/3934)) ([d715f97](https://github.com/newsuk/times-components/commit/d715f9716462d76bf92f0c2258c23714d5919196))
+
+
+
+
+
## [2.23.2](https://github.com/newsuk/times-components/compare/@times-components/provider-queries@2.23.1...@times-components/provider-queries@2.23.2) (2024-09-06)
**Note:** Version bump only for package @times-components/provider-queries
diff --git a/packages/provider-queries/package.json b/packages/provider-queries/package.json
index bae7654fcb8..ad157002377 100644
--- a/packages/provider-queries/package.json
+++ b/packages/provider-queries/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/provider-queries",
- "version": "2.23.2",
+ "version": "2.23.3",
"description": "GraphQL queries for sharing",
"main": "dist/provider-queries",
"dev": "src/provider-queries",
diff --git a/packages/provider-test-tools/CHANGELOG.md b/packages/provider-test-tools/CHANGELOG.md
index 037d2f5a4c2..4c0d24a835c 100644
--- a/packages/provider-test-tools/CHANGELOG.md
+++ b/packages/provider-test-tools/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.30.4](https://github.com/newsuk/times-components/compare/@times-components/provider-test-tools@1.30.3...@times-components/provider-test-tools@1.30.4) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/provider-test-tools
+
+
+
+
+
## [1.30.3](https://github.com/newsuk/times-components/compare/@times-components/provider-test-tools@1.30.2...@times-components/provider-test-tools@1.30.3) (2024-09-06)
**Note:** Version bump only for package @times-components/provider-test-tools
diff --git a/packages/provider-test-tools/package.json b/packages/provider-test-tools/package.json
index f1ce3acb673..042e68c3833 100644
--- a/packages/provider-test-tools/package.json
+++ b/packages/provider-test-tools/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/provider-test-tools",
- "version": "1.30.3",
+ "version": "1.30.4",
"description": "utillity for testing apollo-client's behaviour",
"main": "dist/index",
"dev": "src/index",
@@ -59,7 +59,7 @@
},
"dependencies": {
"@times-components/fixture-generator": "0.35.1",
- "@times-components/provider-queries": "2.23.2",
+ "@times-components/provider-queries": "2.23.3",
"@times-components/schema": "0.7.5",
"apollo-cache-inmemory": "1.5.1",
"apollo-client": "2.5.1",
diff --git a/packages/provider/CHANGELOG.md b/packages/provider/CHANGELOG.md
index 9a712174084..55a873fd0dc 100644
--- a/packages/provider/CHANGELOG.md
+++ b/packages/provider/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.41.4](https://github.com/newsuk/times-components/compare/@times-components/provider@1.41.3...@times-components/provider@1.41.4) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/provider
+
+
+
+
+
## [1.41.3](https://github.com/newsuk/times-components/compare/@times-components/provider@1.41.2...@times-components/provider@1.41.3) (2024-09-06)
**Note:** Version bump only for package @times-components/provider
diff --git a/packages/provider/package.json b/packages/provider/package.json
index 60807119e23..8023e978e7d 100644
--- a/packages/provider/package.json
+++ b/packages/provider/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/provider",
- "version": "1.41.3",
+ "version": "1.41.4",
"main": "dist/provider",
"dev": "src/provider",
"description": "Provider",
@@ -37,7 +37,7 @@
"@times-components/eslint-config-thetimes": "0.8.18",
"@times-components/jest-configurator-web": "0.8.2",
"@times-components/jest-serializer": "3.13.20",
- "@times-components/provider-test-tools": "1.30.3",
+ "@times-components/provider-test-tools": "1.30.4",
"@times-components/storybook": "4.12.34",
"@times-components/test-utils": "2.4.2",
"@times-components/webpack-configurator": "2.1.1",
@@ -57,7 +57,7 @@
"webpack": "4.30.0"
},
"dependencies": {
- "@times-components/provider-queries": "2.23.2",
+ "@times-components/provider-queries": "2.23.3",
"@times-components/utils": "6.26.0",
"graphql-tag": "2.10.3",
"hoist-non-react-statics": "3.3.2",
diff --git a/packages/related-articles/CHANGELOG.md b/packages/related-articles/CHANGELOG.md
index 6a95968bbb4..d4176f2f6de 100644
--- a/packages/related-articles/CHANGELOG.md
+++ b/packages/related-articles/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [6.17.87](https://github.com/newsuk/times-components/compare/@times-components/related-articles@6.17.86...@times-components/related-articles@6.17.87) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/related-articles
+
+
+
+
+
## [6.17.86](https://github.com/newsuk/times-components/compare/@times-components/related-articles@6.17.85...@times-components/related-articles@6.17.86) (2024-09-06)
**Note:** Version bump only for package @times-components/related-articles
diff --git a/packages/related-articles/package.json b/packages/related-articles/package.json
index 1cf611260eb..dfaf2ade12f 100644
--- a/packages/related-articles/package.json
+++ b/packages/related-articles/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/related-articles",
- "version": "6.17.86",
+ "version": "6.17.87",
"description": "related articles of an article",
"main": "dist/related-articles",
"dev": "src/related-articles",
@@ -55,7 +55,7 @@
"webpack": "4.30.0"
},
"dependencies": {
- "@times-components/article-summary": "3.25.6",
+ "@times-components/article-summary": "3.25.7",
"@times-components/card": "6.15.1",
"@times-components/context": "1.24.0",
"@times-components/link": "3.17.34",
diff --git a/packages/save-and-share-bar/CHANGELOG.md b/packages/save-and-share-bar/CHANGELOG.md
index 67c075e0fae..993c7e1948f 100644
--- a/packages/save-and-share-bar/CHANGELOG.md
+++ b/packages/save-and-share-bar/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.24.1](https://github.com/newsuk/times-components/compare/@times-components/save-and-share-bar@0.24.0...@times-components/save-and-share-bar@0.24.1) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/save-and-share-bar
+
+
+
+
+
# [0.24.0](https://github.com/newsuk/times-components/compare/@times-components/save-and-share-bar@0.23.4...@times-components/save-and-share-bar@0.24.0) (2024-09-16)
diff --git a/packages/save-and-share-bar/package.json b/packages/save-and-share-bar/package.json
index b32c3affbf5..5122833b37d 100644
--- a/packages/save-and-share-bar/package.json
+++ b/packages/save-and-share-bar/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/save-and-share-bar",
- "version": "0.24.0",
+ "version": "0.24.1",
"description": "Save and Share bar ",
"main": "dist/save-and-share-bar",
"dev": "src/save-and-share-bar",
@@ -36,9 +36,9 @@
"@times-components/context": "1.24.0",
"@times-components/icons": "2.22.12",
"@times-components/message-bar": "0.7.85",
- "@times-components/provider-queries": "2.23.2",
+ "@times-components/provider-queries": "2.23.3",
"@times-components/tracking": "2.22.34",
- "@times-components/ts-components": "1.103.4",
+ "@times-components/ts-components": "1.103.5",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/user-state": "0.5.51",
"@times-components/utils": "6.26.0",
@@ -50,7 +50,7 @@
"@times-components/eslint-config-thetimes": "0.8.18",
"@times-components/jest-configurator-web": "0.8.2",
"@times-components/jest-serializer": "3.13.20",
- "@times-components/provider-test-tools": "1.30.3",
+ "@times-components/provider-test-tools": "1.30.4",
"@times-components/storybook": "4.12.34",
"@times-components/webpack-configurator": "2.1.1",
"babel-jest": "24.8.0",
diff --git a/packages/save-star-web/CHANGELOG.md b/packages/save-star-web/CHANGELOG.md
index 04df17dffc2..c01ed10c952 100644
--- a/packages/save-star-web/CHANGELOG.md
+++ b/packages/save-star-web/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.10.66](https://github.com/newsuk/times-components/compare/@times-components/save-star-web@0.10.65...@times-components/save-star-web@0.10.66) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/save-star-web
+
+
+
+
+
## [0.10.65](https://github.com/newsuk/times-components/compare/@times-components/save-star-web@0.10.64...@times-components/save-star-web@0.10.65) (2024-09-06)
**Note:** Version bump only for package @times-components/save-star-web
diff --git a/packages/save-star-web/package.json b/packages/save-star-web/package.json
index f5df0ea7fa1..2a088a16b27 100644
--- a/packages/save-star-web/package.json
+++ b/packages/save-star-web/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/save-star-web",
- "version": "0.10.65",
+ "version": "0.10.66",
"description": "Save Star for Web",
"main": "dist/save-star-web",
"dev": "src/save-star-web",
@@ -34,8 +34,8 @@
"dependencies": {
"@times-components/icons": "2.22.12",
"@times-components/link": "3.17.34",
- "@times-components/provider": "1.41.3",
- "@times-components/provider-queries": "2.23.2",
+ "@times-components/provider": "1.41.4",
+ "@times-components/provider-queries": "2.23.3",
"@times-components/tracking": "2.22.34",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/utils": "6.26.0",
@@ -48,7 +48,7 @@
"@times-components/eslint-config-thetimes": "0.8.18",
"@times-components/jest-configurator-web": "0.8.2",
"@times-components/jest-serializer": "3.13.20",
- "@times-components/provider-test-tools": "1.30.3",
+ "@times-components/provider-test-tools": "1.30.4",
"@times-components/storybook": "4.12.34",
"@times-components/test-utils": "2.4.2",
"@times-components/webpack-configurator": "2.1.1",
diff --git a/packages/ssr/CHANGELOG.md b/packages/ssr/CHANGELOG.md
index ce5b333ec28..7b2f8bed1f1 100644
--- a/packages/ssr/CHANGELOG.md
+++ b/packages/ssr/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.58.11](https://github.com/newsuk/times-components/compare/@times-components/ssr@2.58.10...@times-components/ssr@2.58.11) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/ssr
+
+
+
+
+
## [2.58.10](https://github.com/newsuk/times-components/compare/@times-components/ssr@2.58.9...@times-components/ssr@2.58.10) (2024-09-16)
**Note:** Version bump only for package @times-components/ssr
diff --git a/packages/ssr/package.json b/packages/ssr/package.json
index c4c67f98dad..a003a4f7338 100644
--- a/packages/ssr/package.json
+++ b/packages/ssr/package.json
@@ -1,7 +1,7 @@
{
"name": "@times-components/ssr",
"main": "src",
- "version": "2.58.10",
+ "version": "2.58.11",
"scripts": {
"bundle:dev": "yarn cleanup-dist && webpack --config=webpack.config.js",
"bundle:prod": "yarn cleanup-dist && NODE_ENV=production webpack --config=webpack.config.js -p",
@@ -36,7 +36,7 @@
"devDependencies": {
"@times-components/eslint-config-thetimes": "0.8.18",
"@times-components/fixture-generator": "0.35.1",
- "@times-components/mock-tpa-server": "0.4.9",
+ "@times-components/mock-tpa-server": "0.4.10",
"axe-core": "3.3.1",
"cypress": "^9.2.0",
"cypress-axe": "0.13.0",
@@ -52,10 +52,10 @@
"webpack": "4.30.0"
},
"dependencies": {
- "@times-components/article": "7.17.11",
- "@times-components/author-profile": "6.18.23",
+ "@times-components/article": "7.17.12",
+ "@times-components/author-profile": "6.18.24",
"@times-components/context": "1.24.0",
- "@times-components/provider": "1.41.3",
+ "@times-components/provider": "1.41.4",
"@times-components/schema": "0.7.5",
"@times-components/tealium": "1.15.3",
"@times-components/ts-styleguide": "1.50.34",
diff --git a/packages/ts-components/CHANGELOG.md b/packages/ts-components/CHANGELOG.md
index 049e730aaa7..93693ddd2f8 100644
--- a/packages/ts-components/CHANGELOG.md
+++ b/packages/ts-components/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.103.5](https://github.com/newsuk/times-components/compare/@times-components/ts-components@1.103.4...@times-components/ts-components@1.103.5) (2024-09-16)
+
+**Note:** Version bump only for package @times-components/ts-components
+
+
+
+
+
## [1.103.4](https://github.com/newsuk/times-components/compare/@times-components/ts-components@1.103.3...@times-components/ts-components@1.103.4) (2024-09-06)
**Note:** Version bump only for package @times-components/ts-components
diff --git a/packages/ts-components/package.json b/packages/ts-components/package.json
index ec0e627c531..7d76df26f2b 100644
--- a/packages/ts-components/package.json
+++ b/packages/ts-components/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/ts-components",
- "version": "1.103.4",
+ "version": "1.103.5",
"description": "Reuseable Typescript React Components ",
"main": "dist/index.js",
"dev": "dist/index.js",
@@ -55,9 +55,9 @@
"@times-components/icons": "2.22.12",
"@times-components/image": "6.18.1",
"@times-components/link": "3.17.34",
- "@times-components/provider": "1.41.3",
- "@times-components/provider-queries": "2.23.2",
- "@times-components/related-articles": "6.17.86",
+ "@times-components/provider": "1.41.4",
+ "@times-components/provider-queries": "2.23.3",
+ "@times-components/related-articles": "6.17.87",
"@times-components/ts-slices": "1.9.22",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/utils": "6.26.0",
@@ -82,7 +82,7 @@
"@storybook/react": "6.5.16",
"@testing-library/jest-dom": "^5.12.0",
"@testing-library/react": "^12.1.2",
- "@times-components/provider-test-tools": "1.30.3",
+ "@times-components/provider-test-tools": "1.30.4",
"@times-components/storybook": "4.12.34",
"@times-components/test-utils": "2.4.2",
"@types/lodash.get": "4.4.6",
From 1a89667c575e0c80ef60901b7ccc30062a60ae22 Mon Sep 17 00:00:00 2001
From: douglasmik <48333391+douglasmik@users.noreply.github.com>
Date: Tue, 24 Sep 2024 16:02:47 +0100
Subject: [PATCH 29/97] fix(TMRS-000): extend logic to ignore preview articles
(#3941)
---
packages/article/__tests__/web/article.test.js | 15 +++++++++++++++
packages/article/src/article.js | 7 ++++++-
2 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/packages/article/__tests__/web/article.test.js b/packages/article/__tests__/web/article.test.js
index 5dee76178c0..1417a78647a 100644
--- a/packages/article/__tests__/web/article.test.js
+++ b/packages/article/__tests__/web/article.test.js
@@ -60,6 +60,21 @@ describe("Article", () => {
expect(() => testRenderer()).toThrow("ENOCONTENT");
});
+ it("does not throw `ENOCONTENT` error if article content is null in preview article", () => {
+ const emptyArticleContentData = {
+ content: [],
+ tiles: [],
+ isPreview: true
+ };
+
+ const testRenderer = TestRenderer.create(
+
+ );
+ const testInstance = testRenderer.root;
+
+ expect(testInstance.findByType(ArticleMainStandard)).toBeTruthy();
+ });
+
it("renders with ArticleMainStandard as the default template if no template is provided", () => {
const testRenderer = TestRenderer.create(
diff --git a/packages/article/src/article.js b/packages/article/src/article.js
index 8e3a3446969..1d11f4e12f8 100644
--- a/packages/article/src/article.js
+++ b/packages/article/src/article.js
@@ -32,7 +32,12 @@ const Article = props => {
throw new TakeoverBailout("Aborted react render: Takeover page");
}
- if (article && !article.tiles.length && !content.length) {
+ if (
+ article &&
+ !article.isPreview &&
+ !article.tiles.length &&
+ !content.length
+ ) {
throw new Error("ENOCONTENT");
}
From f1317d0af7d86fae712f5060c5f18a21b154f350 Mon Sep 17 00:00:00 2001
From: times-tools
Date: Tue, 24 Sep 2024 15:28:56 +0000
Subject: [PATCH 30/97] chore: Publish 1a89667c57 [ci skip]
- @times-components/article@7.17.13
- @times-components/ssr@2.58.12
---
packages/article/CHANGELOG.md | 11 +++++++++++
packages/article/package.json | 2 +-
packages/ssr/CHANGELOG.md | 8 ++++++++
packages/ssr/package.json | 4 ++--
4 files changed, 22 insertions(+), 3 deletions(-)
diff --git a/packages/article/CHANGELOG.md b/packages/article/CHANGELOG.md
index 461b16b6f3d..b154924f2a6 100644
--- a/packages/article/CHANGELOG.md
+++ b/packages/article/CHANGELOG.md
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [7.17.13](https://github.com/newsuk/times-components/compare/@times-components/article@7.17.12...@times-components/article@7.17.13) (2024-09-24)
+
+
+### Bug Fixes
+
+* **TMRS-000:** extend logic to ignore preview articles ([#3941](https://github.com/newsuk/times-components/issues/3941)) ([1a89667](https://github.com/newsuk/times-components/commit/1a89667c575e0c80ef60901b7ccc30062a60ae22))
+
+
+
+
+
## [7.17.12](https://github.com/newsuk/times-components/compare/@times-components/article@7.17.11...@times-components/article@7.17.12) (2024-09-16)
diff --git a/packages/article/package.json b/packages/article/package.json
index 935b3883e96..02aea3b1704 100644
--- a/packages/article/package.json
+++ b/packages/article/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article",
- "version": "7.17.12",
+ "version": "7.17.13",
"description": "The article",
"main": "dist/article",
"dev": "src/article",
diff --git a/packages/ssr/CHANGELOG.md b/packages/ssr/CHANGELOG.md
index 7b2f8bed1f1..41bcfd5dbce 100644
--- a/packages/ssr/CHANGELOG.md
+++ b/packages/ssr/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.58.12](https://github.com/newsuk/times-components/compare/@times-components/ssr@2.58.11...@times-components/ssr@2.58.12) (2024-09-24)
+
+**Note:** Version bump only for package @times-components/ssr
+
+
+
+
+
## [2.58.11](https://github.com/newsuk/times-components/compare/@times-components/ssr@2.58.10...@times-components/ssr@2.58.11) (2024-09-16)
**Note:** Version bump only for package @times-components/ssr
diff --git a/packages/ssr/package.json b/packages/ssr/package.json
index a003a4f7338..988116a89c5 100644
--- a/packages/ssr/package.json
+++ b/packages/ssr/package.json
@@ -1,7 +1,7 @@
{
"name": "@times-components/ssr",
"main": "src",
- "version": "2.58.11",
+ "version": "2.58.12",
"scripts": {
"bundle:dev": "yarn cleanup-dist && webpack --config=webpack.config.js",
"bundle:prod": "yarn cleanup-dist && NODE_ENV=production webpack --config=webpack.config.js -p",
@@ -52,7 +52,7 @@
"webpack": "4.30.0"
},
"dependencies": {
- "@times-components/article": "7.17.12",
+ "@times-components/article": "7.17.13",
"@times-components/author-profile": "6.18.24",
"@times-components/context": "1.24.0",
"@times-components/provider": "1.41.4",
From d0258c0b4a726a8cb176337513fe80d5e2497944 Mon Sep 17 00:00:00 2001
From: douglasmik <48333391+douglasmik@users.noreply.github.com>
Date: Wed, 25 Sep 2024 10:27:37 +0100
Subject: [PATCH 31/97] fix(TMRS-000) remove 410 error logic (#3943)
---
.../article/__tests__/web/article.test.js | 68 ++-----------------
packages/article/src/article.js | 9 ---
2 files changed, 7 insertions(+), 70 deletions(-)
diff --git a/packages/article/__tests__/web/article.test.js b/packages/article/__tests__/web/article.test.js
index 1417a78647a..6b864bf9294 100644
--- a/packages/article/__tests__/web/article.test.js
+++ b/packages/article/__tests__/web/article.test.js
@@ -5,7 +5,6 @@ import ArticleMainComment from "@times-components/article-main-comment";
import ArticleMagazineStandard from "@times-components/article-magazine-standard";
import ArticleMagazineComment from "@times-components/article-magazine-comment";
import Article from "../../src/article";
-import { testFixture } from "../../fixtures/full-article";
jest.mock("@times-components/image", () => "TimesImage");
jest.mock("react-helmet-async", () => ({ Helmet: "Helmet" }));
@@ -28,12 +27,6 @@ const requiredProps = {
refetch: () => {}
};
-const articleContentData = {
- content: testFixture.content,
- section: testFixture.section,
- tiles: []
-};
-
describe("Article", () => {
it("renders with ArticleMainStandard as the default template if article is null", () => {
const testRenderer = TestRenderer.create(
@@ -44,40 +37,9 @@ describe("Article", () => {
expect(testInstance.findByType(ArticleMainStandard)).toBeTruthy();
});
- it("throws `ENOCONTENT` error if article content is null", () => {
- const emptyArticleContentData = {
- content: [],
- tiles: []
- };
-
- const testRenderer = () =>
- TestRenderer.create(
-
- )
- .then(res => res.root)
- .catch(() => {});
-
- expect(() => testRenderer()).toThrow("ENOCONTENT");
- });
-
- it("does not throw `ENOCONTENT` error if article content is null in preview article", () => {
- const emptyArticleContentData = {
- content: [],
- tiles: [],
- isPreview: true
- };
-
- const testRenderer = TestRenderer.create(
-
- );
- const testInstance = testRenderer.root;
-
- expect(testInstance.findByType(ArticleMainStandard)).toBeTruthy();
- });
-
it("renders with ArticleMainStandard as the default template if no template is provided", () => {
const testRenderer = TestRenderer.create(
-
+
);
const testInstance = testRenderer.root;
@@ -89,8 +51,7 @@ describe("Article", () => {
@@ -102,10 +63,7 @@ describe("Article", () => {
it("renders with ArticleMainStandard as the default template if null is set for template", () => {
const testRenderer = TestRenderer.create(
-
+
);
const testInstance = testRenderer.root;
@@ -114,10 +72,7 @@ describe("Article", () => {
it("renders with ArticleMainStandard if the correct template is chosen", () => {
const testRenderer = TestRenderer.create(
-
+
);
const testInstance = testRenderer.root;
@@ -126,10 +81,7 @@ describe("Article", () => {
it("renders with ArticleMainComment if the correct template is chosen", () => {
const testRenderer = TestRenderer.create(
-
+
);
const testInstance = testRenderer.root;
@@ -138,10 +90,7 @@ describe("Article", () => {
it("renders with ArticleMagazineStandard if the correct template is chosen", () => {
const testRenderer = TestRenderer.create(
-
+
);
const testInstance = testRenderer.root;
@@ -150,10 +99,7 @@ describe("Article", () => {
it("renders with ArticleMagazineComment if the correct template is chosen", () => {
const testRenderer = TestRenderer.create(
-
+
);
const testInstance = testRenderer.root;
diff --git a/packages/article/src/article.js b/packages/article/src/article.js
index 1d11f4e12f8..096bd0a26f5 100644
--- a/packages/article/src/article.js
+++ b/packages/article/src/article.js
@@ -32,15 +32,6 @@ const Article = props => {
throw new TakeoverBailout("Aborted react render: Takeover page");
}
- if (
- article &&
- !article.isPreview &&
- !article.tiles.length &&
- !content.length
- ) {
- throw new Error("ENOCONTENT");
- }
-
let onImagePressArticle = null;
if (onImagePress) {
content = addIndexesToInlineImages(content, leadAsset);
From fd2bcfcb2365eead2f07d1a1ce6412716599af3f Mon Sep 17 00:00:00 2001
From: times-tools
Date: Wed, 25 Sep 2024 09:54:23 +0000
Subject: [PATCH 32/97] chore: Publish d0258c0b4a [ci skip]
- @times-components/article@7.17.14
- @times-components/ssr@2.58.13
---
packages/article/CHANGELOG.md | 8 ++++++++
packages/article/package.json | 2 +-
packages/ssr/CHANGELOG.md | 8 ++++++++
packages/ssr/package.json | 4 ++--
4 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/packages/article/CHANGELOG.md b/packages/article/CHANGELOG.md
index b154924f2a6..0f076ce5ba4 100644
--- a/packages/article/CHANGELOG.md
+++ b/packages/article/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [7.17.14](https://github.com/newsuk/times-components/compare/@times-components/article@7.17.13...@times-components/article@7.17.14) (2024-09-25)
+
+**Note:** Version bump only for package @times-components/article
+
+
+
+
+
## [7.17.13](https://github.com/newsuk/times-components/compare/@times-components/article@7.17.12...@times-components/article@7.17.13) (2024-09-24)
diff --git a/packages/article/package.json b/packages/article/package.json
index 02aea3b1704..109a92ab119 100644
--- a/packages/article/package.json
+++ b/packages/article/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article",
- "version": "7.17.13",
+ "version": "7.17.14",
"description": "The article",
"main": "dist/article",
"dev": "src/article",
diff --git a/packages/ssr/CHANGELOG.md b/packages/ssr/CHANGELOG.md
index 41bcfd5dbce..2ac3c73722f 100644
--- a/packages/ssr/CHANGELOG.md
+++ b/packages/ssr/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.58.13](https://github.com/newsuk/times-components/compare/@times-components/ssr@2.58.12...@times-components/ssr@2.58.13) (2024-09-25)
+
+**Note:** Version bump only for package @times-components/ssr
+
+
+
+
+
## [2.58.12](https://github.com/newsuk/times-components/compare/@times-components/ssr@2.58.11...@times-components/ssr@2.58.12) (2024-09-24)
**Note:** Version bump only for package @times-components/ssr
diff --git a/packages/ssr/package.json b/packages/ssr/package.json
index 988116a89c5..fb8e8ff5c5a 100644
--- a/packages/ssr/package.json
+++ b/packages/ssr/package.json
@@ -1,7 +1,7 @@
{
"name": "@times-components/ssr",
"main": "src",
- "version": "2.58.12",
+ "version": "2.58.13",
"scripts": {
"bundle:dev": "yarn cleanup-dist && webpack --config=webpack.config.js",
"bundle:prod": "yarn cleanup-dist && NODE_ENV=production webpack --config=webpack.config.js -p",
@@ -52,7 +52,7 @@
"webpack": "4.30.0"
},
"dependencies": {
- "@times-components/article": "7.17.13",
+ "@times-components/article": "7.17.14",
"@times-components/author-profile": "6.18.24",
"@times-components/context": "1.24.0",
"@times-components/provider": "1.41.4",
From e79f0be14e81402c8b3b931ce3ac41e6429792c8 Mon Sep 17 00:00:00 2001
From: douglasmik <48333391+douglasmik@users.noreply.github.com>
Date: Wed, 25 Sep 2024 14:59:54 +0100
Subject: [PATCH 33/97] fix(TMRS-000): add isPreview to article object (#3942)
---
.../article/__tests__/web/article.test.js | 68 +++++++++++++++++--
packages/article/src/article.js | 8 ++-
packages/ssr/src/component/article.js | 3 +-
3 files changed, 70 insertions(+), 9 deletions(-)
diff --git a/packages/article/__tests__/web/article.test.js b/packages/article/__tests__/web/article.test.js
index 6b864bf9294..1417a78647a 100644
--- a/packages/article/__tests__/web/article.test.js
+++ b/packages/article/__tests__/web/article.test.js
@@ -5,6 +5,7 @@ import ArticleMainComment from "@times-components/article-main-comment";
import ArticleMagazineStandard from "@times-components/article-magazine-standard";
import ArticleMagazineComment from "@times-components/article-magazine-comment";
import Article from "../../src/article";
+import { testFixture } from "../../fixtures/full-article";
jest.mock("@times-components/image", () => "TimesImage");
jest.mock("react-helmet-async", () => ({ Helmet: "Helmet" }));
@@ -27,6 +28,12 @@ const requiredProps = {
refetch: () => {}
};
+const articleContentData = {
+ content: testFixture.content,
+ section: testFixture.section,
+ tiles: []
+};
+
describe("Article", () => {
it("renders with ArticleMainStandard as the default template if article is null", () => {
const testRenderer = TestRenderer.create(
@@ -37,9 +44,40 @@ describe("Article", () => {
expect(testInstance.findByType(ArticleMainStandard)).toBeTruthy();
});
+ it("throws `ENOCONTENT` error if article content is null", () => {
+ const emptyArticleContentData = {
+ content: [],
+ tiles: []
+ };
+
+ const testRenderer = () =>
+ TestRenderer.create(
+
+ )
+ .then(res => res.root)
+ .catch(() => {});
+
+ expect(() => testRenderer()).toThrow("ENOCONTENT");
+ });
+
+ it("does not throw `ENOCONTENT` error if article content is null in preview article", () => {
+ const emptyArticleContentData = {
+ content: [],
+ tiles: [],
+ isPreview: true
+ };
+
+ const testRenderer = TestRenderer.create(
+
+ );
+ const testInstance = testRenderer.root;
+
+ expect(testInstance.findByType(ArticleMainStandard)).toBeTruthy();
+ });
+
it("renders with ArticleMainStandard as the default template if no template is provided", () => {
const testRenderer = TestRenderer.create(
-
+
);
const testInstance = testRenderer.root;
@@ -51,7 +89,8 @@ describe("Article", () => {
@@ -63,7 +102,10 @@ describe("Article", () => {
it("renders with ArticleMainStandard as the default template if null is set for template", () => {
const testRenderer = TestRenderer.create(
-
+
);
const testInstance = testRenderer.root;
@@ -72,7 +114,10 @@ describe("Article", () => {
it("renders with ArticleMainStandard if the correct template is chosen", () => {
const testRenderer = TestRenderer.create(
-
+
);
const testInstance = testRenderer.root;
@@ -81,7 +126,10 @@ describe("Article", () => {
it("renders with ArticleMainComment if the correct template is chosen", () => {
const testRenderer = TestRenderer.create(
-
+
);
const testInstance = testRenderer.root;
@@ -90,7 +138,10 @@ describe("Article", () => {
it("renders with ArticleMagazineStandard if the correct template is chosen", () => {
const testRenderer = TestRenderer.create(
-
+
);
const testInstance = testRenderer.root;
@@ -99,7 +150,10 @@ describe("Article", () => {
it("renders with ArticleMagazineComment if the correct template is chosen", () => {
const testRenderer = TestRenderer.create(
-
+
);
const testInstance = testRenderer.root;
diff --git a/packages/article/src/article.js b/packages/article/src/article.js
index 096bd0a26f5..57e46a496c3 100644
--- a/packages/article/src/article.js
+++ b/packages/article/src/article.js
@@ -26,12 +26,18 @@ export class TakeoverBailout extends Error {
const Article = props => {
const { article, onImagePress } = props;
- const { leadAsset, template } = article || {};
+ const { leadAsset, template, isPreview } = article || {};
let { content } = article || {};
if (template === "takeoverpage") {
throw new TakeoverBailout("Aborted react render: Takeover page");
}
+ if (article && !isPreview) {
+ if (!article.tiles.length && !content.length) {
+ throw new Error("ENOCONTENT");
+ }
+ }
+
let onImagePressArticle = null;
if (onImagePress) {
content = addIndexesToInlineImages(content, leadAsset);
diff --git a/packages/ssr/src/component/article.js b/packages/ssr/src/component/article.js
index 60fab6bbbf4..afa2d9ecbdc 100644
--- a/packages/ssr/src/component/article.js
+++ b/packages/ssr/src/component/article.js
@@ -87,7 +87,8 @@ module.exports = (client, analyticsStream, data, helmetContext) => {
isSavingEnabled: sharingSavingFlag,
isSharingEnabled: sharingSavingFlag,
isCommentEnabled: commentingFlag,
- isEntitlementFeatureEnabled
+ isEntitlementFeatureEnabled,
+ isPreview
},
error,
isLoading,
From a3451d029e75406c87d5f523d249b142dea10c58 Mon Sep 17 00:00:00 2001
From: times-tools
Date: Wed, 25 Sep 2024 14:37:08 +0000
Subject: [PATCH 34/97] chore: Publish e79f0be14e [ci skip]
- @times-components/article@7.17.15
- @times-components/ssr@2.58.14
---
packages/article/CHANGELOG.md | 11 +++++++++++
packages/article/package.json | 2 +-
packages/ssr/CHANGELOG.md | 11 +++++++++++
packages/ssr/package.json | 4 ++--
4 files changed, 25 insertions(+), 3 deletions(-)
diff --git a/packages/article/CHANGELOG.md b/packages/article/CHANGELOG.md
index 0f076ce5ba4..0822118d8c8 100644
--- a/packages/article/CHANGELOG.md
+++ b/packages/article/CHANGELOG.md
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [7.17.15](https://github.com/newsuk/times-components/compare/@times-components/article@7.17.14...@times-components/article@7.17.15) (2024-09-25)
+
+
+### Bug Fixes
+
+* **TMRS-000:** add isPreview to article object ([#3942](https://github.com/newsuk/times-components/issues/3942)) ([e79f0be](https://github.com/newsuk/times-components/commit/e79f0be14e81402c8b3b931ce3ac41e6429792c8))
+
+
+
+
+
## [7.17.14](https://github.com/newsuk/times-components/compare/@times-components/article@7.17.13...@times-components/article@7.17.14) (2024-09-25)
**Note:** Version bump only for package @times-components/article
diff --git a/packages/article/package.json b/packages/article/package.json
index 109a92ab119..d2fb33230b4 100644
--- a/packages/article/package.json
+++ b/packages/article/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article",
- "version": "7.17.14",
+ "version": "7.17.15",
"description": "The article",
"main": "dist/article",
"dev": "src/article",
diff --git a/packages/ssr/CHANGELOG.md b/packages/ssr/CHANGELOG.md
index 2ac3c73722f..af8726d1b08 100644
--- a/packages/ssr/CHANGELOG.md
+++ b/packages/ssr/CHANGELOG.md
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.58.14](https://github.com/newsuk/times-components/compare/@times-components/ssr@2.58.13...@times-components/ssr@2.58.14) (2024-09-25)
+
+
+### Bug Fixes
+
+* **TMRS-000:** add isPreview to article object ([#3942](https://github.com/newsuk/times-components/issues/3942)) ([e79f0be](https://github.com/newsuk/times-components/commit/e79f0be14e81402c8b3b931ce3ac41e6429792c8))
+
+
+
+
+
## [2.58.13](https://github.com/newsuk/times-components/compare/@times-components/ssr@2.58.12...@times-components/ssr@2.58.13) (2024-09-25)
**Note:** Version bump only for package @times-components/ssr
diff --git a/packages/ssr/package.json b/packages/ssr/package.json
index fb8e8ff5c5a..3a928e3dec6 100644
--- a/packages/ssr/package.json
+++ b/packages/ssr/package.json
@@ -1,7 +1,7 @@
{
"name": "@times-components/ssr",
"main": "src",
- "version": "2.58.13",
+ "version": "2.58.14",
"scripts": {
"bundle:dev": "yarn cleanup-dist && webpack --config=webpack.config.js",
"bundle:prod": "yarn cleanup-dist && NODE_ENV=production webpack --config=webpack.config.js -p",
@@ -52,7 +52,7 @@
"webpack": "4.30.0"
},
"dependencies": {
- "@times-components/article": "7.17.14",
+ "@times-components/article": "7.17.15",
"@times-components/author-profile": "6.18.24",
"@times-components/context": "1.24.0",
"@times-components/provider": "1.41.4",
From 27a079c48a7f3d36d99215fd390d377f9e5cd7a6 Mon Sep 17 00:00:00 2001
From: douglasmik <48333391+douglasmik@users.noreply.github.com>
Date: Mon, 30 Sep 2024 13:16:28 +0100
Subject: [PATCH 35/97] feat(TMRS-463): opta ticker styling (#3938)
---
.../OptaFootballFixturesTicker.tsx | 6 +-
.../OptaFootballFixturesTicker.test.tsx.snap | 104 ++++++++++++------
.../opta/football/fixtures-ticker/styles.ts | 38 ++++++-
3 files changed, 105 insertions(+), 43 deletions(-)
diff --git a/packages/ts-components/src/components/opta/football/fixtures-ticker/OptaFootballFixturesTicker.tsx b/packages/ts-components/src/components/opta/football/fixtures-ticker/OptaFootballFixturesTicker.tsx
index b6f4ad1f9f3..f6fe4c5beaa 100644
--- a/packages/ts-components/src/components/opta/football/fixtures-ticker/OptaFootballFixturesTicker.tsx
+++ b/packages/ts-components/src/components/opta/football/fixtures-ticker/OptaFootballFixturesTicker.tsx
@@ -11,7 +11,7 @@ import {
} from '../../utils/config';
import { PlaceholderContainer } from '../shared-styles';
-import { WidgetContainer } from './styles';
+import { Container, WidgetContainer } from './styles';
import { isNationalCompetition } from '../../utils/replaceNationalTeamDetails';
import { useUpdateNationalTeamDetails } from '../../utils/useUpdateNationalTeamDetails';
import { useFixturePageLink } from '../../utils/useFixturePageLink';
@@ -94,7 +94,7 @@ export const OptaFootballFixturesTicker: React.FC<{
isNationalComp && useUpdateNationalTeamDetails(ref, 'Opta-TeamName');
return (
- <>
+
{!isReady && (
@@ -102,7 +102,7 @@ export const OptaFootballFixturesTicker: React.FC<{
)}
- >
+
);
}
);
diff --git a/packages/ts-components/src/components/opta/football/fixtures-ticker/__tests__/__snapshots__/OptaFootballFixturesTicker.test.tsx.snap b/packages/ts-components/src/components/opta/football/fixtures-ticker/__tests__/__snapshots__/OptaFootballFixturesTicker.test.tsx.snap
index f339c57255b..f40dfe3efab 100644
--- a/packages/ts-components/src/components/opta/football/fixtures-ticker/__tests__/__snapshots__/OptaFootballFixturesTicker.test.tsx.snap
+++ b/packages/ts-components/src/components/opta/football/fixtures-ticker/__tests__/__snapshots__/OptaFootballFixturesTicker.test.tsx.snap
@@ -3,13 +3,17 @@
exports[`OptaFootballFixturesTicker with flags should render correctly 1`] = `
-
- Placeholder
+
+
+ Placeholder
+
`;
@@ -17,10 +21,14 @@ exports[`OptaFootballFixturesTicker with flags should render correctly 1`] = `
exports[`OptaFootballFixturesTicker with flags should render correctly 2`] = `
-
@@ -29,13 +37,17 @@ exports[`OptaFootballFixturesTicker with flags should render correctly 2`] = `
exports[`OptaFootballFixturesTicker without flags should render correctly 1`] = `
-
- Placeholder
+
+
+ Placeholder
+
`;
@@ -43,10 +55,14 @@ exports[`OptaFootballFixturesTicker without flags should render correctly 1`] =
exports[`OptaFootballFixturesTicker without flags should render correctly 2`] = `
-
@@ -55,13 +71,17 @@ exports[`OptaFootballFixturesTicker without flags should render correctly 2`] =
exports[`OptaFootballFixturesTicker without flags should render correctly with fixturesPageUrl 1`] = `
-
- Placeholder
+
+
+ Placeholder
+
`;
@@ -69,10 +89,14 @@ exports[`OptaFootballFixturesTicker without flags should render correctly with f
exports[`OptaFootballFixturesTicker without flags should render correctly with fixturesPageUrl 2`] = `
-
@@ -81,13 +105,17 @@ exports[`OptaFootballFixturesTicker without flags should render correctly with f
exports[`OptaFootballFixturesTicker without flags should render correctly with isApp property 1`] = `
-
- Placeholder
+
+
+ Placeholder
+
`;
@@ -95,10 +123,14 @@ exports[`OptaFootballFixturesTicker without flags should render correctly with i
exports[`OptaFootballFixturesTicker without flags should render correctly with isApp property 2`] = `
-
diff --git a/packages/ts-components/src/components/opta/football/fixtures-ticker/styles.ts b/packages/ts-components/src/components/opta/football/fixtures-ticker/styles.ts
index 39148e12b93..d3b09b9e416 100644
--- a/packages/ts-components/src/components/opta/football/fixtures-ticker/styles.ts
+++ b/packages/ts-components/src/components/opta/football/fixtures-ticker/styles.ts
@@ -3,6 +3,10 @@ import { breakpoints, colours, fonts } from '@times-components/ts-styleguide';
import { WidgetContainerBase } from '../shared-styles';
+export const Container = styled.div`
+ height: 80px;
+`;
+
export const WidgetContainerOverride = styled(WidgetContainerBase)`
.Opta {
h2 {
@@ -175,14 +179,14 @@ export const WidgetContainer = styled(WidgetContainerBase)<{
isApp &&
`
@media (prefers-color-scheme: dark) {
- background-color: black !important;
- border: 1px solid white !important;
+ background-color: #1D1D1B !important;
+ border: 1px solid #AAA !important;
&:hover {
- background-color: #303030 !important;
+ border: 1px solid #333 !important;
}
&:active {
- background-color: #4f4f4f !important;
+ border: 1px solid #696969 !important;
}
&::after {
background-position-y: -57px !important;
@@ -220,17 +224,29 @@ export const WidgetContainer = styled(WidgetContainerBase)<{
color: #696969 !important;
border-start-start-radius: 4px;
border-start-end-radius: 4px;
+
+ @media (prefers-color-scheme: dark) {
+ color: #e4e4e4 !important;
+ }
}
.Opta-timings .Opta-Time * {
font-weight: 700;
color: #01000d !important;
+
+ @media (prefers-color-scheme: dark) {
+ color: #fff !important;
+ }
}
.Opta-TeamName,
.Opta-Team-Score {
color: #01000d !important;
font-family: 'Roboto-Medium' !important;
+
+ @media (prefers-color-scheme: dark) {
+ color: #fff !important;
+ }
}
.Opta-Away {
@@ -242,6 +258,10 @@ export const WidgetContainer = styled(WidgetContainerBase)<{
&.Opta-prematch {
> div {
background-color: #f5f5f5 !important;
+
+ @media (prefers-color-scheme: dark) {
+ background-color: #333 !important;
+ }
}
.Opta-Team-Score::after {
content: '-';
@@ -255,6 +275,11 @@ export const WidgetContainer = styled(WidgetContainerBase)<{
&.Opta-result > div {
border: 1px solid #ccc !important;
+ @media (prefers-color-scheme: dark) {
+ background-color: #1d1d1b !important;
+ border: 1px solid #333 !important;
+ }
+
&.Opta-timings {
border-bottom: none !important;
}
@@ -269,6 +294,11 @@ export const WidgetContainer = styled(WidgetContainerBase)<{
&.Opta-live > div {
border: 1px solid #01000d !important;
+ @media (prefers-color-scheme: dark) {
+ background-color: #121212 !important;
+ border: 1px solid #e4e4e4 !important;
+ }
+
&.Opta-timings {
border-bottom: none !important;
}
From b3bd146b5c94bbe6d9a8dfa7d51a35906f229449 Mon Sep 17 00:00:00 2001
From: times-tools
Date: Mon, 30 Sep 2024 13:38:54 +0000
Subject: [PATCH 36/97] chore: Publish 27a079c48a [ci skip]
- @times-components/article-comments@0.44.10
- @times-components/article-extras@0.32.9
- @times-components/article-in-depth@3.89.9
- @times-components/article-list@9.19.11
- @times-components/article-magazine-comment@3.85.9
- @times-components/article-magazine-standard@3.85.9
- @times-components/article-main-comment@2.88.9
- @times-components/article-main-standard@3.97.9
- @times-components/article-paragraph@1.9.330
- @times-components/article-skeleton@1.137.10
- @times-components/article-summary@3.25.8
- @times-components/article@7.17.16
- @times-components/author-profile@6.18.25
- @times-components/key-facts@2.12.99
- @times-components/related-articles@6.17.88
- @times-components/save-and-share-bar@0.24.2
- @times-components/ssr@2.58.15
- @times-components/ts-components@1.104.0
---
packages/article-comments/CHANGELOG.md | 8 ++++++++
packages/article-comments/package.json | 4 ++--
packages/article-extras/CHANGELOG.md | 8 ++++++++
packages/article-extras/package.json | 10 +++++-----
packages/article-in-depth/CHANGELOG.md | 8 ++++++++
packages/article-in-depth/package.json | 6 +++---
packages/article-list/CHANGELOG.md | 8 ++++++++
packages/article-list/package.json | 4 ++--
packages/article-magazine-comment/CHANGELOG.md | 8 ++++++++
packages/article-magazine-comment/package.json | 6 +++---
packages/article-magazine-standard/CHANGELOG.md | 8 ++++++++
packages/article-magazine-standard/package.json | 6 +++---
packages/article-main-comment/CHANGELOG.md | 8 ++++++++
packages/article-main-comment/package.json | 6 +++---
packages/article-main-standard/CHANGELOG.md | 8 ++++++++
packages/article-main-standard/package.json | 6 +++---
packages/article-paragraph/CHANGELOG.md | 8 ++++++++
packages/article-paragraph/package.json | 4 ++--
packages/article-skeleton/CHANGELOG.md | 8 ++++++++
packages/article-skeleton/package.json | 12 ++++++------
packages/article-summary/CHANGELOG.md | 8 ++++++++
packages/article-summary/package.json | 4 ++--
packages/article/CHANGELOG.md | 8 ++++++++
packages/article/package.json | 12 ++++++------
packages/author-profile/CHANGELOG.md | 8 ++++++++
packages/author-profile/package.json | 4 ++--
packages/key-facts/CHANGELOG.md | 8 ++++++++
packages/key-facts/package.json | 4 ++--
packages/related-articles/CHANGELOG.md | 8 ++++++++
packages/related-articles/package.json | 4 ++--
packages/save-and-share-bar/CHANGELOG.md | 8 ++++++++
packages/save-and-share-bar/package.json | 4 ++--
packages/ssr/CHANGELOG.md | 8 ++++++++
packages/ssr/package.json | 6 +++---
packages/ts-components/CHANGELOG.md | 11 +++++++++++
packages/ts-components/package.json | 4 ++--
36 files changed, 200 insertions(+), 53 deletions(-)
diff --git a/packages/article-comments/CHANGELOG.md b/packages/article-comments/CHANGELOG.md
index a9aaf889303..15e7a9876eb 100644
--- a/packages/article-comments/CHANGELOG.md
+++ b/packages/article-comments/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.44.10](https://github.com/newsuk/times-components/compare/@times-components/article-comments@0.44.9...@times-components/article-comments@0.44.10) (2024-09-30)
+
+**Note:** Version bump only for package @times-components/article-comments
+
+
+
+
+
## [0.44.9](https://github.com/newsuk/times-components/compare/@times-components/article-comments@0.44.8...@times-components/article-comments@0.44.9) (2024-09-16)
**Note:** Version bump only for package @times-components/article-comments
diff --git a/packages/article-comments/package.json b/packages/article-comments/package.json
index 898e6b7d42c..c98d2384ecb 100644
--- a/packages/article-comments/package.json
+++ b/packages/article-comments/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-comments",
- "version": "0.44.9",
+ "version": "0.44.10",
"description": "Article Comments",
"main": "dist/article-comments",
"dev": "src/article-comments",
@@ -35,7 +35,7 @@
"dependencies": {
"@times-components/link": "3.17.34",
"@times-components/tracking": "2.22.34",
- "@times-components/ts-components": "1.103.5",
+ "@times-components/ts-components": "1.104.0",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/user-state": "0.5.51",
"prop-types": "15.7.2",
diff --git a/packages/article-extras/CHANGELOG.md b/packages/article-extras/CHANGELOG.md
index 49158ae7f85..cf00d3f2f90 100644
--- a/packages/article-extras/CHANGELOG.md
+++ b/packages/article-extras/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.32.9](https://github.com/newsuk/times-components/compare/@times-components/article-extras@0.32.8...@times-components/article-extras@0.32.9) (2024-09-30)
+
+**Note:** Version bump only for package @times-components/article-extras
+
+
+
+
+
## [0.32.8](https://github.com/newsuk/times-components/compare/@times-components/article-extras@0.32.7...@times-components/article-extras@0.32.8) (2024-09-16)
**Note:** Version bump only for package @times-components/article-extras
diff --git a/packages/article-extras/package.json b/packages/article-extras/package.json
index 89cf6528f6b..864586fd4d2 100644
--- a/packages/article-extras/package.json
+++ b/packages/article-extras/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-extras",
- "version": "0.32.8",
+ "version": "0.32.9",
"description": "Extra information components at the bottom of the articles, such as topics, related articles and comments ",
"main": "dist/index",
"dev": "src/index",
@@ -49,14 +49,14 @@
"webpack": "4.30.0"
},
"dependencies": {
- "@times-components/article-comments": "0.44.9",
+ "@times-components/article-comments": "0.44.10",
"@times-components/article-topics": "4.11.55",
"@times-components/button": "2.10.61",
"@times-components/context": "1.24.0",
"@times-components/message-bar": "0.7.85",
- "@times-components/related-articles": "6.17.87",
- "@times-components/save-and-share-bar": "0.24.1",
- "@times-components/ts-components": "1.103.5",
+ "@times-components/related-articles": "6.17.88",
+ "@times-components/save-and-share-bar": "0.24.2",
+ "@times-components/ts-components": "1.104.0",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/user-state": "0.5.51",
"@times-components/utils": "6.26.0",
diff --git a/packages/article-in-depth/CHANGELOG.md b/packages/article-in-depth/CHANGELOG.md
index 3f2ff4d87ca..077d0e0e530 100644
--- a/packages/article-in-depth/CHANGELOG.md
+++ b/packages/article-in-depth/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.89.9](https://github.com/newsuk/times-components/compare/@times-components/article-in-depth@3.89.8...@times-components/article-in-depth@3.89.9) (2024-09-30)
+
+**Note:** Version bump only for package @times-components/article-in-depth
+
+
+
+
+
## [3.89.8](https://github.com/newsuk/times-components/compare/@times-components/article-in-depth@3.89.7...@times-components/article-in-depth@3.89.8) (2024-09-16)
**Note:** Version bump only for package @times-components/article-in-depth
diff --git a/packages/article-in-depth/package.json b/packages/article-in-depth/package.json
index 26e3e8727f8..4342f55d871 100644
--- a/packages/article-in-depth/package.json
+++ b/packages/article-in-depth/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-in-depth",
- "version": "3.89.8",
+ "version": "3.89.9",
"description": "In Depth Article Template",
"main": "dist/article-in-depth",
"dev": "src/article-in-depth",
@@ -57,11 +57,11 @@
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.42",
- "@times-components/article-skeleton": "1.137.9",
+ "@times-components/article-skeleton": "1.137.10",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
- "@times-components/ts-components": "1.103.5",
+ "@times-components/ts-components": "1.104.0",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/user-state": "0.5.51",
"@times-components/utils": "6.26.0",
diff --git a/packages/article-list/CHANGELOG.md b/packages/article-list/CHANGELOG.md
index 0483df25f2e..f9ac5b227b6 100644
--- a/packages/article-list/CHANGELOG.md
+++ b/packages/article-list/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [9.19.11](https://github.com/newsuk/times-components/compare/@times-components/article-list@9.19.10...@times-components/article-list@9.19.11) (2024-09-30)
+
+**Note:** Version bump only for package @times-components/article-list
+
+
+
+
+
## [9.19.10](https://github.com/newsuk/times-components/compare/@times-components/article-list@9.19.9...@times-components/article-list@9.19.10) (2024-09-16)
**Note:** Version bump only for package @times-components/article-list
diff --git a/packages/article-list/package.json b/packages/article-list/package.json
index a12e3a5c48b..fb8acac966c 100644
--- a/packages/article-list/package.json
+++ b/packages/article-list/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-list",
- "version": "9.19.10",
+ "version": "9.19.11",
"description": "Paginated list of articles",
"main": "dist/article-list",
"dev": "src/article-list",
@@ -61,7 +61,7 @@
},
"dependencies": {
"@times-components/ad": "2.22.23",
- "@times-components/article-summary": "3.25.7",
+ "@times-components/article-summary": "3.25.8",
"@times-components/button": "2.10.61",
"@times-components/card": "6.15.1",
"@times-components/context": "1.24.0",
diff --git a/packages/article-magazine-comment/CHANGELOG.md b/packages/article-magazine-comment/CHANGELOG.md
index dde7cd14450..9efec40eafa 100644
--- a/packages/article-magazine-comment/CHANGELOG.md
+++ b/packages/article-magazine-comment/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.85.9](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-comment@3.85.8...@times-components/article-magazine-comment@3.85.9) (2024-09-30)
+
+**Note:** Version bump only for package @times-components/article-magazine-comment
+
+
+
+
+
## [3.85.8](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-comment@3.85.7...@times-components/article-magazine-comment@3.85.8) (2024-09-16)
**Note:** Version bump only for package @times-components/article-magazine-comment
diff --git a/packages/article-magazine-comment/package.json b/packages/article-magazine-comment/package.json
index a12403d2092..213532fb005 100644
--- a/packages/article-magazine-comment/package.json
+++ b/packages/article-magazine-comment/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-magazine-comment",
- "version": "3.85.8",
+ "version": "3.85.9",
"description": "Magazine Comment Article Template",
"main": "dist/article-magazine-comment",
"dev": "src/article-magazine-comment",
@@ -57,12 +57,12 @@
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.42",
- "@times-components/article-skeleton": "1.137.9",
+ "@times-components/article-skeleton": "1.137.10",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
"@times-components/image": "6.18.1",
- "@times-components/ts-components": "1.103.5",
+ "@times-components/ts-components": "1.104.0",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/user-state": "0.5.51",
"@times-components/utils": "6.26.0",
diff --git a/packages/article-magazine-standard/CHANGELOG.md b/packages/article-magazine-standard/CHANGELOG.md
index eba7912294b..2fbd9c15127 100644
--- a/packages/article-magazine-standard/CHANGELOG.md
+++ b/packages/article-magazine-standard/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.85.9](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-standard@3.85.8...@times-components/article-magazine-standard@3.85.9) (2024-09-30)
+
+**Note:** Version bump only for package @times-components/article-magazine-standard
+
+
+
+
+
## [3.85.8](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-standard@3.85.7...@times-components/article-magazine-standard@3.85.8) (2024-09-16)
**Note:** Version bump only for package @times-components/article-magazine-standard
diff --git a/packages/article-magazine-standard/package.json b/packages/article-magazine-standard/package.json
index 71224f92989..7cbeb052065 100644
--- a/packages/article-magazine-standard/package.json
+++ b/packages/article-magazine-standard/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-magazine-standard",
- "version": "3.85.8",
+ "version": "3.85.9",
"description": "Magazine Standard Article Template",
"main": "dist/article-magazine-standard",
"dev": "src/article-magazine-standard",
@@ -57,11 +57,11 @@
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.42",
- "@times-components/article-skeleton": "1.137.9",
+ "@times-components/article-skeleton": "1.137.10",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
- "@times-components/ts-components": "1.103.5",
+ "@times-components/ts-components": "1.104.0",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/user-state": "0.5.51",
"@times-components/utils": "6.26.0",
diff --git a/packages/article-main-comment/CHANGELOG.md b/packages/article-main-comment/CHANGELOG.md
index e35c1f7e989..e2adb906488 100644
--- a/packages/article-main-comment/CHANGELOG.md
+++ b/packages/article-main-comment/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.88.9](https://github.com/newsuk/times-components/compare/@times-components/article-main-comment@2.88.8...@times-components/article-main-comment@2.88.9) (2024-09-30)
+
+**Note:** Version bump only for package @times-components/article-main-comment
+
+
+
+
+
## [2.88.8](https://github.com/newsuk/times-components/compare/@times-components/article-main-comment@2.88.7...@times-components/article-main-comment@2.88.8) (2024-09-16)
**Note:** Version bump only for package @times-components/article-main-comment
diff --git a/packages/article-main-comment/package.json b/packages/article-main-comment/package.json
index 6077c601e71..177b3248c60 100644
--- a/packages/article-main-comment/package.json
+++ b/packages/article-main-comment/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-main-comment",
- "version": "2.88.8",
+ "version": "2.88.9",
"description": "Main Comment Article Template",
"main": "dist/article-main-comment",
"dev": "src/article-main-comment",
@@ -56,12 +56,12 @@
"@times-components/ad": "2.22.23",
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
- "@times-components/article-skeleton": "1.137.9",
+ "@times-components/article-skeleton": "1.137.10",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
"@times-components/image": "6.18.1",
"@times-components/responsive": "0.27.0",
- "@times-components/ts-components": "1.103.5",
+ "@times-components/ts-components": "1.104.0",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/user-state": "0.5.51",
"@times-components/utils": "6.26.0",
diff --git a/packages/article-main-standard/CHANGELOG.md b/packages/article-main-standard/CHANGELOG.md
index 798ba8e2f71..7b54adad917 100644
--- a/packages/article-main-standard/CHANGELOG.md
+++ b/packages/article-main-standard/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.97.9](https://github.com/newsuk/times-components/compare/@times-components/article-main-standard@3.97.8...@times-components/article-main-standard@3.97.9) (2024-09-30)
+
+**Note:** Version bump only for package @times-components/article-main-standard
+
+
+
+
+
## [3.97.8](https://github.com/newsuk/times-components/compare/@times-components/article-main-standard@3.97.7...@times-components/article-main-standard@3.97.8) (2024-09-16)
**Note:** Version bump only for package @times-components/article-main-standard
diff --git a/packages/article-main-standard/package.json b/packages/article-main-standard/package.json
index b7e547c5661..8336e6a8614 100644
--- a/packages/article-main-standard/package.json
+++ b/packages/article-main-standard/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-main-standard",
- "version": "3.97.8",
+ "version": "3.97.9",
"description": "Main Standard Article Template",
"main": "dist/article-main-standard",
"dev": "src/article-main-standard",
@@ -56,13 +56,13 @@
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.42",
- "@times-components/article-skeleton": "1.137.9",
+ "@times-components/article-skeleton": "1.137.10",
"@times-components/article-topics": "4.11.55",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
"@times-components/responsive": "0.27.0",
- "@times-components/ts-components": "1.103.5",
+ "@times-components/ts-components": "1.104.0",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/user-state": "0.5.51",
"@times-components/utils": "6.26.0",
diff --git a/packages/article-paragraph/CHANGELOG.md b/packages/article-paragraph/CHANGELOG.md
index 4e102c59122..77efb755659 100644
--- a/packages/article-paragraph/CHANGELOG.md
+++ b/packages/article-paragraph/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.9.330](https://github.com/newsuk/times-components/compare/@times-components/article-paragraph@1.9.329...@times-components/article-paragraph@1.9.330) (2024-09-30)
+
+**Note:** Version bump only for package @times-components/article-paragraph
+
+
+
+
+
## [1.9.329](https://github.com/newsuk/times-components/compare/@times-components/article-paragraph@1.9.328...@times-components/article-paragraph@1.9.329) (2024-09-16)
**Note:** Version bump only for package @times-components/article-paragraph
diff --git a/packages/article-paragraph/package.json b/packages/article-paragraph/package.json
index 42b37dafdf7..486bf3bd69a 100644
--- a/packages/article-paragraph/package.json
+++ b/packages/article-paragraph/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-paragraph",
- "version": "1.9.329",
+ "version": "1.9.330",
"description": "Article Paragraph",
"main": "dist/index",
"dev": "src/index",
@@ -32,7 +32,7 @@
},
"homepage": "https://github.com/newsuk/times-components#readme",
"dependencies": {
- "@times-components/article-skeleton": "1.137.9",
+ "@times-components/article-skeleton": "1.137.10",
"@times-components/context": "1.24.0",
"@times-components/markup-forest": "1.9.2",
"@times-components/ts-styleguide": "1.50.34",
diff --git a/packages/article-skeleton/CHANGELOG.md b/packages/article-skeleton/CHANGELOG.md
index b97f9c82c11..105c3241bc9 100644
--- a/packages/article-skeleton/CHANGELOG.md
+++ b/packages/article-skeleton/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.137.10](https://github.com/newsuk/times-components/compare/@times-components/article-skeleton@1.137.9...@times-components/article-skeleton@1.137.10) (2024-09-30)
+
+**Note:** Version bump only for package @times-components/article-skeleton
+
+
+
+
+
## [1.137.9](https://github.com/newsuk/times-components/compare/@times-components/article-skeleton@1.137.8...@times-components/article-skeleton@1.137.9) (2024-09-16)
**Note:** Version bump only for package @times-components/article-skeleton
diff --git a/packages/article-skeleton/package.json b/packages/article-skeleton/package.json
index 611f1c2a682..af25be595e8 100644
--- a/packages/article-skeleton/package.json
+++ b/packages/article-skeleton/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-skeleton",
- "version": "1.137.9",
+ "version": "1.137.10",
"description": "The article skeleton",
"main": "dist/article-skeleton",
"dev": "src/article-skeleton",
@@ -62,14 +62,14 @@
},
"dependencies": {
"@times-components/ad": "2.22.23",
- "@times-components/article-extras": "0.32.8",
+ "@times-components/article-extras": "0.32.9",
"@times-components/article-image": "7.18.1",
- "@times-components/article-paragraph": "1.9.329",
+ "@times-components/article-paragraph": "1.9.330",
"@times-components/article-topics": "4.11.55",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/interactive-wrapper": "0.9.89",
- "@times-components/key-facts": "2.12.98",
+ "@times-components/key-facts": "2.12.99",
"@times-components/lazy-load": "0.20.0",
"@times-components/link": "3.17.34",
"@times-components/markup": "3.8.61",
@@ -77,10 +77,10 @@
"@times-components/message-bar": "0.7.85",
"@times-components/provider-queries": "2.23.3",
"@times-components/pull-quote": "3.15.40",
- "@times-components/save-and-share-bar": "0.24.1",
+ "@times-components/save-and-share-bar": "0.24.2",
"@times-components/sticky": "0.5.84",
"@times-components/tracking": "2.22.34",
- "@times-components/ts-components": "1.103.5",
+ "@times-components/ts-components": "1.104.0",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/typeset": "0.3.3",
"@times-components/user-state": "0.5.51",
diff --git a/packages/article-summary/CHANGELOG.md b/packages/article-summary/CHANGELOG.md
index 86663d9cec6..9872a9e46d2 100644
--- a/packages/article-summary/CHANGELOG.md
+++ b/packages/article-summary/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.25.8](https://github.com/newsuk/times-components/compare/@times-components/article-summary@3.25.7...@times-components/article-summary@3.25.8) (2024-09-30)
+
+**Note:** Version bump only for package @times-components/article-summary
+
+
+
+
+
## [3.25.7](https://github.com/newsuk/times-components/compare/@times-components/article-summary@3.25.6...@times-components/article-summary@3.25.7) (2024-09-16)
**Note:** Version bump only for package @times-components/article-summary
diff --git a/packages/article-summary/package.json b/packages/article-summary/package.json
index 6603e2511fb..096f5392fdc 100644
--- a/packages/article-summary/package.json
+++ b/packages/article-summary/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-summary",
- "version": "3.25.7",
+ "version": "3.25.8",
"main": "dist/article-summary",
"dev": "src/article-summary",
"scripts": {
@@ -55,7 +55,7 @@
"@times-components/date-publication": "0.30.34",
"@times-components/markup": "3.8.61",
"@times-components/markup-forest": "1.9.2",
- "@times-components/ts-components": "1.103.5",
+ "@times-components/ts-components": "1.104.0",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/utils": "6.26.0",
"@times-components/video-label": "2.11.62",
diff --git a/packages/article/CHANGELOG.md b/packages/article/CHANGELOG.md
index 0822118d8c8..afda9a5f25f 100644
--- a/packages/article/CHANGELOG.md
+++ b/packages/article/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [7.17.16](https://github.com/newsuk/times-components/compare/@times-components/article@7.17.15...@times-components/article@7.17.16) (2024-09-30)
+
+**Note:** Version bump only for package @times-components/article
+
+
+
+
+
## [7.17.15](https://github.com/newsuk/times-components/compare/@times-components/article@7.17.14...@times-components/article@7.17.15) (2024-09-25)
diff --git a/packages/article/package.json b/packages/article/package.json
index d2fb33230b4..b78d87e766b 100644
--- a/packages/article/package.json
+++ b/packages/article/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article",
- "version": "7.17.15",
+ "version": "7.17.16",
"description": "The article",
"main": "dist/article",
"dev": "src/article",
@@ -53,11 +53,11 @@
},
"dependencies": {
"@times-components/ad": "2.22.23",
- "@times-components/article-in-depth": "3.89.8",
- "@times-components/article-magazine-comment": "3.85.8",
- "@times-components/article-magazine-standard": "3.85.8",
- "@times-components/article-main-comment": "2.88.8",
- "@times-components/article-main-standard": "3.97.8",
+ "@times-components/article-in-depth": "3.89.9",
+ "@times-components/article-magazine-comment": "3.85.9",
+ "@times-components/article-magazine-standard": "3.85.9",
+ "@times-components/article-main-comment": "2.88.9",
+ "@times-components/article-main-standard": "3.97.9",
"@times-components/context": "1.24.0",
"@times-components/message-bar": "0.7.85",
"@times-components/provider": "1.41.4",
diff --git a/packages/author-profile/CHANGELOG.md b/packages/author-profile/CHANGELOG.md
index da23c7ed5d6..7acbd182931 100644
--- a/packages/author-profile/CHANGELOG.md
+++ b/packages/author-profile/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [6.18.25](https://github.com/newsuk/times-components/compare/@times-components/author-profile@6.18.24...@times-components/author-profile@6.18.25) (2024-09-30)
+
+**Note:** Version bump only for package @times-components/author-profile
+
+
+
+
+
## [6.18.24](https://github.com/newsuk/times-components/compare/@times-components/author-profile@6.18.23...@times-components/author-profile@6.18.24) (2024-09-16)
**Note:** Version bump only for package @times-components/author-profile
diff --git a/packages/author-profile/package.json b/packages/author-profile/package.json
index 572599352c2..6d584de5528 100644
--- a/packages/author-profile/package.json
+++ b/packages/author-profile/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/author-profile",
- "version": "6.18.24",
+ "version": "6.18.25",
"description": "Author profile information along with a list of articles they have written ",
"main": "dist/author-profile",
"dev": "src/author-profile",
@@ -59,7 +59,7 @@
"webpack": "4.30.0"
},
"dependencies": {
- "@times-components/article-list": "9.19.10",
+ "@times-components/article-list": "9.19.11",
"@times-components/gradient": "3.5.61",
"@times-components/icons": "2.22.12",
"@times-components/image": "6.18.1",
diff --git a/packages/key-facts/CHANGELOG.md b/packages/key-facts/CHANGELOG.md
index 94677db5711..5a2ca6eb4e1 100644
--- a/packages/key-facts/CHANGELOG.md
+++ b/packages/key-facts/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.12.99](https://github.com/newsuk/times-components/compare/@times-components/key-facts@2.12.98...@times-components/key-facts@2.12.99) (2024-09-30)
+
+**Note:** Version bump only for package @times-components/key-facts
+
+
+
+
+
## [2.12.98](https://github.com/newsuk/times-components/compare/@times-components/key-facts@2.12.97...@times-components/key-facts@2.12.98) (2024-09-16)
**Note:** Version bump only for package @times-components/key-facts
diff --git a/packages/key-facts/package.json b/packages/key-facts/package.json
index 9978f3ea9ef..28012c3d9e4 100644
--- a/packages/key-facts/package.json
+++ b/packages/key-facts/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/key-facts",
- "version": "2.12.98",
+ "version": "2.12.99",
"description": "Bulleted list of text data ",
"main": "dist/key-facts",
"dev": "src/key-facts",
@@ -56,7 +56,7 @@
"@times-components/markup": "3.8.61",
"@times-components/markup-forest": "1.9.2",
"@times-components/responsive": "0.27.0",
- "@times-components/ts-components": "1.103.5",
+ "@times-components/ts-components": "1.104.0",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/utils": "6.26.0",
"prop-types": "15.7.2",
diff --git a/packages/related-articles/CHANGELOG.md b/packages/related-articles/CHANGELOG.md
index d4176f2f6de..d0a67c2ec1e 100644
--- a/packages/related-articles/CHANGELOG.md
+++ b/packages/related-articles/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [6.17.88](https://github.com/newsuk/times-components/compare/@times-components/related-articles@6.17.87...@times-components/related-articles@6.17.88) (2024-09-30)
+
+**Note:** Version bump only for package @times-components/related-articles
+
+
+
+
+
## [6.17.87](https://github.com/newsuk/times-components/compare/@times-components/related-articles@6.17.86...@times-components/related-articles@6.17.87) (2024-09-16)
**Note:** Version bump only for package @times-components/related-articles
diff --git a/packages/related-articles/package.json b/packages/related-articles/package.json
index dfaf2ade12f..ac5318d4dcb 100644
--- a/packages/related-articles/package.json
+++ b/packages/related-articles/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/related-articles",
- "version": "6.17.87",
+ "version": "6.17.88",
"description": "related articles of an article",
"main": "dist/related-articles",
"dev": "src/related-articles",
@@ -55,7 +55,7 @@
"webpack": "4.30.0"
},
"dependencies": {
- "@times-components/article-summary": "3.25.7",
+ "@times-components/article-summary": "3.25.8",
"@times-components/card": "6.15.1",
"@times-components/context": "1.24.0",
"@times-components/link": "3.17.34",
diff --git a/packages/save-and-share-bar/CHANGELOG.md b/packages/save-and-share-bar/CHANGELOG.md
index 993c7e1948f..b9790a5fc86 100644
--- a/packages/save-and-share-bar/CHANGELOG.md
+++ b/packages/save-and-share-bar/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.24.2](https://github.com/newsuk/times-components/compare/@times-components/save-and-share-bar@0.24.1...@times-components/save-and-share-bar@0.24.2) (2024-09-30)
+
+**Note:** Version bump only for package @times-components/save-and-share-bar
+
+
+
+
+
## [0.24.1](https://github.com/newsuk/times-components/compare/@times-components/save-and-share-bar@0.24.0...@times-components/save-and-share-bar@0.24.1) (2024-09-16)
**Note:** Version bump only for package @times-components/save-and-share-bar
diff --git a/packages/save-and-share-bar/package.json b/packages/save-and-share-bar/package.json
index 5122833b37d..4e8c534baf0 100644
--- a/packages/save-and-share-bar/package.json
+++ b/packages/save-and-share-bar/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/save-and-share-bar",
- "version": "0.24.1",
+ "version": "0.24.2",
"description": "Save and Share bar ",
"main": "dist/save-and-share-bar",
"dev": "src/save-and-share-bar",
@@ -38,7 +38,7 @@
"@times-components/message-bar": "0.7.85",
"@times-components/provider-queries": "2.23.3",
"@times-components/tracking": "2.22.34",
- "@times-components/ts-components": "1.103.5",
+ "@times-components/ts-components": "1.104.0",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/user-state": "0.5.51",
"@times-components/utils": "6.26.0",
diff --git a/packages/ssr/CHANGELOG.md b/packages/ssr/CHANGELOG.md
index af8726d1b08..2d1766a976a 100644
--- a/packages/ssr/CHANGELOG.md
+++ b/packages/ssr/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.58.15](https://github.com/newsuk/times-components/compare/@times-components/ssr@2.58.14...@times-components/ssr@2.58.15) (2024-09-30)
+
+**Note:** Version bump only for package @times-components/ssr
+
+
+
+
+
## [2.58.14](https://github.com/newsuk/times-components/compare/@times-components/ssr@2.58.13...@times-components/ssr@2.58.14) (2024-09-25)
diff --git a/packages/ssr/package.json b/packages/ssr/package.json
index 3a928e3dec6..f0eee3f6239 100644
--- a/packages/ssr/package.json
+++ b/packages/ssr/package.json
@@ -1,7 +1,7 @@
{
"name": "@times-components/ssr",
"main": "src",
- "version": "2.58.14",
+ "version": "2.58.15",
"scripts": {
"bundle:dev": "yarn cleanup-dist && webpack --config=webpack.config.js",
"bundle:prod": "yarn cleanup-dist && NODE_ENV=production webpack --config=webpack.config.js -p",
@@ -52,8 +52,8 @@
"webpack": "4.30.0"
},
"dependencies": {
- "@times-components/article": "7.17.15",
- "@times-components/author-profile": "6.18.24",
+ "@times-components/article": "7.17.16",
+ "@times-components/author-profile": "6.18.25",
"@times-components/context": "1.24.0",
"@times-components/provider": "1.41.4",
"@times-components/schema": "0.7.5",
diff --git a/packages/ts-components/CHANGELOG.md b/packages/ts-components/CHANGELOG.md
index 93693ddd2f8..7074220c85a 100644
--- a/packages/ts-components/CHANGELOG.md
+++ b/packages/ts-components/CHANGELOG.md
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.104.0](https://github.com/newsuk/times-components/compare/@times-components/ts-components@1.103.5...@times-components/ts-components@1.104.0) (2024-09-30)
+
+
+### Features
+
+* **TMRS-463:** opta ticker styling ([#3938](https://github.com/newsuk/times-components/issues/3938)) ([27a079c](https://github.com/newsuk/times-components/commit/27a079c48a7f3d36d99215fd390d377f9e5cd7a6))
+
+
+
+
+
## [1.103.5](https://github.com/newsuk/times-components/compare/@times-components/ts-components@1.103.4...@times-components/ts-components@1.103.5) (2024-09-16)
**Note:** Version bump only for package @times-components/ts-components
diff --git a/packages/ts-components/package.json b/packages/ts-components/package.json
index 7d76df26f2b..d7f1772ea32 100644
--- a/packages/ts-components/package.json
+++ b/packages/ts-components/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/ts-components",
- "version": "1.103.5",
+ "version": "1.104.0",
"description": "Reuseable Typescript React Components ",
"main": "dist/index.js",
"dev": "dist/index.js",
@@ -57,7 +57,7 @@
"@times-components/link": "3.17.34",
"@times-components/provider": "1.41.4",
"@times-components/provider-queries": "2.23.3",
- "@times-components/related-articles": "6.17.87",
+ "@times-components/related-articles": "6.17.88",
"@times-components/ts-slices": "1.9.22",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/utils": "6.26.0",
From 02c0a204a9c9ed2ab6278753d67058904ad06436 Mon Sep 17 00:00:00 2001
From: Callum Christie
Date: Mon, 30 Sep 2024 15:03:21 +0100
Subject: [PATCH 37/97] chore(TMW-000): Ad height mapping (#3945)
---
packages/article-list/src/styles/responsive.js | 2 +-
packages/article-skeleton/src/styles/article-body/responsive.js | 2 +-
packages/article-skeleton/src/styles/responsive.js | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/packages/article-list/src/styles/responsive.js b/packages/article-list/src/styles/responsive.js
index 0adfadab32d..768c73c2c72 100644
--- a/packages/article-list/src/styles/responsive.js
+++ b/packages/article-list/src/styles/responsive.js
@@ -122,7 +122,7 @@ export const InlineAdWrapper = styled.div`
min-height: 90px;
}
- @media (min-width: 970px) {
+ @media (min-width: 1024px) {
min-height: 250px;
}
`;
diff --git a/packages/article-skeleton/src/styles/article-body/responsive.js b/packages/article-skeleton/src/styles/article-body/responsive.js
index f00b7b4018e..6b43b2a29e2 100644
--- a/packages/article-skeleton/src/styles/article-body/responsive.js
+++ b/packages/article-skeleton/src/styles/article-body/responsive.js
@@ -239,7 +239,7 @@ export const InlineAdWrapper = styled.div`
min-height: 123px;
}
- @media (min-width: 970px) {
+ @media (min-width: 1024px) {
min-height: 283px;
}
`;
diff --git a/packages/article-skeleton/src/styles/responsive.js b/packages/article-skeleton/src/styles/responsive.js
index d24c2acf904..343865021b8 100644
--- a/packages/article-skeleton/src/styles/responsive.js
+++ b/packages/article-skeleton/src/styles/responsive.js
@@ -20,7 +20,7 @@ export const getHeaderAdStyles = template => {
min-height: 90px;
}
- @media (min-width: 970px) {
+ @media (min-width: 10240px) {
min-height: 250px;
}
`;
From fb2f5078ac19f29b67bfcc9c40612879219d1a2f Mon Sep 17 00:00:00 2001
From: Callum Christie
Date: Mon, 30 Sep 2024 22:12:19 +0100
Subject: [PATCH 38/97] chore(TMW-000): Ad height mapping tests (#3947)
* chore(TMW-000): Ad height mapping tests
* chore(TMW-000): Ad height mapping tests
---
.../article-with-style.web.test.js.snap | 16 ++++++++--------
.../article-list-with-styles.web.test.js.snap | 2 +-
.../article-with-style.web.test.js.snap | 16 ++++++++--------
.../article-with-style.web.test.js.snap | 16 ++++++++--------
.../article-with-style.web.test.js.snap | 4 ++--
.../article-with-style.web.test.js.snap | 4 ++--
6 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/packages/article-in-depth/__tests__/web/__snapshots__/article-with-style.web.test.js.snap b/packages/article-in-depth/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
index fa181ff3fe4..b166ae6f4ac 100644
--- a/packages/article-in-depth/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
+++ b/packages/article-in-depth/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
@@ -626,7 +626,7 @@ exports[`full article with style 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:1024px) {
.c27 {
min-height: 283px;
}
@@ -776,7 +776,7 @@ exports[`full article with style 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:10240px) {
.c0 {
min-height: 250px;
}
@@ -1686,7 +1686,7 @@ exports[`full article with style in the culture magazine 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:1024px) {
.c27 {
min-height: 283px;
}
@@ -1836,7 +1836,7 @@ exports[`full article with style in the culture magazine 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:10240px) {
.c0 {
min-height: 250px;
}
@@ -2747,7 +2747,7 @@ exports[`full article with style in the style magazine 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:1024px) {
.c27 {
min-height: 283px;
}
@@ -2897,7 +2897,7 @@ exports[`full article with style in the style magazine 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:10240px) {
.c0 {
min-height: 250px;
}
@@ -3807,7 +3807,7 @@ exports[`full article with style in the sunday times magazine 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:1024px) {
.c27 {
min-height: 283px;
}
@@ -3957,7 +3957,7 @@ exports[`full article with style in the sunday times magazine 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:10240px) {
.c0 {
min-height: 250px;
}
diff --git a/packages/article-list/__tests__/web/__snapshots__/article-list-with-styles.web.test.js.snap b/packages/article-list/__tests__/web/__snapshots__/article-list-with-styles.web.test.js.snap
index feea4ebf002..b7f3a0bcf8a 100644
--- a/packages/article-list/__tests__/web/__snapshots__/article-list-with-styles.web.test.js.snap
+++ b/packages/article-list/__tests__/web/__snapshots__/article-list-with-styles.web.test.js.snap
@@ -155,7 +155,7 @@ exports[`1. article list 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:1024px) {
.c4 {
min-height: 250px;
}
diff --git a/packages/article-magazine-comment/__tests__/web/__snapshots__/article-with-style.web.test.js.snap b/packages/article-magazine-comment/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
index d2152c8cd5a..dea6784e4b4 100644
--- a/packages/article-magazine-comment/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
+++ b/packages/article-magazine-comment/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
@@ -645,7 +645,7 @@ exports[`full article with style 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:1024px) {
.c26 {
min-height: 283px;
}
@@ -791,7 +791,7 @@ exports[`full article with style 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:10240px) {
.c0 {
min-height: 250px;
}
@@ -1726,7 +1726,7 @@ exports[`full article with style in the culture magazine 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:1024px) {
.c26 {
min-height: 283px;
}
@@ -1872,7 +1872,7 @@ exports[`full article with style in the culture magazine 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:10240px) {
.c0 {
min-height: 250px;
}
@@ -2808,7 +2808,7 @@ exports[`full article with style in the style magazine 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:1024px) {
.c26 {
min-height: 283px;
}
@@ -2954,7 +2954,7 @@ exports[`full article with style in the style magazine 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:10240px) {
.c0 {
min-height: 250px;
}
@@ -3889,7 +3889,7 @@ exports[`full article with style in the sunday times magazine 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:1024px) {
.c26 {
min-height: 283px;
}
@@ -4035,7 +4035,7 @@ exports[`full article with style in the sunday times magazine 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:10240px) {
.c0 {
min-height: 250px;
}
diff --git a/packages/article-magazine-standard/__tests__/web/__snapshots__/article-with-style.web.test.js.snap b/packages/article-magazine-standard/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
index 7dcd1f3905d..c7c17201512 100644
--- a/packages/article-magazine-standard/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
+++ b/packages/article-magazine-standard/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
@@ -609,7 +609,7 @@ exports[`full article with style 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:1024px) {
.c25 {
min-height: 283px;
}
@@ -748,7 +748,7 @@ exports[`full article with style 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:10240px) {
.c0 {
min-height: 250px;
}
@@ -1612,7 +1612,7 @@ exports[`full article with style in the culture magazine 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:1024px) {
.c25 {
min-height: 283px;
}
@@ -1751,7 +1751,7 @@ exports[`full article with style in the culture magazine 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:10240px) {
.c0 {
min-height: 250px;
}
@@ -2616,7 +2616,7 @@ exports[`full article with style in the style magazine 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:1024px) {
.c25 {
min-height: 283px;
}
@@ -2755,7 +2755,7 @@ exports[`full article with style in the style magazine 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:10240px) {
.c0 {
min-height: 250px;
}
@@ -3619,7 +3619,7 @@ exports[`full article with style in the sunday times magazine 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:1024px) {
.c25 {
min-height: 283px;
}
@@ -3758,7 +3758,7 @@ exports[`full article with style in the sunday times magazine 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:10240px) {
.c0 {
min-height: 250px;
}
diff --git a/packages/article-main-comment/__tests__/web/__snapshots__/article-with-style.web.test.js.snap b/packages/article-main-comment/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
index 1c1efd8f1e4..7908437eec8 100644
--- a/packages/article-main-comment/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
+++ b/packages/article-main-comment/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
@@ -632,7 +632,7 @@ exports[`full article with style 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:1024px) {
.c25 {
min-height: 283px;
}
@@ -763,7 +763,7 @@ exports[`full article with style 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:10240px) {
.c0 {
min-height: 250px;
}
diff --git a/packages/article-main-standard/__tests__/web/__snapshots__/article-with-style.web.test.js.snap b/packages/article-main-standard/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
index ce6835a335f..8bf1c38e24b 100644
--- a/packages/article-main-standard/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
+++ b/packages/article-main-standard/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
@@ -544,7 +544,7 @@ exports[`full article with style 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:1024px) {
.c25 {
min-height: 283px;
}
@@ -665,7 +665,7 @@ exports[`full article with style 1`] = `
}
}
-@media (min-width:970px) {
+@media (min-width:10240px) {
.c1 {
min-height: 250px;
}
From 0b6bb52d6a98b464243b22c923f8ed9d6f3dbe25 Mon Sep 17 00:00:00 2001
From: times-tools
Date: Tue, 1 Oct 2024 07:31:43 +0000
Subject: [PATCH 39/97] chore: Publish fb2f5078ac [ci skip]
- @times-components/article-in-depth@3.89.10
- @times-components/article-list@9.19.12
- @times-components/article-magazine-comment@3.85.10
- @times-components/article-magazine-standard@3.85.10
- @times-components/article-main-comment@2.88.10
- @times-components/article-main-standard@3.97.10
- @times-components/article-paragraph@1.9.331
- @times-components/article-skeleton@1.137.11
- @times-components/article@7.17.17
- @times-components/author-profile@6.18.26
- @times-components/ssr@2.58.16
---
packages/article-in-depth/CHANGELOG.md | 8 ++++++++
packages/article-in-depth/package.json | 4 ++--
packages/article-list/CHANGELOG.md | 8 ++++++++
packages/article-list/package.json | 2 +-
packages/article-magazine-comment/CHANGELOG.md | 8 ++++++++
packages/article-magazine-comment/package.json | 4 ++--
packages/article-magazine-standard/CHANGELOG.md | 8 ++++++++
packages/article-magazine-standard/package.json | 4 ++--
packages/article-main-comment/CHANGELOG.md | 8 ++++++++
packages/article-main-comment/package.json | 4 ++--
packages/article-main-standard/CHANGELOG.md | 8 ++++++++
packages/article-main-standard/package.json | 4 ++--
packages/article-paragraph/CHANGELOG.md | 8 ++++++++
packages/article-paragraph/package.json | 4 ++--
packages/article-skeleton/CHANGELOG.md | 8 ++++++++
packages/article-skeleton/package.json | 4 ++--
packages/article/CHANGELOG.md | 8 ++++++++
packages/article/package.json | 12 ++++++------
packages/author-profile/CHANGELOG.md | 8 ++++++++
packages/author-profile/package.json | 4 ++--
packages/ssr/CHANGELOG.md | 8 ++++++++
packages/ssr/package.json | 6 +++---
22 files changed, 114 insertions(+), 26 deletions(-)
diff --git a/packages/article-in-depth/CHANGELOG.md b/packages/article-in-depth/CHANGELOG.md
index 077d0e0e530..95841af6edc 100644
--- a/packages/article-in-depth/CHANGELOG.md
+++ b/packages/article-in-depth/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.89.10](https://github.com/newsuk/times-components/compare/@times-components/article-in-depth@3.89.9...@times-components/article-in-depth@3.89.10) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/article-in-depth
+
+
+
+
+
## [3.89.9](https://github.com/newsuk/times-components/compare/@times-components/article-in-depth@3.89.8...@times-components/article-in-depth@3.89.9) (2024-09-30)
**Note:** Version bump only for package @times-components/article-in-depth
diff --git a/packages/article-in-depth/package.json b/packages/article-in-depth/package.json
index 4342f55d871..fb2ad02351e 100644
--- a/packages/article-in-depth/package.json
+++ b/packages/article-in-depth/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-in-depth",
- "version": "3.89.9",
+ "version": "3.89.10",
"description": "In Depth Article Template",
"main": "dist/article-in-depth",
"dev": "src/article-in-depth",
@@ -57,7 +57,7 @@
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.42",
- "@times-components/article-skeleton": "1.137.10",
+ "@times-components/article-skeleton": "1.137.11",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
diff --git a/packages/article-list/CHANGELOG.md b/packages/article-list/CHANGELOG.md
index f9ac5b227b6..befbc7dc7cb 100644
--- a/packages/article-list/CHANGELOG.md
+++ b/packages/article-list/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [9.19.12](https://github.com/newsuk/times-components/compare/@times-components/article-list@9.19.11...@times-components/article-list@9.19.12) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/article-list
+
+
+
+
+
## [9.19.11](https://github.com/newsuk/times-components/compare/@times-components/article-list@9.19.10...@times-components/article-list@9.19.11) (2024-09-30)
**Note:** Version bump only for package @times-components/article-list
diff --git a/packages/article-list/package.json b/packages/article-list/package.json
index fb8acac966c..ab60a8b54a3 100644
--- a/packages/article-list/package.json
+++ b/packages/article-list/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-list",
- "version": "9.19.11",
+ "version": "9.19.12",
"description": "Paginated list of articles",
"main": "dist/article-list",
"dev": "src/article-list",
diff --git a/packages/article-magazine-comment/CHANGELOG.md b/packages/article-magazine-comment/CHANGELOG.md
index 9efec40eafa..48b56c9741d 100644
--- a/packages/article-magazine-comment/CHANGELOG.md
+++ b/packages/article-magazine-comment/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.85.10](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-comment@3.85.9...@times-components/article-magazine-comment@3.85.10) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/article-magazine-comment
+
+
+
+
+
## [3.85.9](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-comment@3.85.8...@times-components/article-magazine-comment@3.85.9) (2024-09-30)
**Note:** Version bump only for package @times-components/article-magazine-comment
diff --git a/packages/article-magazine-comment/package.json b/packages/article-magazine-comment/package.json
index 213532fb005..c2a03964cb4 100644
--- a/packages/article-magazine-comment/package.json
+++ b/packages/article-magazine-comment/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-magazine-comment",
- "version": "3.85.9",
+ "version": "3.85.10",
"description": "Magazine Comment Article Template",
"main": "dist/article-magazine-comment",
"dev": "src/article-magazine-comment",
@@ -57,7 +57,7 @@
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.42",
- "@times-components/article-skeleton": "1.137.10",
+ "@times-components/article-skeleton": "1.137.11",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
diff --git a/packages/article-magazine-standard/CHANGELOG.md b/packages/article-magazine-standard/CHANGELOG.md
index 2fbd9c15127..f4fad23a612 100644
--- a/packages/article-magazine-standard/CHANGELOG.md
+++ b/packages/article-magazine-standard/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.85.10](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-standard@3.85.9...@times-components/article-magazine-standard@3.85.10) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/article-magazine-standard
+
+
+
+
+
## [3.85.9](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-standard@3.85.8...@times-components/article-magazine-standard@3.85.9) (2024-09-30)
**Note:** Version bump only for package @times-components/article-magazine-standard
diff --git a/packages/article-magazine-standard/package.json b/packages/article-magazine-standard/package.json
index 7cbeb052065..5ce117b520e 100644
--- a/packages/article-magazine-standard/package.json
+++ b/packages/article-magazine-standard/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-magazine-standard",
- "version": "3.85.9",
+ "version": "3.85.10",
"description": "Magazine Standard Article Template",
"main": "dist/article-magazine-standard",
"dev": "src/article-magazine-standard",
@@ -57,7 +57,7 @@
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.42",
- "@times-components/article-skeleton": "1.137.10",
+ "@times-components/article-skeleton": "1.137.11",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
diff --git a/packages/article-main-comment/CHANGELOG.md b/packages/article-main-comment/CHANGELOG.md
index e2adb906488..95b108a1670 100644
--- a/packages/article-main-comment/CHANGELOG.md
+++ b/packages/article-main-comment/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.88.10](https://github.com/newsuk/times-components/compare/@times-components/article-main-comment@2.88.9...@times-components/article-main-comment@2.88.10) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/article-main-comment
+
+
+
+
+
## [2.88.9](https://github.com/newsuk/times-components/compare/@times-components/article-main-comment@2.88.8...@times-components/article-main-comment@2.88.9) (2024-09-30)
**Note:** Version bump only for package @times-components/article-main-comment
diff --git a/packages/article-main-comment/package.json b/packages/article-main-comment/package.json
index 177b3248c60..a881d06812c 100644
--- a/packages/article-main-comment/package.json
+++ b/packages/article-main-comment/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-main-comment",
- "version": "2.88.9",
+ "version": "2.88.10",
"description": "Main Comment Article Template",
"main": "dist/article-main-comment",
"dev": "src/article-main-comment",
@@ -56,7 +56,7 @@
"@times-components/ad": "2.22.23",
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
- "@times-components/article-skeleton": "1.137.10",
+ "@times-components/article-skeleton": "1.137.11",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
"@times-components/image": "6.18.1",
diff --git a/packages/article-main-standard/CHANGELOG.md b/packages/article-main-standard/CHANGELOG.md
index 7b54adad917..6cff48116b6 100644
--- a/packages/article-main-standard/CHANGELOG.md
+++ b/packages/article-main-standard/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.97.10](https://github.com/newsuk/times-components/compare/@times-components/article-main-standard@3.97.9...@times-components/article-main-standard@3.97.10) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/article-main-standard
+
+
+
+
+
## [3.97.9](https://github.com/newsuk/times-components/compare/@times-components/article-main-standard@3.97.8...@times-components/article-main-standard@3.97.9) (2024-09-30)
**Note:** Version bump only for package @times-components/article-main-standard
diff --git a/packages/article-main-standard/package.json b/packages/article-main-standard/package.json
index 8336e6a8614..61c6c2032cc 100644
--- a/packages/article-main-standard/package.json
+++ b/packages/article-main-standard/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-main-standard",
- "version": "3.97.9",
+ "version": "3.97.10",
"description": "Main Standard Article Template",
"main": "dist/article-main-standard",
"dev": "src/article-main-standard",
@@ -56,7 +56,7 @@
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.42",
- "@times-components/article-skeleton": "1.137.10",
+ "@times-components/article-skeleton": "1.137.11",
"@times-components/article-topics": "4.11.55",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
diff --git a/packages/article-paragraph/CHANGELOG.md b/packages/article-paragraph/CHANGELOG.md
index 77efb755659..d791337a562 100644
--- a/packages/article-paragraph/CHANGELOG.md
+++ b/packages/article-paragraph/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.9.331](https://github.com/newsuk/times-components/compare/@times-components/article-paragraph@1.9.330...@times-components/article-paragraph@1.9.331) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/article-paragraph
+
+
+
+
+
## [1.9.330](https://github.com/newsuk/times-components/compare/@times-components/article-paragraph@1.9.329...@times-components/article-paragraph@1.9.330) (2024-09-30)
**Note:** Version bump only for package @times-components/article-paragraph
diff --git a/packages/article-paragraph/package.json b/packages/article-paragraph/package.json
index 486bf3bd69a..46aea4623ab 100644
--- a/packages/article-paragraph/package.json
+++ b/packages/article-paragraph/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-paragraph",
- "version": "1.9.330",
+ "version": "1.9.331",
"description": "Article Paragraph",
"main": "dist/index",
"dev": "src/index",
@@ -32,7 +32,7 @@
},
"homepage": "https://github.com/newsuk/times-components#readme",
"dependencies": {
- "@times-components/article-skeleton": "1.137.10",
+ "@times-components/article-skeleton": "1.137.11",
"@times-components/context": "1.24.0",
"@times-components/markup-forest": "1.9.2",
"@times-components/ts-styleguide": "1.50.34",
diff --git a/packages/article-skeleton/CHANGELOG.md b/packages/article-skeleton/CHANGELOG.md
index 105c3241bc9..c71990e886c 100644
--- a/packages/article-skeleton/CHANGELOG.md
+++ b/packages/article-skeleton/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.137.11](https://github.com/newsuk/times-components/compare/@times-components/article-skeleton@1.137.10...@times-components/article-skeleton@1.137.11) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/article-skeleton
+
+
+
+
+
## [1.137.10](https://github.com/newsuk/times-components/compare/@times-components/article-skeleton@1.137.9...@times-components/article-skeleton@1.137.10) (2024-09-30)
**Note:** Version bump only for package @times-components/article-skeleton
diff --git a/packages/article-skeleton/package.json b/packages/article-skeleton/package.json
index af25be595e8..ff722c60b71 100644
--- a/packages/article-skeleton/package.json
+++ b/packages/article-skeleton/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-skeleton",
- "version": "1.137.10",
+ "version": "1.137.11",
"description": "The article skeleton",
"main": "dist/article-skeleton",
"dev": "src/article-skeleton",
@@ -64,7 +64,7 @@
"@times-components/ad": "2.22.23",
"@times-components/article-extras": "0.32.9",
"@times-components/article-image": "7.18.1",
- "@times-components/article-paragraph": "1.9.330",
+ "@times-components/article-paragraph": "1.9.331",
"@times-components/article-topics": "4.11.55",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
diff --git a/packages/article/CHANGELOG.md b/packages/article/CHANGELOG.md
index afda9a5f25f..99184228268 100644
--- a/packages/article/CHANGELOG.md
+++ b/packages/article/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [7.17.17](https://github.com/newsuk/times-components/compare/@times-components/article@7.17.16...@times-components/article@7.17.17) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/article
+
+
+
+
+
## [7.17.16](https://github.com/newsuk/times-components/compare/@times-components/article@7.17.15...@times-components/article@7.17.16) (2024-09-30)
**Note:** Version bump only for package @times-components/article
diff --git a/packages/article/package.json b/packages/article/package.json
index b78d87e766b..265f4fcd7d6 100644
--- a/packages/article/package.json
+++ b/packages/article/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article",
- "version": "7.17.16",
+ "version": "7.17.17",
"description": "The article",
"main": "dist/article",
"dev": "src/article",
@@ -53,11 +53,11 @@
},
"dependencies": {
"@times-components/ad": "2.22.23",
- "@times-components/article-in-depth": "3.89.9",
- "@times-components/article-magazine-comment": "3.85.9",
- "@times-components/article-magazine-standard": "3.85.9",
- "@times-components/article-main-comment": "2.88.9",
- "@times-components/article-main-standard": "3.97.9",
+ "@times-components/article-in-depth": "3.89.10",
+ "@times-components/article-magazine-comment": "3.85.10",
+ "@times-components/article-magazine-standard": "3.85.10",
+ "@times-components/article-main-comment": "2.88.10",
+ "@times-components/article-main-standard": "3.97.10",
"@times-components/context": "1.24.0",
"@times-components/message-bar": "0.7.85",
"@times-components/provider": "1.41.4",
diff --git a/packages/author-profile/CHANGELOG.md b/packages/author-profile/CHANGELOG.md
index 7acbd182931..bd1ba7c21b4 100644
--- a/packages/author-profile/CHANGELOG.md
+++ b/packages/author-profile/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [6.18.26](https://github.com/newsuk/times-components/compare/@times-components/author-profile@6.18.25...@times-components/author-profile@6.18.26) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/author-profile
+
+
+
+
+
## [6.18.25](https://github.com/newsuk/times-components/compare/@times-components/author-profile@6.18.24...@times-components/author-profile@6.18.25) (2024-09-30)
**Note:** Version bump only for package @times-components/author-profile
diff --git a/packages/author-profile/package.json b/packages/author-profile/package.json
index 6d584de5528..5788cf53be9 100644
--- a/packages/author-profile/package.json
+++ b/packages/author-profile/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/author-profile",
- "version": "6.18.25",
+ "version": "6.18.26",
"description": "Author profile information along with a list of articles they have written ",
"main": "dist/author-profile",
"dev": "src/author-profile",
@@ -59,7 +59,7 @@
"webpack": "4.30.0"
},
"dependencies": {
- "@times-components/article-list": "9.19.11",
+ "@times-components/article-list": "9.19.12",
"@times-components/gradient": "3.5.61",
"@times-components/icons": "2.22.12",
"@times-components/image": "6.18.1",
diff --git a/packages/ssr/CHANGELOG.md b/packages/ssr/CHANGELOG.md
index 2d1766a976a..261f510b056 100644
--- a/packages/ssr/CHANGELOG.md
+++ b/packages/ssr/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.58.16](https://github.com/newsuk/times-components/compare/@times-components/ssr@2.58.15...@times-components/ssr@2.58.16) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/ssr
+
+
+
+
+
## [2.58.15](https://github.com/newsuk/times-components/compare/@times-components/ssr@2.58.14...@times-components/ssr@2.58.15) (2024-09-30)
**Note:** Version bump only for package @times-components/ssr
diff --git a/packages/ssr/package.json b/packages/ssr/package.json
index f0eee3f6239..8b81ded4598 100644
--- a/packages/ssr/package.json
+++ b/packages/ssr/package.json
@@ -1,7 +1,7 @@
{
"name": "@times-components/ssr",
"main": "src",
- "version": "2.58.15",
+ "version": "2.58.16",
"scripts": {
"bundle:dev": "yarn cleanup-dist && webpack --config=webpack.config.js",
"bundle:prod": "yarn cleanup-dist && NODE_ENV=production webpack --config=webpack.config.js -p",
@@ -52,8 +52,8 @@
"webpack": "4.30.0"
},
"dependencies": {
- "@times-components/article": "7.17.16",
- "@times-components/author-profile": "6.18.25",
+ "@times-components/article": "7.17.17",
+ "@times-components/author-profile": "6.18.26",
"@times-components/context": "1.24.0",
"@times-components/provider": "1.41.4",
"@times-components/schema": "0.7.5",
From bb3dd33664157f6ec796f70b815dbe6c30017f17 Mon Sep 17 00:00:00 2001
From: ivazlopasa2 <159259841+ivazlopasa2@users.noreply.github.com>
Date: Tue, 1 Oct 2024 10:20:13 +0200
Subject: [PATCH 40/97] feat(TMC-27): Opening links in new tab (#3939)
* external links
* testing new function
* fixing lint errors
* Trigger CI build
* fix prettier
* update snapshots
* update snapshots
* fixes
* remove should include disclaimer file
* update snapshots
* remove console.log
* removed unused vars
* fix prettier
* fixing errors
* rewrite seExternalLikTargets
* fixing cypress tests
* removed comments
---
.gradle/8.8/checksums/checksums.lock | Bin 0 -> 17 bytes
.../8.8/dependencies-accessors/gc.properties | 0
.gradle/8.8/fileChanges/last-build.bin | Bin 0 -> 1 bytes
.gradle/8.8/fileHashes/fileHashes.bin | Bin 0 -> 18597 bytes
.gradle/8.8/fileHashes/fileHashes.lock | Bin 0 -> 17 bytes
.gradle/8.8/gc.properties | 0
.gradle/8.9/checksums/checksums.lock | Bin 0 -> 17 bytes
.../8.9/dependencies-accessors/gc.properties | 0
.gradle/8.9/fileChanges/last-build.bin | Bin 0 -> 1 bytes
.gradle/8.9/fileHashes/fileHashes.lock | Bin 0 -> 17 bytes
.gradle/8.9/gc.properties | 0
.../buildOutputCleanup.lock | Bin 0 -> 17 bytes
.gradle/buildOutputCleanup/cache.properties | 2 +
.gradle/vcs-1/gc.properties | 0
.../article-with-isPreview.web.test.js.snap | 22 +++++---
.../article-with-style.web.test.js.snap | 7 +++
.../article-with-user-state.web.test.js.snap | 22 +++++---
.../__snapshots__/article.web.test.js.snap | 11 ++--
packages/article-skeleton/package.json | 2 +-
.../article-skeleton/src/article-skeleton.js | 5 +-
.../setExternalLinkTargets.js | 50 ++++++++++++++++++
21 files changed, 104 insertions(+), 17 deletions(-)
create mode 100644 .gradle/8.8/checksums/checksums.lock
create mode 100644 .gradle/8.8/dependencies-accessors/gc.properties
create mode 100644 .gradle/8.8/fileChanges/last-build.bin
create mode 100644 .gradle/8.8/fileHashes/fileHashes.bin
create mode 100644 .gradle/8.8/fileHashes/fileHashes.lock
create mode 100644 .gradle/8.8/gc.properties
create mode 100644 .gradle/8.9/checksums/checksums.lock
create mode 100644 .gradle/8.9/dependencies-accessors/gc.properties
create mode 100644 .gradle/8.9/fileChanges/last-build.bin
create mode 100644 .gradle/8.9/fileHashes/fileHashes.lock
create mode 100644 .gradle/8.9/gc.properties
create mode 100644 .gradle/buildOutputCleanup/buildOutputCleanup.lock
create mode 100644 .gradle/buildOutputCleanup/cache.properties
create mode 100644 .gradle/vcs-1/gc.properties
create mode 100644 packages/article-skeleton/src/contentModifiers/setExternalLinkTargets.js
diff --git a/.gradle/8.8/checksums/checksums.lock b/.gradle/8.8/checksums/checksums.lock
new file mode 100644
index 0000000000000000000000000000000000000000..148542f9f2e640fc705e7942b3037a01fc7bd81f
GIT binary patch
literal 17
TcmZQRQs%p3)8$kd1}FdkH&X;j
literal 0
HcmV?d00001
diff --git a/.gradle/8.8/dependencies-accessors/gc.properties b/.gradle/8.8/dependencies-accessors/gc.properties
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/.gradle/8.8/fileChanges/last-build.bin b/.gradle/8.8/fileChanges/last-build.bin
new file mode 100644
index 0000000000000000000000000000000000000000..f76dd238ade08917e6712764a16a22005a50573d
GIT binary patch
literal 1
IcmZPo000310RR91
literal 0
HcmV?d00001
diff --git a/.gradle/8.8/fileHashes/fileHashes.bin b/.gradle/8.8/fileHashes/fileHashes.bin
new file mode 100644
index 0000000000000000000000000000000000000000..d8cfcc0e29d54bfb4f93178878466a492b1a96f1
GIT binary patch
literal 18597
zcmeI%Pb#kGZ
z&g*%M^=jI)5+Fc;009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C7
z2oNAZfB*pke5*51Wc}BAeyL-s|9a@p|E@e!kh9AMFjH=k%*|dy;Nc8;)`2cSmt?
dtNnhze$zNReptRZ9LYL1S}&KWi_@%
literal 0
HcmV?d00001
diff --git a/.gradle/8.8/gc.properties b/.gradle/8.8/gc.properties
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/.gradle/8.9/checksums/checksums.lock b/.gradle/8.9/checksums/checksums.lock
new file mode 100644
index 0000000000000000000000000000000000000000..980fe33b4a0934c5a0f4195383f3361874da13aa
GIT binary patch
literal 17
TcmZR6V%ZY7TRiw40~7!NG5rJi
literal 0
HcmV?d00001
diff --git a/.gradle/8.9/dependencies-accessors/gc.properties b/.gradle/8.9/dependencies-accessors/gc.properties
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/.gradle/8.9/fileChanges/last-build.bin b/.gradle/8.9/fileChanges/last-build.bin
new file mode 100644
index 0000000000000000000000000000000000000000..f76dd238ade08917e6712764a16a22005a50573d
GIT binary patch
literal 1
IcmZPo000310RR91
literal 0
HcmV?d00001
diff --git a/.gradle/8.9/fileHashes/fileHashes.lock b/.gradle/8.9/fileHashes/fileHashes.lock
new file mode 100644
index 0000000000000000000000000000000000000000..eb33de1af90668ec0142498a56425fbd0f1eb640
GIT binary patch
literal 17
TcmZQxsax7P>sCh?0~7!NGrj~W
literal 0
HcmV?d00001
diff --git a/.gradle/8.9/gc.properties b/.gradle/8.9/gc.properties
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock
new file mode 100644
index 0000000000000000000000000000000000000000..180827b7f15685b5763baac1d92c566246675435
GIT binary patch
literal 17
UcmZR+a8Tu@#t+>G3=qHs06V+{!2kdN
literal 0
HcmV?d00001
diff --git a/.gradle/buildOutputCleanup/cache.properties b/.gradle/buildOutputCleanup/cache.properties
new file mode 100644
index 00000000000..29ec84d5107
--- /dev/null
+++ b/.gradle/buildOutputCleanup/cache.properties
@@ -0,0 +1,2 @@
+#Thu Sep 19 14:30:13 CEST 2024
+gradle.version=8.9
diff --git a/.gradle/vcs-1/gc.properties b/.gradle/vcs-1/gc.properties
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/packages/article-skeleton/__tests__/web/__snapshots__/article-with-isPreview.web.test.js.snap b/packages/article-skeleton/__tests__/web/__snapshots__/article-with-isPreview.web.test.js.snap
index 118fbfc9c30..7e19a1e0059 100644
--- a/packages/article-skeleton/__tests__/web/__snapshots__/article-with-isPreview.web.test.js.snap
+++ b/packages/article-skeleton/__tests__/web/__snapshots__/article-with-isPreview.web.test.js.snap
@@ -57,6 +57,11 @@ exports[`Article with isPreview Render article with ArticleMetaBanner when isPre
his being Black History Month, last week
+
+
+ All recommendations within this article are informed by expert editorial opinion. If you click on a link in this story we may earn affiliate revenue.
+
+
@@ -99,7 +104,7 @@ exports[`Article with isPreview Render article with ArticleMetaBanner when isPre
@@ -125,7 +130,7 @@ exports[`Article with isPreview Render article with ArticleMetaBanner when isPre
@@ -437,6 +442,11 @@ exports[`Article with isPreview Render article without ArticleMetaBanner when is
his being Black History Month, last week
+
+
+ All recommendations within this article are informed by expert editorial opinion. If you click on a link in this story we may earn affiliate revenue.
+
+
@@ -479,7 +489,7 @@ exports[`Article with isPreview Render article without ArticleMetaBanner when is
@@ -505,7 +515,7 @@ exports[`Article with isPreview Render article without ArticleMetaBanner when is
diff --git a/packages/article-skeleton/__tests__/web/__snapshots__/article-with-style.web.test.js.snap b/packages/article-skeleton/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
index 4c4cb615b89..877705a6f6a 100644
--- a/packages/article-skeleton/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
+++ b/packages/article-skeleton/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
@@ -600,6 +600,13 @@ exports[`full article with style 1`] = `
his being Black History Month, last week
+
+
+ All recommendations within this article are informed by expert editorial opinion. If you click on a link in this story we may earn affiliate revenue.
+
+
diff --git a/packages/article-skeleton/__tests__/web/__snapshots__/article-with-user-state.web.test.js.snap b/packages/article-skeleton/__tests__/web/__snapshots__/article-with-user-state.web.test.js.snap
index e3499e5418d..0388853a559 100644
--- a/packages/article-skeleton/__tests__/web/__snapshots__/article-with-user-state.web.test.js.snap
+++ b/packages/article-skeleton/__tests__/web/__snapshots__/article-with-user-state.web.test.js.snap
@@ -32,6 +32,11 @@ exports[`Article with user state Render full article when user has access to ful
his being Black History Month, last week
+
+
+ All recommendations within this article are informed by expert editorial opinion. If you click on a link in this story we may earn affiliate revenue.
+
+
@@ -74,7 +79,7 @@ exports[`Article with user state Render full article when user has access to ful
@@ -100,7 +105,7 @@ exports[`Article with user state Render full article when user has access to ful
@@ -412,6 +417,11 @@ exports[`Article with user state Render teaser article when user does not have a
his being Black History Month, last week
+
+
+ All recommendations within this article are informed by expert editorial opinion. If you click on a link in this story we may earn affiliate revenue.
+
+
@@ -454,7 +464,7 @@ exports[`Article with user state Render teaser article when user does not have a
@@ -480,7 +490,7 @@ exports[`Article with user state Render teaser article when user does not have a
diff --git a/packages/article-skeleton/__tests__/web/__snapshots__/article.web.test.js.snap b/packages/article-skeleton/__tests__/web/__snapshots__/article.web.test.js.snap
index f4b90182822..dcbe121c5ea 100644
--- a/packages/article-skeleton/__tests__/web/__snapshots__/article.web.test.js.snap
+++ b/packages/article-skeleton/__tests__/web/__snapshots__/article.web.test.js.snap
@@ -81,6 +81,11 @@ exports[`1. a full article with all content items with dropcap template 1`] = `
his being Black History Month, last week
+
+
+ All recommendations within this article are informed by expert editorial opinion. If you click on a link in this story we may earn affiliate revenue.
+
+
@@ -123,7 +128,7 @@ exports[`1. a full article with all content items with dropcap template 1`] = `
@@ -149,7 +154,7 @@ exports[`1. a full article with all content items with dropcap template 1`] = `
diff --git a/packages/article-skeleton/package.json b/packages/article-skeleton/package.json
index ff722c60b71..b40a9053759 100644
--- a/packages/article-skeleton/package.json
+++ b/packages/article-skeleton/package.json
@@ -11,7 +11,7 @@
"lint": "eslint . && stylelint . && yarn prettier:diff && yarn depcheck",
"prepublishOnly": "yarn transpile && yarn bundle",
"test:web": "jest --config='./__tests__/jest.config.js' --updateSnapshot",
- "test:web:updatesnapshot": "yarn test:web -u",
+ "test:web:updatesnapshot": "TZ=UTC yarn test:web -u",
"cleanup-dist": "rm -rf dist",
"watch": "watch 'yarn bundle' ./src --ignoreDotFiles --ignoreUnreadable",
"transpile": "yarn cleanup-dist && babel src -d dist",
diff --git a/packages/article-skeleton/src/article-skeleton.js b/packages/article-skeleton/src/article-skeleton.js
index c70ae7380fb..d2d92afe84d 100644
--- a/packages/article-skeleton/src/article-skeleton.js
+++ b/packages/article-skeleton/src/article-skeleton.js
@@ -47,6 +47,7 @@ import insertDropcapIntoAST from "./contentModifiers/dropcap-util";
import insertNewsletterPuff from "./contentModifiers/newsletter-puff";
import insertInlineAd from "./contentModifiers/inline-ad";
import { getIsLiveOrBreakingFlag } from "./data-helper";
+import setExternalLinkTargets from "./contentModifiers/setExternalLinkTargets";
export const reduceArticleContent = (content, reducers) =>
content &&
@@ -153,8 +154,10 @@ const ArticleSkeleton = ({
insertDropcapIntoAST(template, dropcapsDisabled),
insertNewsletterPuff(section, isPreview, expirableFlags),
insertInlineAd,
- tagLastParagraph
+ tagLastParagraph,
+ setExternalLinkTargets
];
+
const newContent = reduceArticleContent(content, articleContentReducers);
const HeaderAdContainer = getHeaderAdStyles(template);
diff --git a/packages/article-skeleton/src/contentModifiers/setExternalLinkTargets.js b/packages/article-skeleton/src/contentModifiers/setExternalLinkTargets.js
new file mode 100644
index 00000000000..bdb3660b17c
--- /dev/null
+++ b/packages/article-skeleton/src/contentModifiers/setExternalLinkTargets.js
@@ -0,0 +1,50 @@
+const setExternalLinkTargets = children => {
+ const clonedChildren = [...children];
+
+ const checkAndSetLinkTarget = elements =>
+ elements.map(el => {
+ let newElement = { ...el };
+
+ // Check if element is a link or an interactive element with a URL
+ if (
+ newElement.name === "link" ||
+ (newElement.name === "interactive" &&
+ newElement.attributes &&
+ newElement.attributes.element &&
+ newElement.attributes.element.value === "times-travel-cta")
+ ) {
+ const { attributes } = newElement;
+ const { element } = attributes || {};
+ const { attributes: elementAttributes } = element || {};
+ const href =
+ newElement.name === "interactive"
+ ? elementAttributes.url || ""
+ : attributes.href || "";
+
+ // If the link is external, set target to _blank
+ if (
+ href &&
+ !href.startsWith("https://www.thetimes.co.uk") &&
+ !href.startsWith("https://www.thetimes.com")
+ ) {
+ newElement = {
+ ...newElement,
+ attributes: {
+ ...attributes,
+ target: "_blank"
+ }
+ };
+ }
+ }
+
+ if (newElement.children && newElement.children.length) {
+ newElement.children = checkAndSetLinkTarget(newElement.children);
+ }
+
+ return newElement;
+ });
+
+ return checkAndSetLinkTarget(clonedChildren);
+};
+
+export default setExternalLinkTargets;
From f1dbb0b20ecd4def96a05b0913fa1f1221614a28 Mon Sep 17 00:00:00 2001
From: times-tools
Date: Tue, 1 Oct 2024 08:50:32 +0000
Subject: [PATCH 41/97] chore: Publish bb3dd33664 [ci skip]
- @times-components/article-in-depth@3.89.11
- @times-components/article-magazine-comment@3.85.11
- @times-components/article-magazine-standard@3.85.11
- @times-components/article-main-comment@2.88.11
- @times-components/article-main-standard@3.97.11
- @times-components/article-paragraph@1.9.332
- @times-components/article-skeleton@1.138.0
- @times-components/article@7.17.18
- @times-components/ssr@2.58.17
---
packages/article-in-depth/CHANGELOG.md | 8 ++++++++
packages/article-in-depth/package.json | 4 ++--
packages/article-magazine-comment/CHANGELOG.md | 8 ++++++++
packages/article-magazine-comment/package.json | 4 ++--
packages/article-magazine-standard/CHANGELOG.md | 8 ++++++++
packages/article-magazine-standard/package.json | 4 ++--
packages/article-main-comment/CHANGELOG.md | 8 ++++++++
packages/article-main-comment/package.json | 4 ++--
packages/article-main-standard/CHANGELOG.md | 8 ++++++++
packages/article-main-standard/package.json | 4 ++--
packages/article-paragraph/CHANGELOG.md | 8 ++++++++
packages/article-paragraph/package.json | 4 ++--
packages/article-skeleton/CHANGELOG.md | 11 +++++++++++
packages/article-skeleton/package.json | 4 ++--
packages/article/CHANGELOG.md | 8 ++++++++
packages/article/package.json | 12 ++++++------
packages/ssr/CHANGELOG.md | 8 ++++++++
packages/ssr/package.json | 4 ++--
18 files changed, 97 insertions(+), 22 deletions(-)
diff --git a/packages/article-in-depth/CHANGELOG.md b/packages/article-in-depth/CHANGELOG.md
index 95841af6edc..f303a0e79db 100644
--- a/packages/article-in-depth/CHANGELOG.md
+++ b/packages/article-in-depth/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.89.11](https://github.com/newsuk/times-components/compare/@times-components/article-in-depth@3.89.10...@times-components/article-in-depth@3.89.11) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/article-in-depth
+
+
+
+
+
## [3.89.10](https://github.com/newsuk/times-components/compare/@times-components/article-in-depth@3.89.9...@times-components/article-in-depth@3.89.10) (2024-10-01)
**Note:** Version bump only for package @times-components/article-in-depth
diff --git a/packages/article-in-depth/package.json b/packages/article-in-depth/package.json
index fb2ad02351e..e7e33665d76 100644
--- a/packages/article-in-depth/package.json
+++ b/packages/article-in-depth/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-in-depth",
- "version": "3.89.10",
+ "version": "3.89.11",
"description": "In Depth Article Template",
"main": "dist/article-in-depth",
"dev": "src/article-in-depth",
@@ -57,7 +57,7 @@
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.42",
- "@times-components/article-skeleton": "1.137.11",
+ "@times-components/article-skeleton": "1.138.0",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
diff --git a/packages/article-magazine-comment/CHANGELOG.md b/packages/article-magazine-comment/CHANGELOG.md
index 48b56c9741d..7792d2ab50a 100644
--- a/packages/article-magazine-comment/CHANGELOG.md
+++ b/packages/article-magazine-comment/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.85.11](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-comment@3.85.10...@times-components/article-magazine-comment@3.85.11) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/article-magazine-comment
+
+
+
+
+
## [3.85.10](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-comment@3.85.9...@times-components/article-magazine-comment@3.85.10) (2024-10-01)
**Note:** Version bump only for package @times-components/article-magazine-comment
diff --git a/packages/article-magazine-comment/package.json b/packages/article-magazine-comment/package.json
index c2a03964cb4..d16e6892c08 100644
--- a/packages/article-magazine-comment/package.json
+++ b/packages/article-magazine-comment/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-magazine-comment",
- "version": "3.85.10",
+ "version": "3.85.11",
"description": "Magazine Comment Article Template",
"main": "dist/article-magazine-comment",
"dev": "src/article-magazine-comment",
@@ -57,7 +57,7 @@
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.42",
- "@times-components/article-skeleton": "1.137.11",
+ "@times-components/article-skeleton": "1.138.0",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
diff --git a/packages/article-magazine-standard/CHANGELOG.md b/packages/article-magazine-standard/CHANGELOG.md
index f4fad23a612..ee00d0d7e79 100644
--- a/packages/article-magazine-standard/CHANGELOG.md
+++ b/packages/article-magazine-standard/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.85.11](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-standard@3.85.10...@times-components/article-magazine-standard@3.85.11) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/article-magazine-standard
+
+
+
+
+
## [3.85.10](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-standard@3.85.9...@times-components/article-magazine-standard@3.85.10) (2024-10-01)
**Note:** Version bump only for package @times-components/article-magazine-standard
diff --git a/packages/article-magazine-standard/package.json b/packages/article-magazine-standard/package.json
index 5ce117b520e..5c362356ce5 100644
--- a/packages/article-magazine-standard/package.json
+++ b/packages/article-magazine-standard/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-magazine-standard",
- "version": "3.85.10",
+ "version": "3.85.11",
"description": "Magazine Standard Article Template",
"main": "dist/article-magazine-standard",
"dev": "src/article-magazine-standard",
@@ -57,7 +57,7 @@
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.42",
- "@times-components/article-skeleton": "1.137.11",
+ "@times-components/article-skeleton": "1.138.0",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
diff --git a/packages/article-main-comment/CHANGELOG.md b/packages/article-main-comment/CHANGELOG.md
index 95b108a1670..8bf1bc390a7 100644
--- a/packages/article-main-comment/CHANGELOG.md
+++ b/packages/article-main-comment/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.88.11](https://github.com/newsuk/times-components/compare/@times-components/article-main-comment@2.88.10...@times-components/article-main-comment@2.88.11) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/article-main-comment
+
+
+
+
+
## [2.88.10](https://github.com/newsuk/times-components/compare/@times-components/article-main-comment@2.88.9...@times-components/article-main-comment@2.88.10) (2024-10-01)
**Note:** Version bump only for package @times-components/article-main-comment
diff --git a/packages/article-main-comment/package.json b/packages/article-main-comment/package.json
index a881d06812c..f16f116e9ec 100644
--- a/packages/article-main-comment/package.json
+++ b/packages/article-main-comment/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-main-comment",
- "version": "2.88.10",
+ "version": "2.88.11",
"description": "Main Comment Article Template",
"main": "dist/article-main-comment",
"dev": "src/article-main-comment",
@@ -56,7 +56,7 @@
"@times-components/ad": "2.22.23",
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
- "@times-components/article-skeleton": "1.137.11",
+ "@times-components/article-skeleton": "1.138.0",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
"@times-components/image": "6.18.1",
diff --git a/packages/article-main-standard/CHANGELOG.md b/packages/article-main-standard/CHANGELOG.md
index 6cff48116b6..878a5b989c4 100644
--- a/packages/article-main-standard/CHANGELOG.md
+++ b/packages/article-main-standard/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.97.11](https://github.com/newsuk/times-components/compare/@times-components/article-main-standard@3.97.10...@times-components/article-main-standard@3.97.11) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/article-main-standard
+
+
+
+
+
## [3.97.10](https://github.com/newsuk/times-components/compare/@times-components/article-main-standard@3.97.9...@times-components/article-main-standard@3.97.10) (2024-10-01)
**Note:** Version bump only for package @times-components/article-main-standard
diff --git a/packages/article-main-standard/package.json b/packages/article-main-standard/package.json
index 61c6c2032cc..b7117f69182 100644
--- a/packages/article-main-standard/package.json
+++ b/packages/article-main-standard/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-main-standard",
- "version": "3.97.10",
+ "version": "3.97.11",
"description": "Main Standard Article Template",
"main": "dist/article-main-standard",
"dev": "src/article-main-standard",
@@ -56,7 +56,7 @@
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.42",
- "@times-components/article-skeleton": "1.137.11",
+ "@times-components/article-skeleton": "1.138.0",
"@times-components/article-topics": "4.11.55",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
diff --git a/packages/article-paragraph/CHANGELOG.md b/packages/article-paragraph/CHANGELOG.md
index d791337a562..f524363e14c 100644
--- a/packages/article-paragraph/CHANGELOG.md
+++ b/packages/article-paragraph/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.9.332](https://github.com/newsuk/times-components/compare/@times-components/article-paragraph@1.9.331...@times-components/article-paragraph@1.9.332) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/article-paragraph
+
+
+
+
+
## [1.9.331](https://github.com/newsuk/times-components/compare/@times-components/article-paragraph@1.9.330...@times-components/article-paragraph@1.9.331) (2024-10-01)
**Note:** Version bump only for package @times-components/article-paragraph
diff --git a/packages/article-paragraph/package.json b/packages/article-paragraph/package.json
index 46aea4623ab..6aa5ac1bac9 100644
--- a/packages/article-paragraph/package.json
+++ b/packages/article-paragraph/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-paragraph",
- "version": "1.9.331",
+ "version": "1.9.332",
"description": "Article Paragraph",
"main": "dist/index",
"dev": "src/index",
@@ -32,7 +32,7 @@
},
"homepage": "https://github.com/newsuk/times-components#readme",
"dependencies": {
- "@times-components/article-skeleton": "1.137.11",
+ "@times-components/article-skeleton": "1.138.0",
"@times-components/context": "1.24.0",
"@times-components/markup-forest": "1.9.2",
"@times-components/ts-styleguide": "1.50.34",
diff --git a/packages/article-skeleton/CHANGELOG.md b/packages/article-skeleton/CHANGELOG.md
index c71990e886c..990cfa01e1c 100644
--- a/packages/article-skeleton/CHANGELOG.md
+++ b/packages/article-skeleton/CHANGELOG.md
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.138.0](https://github.com/newsuk/times-components/compare/@times-components/article-skeleton@1.137.11...@times-components/article-skeleton@1.138.0) (2024-10-01)
+
+
+### Features
+
+* **TMC-27:** Opening links in new tab ([#3939](https://github.com/newsuk/times-components/issues/3939)) ([bb3dd33](https://github.com/newsuk/times-components/commit/bb3dd33664157f6ec796f70b815dbe6c30017f17))
+
+
+
+
+
## [1.137.11](https://github.com/newsuk/times-components/compare/@times-components/article-skeleton@1.137.10...@times-components/article-skeleton@1.137.11) (2024-10-01)
**Note:** Version bump only for package @times-components/article-skeleton
diff --git a/packages/article-skeleton/package.json b/packages/article-skeleton/package.json
index b40a9053759..d44d2970d9a 100644
--- a/packages/article-skeleton/package.json
+++ b/packages/article-skeleton/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-skeleton",
- "version": "1.137.11",
+ "version": "1.138.0",
"description": "The article skeleton",
"main": "dist/article-skeleton",
"dev": "src/article-skeleton",
@@ -64,7 +64,7 @@
"@times-components/ad": "2.22.23",
"@times-components/article-extras": "0.32.9",
"@times-components/article-image": "7.18.1",
- "@times-components/article-paragraph": "1.9.331",
+ "@times-components/article-paragraph": "1.9.332",
"@times-components/article-topics": "4.11.55",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
diff --git a/packages/article/CHANGELOG.md b/packages/article/CHANGELOG.md
index 99184228268..cf29579b279 100644
--- a/packages/article/CHANGELOG.md
+++ b/packages/article/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [7.17.18](https://github.com/newsuk/times-components/compare/@times-components/article@7.17.17...@times-components/article@7.17.18) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/article
+
+
+
+
+
## [7.17.17](https://github.com/newsuk/times-components/compare/@times-components/article@7.17.16...@times-components/article@7.17.17) (2024-10-01)
**Note:** Version bump only for package @times-components/article
diff --git a/packages/article/package.json b/packages/article/package.json
index 265f4fcd7d6..5f101295bc8 100644
--- a/packages/article/package.json
+++ b/packages/article/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article",
- "version": "7.17.17",
+ "version": "7.17.18",
"description": "The article",
"main": "dist/article",
"dev": "src/article",
@@ -53,11 +53,11 @@
},
"dependencies": {
"@times-components/ad": "2.22.23",
- "@times-components/article-in-depth": "3.89.10",
- "@times-components/article-magazine-comment": "3.85.10",
- "@times-components/article-magazine-standard": "3.85.10",
- "@times-components/article-main-comment": "2.88.10",
- "@times-components/article-main-standard": "3.97.10",
+ "@times-components/article-in-depth": "3.89.11",
+ "@times-components/article-magazine-comment": "3.85.11",
+ "@times-components/article-magazine-standard": "3.85.11",
+ "@times-components/article-main-comment": "2.88.11",
+ "@times-components/article-main-standard": "3.97.11",
"@times-components/context": "1.24.0",
"@times-components/message-bar": "0.7.85",
"@times-components/provider": "1.41.4",
diff --git a/packages/ssr/CHANGELOG.md b/packages/ssr/CHANGELOG.md
index 261f510b056..344ae34b9f9 100644
--- a/packages/ssr/CHANGELOG.md
+++ b/packages/ssr/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.58.17](https://github.com/newsuk/times-components/compare/@times-components/ssr@2.58.16...@times-components/ssr@2.58.17) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/ssr
+
+
+
+
+
## [2.58.16](https://github.com/newsuk/times-components/compare/@times-components/ssr@2.58.15...@times-components/ssr@2.58.16) (2024-10-01)
**Note:** Version bump only for package @times-components/ssr
diff --git a/packages/ssr/package.json b/packages/ssr/package.json
index 8b81ded4598..1f7d7cc958e 100644
--- a/packages/ssr/package.json
+++ b/packages/ssr/package.json
@@ -1,7 +1,7 @@
{
"name": "@times-components/ssr",
"main": "src",
- "version": "2.58.16",
+ "version": "2.58.17",
"scripts": {
"bundle:dev": "yarn cleanup-dist && webpack --config=webpack.config.js",
"bundle:prod": "yarn cleanup-dist && NODE_ENV=production webpack --config=webpack.config.js -p",
@@ -52,7 +52,7 @@
"webpack": "4.30.0"
},
"dependencies": {
- "@times-components/article": "7.17.17",
+ "@times-components/article": "7.17.18",
"@times-components/author-profile": "6.18.26",
"@times-components/context": "1.24.0",
"@times-components/provider": "1.41.4",
From 9831abda22f90f5426ec7f54d868865ab8bdec0d Mon Sep 17 00:00:00 2001
From: Callum Christie
Date: Tue, 1 Oct 2024 12:44:33 +0100
Subject: [PATCH 42/97] chore(TMW-000): Ad height mapping (#3948)
---
.../web/__snapshots__/article-with-style.web.test.js.snap | 8 ++++----
.../web/__snapshots__/article-with-style.web.test.js.snap | 8 ++++----
.../web/__snapshots__/article-with-style.web.test.js.snap | 8 ++++----
.../web/__snapshots__/article-with-style.web.test.js.snap | 2 +-
.../web/__snapshots__/article-with-style.web.test.js.snap | 2 +-
packages/article-skeleton/src/styles/responsive.js | 2 +-
6 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/packages/article-in-depth/__tests__/web/__snapshots__/article-with-style.web.test.js.snap b/packages/article-in-depth/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
index b166ae6f4ac..b5015e8fc06 100644
--- a/packages/article-in-depth/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
+++ b/packages/article-in-depth/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
@@ -776,7 +776,7 @@ exports[`full article with style 1`] = `
}
}
-@media (min-width:10240px) {
+@media (min-width:1024px) {
.c0 {
min-height: 250px;
}
@@ -1836,7 +1836,7 @@ exports[`full article with style in the culture magazine 1`] = `
}
}
-@media (min-width:10240px) {
+@media (min-width:1024px) {
.c0 {
min-height: 250px;
}
@@ -2897,7 +2897,7 @@ exports[`full article with style in the style magazine 1`] = `
}
}
-@media (min-width:10240px) {
+@media (min-width:1024px) {
.c0 {
min-height: 250px;
}
@@ -3957,7 +3957,7 @@ exports[`full article with style in the sunday times magazine 1`] = `
}
}
-@media (min-width:10240px) {
+@media (min-width:1024px) {
.c0 {
min-height: 250px;
}
diff --git a/packages/article-magazine-comment/__tests__/web/__snapshots__/article-with-style.web.test.js.snap b/packages/article-magazine-comment/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
index dea6784e4b4..8d5e4f3c468 100644
--- a/packages/article-magazine-comment/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
+++ b/packages/article-magazine-comment/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
@@ -791,7 +791,7 @@ exports[`full article with style 1`] = `
}
}
-@media (min-width:10240px) {
+@media (min-width:1024px) {
.c0 {
min-height: 250px;
}
@@ -1872,7 +1872,7 @@ exports[`full article with style in the culture magazine 1`] = `
}
}
-@media (min-width:10240px) {
+@media (min-width:1024px) {
.c0 {
min-height: 250px;
}
@@ -2954,7 +2954,7 @@ exports[`full article with style in the style magazine 1`] = `
}
}
-@media (min-width:10240px) {
+@media (min-width:1024px) {
.c0 {
min-height: 250px;
}
@@ -4035,7 +4035,7 @@ exports[`full article with style in the sunday times magazine 1`] = `
}
}
-@media (min-width:10240px) {
+@media (min-width:1024px) {
.c0 {
min-height: 250px;
}
diff --git a/packages/article-magazine-standard/__tests__/web/__snapshots__/article-with-style.web.test.js.snap b/packages/article-magazine-standard/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
index c7c17201512..8f192436c60 100644
--- a/packages/article-magazine-standard/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
+++ b/packages/article-magazine-standard/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
@@ -748,7 +748,7 @@ exports[`full article with style 1`] = `
}
}
-@media (min-width:10240px) {
+@media (min-width:1024px) {
.c0 {
min-height: 250px;
}
@@ -1751,7 +1751,7 @@ exports[`full article with style in the culture magazine 1`] = `
}
}
-@media (min-width:10240px) {
+@media (min-width:1024px) {
.c0 {
min-height: 250px;
}
@@ -2755,7 +2755,7 @@ exports[`full article with style in the style magazine 1`] = `
}
}
-@media (min-width:10240px) {
+@media (min-width:1024px) {
.c0 {
min-height: 250px;
}
@@ -3758,7 +3758,7 @@ exports[`full article with style in the sunday times magazine 1`] = `
}
}
-@media (min-width:10240px) {
+@media (min-width:1024px) {
.c0 {
min-height: 250px;
}
diff --git a/packages/article-main-comment/__tests__/web/__snapshots__/article-with-style.web.test.js.snap b/packages/article-main-comment/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
index 7908437eec8..24d88316eec 100644
--- a/packages/article-main-comment/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
+++ b/packages/article-main-comment/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
@@ -763,7 +763,7 @@ exports[`full article with style 1`] = `
}
}
-@media (min-width:10240px) {
+@media (min-width:1024px) {
.c0 {
min-height: 250px;
}
diff --git a/packages/article-main-standard/__tests__/web/__snapshots__/article-with-style.web.test.js.snap b/packages/article-main-standard/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
index 8bf1c38e24b..ee913234c79 100644
--- a/packages/article-main-standard/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
+++ b/packages/article-main-standard/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
@@ -665,7 +665,7 @@ exports[`full article with style 1`] = `
}
}
-@media (min-width:10240px) {
+@media (min-width:1024px) {
.c1 {
min-height: 250px;
}
diff --git a/packages/article-skeleton/src/styles/responsive.js b/packages/article-skeleton/src/styles/responsive.js
index 343865021b8..36d4b1f0224 100644
--- a/packages/article-skeleton/src/styles/responsive.js
+++ b/packages/article-skeleton/src/styles/responsive.js
@@ -20,7 +20,7 @@ export const getHeaderAdStyles = template => {
min-height: 90px;
}
- @media (min-width: 10240px) {
+ @media (min-width: 1024px) {
min-height: 250px;
}
`;
From 9cc3a772ef5bad300818fd89769a26d79eafab73 Mon Sep 17 00:00:00 2001
From: times-tools
Date: Tue, 1 Oct 2024 12:15:08 +0000
Subject: [PATCH 43/97] chore: Publish 9831abda22 [ci skip]
- @times-components/article-in-depth@3.89.12
- @times-components/article-magazine-comment@3.85.12
- @times-components/article-magazine-standard@3.85.12
- @times-components/article-main-comment@2.88.12
- @times-components/article-main-standard@3.97.12
- @times-components/article-paragraph@1.9.333
- @times-components/article-skeleton@1.138.1
- @times-components/article@7.17.19
- @times-components/ssr@2.58.18
---
packages/article-in-depth/CHANGELOG.md | 8 ++++++++
packages/article-in-depth/package.json | 4 ++--
packages/article-magazine-comment/CHANGELOG.md | 8 ++++++++
packages/article-magazine-comment/package.json | 4 ++--
packages/article-magazine-standard/CHANGELOG.md | 8 ++++++++
packages/article-magazine-standard/package.json | 4 ++--
packages/article-main-comment/CHANGELOG.md | 8 ++++++++
packages/article-main-comment/package.json | 4 ++--
packages/article-main-standard/CHANGELOG.md | 8 ++++++++
packages/article-main-standard/package.json | 4 ++--
packages/article-paragraph/CHANGELOG.md | 8 ++++++++
packages/article-paragraph/package.json | 4 ++--
packages/article-skeleton/CHANGELOG.md | 8 ++++++++
packages/article-skeleton/package.json | 4 ++--
packages/article/CHANGELOG.md | 8 ++++++++
packages/article/package.json | 12 ++++++------
packages/ssr/CHANGELOG.md | 8 ++++++++
packages/ssr/package.json | 4 ++--
18 files changed, 94 insertions(+), 22 deletions(-)
diff --git a/packages/article-in-depth/CHANGELOG.md b/packages/article-in-depth/CHANGELOG.md
index f303a0e79db..9e3f1d3dd55 100644
--- a/packages/article-in-depth/CHANGELOG.md
+++ b/packages/article-in-depth/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.89.12](https://github.com/newsuk/times-components/compare/@times-components/article-in-depth@3.89.11...@times-components/article-in-depth@3.89.12) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/article-in-depth
+
+
+
+
+
## [3.89.11](https://github.com/newsuk/times-components/compare/@times-components/article-in-depth@3.89.10...@times-components/article-in-depth@3.89.11) (2024-10-01)
**Note:** Version bump only for package @times-components/article-in-depth
diff --git a/packages/article-in-depth/package.json b/packages/article-in-depth/package.json
index e7e33665d76..439b8f39047 100644
--- a/packages/article-in-depth/package.json
+++ b/packages/article-in-depth/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-in-depth",
- "version": "3.89.11",
+ "version": "3.89.12",
"description": "In Depth Article Template",
"main": "dist/article-in-depth",
"dev": "src/article-in-depth",
@@ -57,7 +57,7 @@
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.42",
- "@times-components/article-skeleton": "1.138.0",
+ "@times-components/article-skeleton": "1.138.1",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
diff --git a/packages/article-magazine-comment/CHANGELOG.md b/packages/article-magazine-comment/CHANGELOG.md
index 7792d2ab50a..45501dd621d 100644
--- a/packages/article-magazine-comment/CHANGELOG.md
+++ b/packages/article-magazine-comment/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.85.12](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-comment@3.85.11...@times-components/article-magazine-comment@3.85.12) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/article-magazine-comment
+
+
+
+
+
## [3.85.11](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-comment@3.85.10...@times-components/article-magazine-comment@3.85.11) (2024-10-01)
**Note:** Version bump only for package @times-components/article-magazine-comment
diff --git a/packages/article-magazine-comment/package.json b/packages/article-magazine-comment/package.json
index d16e6892c08..b31a13583db 100644
--- a/packages/article-magazine-comment/package.json
+++ b/packages/article-magazine-comment/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-magazine-comment",
- "version": "3.85.11",
+ "version": "3.85.12",
"description": "Magazine Comment Article Template",
"main": "dist/article-magazine-comment",
"dev": "src/article-magazine-comment",
@@ -57,7 +57,7 @@
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.42",
- "@times-components/article-skeleton": "1.138.0",
+ "@times-components/article-skeleton": "1.138.1",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
diff --git a/packages/article-magazine-standard/CHANGELOG.md b/packages/article-magazine-standard/CHANGELOG.md
index ee00d0d7e79..f2d7e64060e 100644
--- a/packages/article-magazine-standard/CHANGELOG.md
+++ b/packages/article-magazine-standard/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.85.12](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-standard@3.85.11...@times-components/article-magazine-standard@3.85.12) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/article-magazine-standard
+
+
+
+
+
## [3.85.11](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-standard@3.85.10...@times-components/article-magazine-standard@3.85.11) (2024-10-01)
**Note:** Version bump only for package @times-components/article-magazine-standard
diff --git a/packages/article-magazine-standard/package.json b/packages/article-magazine-standard/package.json
index 5c362356ce5..d5802eba459 100644
--- a/packages/article-magazine-standard/package.json
+++ b/packages/article-magazine-standard/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-magazine-standard",
- "version": "3.85.11",
+ "version": "3.85.12",
"description": "Magazine Standard Article Template",
"main": "dist/article-magazine-standard",
"dev": "src/article-magazine-standard",
@@ -57,7 +57,7 @@
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.42",
- "@times-components/article-skeleton": "1.138.0",
+ "@times-components/article-skeleton": "1.138.1",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
diff --git a/packages/article-main-comment/CHANGELOG.md b/packages/article-main-comment/CHANGELOG.md
index 8bf1bc390a7..72dfbe1277e 100644
--- a/packages/article-main-comment/CHANGELOG.md
+++ b/packages/article-main-comment/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.88.12](https://github.com/newsuk/times-components/compare/@times-components/article-main-comment@2.88.11...@times-components/article-main-comment@2.88.12) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/article-main-comment
+
+
+
+
+
## [2.88.11](https://github.com/newsuk/times-components/compare/@times-components/article-main-comment@2.88.10...@times-components/article-main-comment@2.88.11) (2024-10-01)
**Note:** Version bump only for package @times-components/article-main-comment
diff --git a/packages/article-main-comment/package.json b/packages/article-main-comment/package.json
index f16f116e9ec..cf1576bb080 100644
--- a/packages/article-main-comment/package.json
+++ b/packages/article-main-comment/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-main-comment",
- "version": "2.88.11",
+ "version": "2.88.12",
"description": "Main Comment Article Template",
"main": "dist/article-main-comment",
"dev": "src/article-main-comment",
@@ -56,7 +56,7 @@
"@times-components/ad": "2.22.23",
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
- "@times-components/article-skeleton": "1.138.0",
+ "@times-components/article-skeleton": "1.138.1",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
"@times-components/image": "6.18.1",
diff --git a/packages/article-main-standard/CHANGELOG.md b/packages/article-main-standard/CHANGELOG.md
index 878a5b989c4..f15e16f058b 100644
--- a/packages/article-main-standard/CHANGELOG.md
+++ b/packages/article-main-standard/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.97.12](https://github.com/newsuk/times-components/compare/@times-components/article-main-standard@3.97.11...@times-components/article-main-standard@3.97.12) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/article-main-standard
+
+
+
+
+
## [3.97.11](https://github.com/newsuk/times-components/compare/@times-components/article-main-standard@3.97.10...@times-components/article-main-standard@3.97.11) (2024-10-01)
**Note:** Version bump only for package @times-components/article-main-standard
diff --git a/packages/article-main-standard/package.json b/packages/article-main-standard/package.json
index b7117f69182..91a86fe81a2 100644
--- a/packages/article-main-standard/package.json
+++ b/packages/article-main-standard/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-main-standard",
- "version": "3.97.11",
+ "version": "3.97.12",
"description": "Main Standard Article Template",
"main": "dist/article-main-standard",
"dev": "src/article-main-standard",
@@ -56,7 +56,7 @@
"@times-components/article-byline": "3.13.55",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.42",
- "@times-components/article-skeleton": "1.138.0",
+ "@times-components/article-skeleton": "1.138.1",
"@times-components/article-topics": "4.11.55",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
diff --git a/packages/article-paragraph/CHANGELOG.md b/packages/article-paragraph/CHANGELOG.md
index f524363e14c..a1d9bc20f82 100644
--- a/packages/article-paragraph/CHANGELOG.md
+++ b/packages/article-paragraph/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.9.333](https://github.com/newsuk/times-components/compare/@times-components/article-paragraph@1.9.332...@times-components/article-paragraph@1.9.333) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/article-paragraph
+
+
+
+
+
## [1.9.332](https://github.com/newsuk/times-components/compare/@times-components/article-paragraph@1.9.331...@times-components/article-paragraph@1.9.332) (2024-10-01)
**Note:** Version bump only for package @times-components/article-paragraph
diff --git a/packages/article-paragraph/package.json b/packages/article-paragraph/package.json
index 6aa5ac1bac9..fe65d3d5631 100644
--- a/packages/article-paragraph/package.json
+++ b/packages/article-paragraph/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-paragraph",
- "version": "1.9.332",
+ "version": "1.9.333",
"description": "Article Paragraph",
"main": "dist/index",
"dev": "src/index",
@@ -32,7 +32,7 @@
},
"homepage": "https://github.com/newsuk/times-components#readme",
"dependencies": {
- "@times-components/article-skeleton": "1.138.0",
+ "@times-components/article-skeleton": "1.138.1",
"@times-components/context": "1.24.0",
"@times-components/markup-forest": "1.9.2",
"@times-components/ts-styleguide": "1.50.34",
diff --git a/packages/article-skeleton/CHANGELOG.md b/packages/article-skeleton/CHANGELOG.md
index 990cfa01e1c..05b5e37cfaf 100644
--- a/packages/article-skeleton/CHANGELOG.md
+++ b/packages/article-skeleton/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.138.1](https://github.com/newsuk/times-components/compare/@times-components/article-skeleton@1.138.0...@times-components/article-skeleton@1.138.1) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/article-skeleton
+
+
+
+
+
# [1.138.0](https://github.com/newsuk/times-components/compare/@times-components/article-skeleton@1.137.11...@times-components/article-skeleton@1.138.0) (2024-10-01)
diff --git a/packages/article-skeleton/package.json b/packages/article-skeleton/package.json
index d44d2970d9a..ae4eba2bfc1 100644
--- a/packages/article-skeleton/package.json
+++ b/packages/article-skeleton/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-skeleton",
- "version": "1.138.0",
+ "version": "1.138.1",
"description": "The article skeleton",
"main": "dist/article-skeleton",
"dev": "src/article-skeleton",
@@ -64,7 +64,7 @@
"@times-components/ad": "2.22.23",
"@times-components/article-extras": "0.32.9",
"@times-components/article-image": "7.18.1",
- "@times-components/article-paragraph": "1.9.332",
+ "@times-components/article-paragraph": "1.9.333",
"@times-components/article-topics": "4.11.55",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
diff --git a/packages/article/CHANGELOG.md b/packages/article/CHANGELOG.md
index cf29579b279..9c5b63b2d02 100644
--- a/packages/article/CHANGELOG.md
+++ b/packages/article/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [7.17.19](https://github.com/newsuk/times-components/compare/@times-components/article@7.17.18...@times-components/article@7.17.19) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/article
+
+
+
+
+
## [7.17.18](https://github.com/newsuk/times-components/compare/@times-components/article@7.17.17...@times-components/article@7.17.18) (2024-10-01)
**Note:** Version bump only for package @times-components/article
diff --git a/packages/article/package.json b/packages/article/package.json
index 5f101295bc8..aa50e8b8b0c 100644
--- a/packages/article/package.json
+++ b/packages/article/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article",
- "version": "7.17.18",
+ "version": "7.17.19",
"description": "The article",
"main": "dist/article",
"dev": "src/article",
@@ -53,11 +53,11 @@
},
"dependencies": {
"@times-components/ad": "2.22.23",
- "@times-components/article-in-depth": "3.89.11",
- "@times-components/article-magazine-comment": "3.85.11",
- "@times-components/article-magazine-standard": "3.85.11",
- "@times-components/article-main-comment": "2.88.11",
- "@times-components/article-main-standard": "3.97.11",
+ "@times-components/article-in-depth": "3.89.12",
+ "@times-components/article-magazine-comment": "3.85.12",
+ "@times-components/article-magazine-standard": "3.85.12",
+ "@times-components/article-main-comment": "2.88.12",
+ "@times-components/article-main-standard": "3.97.12",
"@times-components/context": "1.24.0",
"@times-components/message-bar": "0.7.85",
"@times-components/provider": "1.41.4",
diff --git a/packages/ssr/CHANGELOG.md b/packages/ssr/CHANGELOG.md
index 344ae34b9f9..43694070beb 100644
--- a/packages/ssr/CHANGELOG.md
+++ b/packages/ssr/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.58.18](https://github.com/newsuk/times-components/compare/@times-components/ssr@2.58.17...@times-components/ssr@2.58.18) (2024-10-01)
+
+**Note:** Version bump only for package @times-components/ssr
+
+
+
+
+
## [2.58.17](https://github.com/newsuk/times-components/compare/@times-components/ssr@2.58.16...@times-components/ssr@2.58.17) (2024-10-01)
**Note:** Version bump only for package @times-components/ssr
diff --git a/packages/ssr/package.json b/packages/ssr/package.json
index 1f7d7cc958e..7f6af11c400 100644
--- a/packages/ssr/package.json
+++ b/packages/ssr/package.json
@@ -1,7 +1,7 @@
{
"name": "@times-components/ssr",
"main": "src",
- "version": "2.58.17",
+ "version": "2.58.18",
"scripts": {
"bundle:dev": "yarn cleanup-dist && webpack --config=webpack.config.js",
"bundle:prod": "yarn cleanup-dist && NODE_ENV=production webpack --config=webpack.config.js -p",
@@ -52,7 +52,7 @@
"webpack": "4.30.0"
},
"dependencies": {
- "@times-components/article": "7.17.18",
+ "@times-components/article": "7.17.19",
"@times-components/author-profile": "6.18.26",
"@times-components/context": "1.24.0",
"@times-components/provider": "1.41.4",
From c668b415f28468368e83828e05c70d5dae7b79bd Mon Sep 17 00:00:00 2001
From: Avinash Narayan <151750137+Avi247h@users.noreply.github.com>
Date: Wed, 9 Oct 2024 15:52:49 +0530
Subject: [PATCH 44/97] feat(TDP-4797): Implement rerun failed Test on Times
Component (#3932)
* try to add rerun cap to unit test
* added root
* circleci tried work
* removal of code
* trying rerun
* yml error fix
* added work direct
* added reporter
* added jest-unit
* trying out
* another fix
* removed jest command
* rerun try out
* removed config and coverage
* removed lerna - try out
* modified unit tests flow
* added reporting jest-junit
* removal of retries
* configured junit
* generating report fix
* path fix for upload
* output direct fix
* introducing failure for testing
* error intro
* added rerun
* fixed infine loop
* exit failure code fix
* added circleci config
* config changes
* test split implemented
* +web tests
* divide by file size
* added env variable
* trying out a fix
* removed runinband
* ||ism fix
* add sharding
* trying || with bash file
* try out ci
* removed ||ism
* added dir
* avoid recursive copying
* removed loop
* yml fix
* implelmet parallelism to e2e
* added e2e
* fix input source
* parallel fix
* added test results direc
* fix input source
* lerna fix
* fix for reporter
* ||ism fix
* fixed cmd error
* removal of unwanted code
* removed store results
* try failures
* introduce error for testing
* fix test results
* fix fail code
* fix echo error
* added --spec
* added import
* try failing a test
* try fix
* bash fix
* error exit fix
* added exit 1
* removed echo
* try - fix
* retry -fix
* handling exitcode in bash file
* added exitcode capture
* script fix
* try fix
* fix - bash
* try - fix {}
* added stop server
* fixed sh scripts and remove inline resource class
* change resource class
* modified test cmd
* removing introduced failure
* review comments fix
* review comments fixed
* removed unwanted file changes
* feat(TDP-4797): remove unused devdep
---------
Co-authored-by: SaqueebNTS
Co-authored-by: times-tools
---
.circleci/config.yml | 7 +++-
lib/cypress-rerun.sh | 16 +++++++++
package.json | 7 ++--
packages/ssr/package.json | 1 +
yarn.lock | 71 +++++++++++++++++++++++++++++++++++++++
5 files changed, 99 insertions(+), 3 deletions(-)
create mode 100755 lib/cypress-rerun.sh
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 36c4b200d95..cfeadc8da80 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -96,6 +96,7 @@ jobs:
command: |
lerna run test --stream --since -- -- --ci --bail --coverage
working_directory: ~/project/
+
run_web_tests:
executor: node
steps:
@@ -132,6 +133,8 @@ jobs:
run_cypress_tests:
executor: node
+ resource_class: medium
+ parallelism: 2
steps:
- checkout
- attach_workspace:
@@ -147,8 +150,10 @@ jobs:
- run:
name: Run Cypress Tests
command: |
- yarn test:e2e
+ chmod +x ./lib/cypress-rerun.sh && ./lib/cypress-rerun.sh
working_directory: ~/project/
+ - store_test_results:
+ path: packages/ssr/test_results/cypress
- store_artifacts:
path: packages/ssr/__tests__/screenshots
- store_artifacts:
diff --git a/lib/cypress-rerun.sh b/lib/cypress-rerun.sh
new file mode 100755
index 00000000000..792ba8c20be
--- /dev/null
+++ b/lib/cypress-rerun.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+#
+# ===== Parallelism Script ======
+#
+# Description: Check if arguments are passed correctly,create a test directory, add symbolic link and run the test command.
+# Date: Septemeber 2024
+# Author: avinash.narayan@news.co.uk
+# Team: @tm-qa-engineers (QA team)
+#
+
+
+echo "Creating directory structure at './packages/ssr/test-results'..."
+mkdir -p "./packages/ssr/test-results"
+ln -s /home/circleci/project/node_modules/cypress-circleci-reporter "/home/circleci/project/packages/ssr/node_modules/cypress-circleci-reporter"
+echo "Running yarn command: yarn test:e2e:ci..."
+yarn test:e2e:ci
diff --git a/package.json b/package.json
index 3caf243be71..b99e556a409 100644
--- a/package.json
+++ b/package.json
@@ -46,11 +46,13 @@
"test:unit": "lerna run test:unit --stream",
"test:unit:updatesnapshot": "lerna run test:unit:updatesnapshot --stream",
"test:e2e": "yarn bundle && lerna run test:integration --stream",
+ "test:e2e:ci": "yarn bundle && lerna run test:integration:ci --stream",
"test:e2e:debug": "yarn bundle && lerna run test:integration:debug --stream",
"lerna:publish:verdaccio": "yarn lerna publish --conventional-commits --concurrency=1 --registry=\"http://localhost:4873\" --no-verify-access --no-git-tag-version --no-verify-registry --yes ",
"verdaccio:start": "yarn verdaccio -c ./.verdaccio-config.yaml",
"verdaccio:start:detached": "yarn pm2 start \"yarn verdaccio:start\"",
- "watch": "lerna run watch --stream --no-sort --concurrency 100"
+ "watch": "lerna run watch --stream --no-sort --concurrency 100",
+ "stop:testserver": "kill $(lsof -t -i:3000)"
},
"jest": {
"coveragePathIgnorePatterns": [
@@ -112,6 +114,7 @@
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"commitizen": "2.9.6",
"coveralls": "2.13.1",
+ "cypress-circleci-reporter": "0.2.0",
"cz-conventional-changelog": "2.1.0",
"dashify": "0.2.2",
"es6-promise-pool": "^2.5.0",
@@ -159,4 +162,4 @@
"verdaccio": "5.26.2",
"winston": "3.10.0"
}
-}
+}
\ No newline at end of file
diff --git a/packages/ssr/package.json b/packages/ssr/package.json
index 7f6af11c400..93bbea94451 100644
--- a/packages/ssr/package.json
+++ b/packages/ssr/package.json
@@ -16,6 +16,7 @@
"start:testserver": "GRAPHQL_ENDPOINT=http://localhost:4000/graphql SPOT_ID=5p0t_1m_1d yarn start & wait-on tcp:3000",
"stop:testserver": "kill $(lsof -t -i:3000)",
"test:integration": "yarn bundle:prod && yarn start:testserver && cypress run; exitCode=$?; yarn stop:testserver; exit $exitCode",
+ "test:integration:ci": "yarn bundle:prod && yarn start:testserver && circleci tests glob './__tests__/integration/**.js' | circleci tests run --command=\"tr ' ' ',' | xargs npx cypress run --reporter cypress-circleci-reporter --spec \" --verbose --split-by=timings; exitCode=$?; yarn stop:testserver; exit $exitCode",
"test:integration:debug": "yarn start:testserver && DEBUG=cypress:* cypress open; exitCode=$?; yarn stop:testserver; exit $exitCode",
"test:integration:update": "yarn bundle:prod && yarn start:testserver && cypress run --env updateSnapshots=true; exitCode=$?; yarn stop:testserver; exit $exitCode"
},
diff --git a/yarn.lock b/yarn.lock
index ba55d449bce..2237a659c47 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -4143,6 +4143,35 @@
dependencies:
"@octokit/openapi-types" "^7.2.0"
+"@oozcitak/dom@1.15.8":
+ version "1.15.8"
+ resolved "https://registry.yarnpkg.com/@oozcitak/dom/-/dom-1.15.8.tgz#0c0c7bb54cfdaadc07fd637913e706101721d15d"
+ integrity sha512-MoOnLBNsF+ok0HjpAvxYxR4piUhRDCEWK0ot3upwOOHYudJd30j6M+LNcE8RKpwfnclAX9T66nXXzkytd29XSw==
+ dependencies:
+ "@oozcitak/infra" "1.0.8"
+ "@oozcitak/url" "1.0.4"
+ "@oozcitak/util" "8.3.8"
+
+"@oozcitak/infra@1.0.8":
+ version "1.0.8"
+ resolved "https://registry.yarnpkg.com/@oozcitak/infra/-/infra-1.0.8.tgz#b0b089421f7d0f6878687608301fbaba837a7d17"
+ integrity sha512-JRAUc9VR6IGHOL7OGF+yrvs0LO8SlqGnPAMqyzOuFZPSZSXI7Xf2O9+awQPSMXgIWGtgUf/dA6Hs6X6ySEaWTg==
+ dependencies:
+ "@oozcitak/util" "8.3.8"
+
+"@oozcitak/url@1.0.4":
+ version "1.0.4"
+ resolved "https://registry.yarnpkg.com/@oozcitak/url/-/url-1.0.4.tgz#ca8b1c876319cf5a648dfa1123600a6aa5cda6ba"
+ integrity sha512-kDcD8y+y3FCSOvnBI6HJgl00viO/nGbQoCINmQ0h98OhnGITrWR3bOGfwYCthgcrV8AnTJz8MzslTQbC3SOAmw==
+ dependencies:
+ "@oozcitak/infra" "1.0.8"
+ "@oozcitak/util" "8.3.8"
+
+"@oozcitak/util@8.3.8":
+ version "8.3.8"
+ resolved "https://registry.yarnpkg.com/@oozcitak/util/-/util-8.3.8.tgz#10f65fe1891fd8cde4957360835e78fd1936bfdd"
+ integrity sha512-T8TbSnGsxo6TDBJx/Sgv/BlVJL3tshxZP7Aq5R1mSnM5OcHY2dQaxLMu2+E8u3gN0MLOzdjurqN4ZRVuzQycOQ==
+
"@opencensus/core@0.0.9":
version "0.0.9"
resolved "https://registry.yarnpkg.com/@opencensus/core/-/core-0.0.9.tgz#b16f775435ee309433e4126af194d37313fc93b3"
@@ -10801,6 +10830,14 @@ cypress-axe@0.13.0:
resolved "https://registry.yarnpkg.com/cypress-axe/-/cypress-axe-0.13.0.tgz#3234e1a79a27701f2451fcf2f333eb74204c7966"
integrity sha512-fCIy7RiDCm7t30U3C99gGwQrUO307EYE1QqXNaf9ToK4DVqW8y5on+0a/kUHMrHdlls2rENF6TN9ZPpPpwLrnw==
+cypress-circleci-reporter@0.2.0:
+ version "0.2.0"
+ resolved "https://registry.yarnpkg.com/cypress-circleci-reporter/-/cypress-circleci-reporter-0.2.0.tgz#a3e1571694f4e21649a6af4d508e68948d23622d"
+ integrity sha512-uhqcJwvtKJ7Bw3RHVBTqUH9GP2L6jq+qLp/+/Jh3/OSe5Af6H7RxIARhvawsvbPrg9lMWdW/jCezjeUcXrl9uA==
+ dependencies:
+ strip-ansi "^6.0.0"
+ xmlbuilder2 "^2.1.1"
+
cypress-failed-log@2.5.1:
version "2.5.1"
resolved "https://registry.yarnpkg.com/cypress-failed-log/-/cypress-failed-log-2.5.1.tgz#8c716954d6e5523c5e92e294d477a3f696986265"
@@ -16475,6 +16512,16 @@ jest-jasmine2@^24.9.0:
pretty-format "^24.9.0"
throat "^4.0.0"
+jest-junit@16.0.0:
+ version "16.0.0"
+ resolved "https://registry.yarnpkg.com/jest-junit/-/jest-junit-16.0.0.tgz#d838e8c561cf9fdd7eb54f63020777eee4136785"
+ integrity sha512-A94mmw6NfJab4Fg/BlvVOUXzXgF0XIH6EmTgJ5NDPp4xoKq0Kr7sErb+4Xs9nZvu58pJojz5RFGpqnZYJTrRfQ==
+ dependencies:
+ mkdirp "^1.0.4"
+ strip-ansi "^6.0.1"
+ uuid "^8.3.2"
+ xml "^1.0.1"
+
jest-leak-detector@^24.9.0:
version "24.9.0"
resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-24.9.0.tgz#b665dea7c77100c5c4f7dfcb153b65cf07dcf96a"
@@ -16851,6 +16898,14 @@ js-yaml@3.12.0:
argparse "^1.0.7"
esprima "^4.0.0"
+js-yaml@3.14.0:
+ version "3.14.0"
+ resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.0.tgz#a7a34170f26a21bb162424d8adacb4113a69e482"
+ integrity sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==
+ dependencies:
+ argparse "^1.0.7"
+ esprima "^4.0.0"
+
js-yaml@3.6.1:
version "3.6.1"
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.6.1.tgz#6e5fe67d8b205ce4d22fad05b7781e8dadcc4b30"
@@ -27010,6 +27065,22 @@ xml-name-validator@^3.0.0:
resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a"
integrity sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==
+xml@^1.0.1:
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/xml/-/xml-1.0.1.tgz#78ba72020029c5bc87b8a81a3cfcd74b4a2fc1e5"
+ integrity sha512-huCv9IH9Tcf95zuYCsQraZtWnJvBtLVE0QHMOs8bWyZAFZNDcYjsPq1nEx8jKA9y+Beo9v+7OBPRisQTjinQMw==
+
+xmlbuilder2@^2.1.1:
+ version "2.4.1"
+ resolved "https://registry.yarnpkg.com/xmlbuilder2/-/xmlbuilder2-2.4.1.tgz#899c783a833188c5a5aa6f3c5428a3963f3e479d"
+ integrity sha512-vliUplZsk5vJnhxXN/mRcij/AE24NObTUm/Zo4vkLusgayO6s3Et5zLEA14XZnY1c3hX5o1ToR0m0BJOPy0UvQ==
+ dependencies:
+ "@oozcitak/dom" "1.15.8"
+ "@oozcitak/infra" "1.0.8"
+ "@oozcitak/util" "8.3.8"
+ "@types/node" "*"
+ js-yaml "3.14.0"
+
xmlbuilder@^9.0.7:
version "9.0.7"
resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-9.0.7.tgz#132ee63d2ec5565c557e20f4c22df9aca686b10d"
From 44b4ef2c95530eca2cfa1cdd3d4a11d7767f17dd Mon Sep 17 00:00:00 2001
From: Avinash Narayan <151750137+Avi247h@users.noreply.github.com>
Date: Thu, 10 Oct 2024 12:19:06 +0530
Subject: [PATCH 45/97] feat(TDP-4831): Upgrade Cypress to latest version in
times-component repo (#3954)
* Upgrade cypress to latest v
* removed comments
* feat(TDP-4831): linting
* review comment fix
---------
Co-authored-by: times-tools
---
.../e2e/article-indepth.cy.js} | 2 +-
.../e2e/article-magazinecomment.cy.js} | 2 +-
.../e2e/article-magazinestandard.cy.js} | 2 +-
.../e2e/article-maincomment.cy.js} | 2 +-
.../e2e/article-mainstandard-default.cy.js} | 2 +-
...rticle-mainstandard-persisted-query.cy.js} | 2 +-
.../e2e/author-profile-default.cy.js} | 3 +-
.../e2e/author-profile-persisted-query.cy.js} | 2 +-
.../ssr/__tests__/cypress/support/commands.js | 4 +-
.../cypress/support/{index.js => e2e.js} | 0
.../ssr/__tests__/helpers/article-helper.js | 2 +-
.../helpers/author-profile-helper.js | 2 +-
packages/ssr/cypress.config.js | 19 ++
packages/ssr/cypress.json | 10 -
packages/ssr/package.json | 2 +-
yarn.lock | 293 +++++++++++++-----
16 files changed, 252 insertions(+), 97 deletions(-)
rename packages/ssr/__tests__/{integration/article-indepth.js => cypress/e2e/article-indepth.cy.js} (81%)
rename packages/ssr/__tests__/{integration/article-magazinecomment.js => cypress/e2e/article-magazinecomment.cy.js} (82%)
rename packages/ssr/__tests__/{integration/article-magazinestandard.js => cypress/e2e/article-magazinestandard.cy.js} (82%)
rename packages/ssr/__tests__/{integration/article-maincomment.js => cypress/e2e/article-maincomment.cy.js} (82%)
rename packages/ssr/__tests__/{integration/article-mainstandard-default.js => cypress/e2e/article-mainstandard-default.cy.js} (83%)
rename packages/ssr/__tests__/{integration/article-mainstandard-persisted-query.js => cypress/e2e/article-mainstandard-persisted-query.cy.js} (85%)
rename packages/ssr/__tests__/{integration/author-profile-default.js => cypress/e2e/author-profile-default.cy.js} (54%)
rename packages/ssr/__tests__/{integration/author-profile-persisted-query.js => cypress/e2e/author-profile-persisted-query.cy.js} (63%)
rename packages/ssr/__tests__/cypress/support/{index.js => e2e.js} (100%)
create mode 100644 packages/ssr/cypress.config.js
delete mode 100644 packages/ssr/cypress.json
diff --git a/packages/ssr/__tests__/integration/article-indepth.js b/packages/ssr/__tests__/cypress/e2e/article-indepth.cy.js
similarity index 81%
rename from packages/ssr/__tests__/integration/article-indepth.js
rename to packages/ssr/__tests__/cypress/e2e/article-indepth.cy.js
index 5acf4254ffa..cd175d9c7da 100644
--- a/packages/ssr/__tests__/integration/article-indepth.js
+++ b/packages/ssr/__tests__/cypress/e2e/article-indepth.cy.js
@@ -1,4 +1,4 @@
-import articleTests from "../helpers/article-helper";
+import articleTests from "../../helpers/article-helper";
articleTests("indepth", {
stickyElements: ["#nav"],
diff --git a/packages/ssr/__tests__/integration/article-magazinecomment.js b/packages/ssr/__tests__/cypress/e2e/article-magazinecomment.cy.js
similarity index 82%
rename from packages/ssr/__tests__/integration/article-magazinecomment.js
rename to packages/ssr/__tests__/cypress/e2e/article-magazinecomment.cy.js
index 4b1d411f69e..54e1de29720 100644
--- a/packages/ssr/__tests__/integration/article-magazinecomment.js
+++ b/packages/ssr/__tests__/cypress/e2e/article-magazinecomment.cy.js
@@ -1,4 +1,4 @@
-import articleTests from "../helpers/article-helper";
+import articleTests from "../../helpers/article-helper";
articleTests("magazinecomment", {
stickyElements: ["#nav"],
diff --git a/packages/ssr/__tests__/integration/article-magazinestandard.js b/packages/ssr/__tests__/cypress/e2e/article-magazinestandard.cy.js
similarity index 82%
rename from packages/ssr/__tests__/integration/article-magazinestandard.js
rename to packages/ssr/__tests__/cypress/e2e/article-magazinestandard.cy.js
index 72c48c29ac6..f85e04188bd 100644
--- a/packages/ssr/__tests__/integration/article-magazinestandard.js
+++ b/packages/ssr/__tests__/cypress/e2e/article-magazinestandard.cy.js
@@ -1,4 +1,4 @@
-import articleTests from "../helpers/article-helper";
+import articleTests from "../../helpers/article-helper";
articleTests("magazinestandard", {
stickyElements: ["#nav"],
diff --git a/packages/ssr/__tests__/integration/article-maincomment.js b/packages/ssr/__tests__/cypress/e2e/article-maincomment.cy.js
similarity index 82%
rename from packages/ssr/__tests__/integration/article-maincomment.js
rename to packages/ssr/__tests__/cypress/e2e/article-maincomment.cy.js
index 30a7351344d..1caa8d7aa65 100644
--- a/packages/ssr/__tests__/integration/article-maincomment.js
+++ b/packages/ssr/__tests__/cypress/e2e/article-maincomment.cy.js
@@ -1,4 +1,4 @@
-import articleTests from "../helpers/article-helper";
+import articleTests from "../../helpers/article-helper";
articleTests("maincomment", {
stickyElements: ["#nav"],
diff --git a/packages/ssr/__tests__/integration/article-mainstandard-default.js b/packages/ssr/__tests__/cypress/e2e/article-mainstandard-default.cy.js
similarity index 83%
rename from packages/ssr/__tests__/integration/article-mainstandard-default.js
rename to packages/ssr/__tests__/cypress/e2e/article-mainstandard-default.cy.js
index bfb3ebd263c..4be0024749d 100644
--- a/packages/ssr/__tests__/integration/article-mainstandard-default.js
+++ b/packages/ssr/__tests__/cypress/e2e/article-mainstandard-default.cy.js
@@ -1,4 +1,4 @@
-import articleTests from "../helpers/article-helper";
+import articleTests from "../../helpers/article-helper";
articleTests("mainstandard", {
stickyElements: ["#nav"],
diff --git a/packages/ssr/__tests__/integration/article-mainstandard-persisted-query.js b/packages/ssr/__tests__/cypress/e2e/article-mainstandard-persisted-query.cy.js
similarity index 85%
rename from packages/ssr/__tests__/integration/article-mainstandard-persisted-query.js
rename to packages/ssr/__tests__/cypress/e2e/article-mainstandard-persisted-query.cy.js
index 958265d3f27..2d5e698adbe 100644
--- a/packages/ssr/__tests__/integration/article-mainstandard-persisted-query.js
+++ b/packages/ssr/__tests__/cypress/e2e/article-mainstandard-persisted-query.cy.js
@@ -1,4 +1,4 @@
-import articleTests from "../helpers/article-helper";
+import articleTests from "../../helpers/article-helper";
articleTests("mainstandard", {
qs: "?pq=1",
diff --git a/packages/ssr/__tests__/integration/author-profile-default.js b/packages/ssr/__tests__/cypress/e2e/author-profile-default.cy.js
similarity index 54%
rename from packages/ssr/__tests__/integration/author-profile-default.js
rename to packages/ssr/__tests__/cypress/e2e/author-profile-default.cy.js
index f3504f44ede..19ecd3041e1 100644
--- a/packages/ssr/__tests__/integration/author-profile-default.js
+++ b/packages/ssr/__tests__/cypress/e2e/author-profile-default.cy.js
@@ -1,4 +1,3 @@
-import authorProfileTests from "../helpers/author-profile-helper";
-
+import authorProfileTests from "../../helpers/author-profile-helper";
// default
authorProfileTests({ stickyElements: ["#nav"], skipSnapshotTest: true });
diff --git a/packages/ssr/__tests__/integration/author-profile-persisted-query.js b/packages/ssr/__tests__/cypress/e2e/author-profile-persisted-query.cy.js
similarity index 63%
rename from packages/ssr/__tests__/integration/author-profile-persisted-query.js
rename to packages/ssr/__tests__/cypress/e2e/author-profile-persisted-query.cy.js
index 3a4e22defb6..935bad23af3 100644
--- a/packages/ssr/__tests__/integration/author-profile-persisted-query.js
+++ b/packages/ssr/__tests__/cypress/e2e/author-profile-persisted-query.cy.js
@@ -1,4 +1,4 @@
-import authorProfileTests from "../helpers/author-profile-helper";
+import authorProfileTests from "../../helpers/author-profile-helper";
authorProfileTests({
qs: "?pq=1",
diff --git a/packages/ssr/__tests__/cypress/support/commands.js b/packages/ssr/__tests__/cypress/support/commands.js
index 40e48e60af2..b9136e87d74 100644
--- a/packages/ssr/__tests__/cypress/support/commands.js
+++ b/packages/ssr/__tests__/cypress/support/commands.js
@@ -1,4 +1,6 @@
-import { addMatchImageSnapshotCommand } from "cypress-image-snapshot/command";
+const {
+ addMatchImageSnapshotCommand
+} = require("cypress-image-snapshot/command");
addMatchImageSnapshotCommand({
failureThreshold: 0.05,
diff --git a/packages/ssr/__tests__/cypress/support/index.js b/packages/ssr/__tests__/cypress/support/e2e.js
similarity index 100%
rename from packages/ssr/__tests__/cypress/support/index.js
rename to packages/ssr/__tests__/cypress/support/e2e.js
diff --git a/packages/ssr/__tests__/helpers/article-helper.js b/packages/ssr/__tests__/helpers/article-helper.js
index 85f7debabce..f04f5b0ac10 100644
--- a/packages/ssr/__tests__/helpers/article-helper.js
+++ b/packages/ssr/__tests__/helpers/article-helper.js
@@ -4,7 +4,7 @@ import {
checkShareBarLoaded,
waitUntilSelectorExists,
terminalLog
-} from "../cypress/support";
+} from "../cypress/support/e2e.js";
const relatedArticleCount = 3;
diff --git a/packages/ssr/__tests__/helpers/author-profile-helper.js b/packages/ssr/__tests__/helpers/author-profile-helper.js
index d3b3ae1dc52..a5cfb86819e 100644
--- a/packages/ssr/__tests__/helpers/author-profile-helper.js
+++ b/packages/ssr/__tests__/helpers/author-profile-helper.js
@@ -1,6 +1,6 @@
/* eslint-disable no-unused-expressions */
import { MockAuthor, MockArticle } from "@times-components/fixture-generator";
-import { terminalLog } from "../cypress/support";
+import { terminalLog } from "../cypress/support/e2e.js";
export default (options = {}) => {
const qs = options.qs || "";
diff --git a/packages/ssr/cypress.config.js b/packages/ssr/cypress.config.js
new file mode 100644
index 00000000000..28e31401549
--- /dev/null
+++ b/packages/ssr/cypress.config.js
@@ -0,0 +1,19 @@
+const { defineConfig } = require("cypress");
+
+module.exports = defineConfig({
+ fixturesFolder: false,
+ screenshotsFolder: "__tests__/screenshots",
+ video: false,
+ blockHosts: ["*spot.im"],
+ e2e: {
+ // We've imported your old cypress plugins here.
+ // You may want to clean this up later by importing these.
+ setupNodeEvents(on, config) {
+ // eslint-disable-next-line
+ return require("./__tests__/cypress/plugins")(on, config);
+ },
+ baseUrl: "http://localhost:3000",
+ specPattern: "__tests__/cypress/e2e/**.cy.js",
+ supportFile: "__tests__/cypress/support/e2e.js"
+ }
+});
diff --git a/packages/ssr/cypress.json b/packages/ssr/cypress.json
deleted file mode 100644
index 919ab30f082..00000000000
--- a/packages/ssr/cypress.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "baseUrl": "http://localhost:3000",
- "fixturesFolder": false,
- "integrationFolder": "__tests__/integration",
- "pluginsFile": "__tests__/cypress/plugins",
- "screenshotsFolder": "__tests__/screenshots",
- "supportFile": "__tests__/cypress/support",
- "video": false,
- "blockHosts": ["*spot.im"]
-}
diff --git a/packages/ssr/package.json b/packages/ssr/package.json
index 93bbea94451..5d9633578cd 100644
--- a/packages/ssr/package.json
+++ b/packages/ssr/package.json
@@ -39,7 +39,6 @@
"@times-components/fixture-generator": "0.35.1",
"@times-components/mock-tpa-server": "0.4.10",
"axe-core": "3.3.1",
- "cypress": "^9.2.0",
"cypress-axe": "0.13.0",
"cypress-failed-log": "2.5.1",
"cypress-image-snapshot": "^4.0.0",
@@ -67,6 +66,7 @@
"apollo-link-error": "1.1.2",
"apollo-link-http": "1.5.14",
"apollo-link-persisted-queries": "0.2.2",
+ "cypress": "^13.14.0",
"cypress-wait-until": "1.7.2",
"node-fetch": "2.6.7",
"react": "16.9.0",
diff --git a/yarn.lock b/yarn.lock
index 2237a659c47..d1a4430ae38 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2728,10 +2728,10 @@
resolved "https://registry.yarnpkg.com/@csstools/normalize.css/-/normalize.css-9.0.1.tgz#c27b391d8457d1e893f1eddeaf5e5412d12ffbb5"
integrity sha512-6It2EVfGskxZCQhuykrfnALg7oVeiI6KclWSmGDqB0AiInVrTGB9Jp9i4/Ad21u9Jde/voVQz6eFX/eSg/UsPA==
-"@cypress/request@^2.88.10":
- version "2.88.10"
- resolved "https://registry.yarnpkg.com/@cypress/request/-/request-2.88.10.tgz#b66d76b07f860d3a4b8d7a0604d020c662752cce"
- integrity sha512-Zp7F+R93N0yZyG34GutyTNr+okam7s/Fzc1+i3kcqOP8vk6OuajuE9qZJ6Rs+10/1JFtXFYMdyarnU1rZuJesg==
+"@cypress/request@^3.0.4":
+ version "3.0.5"
+ resolved "https://registry.yarnpkg.com/@cypress/request/-/request-3.0.5.tgz#d893a6e68ce2636c085fcd8d7283c3186499ba63"
+ integrity sha512-v+XHd9XmWbufxF1/bTaVm2yhbxY+TB4YtWRqF2zaXBlDNMkls34KiATz0AVDLavL3iB6bQk9/7n3oY1EoLSWGA==
dependencies:
aws-sign2 "~0.7.0"
aws4 "^1.8.0"
@@ -2739,16 +2739,16 @@
combined-stream "~1.0.6"
extend "~3.0.2"
forever-agent "~0.6.1"
- form-data "~2.3.2"
- http-signature "~1.3.6"
+ form-data "~4.0.0"
+ http-signature "~1.4.0"
is-typedarray "~1.0.0"
isstream "~0.1.2"
json-stringify-safe "~5.0.1"
mime-types "~2.1.19"
performance-now "^2.1.0"
- qs "~6.5.2"
+ qs "6.13.0"
safe-buffer "^5.1.2"
- tough-cookie "~2.5.0"
+ tough-cookie "^4.1.3"
tunnel-agent "^0.6.0"
uuid "^8.3.2"
@@ -5764,11 +5764,6 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.10.tgz#d7415ef18c94f8d4e4a82ebcc8b8999f965d8920"
integrity sha512-XU1+v7h81p7145ddPfjv7jtWvkSilpcnON3mQ+bDi9Yuf7OI56efOglXRyXWgQ57xH3fEQgh7WOJMncRHVew5w==
-"@types/node@^14.14.31":
- version "14.18.5"
- resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.5.tgz#0dd636fe7b2c6055cbed0d4ca3b7fb540f130a96"
- integrity sha512-LMy+vDDcQR48EZdEx5wRX1q/sEl6NdGuHXPnfeL8ixkwCOSZ2qnIyIZmcCbdX0MeRqHhAcHmX+haCbrS8Run+A==
-
"@types/normalize-package-data@^2.4.0":
version "2.4.0"
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e"
@@ -5873,10 +5868,10 @@
"@types/mime" "^1"
"@types/node" "*"
-"@types/sinonjs__fake-timers@^6.0.2":
- version "6.0.4"
- resolved "https://registry.yarnpkg.com/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-6.0.4.tgz#0ecc1b9259b76598ef01942f547904ce61a6a77d"
- integrity sha512-IFQTJARgMUBF+xVd2b+hIgXWrZEjND3vJtRCvIelcFB5SIXfjV4bOHbHJ0eXKh+0COrBRc8MqteKAz/j88rE0A==
+"@types/sinonjs__fake-timers@8.1.1":
+ version "8.1.1"
+ resolved "https://registry.yarnpkg.com/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-8.1.1.tgz#b49c2c70150141a15e0fa7e79cf1f92a72934ce3"
+ integrity sha512-0kSuKjAS0TrGLJ0M/+8MaFkGsQhZpB6pxOmvS3K8FYI72K//YmdfoW9X2qPsAKh1mkwxGD5zib9s1FIFed6E8g==
"@types/sizzle@^2.3.2":
version "2.3.3"
@@ -8685,7 +8680,7 @@ blob-util@^2.0.2:
resolved "https://registry.yarnpkg.com/blob-util/-/blob-util-2.0.2.tgz#3b4e3c281111bb7f11128518006cdc60b403a1eb"
integrity sha512-T7JQa+zsXXEa6/8ZhHcQEW1UFfVM49Ts65uBkFL6fz2QmrElqmbajIDJvuA0tEhRe5eIjpV9ZF+0RfZR9voJFQ==
-bluebird@3.7.2, bluebird@^3.3.5, bluebird@^3.5.1, bluebird@^3.5.3, bluebird@^3.5.5:
+bluebird@^3.3.5, bluebird@^3.5.1, bluebird@^3.5.3, bluebird@^3.5.5, bluebird@^3.7.2:
version "3.7.2"
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f"
integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==
@@ -9009,6 +9004,14 @@ buffer@^4.3.0:
ieee754 "^1.1.4"
isarray "^1.0.0"
+buffer@^5.7.1:
+ version "5.7.1"
+ resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0"
+ integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==
+ dependencies:
+ base64-js "^1.3.1"
+ ieee754 "^1.1.13"
+
buffer@^6.0.3:
version "6.0.3"
resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6"
@@ -9182,6 +9185,17 @@ call-bind@^1.0.0, call-bind@^1.0.2:
function-bind "^1.1.1"
get-intrinsic "^1.0.2"
+call-bind@^1.0.7:
+ version "1.0.7"
+ resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.7.tgz#06016599c40c56498c18769d2730be242b6fa3b9"
+ integrity sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==
+ dependencies:
+ es-define-property "^1.0.0"
+ es-errors "^1.3.0"
+ function-bind "^1.1.2"
+ get-intrinsic "^1.2.4"
+ set-function-length "^1.2.1"
+
call-me-maybe@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/call-me-maybe/-/call-me-maybe-1.0.1.tgz#26d208ea89e37b5cbde60250a15f031c16a4d66b"
@@ -9627,14 +9641,14 @@ cli-table3@^0.6.1:
optionalDependencies:
"@colors/colors" "1.5.0"
-cli-table3@~0.6.0:
- version "0.6.1"
- resolved "https://registry.yarnpkg.com/cli-table3/-/cli-table3-0.6.1.tgz#36ce9b7af4847f288d3cdd081fbd09bf7bd237b8"
- integrity sha512-w0q/enDHhPLq44ovMGdQeeDLvwxwavsJX7oQGYt/LrBlYsyaxyDnp6z3QzFut/6kLLKnlcUVJLrpB7KBfgG/RA==
+cli-table3@~0.6.1:
+ version "0.6.5"
+ resolved "https://registry.yarnpkg.com/cli-table3/-/cli-table3-0.6.5.tgz#013b91351762739c16a9567c21a04632e449bf2f"
+ integrity sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==
dependencies:
string-width "^4.2.0"
optionalDependencies:
- colors "1.4.0"
+ "@colors/colors" "1.5.0"
cli-tableau@^2.0.0:
version "2.0.1"
@@ -9860,7 +9874,7 @@ colornames@^1.1.1:
resolved "https://registry.yarnpkg.com/colornames/-/colornames-1.1.1.tgz#f8889030685c7c4ff9e2a559f5077eb76a816f96"
integrity sha1-+IiQMGhcfE/54qVZ9Qd+t2qBb5Y=
-colors@1.4.0, colors@^1.2.1:
+colors@^1.2.1:
version "1.4.0"
resolved "https://registry.yarnpkg.com/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78"
integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==
@@ -9918,11 +9932,6 @@ commander@^4.1.1:
resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068"
integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==
-commander@^5.1.0:
- version "5.1.0"
- resolved "https://registry.yarnpkg.com/commander/-/commander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae"
- integrity sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==
-
commander@^6.2.1:
version "6.2.1"
resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c"
@@ -10863,51 +10872,52 @@ cypress-wait-until@1.7.2:
resolved "https://registry.yarnpkg.com/cypress-wait-until/-/cypress-wait-until-1.7.2.tgz#7f534dd5a11c89b65359e7a0210f20d3dfc22107"
integrity sha512-uZ+M8/MqRcpf+FII/UZrU7g1qYZ4aVlHcgyVopnladyoBrpoaMJ4PKZDrdOJ05H5RHbr7s9Tid635X3E+ZLU/Q==
-cypress@^9.2.0:
- version "9.2.0"
- resolved "https://registry.yarnpkg.com/cypress/-/cypress-9.2.0.tgz#727c20b4662167890db81d5f6ba615231835b17d"
- integrity sha512-Jn26Tprhfzh/a66Sdj9SoaYlnNX6Mjfmj5PHu2a7l3YHXhrgmavM368wjCmgrxC6KHTOv9SpMQGhAJn+upDViA==
+cypress@^13.14.0:
+ version "13.15.0"
+ resolved "https://registry.yarnpkg.com/cypress/-/cypress-13.15.0.tgz#5eca5387ef34b2e611cfa291967c69c2cd39381d"
+ integrity sha512-53aO7PwOfi604qzOkCSzNlWquCynLlKE/rmmpSPcziRH6LNfaDUAklQT6WJIsD8ywxlIy+uVZsnTMCCQVd2kTw==
dependencies:
- "@cypress/request" "^2.88.10"
+ "@cypress/request" "^3.0.4"
"@cypress/xvfb" "^1.2.4"
- "@types/node" "^14.14.31"
- "@types/sinonjs__fake-timers" "^6.0.2"
+ "@types/sinonjs__fake-timers" "8.1.1"
"@types/sizzle" "^2.3.2"
arch "^2.2.0"
blob-util "^2.0.2"
- bluebird "3.7.2"
+ bluebird "^3.7.2"
+ buffer "^5.7.1"
cachedir "^2.3.0"
chalk "^4.1.0"
check-more-types "^2.24.0"
cli-cursor "^3.1.0"
- cli-table3 "~0.6.0"
- commander "^5.1.0"
+ cli-table3 "~0.6.1"
+ commander "^6.2.1"
common-tags "^1.8.0"
dayjs "^1.10.4"
- debug "^4.3.2"
+ debug "^4.3.4"
enquirer "^2.3.6"
- eventemitter2 "^6.4.3"
+ eventemitter2 "6.4.7"
execa "4.1.0"
executable "^4.1.1"
extract-zip "2.0.1"
figures "^3.2.0"
fs-extra "^9.1.0"
getos "^3.2.1"
- is-ci "^3.0.0"
+ is-ci "^3.0.1"
is-installed-globally "~0.4.0"
lazy-ass "^1.6.0"
listr2 "^3.8.3"
lodash "^4.17.21"
log-symbols "^4.0.0"
- minimist "^1.2.5"
+ minimist "^1.2.8"
ospath "^1.2.2"
pretty-bytes "^5.6.0"
+ process "^0.11.10"
proxy-from-env "1.0.0"
request-progress "^3.0.0"
+ semver "^7.5.3"
supports-color "^8.1.1"
- tmp "~0.2.1"
+ tmp "~0.2.3"
untildify "^4.0.0"
- url "^0.11.0"
yauzl "^2.10.0"
cz-conventional-changelog@1.2.0:
@@ -11062,13 +11072,6 @@ debug@^3.0.0, debug@^3.1.0, debug@^3.1.1, debug@^3.2.5, debug@^3.2.6, debug@^3.2
dependencies:
ms "^2.1.1"
-debug@^4.3.2:
- version "4.3.3"
- resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.3.tgz#04266e0b70a98d4462e6e288e38259213332b664"
- integrity sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==
- dependencies:
- ms "2.1.2"
-
debuglog@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492"
@@ -11170,6 +11173,15 @@ defaults@^1.0.3:
dependencies:
clone "^1.0.2"
+define-data-property@^1.1.4:
+ version "1.1.4"
+ resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.4.tgz#894dc141bb7d3060ae4366f6a0107e68fbe48c5e"
+ integrity sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==
+ dependencies:
+ es-define-property "^1.0.0"
+ es-errors "^1.3.0"
+ gopd "^1.0.1"
+
define-lazy-prop@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f"
@@ -11970,6 +11982,18 @@ es-array-method-boxes-properly@^1.0.0:
resolved "https://registry.yarnpkg.com/es-array-method-boxes-properly/-/es-array-method-boxes-properly-1.0.0.tgz#873f3e84418de4ee19c5be752990b2e44718d09e"
integrity sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA==
+es-define-property@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.0.tgz#c7faefbdff8b2696cf5f46921edfb77cc4ba3845"
+ integrity sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==
+ dependencies:
+ get-intrinsic "^1.2.4"
+
+es-errors@^1.3.0:
+ version "1.3.0"
+ resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f"
+ integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==
+
es-get-iterator@^1.0.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/es-get-iterator/-/es-get-iterator-1.1.2.tgz#9234c54aba713486d7ebde0220864af5e2b283f7"
@@ -12463,16 +12487,16 @@ eventemitter2@5.0.1, eventemitter2@~5.0.1:
resolved "https://registry.yarnpkg.com/eventemitter2/-/eventemitter2-5.0.1.tgz#6197a095d5fb6b57e8942f6fd7eaad63a09c9452"
integrity sha512-5EM1GHXycJBS6mauYAbVKT1cVs7POKWb2NXD4Vyt8dDqeZa7LaDK1/sjtL+Zb0lzTpSNil4596Dyu97hz37QLg==
+eventemitter2@6.4.7:
+ version "6.4.7"
+ resolved "https://registry.yarnpkg.com/eventemitter2/-/eventemitter2-6.4.7.tgz#a7f6c4d7abf28a14c1ef3442f21cb306a054271d"
+ integrity sha512-tYUSVOGeQPKt/eC1ABfhHy5Xd96N3oIijJvN3O9+TsC28T5V9yX9oEfEK5faP0EFSNVOG97qtAS68GBrQB2hDg==
+
eventemitter2@^6.3.1:
version "6.4.9"
resolved "https://registry.yarnpkg.com/eventemitter2/-/eventemitter2-6.4.9.tgz#41f2750781b4230ed58827bc119d293471ecb125"
integrity sha512-JEPTiaOt9f04oa6NOkc4aH+nVp5I3wEjpHbIPqfgCdD5v5bUzy7xQqwcVO2aDQgOWhI28da57HksMrzK9HlRxg==
-eventemitter2@^6.4.3:
- version "6.4.5"
- resolved "https://registry.yarnpkg.com/eventemitter2/-/eventemitter2-6.4.5.tgz#97380f758ae24ac15df8353e0cc27f8b95644655"
- integrity sha512-bXE7Dyc1i6oQElDG0jMRZJrRAn9QR2xyyFGmBdZleNmyQX0FqGYmhZIrIrpPfm/w//LTo4tVQGOGQcGCb5q9uw==
-
eventemitter2@~0.4.14:
version "0.4.14"
resolved "https://registry.yarnpkg.com/eventemitter2/-/eventemitter2-0.4.14.tgz#8f61b75cde012b2e9eb284d4545583b5643b61ab"
@@ -13462,6 +13486,15 @@ form-data@~2.3.2:
combined-stream "^1.0.6"
mime-types "^2.1.12"
+form-data@~4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452"
+ integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==
+ dependencies:
+ asynckit "^0.4.0"
+ combined-stream "^1.0.8"
+ mime-types "^2.1.12"
+
forwarded@0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811"
@@ -13630,6 +13663,11 @@ function-bind@^1.1.1:
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==
+function-bind@^1.1.2:
+ version "1.1.2"
+ resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c"
+ integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==
+
function.prototype.name@^1.1.0, function.prototype.name@^1.1.2, function.prototype.name@^1.1.3:
version "1.1.4"
resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.4.tgz#e4ea839b9d3672ae99d0efd9f38d9191c5eaac83"
@@ -13722,6 +13760,17 @@ get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1:
has "^1.0.3"
has-symbols "^1.0.1"
+get-intrinsic@^1.1.3, get-intrinsic@^1.2.4:
+ version "1.2.4"
+ resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.4.tgz#e385f5a4b5227d449c3eabbad05494ef0abbeadd"
+ integrity sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==
+ dependencies:
+ es-errors "^1.3.0"
+ function-bind "^1.1.2"
+ has-proto "^1.0.1"
+ has-symbols "^1.0.3"
+ hasown "^2.0.0"
+
get-own-enumerable-property-symbols@^3.0.0:
version "3.0.2"
resolved "https://registry.yarnpkg.com/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz#b5fde77f22cbe35f390b4e089922c50bce6ef664"
@@ -14212,6 +14261,13 @@ gonzales-pe@^4.2.3:
dependencies:
minimist "^1.2.5"
+gopd@^1.0.1:
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c"
+ integrity sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==
+ dependencies:
+ get-intrinsic "^1.1.3"
+
graceful-fs@^4.0.0, graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9, graceful-fs@^4.2.0, graceful-fs@^4.2.2, graceful-fs@^4.2.4:
version "4.2.6"
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.6.tgz#ff040b2b0853b23c3d31027523706f1885d76bee"
@@ -14580,11 +14636,28 @@ has-glob@^1.0.0:
dependencies:
is-glob "^3.0.0"
+has-property-descriptors@^1.0.2:
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz#963ed7d071dc7bf5f084c5bfbe0d1b6222586854"
+ integrity sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==
+ dependencies:
+ es-define-property "^1.0.0"
+
+has-proto@^1.0.1:
+ version "1.0.3"
+ resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.3.tgz#b31ddfe9b0e6e9914536a6ab286426d0214f77fd"
+ integrity sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==
+
has-symbols@^1.0.1, has-symbols@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.2.tgz#165d3070c00309752a1236a479331e3ac56f1423"
integrity sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==
+has-symbols@^1.0.3:
+ version "1.0.3"
+ resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8"
+ integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==
+
has-unicode@^2.0.0, has-unicode@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9"
@@ -14645,6 +14718,13 @@ hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.3:
inherits "^2.0.3"
minimalistic-assert "^1.0.1"
+hasown@^2.0.0:
+ version "2.0.2"
+ resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003"
+ integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==
+ dependencies:
+ function-bind "^1.1.2"
+
hast-to-hyperscript@^9.0.0:
version "9.0.1"
resolved "https://registry.yarnpkg.com/hast-to-hyperscript/-/hast-to-hyperscript-9.0.1.tgz#9b67fd188e4c81e8ad66f803855334173920218d"
@@ -15079,14 +15159,14 @@ http-signature@~1.2.0:
jsprim "^1.2.2"
sshpk "^1.7.0"
-http-signature@~1.3.6:
- version "1.3.6"
- resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.3.6.tgz#cb6fbfdf86d1c974f343be94e87f7fc128662cf9"
- integrity sha512-3adrsD6zqo4GsTqtO7FyrejHNv+NgiIfAfv68+jVlFmSr9OGy7zrxONceFRLKvnnZA5jbxQBX1u9PpB6Wi32Gw==
+http-signature@~1.4.0:
+ version "1.4.0"
+ resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.4.0.tgz#dee5a9ba2bf49416abc544abd6d967f6a94c8c3f"
+ integrity sha512-G5akfn7eKbpDN+8nPS/cb57YeA1jLTVxjpCj7tmm3QKPdyDy7T+qSC40e9ptydSWvkwjSXw1VbkpyEm39ukeAg==
dependencies:
assert-plus "^1.0.0"
jsprim "^2.0.2"
- sshpk "^1.14.1"
+ sshpk "^1.18.0"
http-status-codes@2.2.0:
version "2.2.0"
@@ -15198,7 +15278,7 @@ identity-obj-proxy@3.0.0:
dependencies:
harmony-reflect "^1.4.6"
-ieee754@^1.1.4, ieee754@^1.2.1:
+ieee754@^1.1.13, ieee754@^1.1.4, ieee754@^1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352"
integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==
@@ -15609,7 +15689,7 @@ is-ci@^2.0.0:
dependencies:
ci-info "^2.0.0"
-is-ci@^3.0.0:
+is-ci@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-3.0.1.tgz#db6ecbed1bd659c43dac0f45661e7674103d1867"
integrity sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ==
@@ -18567,6 +18647,11 @@ minimist@^1.1.1, minimist@^1.1.3, minimist@^1.2.0, minimist@^1.2.5:
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
+minimist@^1.2.8:
+ version "1.2.8"
+ resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c"
+ integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==
+
minipass-collect@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/minipass-collect/-/minipass-collect-1.0.2.tgz#22b813bf745dc6edba2576b940022ad6edc8c617"
@@ -19246,6 +19331,11 @@ object-hash@^1.1.4:
resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-1.3.1.tgz#fde452098a951cb145f039bb7d455449ddc126df"
integrity sha512-OSuu/pU4ENM9kmREg0BdNrUDIl1heYa4mBZacJc+vVWz4GtAwu7jO8s4AIt2aGRUTqxykpWzI3Oqnsm13tTMDA==
+object-inspect@^1.13.1:
+ version "1.13.2"
+ resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.2.tgz#dea0088467fb991e67af4058147a24824a3043ff"
+ integrity sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==
+
object-inspect@^1.6.0, object-inspect@^1.9.0:
version "1.10.3"
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.10.3.tgz#c2aa7d2d09f50c99375704f7a0adf24c5782d369"
@@ -21562,6 +21652,13 @@ qs@6.11.0, qs@^6.10.0, qs@^6.6.0:
dependencies:
side-channel "^1.0.4"
+qs@6.13.0:
+ version "6.13.0"
+ resolved "https://registry.yarnpkg.com/qs/-/qs-6.13.0.tgz#6ca3bd58439f7e245655798997787b0d88a51906"
+ integrity sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==
+ dependencies:
+ side-channel "^1.0.6"
+
qs@6.5.1:
version "6.5.1"
resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.1.tgz#349cdf6eef89ec45c12d7d5eb3fc0c870343a6d8"
@@ -23265,6 +23362,11 @@ semver@^7.3.4:
dependencies:
lru-cache "^6.0.0"
+semver@^7.5.3:
+ version "7.6.3"
+ resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.3.tgz#980f7b5550bc175fb4dc09403085627f9eb33143"
+ integrity sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==
+
send@0.16.2:
version "0.16.2"
resolved "https://registry.yarnpkg.com/send/-/send-0.16.2.tgz#6ecca1e0f8c156d141597559848df64730a6bbc1"
@@ -23415,6 +23517,18 @@ set-blocking@^2.0.0, set-blocking@~2.0.0:
resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7"
integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc=
+set-function-length@^1.2.1:
+ version "1.2.2"
+ resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.2.tgz#aac72314198eaed975cf77b2c3b6b880695e5449"
+ integrity sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==
+ dependencies:
+ define-data-property "^1.1.4"
+ es-errors "^1.3.0"
+ function-bind "^1.1.2"
+ get-intrinsic "^1.2.4"
+ gopd "^1.0.1"
+ has-property-descriptors "^1.0.2"
+
set-value@^2.0.0, set-value@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/set-value/-/set-value-2.0.1.tgz#a18d40530e6f07de4228c7defe4227af8cad005b"
@@ -23551,6 +23665,16 @@ side-channel@^1.0.4:
get-intrinsic "^1.0.2"
object-inspect "^1.9.0"
+side-channel@^1.0.6:
+ version "1.0.6"
+ resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.6.tgz#abd25fb7cd24baf45466406b1096b7831c9215f2"
+ integrity sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==
+ dependencies:
+ call-bind "^1.0.7"
+ es-errors "^1.3.0"
+ get-intrinsic "^1.2.4"
+ object-inspect "^1.13.1"
+
signal-exit@^3.0.0, signal-exit@^3.0.2:
version "3.0.3"
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c"
@@ -23972,10 +24096,10 @@ sprintf-js@~1.0.2:
resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c"
integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=
-sshpk@^1.14.1:
- version "1.17.0"
- resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.17.0.tgz#578082d92d4fe612b13007496e543fa0fbcbe4c5"
- integrity sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==
+sshpk@^1.18.0:
+ version "1.18.0"
+ resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.18.0.tgz#1663e55cddf4d688b86a46b77f0d5fe363aba028"
+ integrity sha512-2p2KJZTSqQ/I3+HX42EpYOa2l3f8Erv8MWKsy2I9uf4wA7yFIkXRffYdsx86y6z4vHtV8u7g+pPlr8/4ouAxsQ==
dependencies:
asn1 "~0.2.3"
assert-plus "^1.0.0"
@@ -25063,12 +25187,10 @@ tmp@^0.0.33:
dependencies:
os-tmpdir "~1.0.2"
-tmp@~0.2.1:
- version "0.2.1"
- resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.1.tgz#8457fc3037dcf4719c251367a1af6500ee1ccf14"
- integrity sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==
- dependencies:
- rimraf "^3.0.0"
+tmp@~0.2.3:
+ version "0.2.3"
+ resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.3.tgz#eb783cc22bc1e8bebd0671476d46ea4eb32a79ae"
+ integrity sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w==
tmpl@1.0.x:
version "1.0.4"
@@ -25173,6 +25295,16 @@ tough-cookie@^4.0.0:
punycode "^2.1.1"
universalify "^0.1.2"
+tough-cookie@^4.1.3:
+ version "4.1.4"
+ resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.1.4.tgz#945f1461b45b5a8c76821c33ea49c3ac192c1b36"
+ integrity sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==
+ dependencies:
+ psl "^1.1.33"
+ punycode "^2.1.1"
+ universalify "^0.2.0"
+ url-parse "^1.5.3"
+
tough-cookie@~2.3.0:
version "2.3.4"
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.4.tgz#ec60cee38ac675063ffc97a5c18970578ee83655"
@@ -25752,6 +25884,11 @@ universalify@^0.1.0, universalify@^0.1.2:
resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66"
integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==
+universalify@^0.2.0:
+ version "0.2.0"
+ resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.2.0.tgz#6451760566fa857534745ab1dde952d1b1761be0"
+ integrity sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==
+
universalify@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717"
@@ -25855,6 +25992,14 @@ url-parse@^1.4.3:
querystringify "^2.1.1"
requires-port "^1.0.0"
+url-parse@^1.5.3:
+ version "1.5.10"
+ resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.10.tgz#9d3c2f736c1d75dd3bd2be507dcc111f1e2ea9c1"
+ integrity sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==
+ dependencies:
+ querystringify "^2.1.1"
+ requires-port "^1.0.0"
+
url-polyfill@1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/url-polyfill/-/url-polyfill-1.1.0.tgz#d34e1a596d954b864bc8608f84c592820df422db"
From fc57bbe8a85657b2ec396024f23b213245bf4a07 Mon Sep 17 00:00:00 2001
From: Bibi Collins <44647540+bibicollins1@users.noreply.github.com>
Date: Thu, 10 Oct 2024 12:04:31 +0100
Subject: [PATCH 46/97] feat(TMD-897): Add article schema to live blog (#3951)
* Return article jsonLd in all cases, and live blog also when live blog is true
* Fix linting
* Remove articleId from jsonLd as isn't a supported field
* fix linting update snapshots
* Update snapshots
* fix: canary
* fix: canary
---------
Co-authored-by: milanharia-tm <142982056+milanharia-tm@users.noreply.github.com>
Co-authored-by: Milan Haria
---
.../article-with-style.web.test.js.snap | 8 +--
.../__snapshots__/article.web.test.js.snap | 6 +--
.../__snapshots__/semantic.web.test.js.snap | 2 +-
.../article-with-style.web.test.js.snap | 8 +--
.../__snapshots__/article.web.test.js.snap | 8 +--
.../__snapshots__/semantic.web.test.js.snap | 2 +-
.../article-with-style.web.test.js.snap | 8 +--
.../__snapshots__/article.web.test.js.snap | 6 +--
.../__snapshots__/semantic.web.test.js.snap | 2 +-
.../article-with-style.web.test.js.snap | 2 +-
.../__snapshots__/article.web.test.js.snap | 8 +--
.../__snapshots__/semantic.web.test.js.snap | 2 +-
.../article-with-style.web.test.js.snap | 2 +-
.../__snapshots__/article.web.test.js.snap | 14 +++---
.../__snapshots__/semantic.web.test.js.snap | 2 +-
...article-images-with-style.web.test.js.snap | 8 +--
.../article-with-isPreview.web.test.js.snap | 22 +++------
.../article-with-style.web.test.js.snap | 9 +---
.../article-with-user-state.web.test.js.snap | 22 +++------
.../__snapshots__/article.web.test.js.snap | 11 ++---
.../web/__snapshots__/head.test.js.snap | 49 ++++++++++---------
packages/article-skeleton/src/head.js | 13 ++---
22 files changed, 92 insertions(+), 122 deletions(-)
diff --git a/packages/article-in-depth/__tests__/web/__snapshots__/article-with-style.web.test.js.snap b/packages/article-in-depth/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
index b5015e8fc06..695b85429d2 100644
--- a/packages/article-in-depth/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
+++ b/packages/article-in-depth/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
@@ -802,7 +802,7 @@ exports[`full article with style 1`] = `
- {"@context":"https://schema.org","@type":"NewsArticle","headline":"Some Short Headline","publisher":{"@type":"Organization","name":"The Times","logo":{"@type":"ImageObject"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://url.io"},"dateCreated":"2015-03-13T18:54:58.000Z","datePublished":"2015-03-13T18:54:58.000Z","isAccessibleForFree":false,"hasPart":{"@type":"WebPageElement","isAccessibleForFree":false,"cssSelector":".undefined"},"image":{"@type":"ImageObject","url":"https://crop169.io?resize=1200","caption":"Some Caption"},"thumbnailUrl":"https://crop169.io","dateModified":"2015-03-13T18:54:58.000Z","author":{"@type":"Person","name":"Some byline"},"articleSection":"Some Section","keywords":"Section:Some Section","articleId":"198c4b2f-ecec-4f34-be53-c89f83bc1b44","url":"https://url.io"}
+ {"@context":"https://schema.org","@type":"NewsArticle","headline":"Some Short Headline","publisher":{"@type":"Organization","name":"The Times","logo":{"@type":"ImageObject"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://url.io"},"dateCreated":"2015-03-13T18:54:58.000Z","datePublished":"2015-03-13T18:54:58.000Z","isAccessibleForFree":false,"hasPart":{"@type":"WebPageElement","isAccessibleForFree":false,"cssSelector":".undefined"},"image":{"@type":"ImageObject","url":"https://crop169.io?resize=1200","caption":"Some Caption"},"thumbnailUrl":"https://crop169.io","dateModified":"2015-03-13T18:54:58.000Z","author":{"@type":"Person","name":"Some byline"},"articleSection":"Some Section","keywords":"Section:Some Section","url":"https://url.io"}
@@ -349,7 +349,7 @@ exports[`4. an article with ads with .co.uk 1`] = `
@@ -632,7 +632,7 @@ exports[`5. an article with ads with .com 1`] = `
diff --git a/packages/article-in-depth/__tests__/web/__snapshots__/semantic.web.test.js.snap b/packages/article-in-depth/__tests__/web/__snapshots__/semantic.web.test.js.snap
index 91278d104f7..7f65e0be041 100644
--- a/packages/article-in-depth/__tests__/web/__snapshots__/semantic.web.test.js.snap
+++ b/packages/article-in-depth/__tests__/web/__snapshots__/semantic.web.test.js.snap
@@ -63,7 +63,7 @@ exports[`1. a full article 1`] = `
diff --git a/packages/article-magazine-comment/__tests__/web/__snapshots__/article-with-style.web.test.js.snap b/packages/article-magazine-comment/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
index 8d5e4f3c468..60ef1be8098 100644
--- a/packages/article-magazine-comment/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
+++ b/packages/article-magazine-comment/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
@@ -817,7 +817,7 @@ exports[`full article with style 1`] = `
- {"@context":"https://schema.org","@type":"NewsArticle","headline":"Some Short Headline","publisher":{"@type":"Organization","name":"The Times","logo":{"@type":"ImageObject"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://url.io"},"dateCreated":"2015-03-13T18:54:58.000Z","datePublished":"2015-03-13T18:54:58.000Z","isAccessibleForFree":false,"hasPart":{"@type":"WebPageElement","isAccessibleForFree":false,"cssSelector":".undefined"},"image":{"@type":"ImageObject","url":"https://crop169.io?resize=1200","caption":"Some Caption"},"thumbnailUrl":"https://crop169.io","dateModified":"2015-03-13T18:54:58.000Z","author":{"@type":"Person","name":"Some byline"},"articleSection":"Some Section","keywords":"Section:Some Section","articleId":"198c4b2f-ecec-4f34-be53-c89f83bc1b44","url":"https://url.io"}
+ {"@context":"https://schema.org","@type":"NewsArticle","headline":"Some Short Headline","publisher":{"@type":"Organization","name":"The Times","logo":{"@type":"ImageObject"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://url.io"},"dateCreated":"2015-03-13T18:54:58.000Z","datePublished":"2015-03-13T18:54:58.000Z","isAccessibleForFree":false,"hasPart":{"@type":"WebPageElement","isAccessibleForFree":false,"cssSelector":".undefined"},"image":{"@type":"ImageObject","url":"https://crop169.io?resize=1200","caption":"Some Caption"},"thumbnailUrl":"https://crop169.io","dateModified":"2015-03-13T18:54:58.000Z","author":{"@type":"Person","name":"Some byline"},"articleSection":"Some Section","keywords":"Section:Some Section","url":"https://url.io"}
@@ -339,7 +339,7 @@ exports[`4. an article with ads with .co.uk 1`] = `
@@ -612,7 +612,7 @@ exports[`5. an article with ads with .com 1`] = `
@@ -885,7 +885,7 @@ exports[`8. an article with no author 1`] = `
diff --git a/packages/article-magazine-comment/__tests__/web/__snapshots__/semantic.web.test.js.snap b/packages/article-magazine-comment/__tests__/web/__snapshots__/semantic.web.test.js.snap
index 6507edcbd67..e5aab42fd25 100644
--- a/packages/article-magazine-comment/__tests__/web/__snapshots__/semantic.web.test.js.snap
+++ b/packages/article-magazine-comment/__tests__/web/__snapshots__/semantic.web.test.js.snap
@@ -63,7 +63,7 @@ exports[`1. a full article 1`] = `
diff --git a/packages/article-magazine-standard/__tests__/web/__snapshots__/article-with-style.web.test.js.snap b/packages/article-magazine-standard/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
index 8f192436c60..c0e88e30bff 100644
--- a/packages/article-magazine-standard/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
+++ b/packages/article-magazine-standard/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
@@ -774,7 +774,7 @@ exports[`full article with style 1`] = `
- {"@context":"https://schema.org","@type":"NewsArticle","headline":"Some Short Headline","publisher":{"@type":"Organization","name":"The Times","logo":{"@type":"ImageObject"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://url.io"},"dateCreated":"2015-03-13T18:54:58.000Z","datePublished":"2015-03-13T18:54:58.000Z","isAccessibleForFree":false,"hasPart":{"@type":"WebPageElement","isAccessibleForFree":false,"cssSelector":".undefined"},"image":{"@type":"ImageObject","url":"https://crop169.io?resize=1200","caption":"Some Caption"},"thumbnailUrl":"https://crop169.io","dateModified":"2015-03-13T18:54:58.000Z","author":{"@type":"Person","name":"Camilla Long, Environment Editor"},"articleSection":"Some Section","keywords":"Section:Some Section","articleId":"198c4b2f-ecec-4f34-be53-c89f83bc1b44","url":"https://url.io"}
+ {"@context":"https://schema.org","@type":"NewsArticle","headline":"Some Short Headline","publisher":{"@type":"Organization","name":"The Times","logo":{"@type":"ImageObject"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://url.io"},"dateCreated":"2015-03-13T18:54:58.000Z","datePublished":"2015-03-13T18:54:58.000Z","isAccessibleForFree":false,"hasPart":{"@type":"WebPageElement","isAccessibleForFree":false,"cssSelector":".undefined"},"image":{"@type":"ImageObject","url":"https://crop169.io?resize=1200","caption":"Some Caption"},"thumbnailUrl":"https://crop169.io","dateModified":"2015-03-13T18:54:58.000Z","author":{"@type":"Person","name":"Camilla Long, Environment Editor"},"articleSection":"Some Section","keywords":"Section:Some Section","url":"https://url.io"}
@@ -352,7 +352,7 @@ exports[`4. an article with ads with .co.uk 1`] = `
@@ -638,7 +638,7 @@ exports[`5. an article with ads with .com 1`] = `
diff --git a/packages/article-magazine-standard/__tests__/web/__snapshots__/semantic.web.test.js.snap b/packages/article-magazine-standard/__tests__/web/__snapshots__/semantic.web.test.js.snap
index 1b62dad50b6..4f07424d74d 100644
--- a/packages/article-magazine-standard/__tests__/web/__snapshots__/semantic.web.test.js.snap
+++ b/packages/article-magazine-standard/__tests__/web/__snapshots__/semantic.web.test.js.snap
@@ -63,7 +63,7 @@ exports[`1. a full article 1`] = `
diff --git a/packages/article-main-comment/__tests__/web/__snapshots__/article-with-style.web.test.js.snap b/packages/article-main-comment/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
index 24d88316eec..075fee83692 100644
--- a/packages/article-main-comment/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
+++ b/packages/article-main-comment/__tests__/web/__snapshots__/article-with-style.web.test.js.snap
@@ -789,7 +789,7 @@ exports[`full article with style 1`] = `
- {"@context":"https://schema.org","@type":"NewsArticle","headline":"Some Short Headline","publisher":{"@type":"Organization","name":"The Times","logo":{"@type":"ImageObject"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://url.io"},"dateCreated":"2015-03-13T18:54:58.000Z","datePublished":"2015-03-13T18:54:58.000Z","isAccessibleForFree":false,"hasPart":{"@type":"WebPageElement","isAccessibleForFree":false,"cssSelector":".undefined"},"image":{"@type":"ImageObject","url":"https://crop169.io?resize=1200","caption":"Some Caption"},"thumbnailUrl":"https://crop169.io","dateModified":"2015-03-13T18:54:58.000Z","author":{"@type":"Person","name":"Some byline"},"articleSection":"Some Section","keywords":"Section:Some Section","articleId":"198c4b2f-ecec-4f34-be53-c89f83bc1b44","url":"https://url.io"}
+ {"@context":"https://schema.org","@type":"NewsArticle","headline":"Some Short Headline","publisher":{"@type":"Organization","name":"The Times","logo":{"@type":"ImageObject"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://url.io"},"dateCreated":"2015-03-13T18:54:58.000Z","datePublished":"2015-03-13T18:54:58.000Z","isAccessibleForFree":false,"hasPart":{"@type":"WebPageElement","isAccessibleForFree":false,"cssSelector":".undefined"},"image":{"@type":"ImageObject","url":"https://crop169.io?resize=1200","caption":"Some Caption"},"thumbnailUrl":"https://crop169.io","dateModified":"2015-03-13T18:54:58.000Z","author":{"@type":"Person","name":"Some byline"},"articleSection":"Some Section","keywords":"Section:Some Section","url":"https://url.io"}
@@ -324,7 +324,7 @@ exports[`4. an article with ads with .co.uk 1`] = `
@@ -582,7 +582,7 @@ exports[`5. an article with ads with .com 1`] = `