From fd10fce21e4ebfa8800c5c9bd11425cad0b6c272 Mon Sep 17 00:00:00 2001 From: Akinsola Lawanson <106528085+akinsola-guardian@users.noreply.github.com> Date: Thu, 6 Mar 2025 13:58:51 +0000 Subject: [PATCH] Bump @guardian/libs to 22.0.0 (#3093) * Bump @guardian/libs to 22.0.0 * Reorder test * Revert "Reorder test" This reverts commit 31d3b5d37d71eba8dcf2a02ede6683eac73a6f7c. * Set Gu COokie to FR * Set useNonAdvertisedList * Remove setCookie to FR * Add FR as COuntry --- package.json | 2 +- pnpm-lock.yaml | 16 ++++++++-------- src/client/static/index.tsx | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index ae4f71d69..8ab20230a 100644 --- a/package.json +++ b/package.json @@ -123,7 +123,7 @@ "@emotion/react": "^11.14.0", "@faire/mjml-react": "^3.5.0", "@guardian/ab-core": "8.0.1", - "@guardian/libs": "^21.4.0", + "@guardian/libs": "^22.0.0", "@guardian/source": "^8.0.2", "@guardian/source-development-kitchen": "^15.0.1", "@okta/jwt-verifier": "^4.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fa49b1109..c4671a50f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -27,14 +27,14 @@ importers: specifier: 8.0.1 version: 8.0.1(tslib@2.8.1)(typescript@5.8.2) '@guardian/libs': - specifier: ^21.4.0 - version: 21.4.0(tslib@2.8.1)(typescript@5.8.2) + specifier: ^22.0.0 + version: 22.0.0(tslib@2.8.1)(typescript@5.8.2) '@guardian/source': specifier: ^8.0.2 version: 8.0.2(@emotion/react@11.14.0(@preact/compat@18.3.1(preact@10.26.4))(@types/react@19.0.10))(@preact/compat@18.3.1(preact@10.26.4))(@types/react@19.0.10)(tslib@2.8.1)(typescript@5.8.2) '@guardian/source-development-kitchen': specifier: ^15.0.1 - version: 15.0.1(@emotion/react@11.14.0(@preact/compat@18.3.1(preact@10.26.4))(@types/react@19.0.10))(@guardian/libs@21.4.0(tslib@2.8.1)(typescript@5.8.2))(@guardian/source@8.0.2(@emotion/react@11.14.0(@preact/compat@18.3.1(preact@10.26.4))(@types/react@19.0.10))(@preact/compat@18.3.1(preact@10.26.4))(@types/react@19.0.10)(tslib@2.8.1)(typescript@5.8.2))(@preact/compat@18.3.1(preact@10.26.4))(@types/react@19.0.10)(tslib@2.8.1)(typescript@5.8.2) + version: 15.0.1(@emotion/react@11.14.0(@preact/compat@18.3.1(preact@10.26.4))(@types/react@19.0.10))(@guardian/libs@22.0.0(tslib@2.8.1)(typescript@5.8.2))(@guardian/source@8.0.2(@emotion/react@11.14.0(@preact/compat@18.3.1(preact@10.26.4))(@types/react@19.0.10))(@preact/compat@18.3.1(preact@10.26.4))(@types/react@19.0.10)(tslib@2.8.1)(typescript@5.8.2))(@preact/compat@18.3.1(preact@10.26.4))(@types/react@19.0.10)(tslib@2.8.1)(typescript@5.8.2) '@okta/jwt-verifier': specifier: ^4.0.1 version: 4.0.1 @@ -1499,8 +1499,8 @@ packages: peerDependencies: eslint: ^9.19.0 - '@guardian/libs@21.4.0': - resolution: {integrity: sha512-5EdlqalVRR+o+gRobHRbCQ+dWCY3as3nQlLGg1Fqu2cUSgCOVtMikPkQ/22JSobAOtPX1Sc+pCWunsQfWqbHmA==} + '@guardian/libs@22.0.0': + resolution: {integrity: sha512-qAQ8hQcRaL0H3h5vR6QXv6wtHu+XCfK6jM28QNz0d94EyHfiS01i4AMv8JlX1a3efehfoh00WVg/LzjsGRoJJw==} peerDependencies: tslib: ^2.6.2 typescript: ~5.5.2 @@ -9040,7 +9040,7 @@ snapshots: - supports-color - typescript - '@guardian/libs@21.4.0(tslib@2.8.1)(typescript@5.8.2)': + '@guardian/libs@22.0.0(tslib@2.8.1)(typescript@5.8.2)': dependencies: tslib: 2.8.1 optionalDependencies: @@ -9051,9 +9051,9 @@ snapshots: prettier: 3.5.3 tslib: 2.8.1 - '@guardian/source-development-kitchen@15.0.1(@emotion/react@11.14.0(@preact/compat@18.3.1(preact@10.26.4))(@types/react@19.0.10))(@guardian/libs@21.4.0(tslib@2.8.1)(typescript@5.8.2))(@guardian/source@8.0.2(@emotion/react@11.14.0(@preact/compat@18.3.1(preact@10.26.4))(@types/react@19.0.10))(@preact/compat@18.3.1(preact@10.26.4))(@types/react@19.0.10)(tslib@2.8.1)(typescript@5.8.2))(@preact/compat@18.3.1(preact@10.26.4))(@types/react@19.0.10)(tslib@2.8.1)(typescript@5.8.2)': + '@guardian/source-development-kitchen@15.0.1(@emotion/react@11.14.0(@preact/compat@18.3.1(preact@10.26.4))(@types/react@19.0.10))(@guardian/libs@22.0.0(tslib@2.8.1)(typescript@5.8.2))(@guardian/source@8.0.2(@emotion/react@11.14.0(@preact/compat@18.3.1(preact@10.26.4))(@types/react@19.0.10))(@preact/compat@18.3.1(preact@10.26.4))(@types/react@19.0.10)(tslib@2.8.1)(typescript@5.8.2))(@preact/compat@18.3.1(preact@10.26.4))(@types/react@19.0.10)(tslib@2.8.1)(typescript@5.8.2)': dependencies: - '@guardian/libs': 21.4.0(tslib@2.8.1)(typescript@5.8.2) + '@guardian/libs': 22.0.0(tslib@2.8.1)(typescript@5.8.2) '@guardian/source': 8.0.2(@emotion/react@11.14.0(@preact/compat@18.3.1(preact@10.26.4))(@types/react@19.0.10))(@preact/compat@18.3.1(preact@10.26.4))(@types/react@19.0.10)(tslib@2.8.1)(typescript@5.8.2) tslib: 2.8.1 optionalDependencies: diff --git a/src/client/static/index.tsx b/src/client/static/index.tsx index 69f3cb480..fcfef16ee 100644 --- a/src/client/static/index.tsx +++ b/src/client/static/index.tsx @@ -21,7 +21,7 @@ ophanInit(); // load CMP if (!routingConfig.clientState.pageData?.isNativeApp) { if (window.Cypress) { - cmp.init({ country: 'GB' }); // CI hosted on GithubActions runs in US by default + cmp.init({ country: 'FR' }); // CI hosted on GithubActions runs in US by default } else { void (async () => { const country = await getLocale();