Skip to content

Commit

Permalink
Bump @guardian/* packages (#10141)
Browse files Browse the repository at this point in the history
* chore(deps): bump @guardian packages

Bump TypeScript to v5.3
and address many of the peer dependencies mismatches

* fix(AB): pass mock test and reporter
  • Loading branch information
mxdvl authored Jan 12, 2024
1 parent 4585a64 commit b022f9f
Show file tree
Hide file tree
Showing 4 changed files with 513 additions and 1,061 deletions.
17 changes: 9 additions & 8 deletions apps-rendering/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,15 @@
"@guardian/cdk": "50.13.0",
"@guardian/content-api-models": "17.8.0",
"@guardian/content-atom-model": "3.4.4",
"@guardian/eslint-config-typescript": "7.0.0",
"@guardian/eslint-plugin-source-react-components": "18.0.0",
"@guardian/libs": "15.7.1",
"@guardian/eslint-config": "7.0.1",
"@guardian/eslint-config-typescript": "9.0.1",
"@guardian/eslint-plugin-source-react-components": "21.0.1",
"@guardian/libs": "16.0.0",
"@guardian/node-riffraff-artifact": "0.3.2",
"@guardian/renditions": "0.2.0",
"@guardian/source-foundations": "13.2.0",
"@guardian/source-react-components": "16.0.1",
"@guardian/source-react-components-development-kitchen": "14.0.2",
"@guardian/source-foundations": "14.1.2",
"@guardian/source-react-components": "18.0.0",
"@guardian/source-react-components-development-kitchen": "16.0.0",
"@smithy/property-provider": "2.0.16",
"@storybook/addon-essentials": "7.6.6",
"@storybook/addons": "7.6.6",
Expand Down Expand Up @@ -85,7 +86,7 @@
"compression": "1.7.4",
"constructs": "10.3.0",
"core-js": "3.33.3",
"eslint": "8.54.0",
"eslint": "8.56.0",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-react": "7.33.2",
"express": "4.18.2",
Expand All @@ -106,7 +107,7 @@
"ts-loader": "9.4.3",
"tslib": "2.6.2",
"tsx": "4.6.2",
"typescript": "5.1.3",
"typescript": "5.3.3",
"webpack": "5.89.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "4.15.1",
Expand Down
26 changes: 13 additions & 13 deletions dotcom-rendering/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,24 +49,24 @@
"@emotion/cache": "11.11.0",
"@emotion/react": "11.11.1",
"@emotion/server": "11.11.0",
"@guardian/ab-core": "5.0.0",
"@guardian/ab-core": "7.0.1",
"@guardian/braze-components": "16.3.0",
"@guardian/bridget": "2.6.0",
"@guardian/browserslist-config": "5.0.0",
"@guardian/cdk": "50.13.0",
"@guardian/commercial": "11.25.0",
"@guardian/commercial": "11.32.1",
"@guardian/consent-management-platform": "13.7.1",
"@guardian/core-web-vitals": "5.1.0",
"@guardian/eslint-config": "4.1.0",
"@guardian/eslint-config-typescript": "6.0.1",
"@guardian/eslint-plugin-source-react-components": "18.0.0",
"@guardian/core-web-vitals": "6.0.0",
"@guardian/eslint-config": "7.0.1",
"@guardian/eslint-config-typescript": "9.0.1",
"@guardian/eslint-plugin-source-react-components": "21.0.1",
"@guardian/identity-auth": "1.1.0",
"@guardian/identity-auth-frontend": "1.0.0",
"@guardian/libs": "15.7.1",
"@guardian/libs": "16.0.0",
"@guardian/shimport": "1.0.2",
"@guardian/source-foundations": "13.2.0",
"@guardian/source-react-components": "16.0.1",
"@guardian/source-react-components-development-kitchen": "15.0.0",
"@guardian/source-foundations": "14.1.2",
"@guardian/source-react-components": "18.0.0",
"@guardian/source-react-components-development-kitchen": "16.0.0",
"@guardian/support-dotcom-components": "1.1.1",
"@guardian/tsconfig": "0.2.0",
"@playwright/test": "1.40.1",
Expand Down Expand Up @@ -156,7 +156,7 @@
"cypress-wait-until": "2.0.1",
"dompurify": "3.0.3",
"dynamic-import-polyfill": "0.1.1",
"eslint": "8.44.0",
"eslint": "8.56.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "17.0.0",
"eslint-config-prettier": "8.6.0",
Expand Down Expand Up @@ -235,10 +235,10 @@
"tslib": "2.6.2",
"tsx": "4.6.2",
"type-fest": "4.6.0",
"typescript": "5.1.3",
"typescript": "5.3.3",
"typescript-json-schema": "0.58.1",
"unified": "10.1.2",
"web-vitals": "3.1.1",
"web-vitals": "3.5.1",
"webpack": "5.89.0",
"webpack-assets-manifest": "5.1.0",
"webpack-bundle-analyzer": "4.10.1",
Expand Down
2 changes: 2 additions & 0 deletions dotcom-rendering/src/components/SetABTests.importable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ export const SetABTests = ({
arrayOfTestObjects: tests,
forcedTestVariants: allForcedTestVariants,
ophanRecord: ophan.record,
serverSideTests: {},
errorReporter: () => void 0,
});
const allRunnableTests = ab.allRunnableTests(tests);
const participations = runnableTestsToParticipations(allRunnableTests);
Expand Down
Loading

0 comments on commit b022f9f

Please sign in to comment.