diff --git a/apps/charterafrica/contrib/dokku/Dockerfile b/apps/charterafrica/contrib/dokku/Dockerfile index 5d3dc8771..05908b092 100644 --- a/apps/charterafrica/contrib/dokku/Dockerfile +++ b/apps/charterafrica/contrib/dokku/Dockerfile @@ -1 +1 @@ -FROM codeforafrica/charterafrica-ui:0.1.13 +FROM codeforafrica/charterafrica-ui:0.1.14 diff --git a/apps/charterafrica/package.json b/apps/charterafrica/package.json index 91bd233b5..b367341ed 100644 --- a/apps/charterafrica/package.json +++ b/apps/charterafrica/package.json @@ -1,6 +1,6 @@ { "name": "charterafrica", - "version": "0.1.13", + "version": "0.1.14", "private": true, "author": "Code for Africa ", "description": "This is the official code for https://charter.africa site", @@ -36,36 +36,36 @@ "db-rollback": "migrate-mongo down" }, "dependencies": { - "@aws-sdk/client-s3": "^3.417.0", - "@aws-sdk/lib-storage": "^3.417.0", + "@aws-sdk/client-s3": "^3.458.0", + "@aws-sdk/lib-storage": "^3.458.0", "@commons-ui/core": "workspace:*", "@commons-ui/next": "workspace:*", "@emotion/cache": "^11.11.0", - "@emotion/react": "^11.10.8", - "@emotion/server": "^11.10.0", + "@emotion/react": "^11.11.1", + "@emotion/server": "^11.11.0", "@emotion/styled": "^11.11.0", - "@mui/material": "^5.14.0", - "@mui/utils": "^5.12.3", - "@next/env": "^13.5.2", + "@mui/material": "^5.14.18", + "@mui/utils": "^5.14.18", + "@next/env": "^14.0.3", "@nivo/core": "^0.80.0", "@nivo/pie": "^0.80.0", "@nivo/tooltip": "^0.80.0", "@nivo/waffle": "^0.80.0", - "@payloadcms/plugin-cloud-storage": "^1.0.16", - "@payloadcms/plugin-nested-docs": "^1.0.6", - "@payloadcms/plugin-seo": "^1.0.13", - "@sentry/nextjs": "^7.77.0", - "airtable": "^0.12.1", - "dotenv": "^16.0.3", + "@payloadcms/plugin-cloud-storage": "^1.1.1", + "@payloadcms/plugin-nested-docs": "^1.0.9", + "@payloadcms/plugin-seo": "^1.0.15", + "@sentry/nextjs": "^7.81.1", + "airtable": "^0.12.2", + "dotenv": "^16.3.1", "express": "^4.18.2", - "leaflet": "^1.9.3", + "leaflet": "^1.9.4", "migrate-mongo": "^10.0.0", "monaco-editor": "^0.38.0", "nanoid": "^4.0.2", - "next": "^13.5.2", + "next": "^14.0.3", "next-seo": "^5.15.0", "nodemailer-sendgrid": "^1.0.3", - "payload": "^1.11.8", + "payload": "^1.15.8", "prop-types": "^15.8.1", "qs": "^6.11.2", "react": "^18.2.0", @@ -77,36 +77,36 @@ "sharp": "^0.32.6", "slate": "^0.94.1", "swr": "^1.3.0", - "video.js": "^8.3.0", + "video.js": "^8.6.1", "videojs-youtube": "^3.0.1" }, "devDependencies": { - "@babel/core": "^7.22.9", - "@babel/preset-react": "^7.22.5", - "@babel/register": "^7.21.0", - "@babel/runtime": "^7.21.5", + "@babel/core": "^7.23.3", + "@babel/preset-react": "^7.23.3", + "@babel/register": "^7.22.15", + "@babel/runtime": "^7.23.4", "@commons-ui/testing-library": "workspace:*", - "@playwright/test": "^1.33.0", + "@playwright/test": "^1.40.0", "@svgr/webpack": "^6.5.1", - "@swc/core": "^1.3.56", - "@types/express": "^4.17.17", - "@types/node": "^18.11.9", - "@types/react": "^18.2.15", - "babel-jest": "^29.5.0", - "eslint": "^8.39.0", + "@swc/core": "^1.3.99", + "@types/express": "^4.17.21", + "@types/node": "^18.18.13", + "@types/react": "^18.2.38", + "babel-jest": "^29.7.0", + "eslint": "^8.54.0", "eslint-config-commons-ui": "workspace:*", - "eslint-import-resolver-webpack": "^0.13.2", - "eslint-plugin-import": "^2.27.5", + "eslint-import-resolver-webpack": "^0.13.8", + "eslint-plugin-import": "^2.29.0", "identity-obj-proxy": "^3.0.0", - "jest": "^29.5.0", + "jest": "^29.7.0", "jest-config-commons-ui": "workspace:*", "nodemon": "^2.0.22", "playwright-config-commons-ui": "workspace:*", - "prettier": "^3.0.0", + "prettier": "^3.1.0", "react-test-renderer": "^18.2.0", "ts-node": "^10.9.1", "typescript": "^4.9.5", - "webpack": "^5.82.0" + "webpack": "^5.89.0" }, "engines": { "node": "18.x" diff --git a/apps/charterafrica/src/components/Articles/Articles.snap.js b/apps/charterafrica/src/components/Articles/Articles.snap.js index 0a95ef800..7df6bc079 100644 --- a/apps/charterafrica/src/components/Articles/Articles.snap.js +++ b/apps/charterafrica/src/components/Articles/Articles.snap.js @@ -67,11 +67,12 @@ exports[` renders unchanged 1`] = ` class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary css-a46zki-MuiInputBase-root-MuiOutlinedInput-root-MuiSelect-root" > renders unchanged 1`] = ` class="MuiTypography-root MuiTypography-p1 css-l6prdf-MuiTypography-root" > Created January 1, 2021 @@ -37,7 +37,7 @@ exports[` renders unchanged 1`] = ` class="MuiGrid-root MuiGrid-container MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-md-4 css-1phk7xb-MuiGrid-root" >
renders unchanged 1`] = `
renders unchanged 1`] = ` Open Dataset
renders unchanged 1`] = ` Share Via
diff --git a/apps/charterafrica/src/components/Datasets/Datasets.snap.js b/apps/charterafrica/src/components/Datasets/Datasets.snap.js index 474e83359..a565149de 100644 --- a/apps/charterafrica/src/components/Datasets/Datasets.snap.js +++ b/apps/charterafrica/src/components/Datasets/Datasets.snap.js @@ -317,7 +317,7 @@ exports[` renders unchanged 1`] = ` Datasets diff --git a/apps/charterafrica/src/components/DesktopNavBar/DesktopNavBar.snap.js b/apps/charterafrica/src/components/DesktopNavBar/DesktopNavBar.snap.js index 9aa320f17..bb885f5d4 100644 --- a/apps/charterafrica/src/components/DesktopNavBar/DesktopNavBar.snap.js +++ b/apps/charterafrica/src/components/DesktopNavBar/DesktopNavBar.snap.js @@ -9,7 +9,7 @@ exports[` renders unchanged 1`] = ` class="MuiGrid-root MuiGrid-item css-13i4rnv-MuiGrid-root" > diff --git a/apps/charterafrica/src/components/Document/Document.snap.js b/apps/charterafrica/src/components/Document/Document.snap.js index 4b72b1eb3..4d3b482c9 100644 --- a/apps/charterafrica/src/components/Document/Document.snap.js +++ b/apps/charterafrica/src/components/Document/Document.snap.js @@ -41,7 +41,7 @@ exports[` renders unchanged 1`] = ` class="MuiGrid-root MuiGrid-container MuiGrid-item MuiGrid-direction-xs-[object Object] MuiGrid-grid-xs-12 MuiGrid-grid-md-4 css-19fdzmu-MuiGrid-root" > @@ -56,7 +56,7 @@ exports[` renders unchanged 1`] = ` class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 css-mqmitf-MuiGrid-root" >
renders unchanged 1`] = ` Share this document
diff --git a/apps/charterafrica/src/components/FeaturedPostCard/FeaturedPostCard.snap.js b/apps/charterafrica/src/components/FeaturedPostCard/FeaturedPostCard.snap.js index 1a67affee..20adbda31 100644 --- a/apps/charterafrica/src/components/FeaturedPostCard/FeaturedPostCard.snap.js +++ b/apps/charterafrica/src/components/FeaturedPostCard/FeaturedPostCard.snap.js @@ -20,7 +20,7 @@ exports[`FeaturedPostCard should render 1`] = ` class="MuiCardContent-root css-cnb62q-MuiCardContent-root" >
- + {tags?.length > 0 ? ( - ))} - + ) : null} diff --git a/apps/charterafrica/src/components/Grantees/Grantees.snap.js b/apps/charterafrica/src/components/Grantees/Grantees.snap.js index 90bfb3809..a7415b83f 100644 --- a/apps/charterafrica/src/components/Grantees/Grantees.snap.js +++ b/apps/charterafrica/src/components/Grantees/Grantees.snap.js @@ -30,7 +30,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -82,7 +82,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -134,7 +134,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -186,7 +186,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -238,7 +238,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -290,7 +290,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -342,7 +342,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -394,7 +394,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -446,7 +446,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -498,7 +498,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -550,7 +550,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -602,7 +602,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -654,7 +654,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -706,7 +706,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -758,7 +758,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -810,7 +810,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -862,7 +862,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -914,7 +914,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -966,7 +966,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -1018,7 +1018,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -1070,7 +1070,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -1122,7 +1122,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -1174,7 +1174,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -1226,7 +1226,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -1278,7 +1278,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -1330,7 +1330,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -1382,7 +1382,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -1434,7 +1434,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -1486,7 +1486,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -1538,7 +1538,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
diff --git a/apps/charterafrica/src/components/NavBar/NavBar.snap.js b/apps/charterafrica/src/components/NavBar/NavBar.snap.js index 6ef7490a3..5384036c4 100644 --- a/apps/charterafrica/src/components/NavBar/NavBar.snap.js +++ b/apps/charterafrica/src/components/NavBar/NavBar.snap.js @@ -18,7 +18,7 @@ exports[` renders unchanged 1`] = ` class="MuiGrid-root MuiGrid-item css-13i4rnv-MuiGrid-root" > @@ -57,7 +57,7 @@ exports[` renders unchanged 1`] = ` class="MuiGrid-root MuiGrid-item css-13i4rnv-MuiGrid-root" > diff --git a/apps/charterafrica/src/components/Opportunity/Opportunity.snap.js b/apps/charterafrica/src/components/Opportunity/Opportunity.snap.js index ac5b4229a..f966b2ced 100644 --- a/apps/charterafrica/src/components/Opportunity/Opportunity.snap.js +++ b/apps/charterafrica/src/components/Opportunity/Opportunity.snap.js @@ -63,7 +63,7 @@ exports[` renders unchanged 1`] = ` class="MuiGrid-root MuiGrid-item css-13i4rnv-MuiGrid-root" > diff --git a/apps/charterafrica/src/components/OpportunityCard/OpportunityCard.snap.js b/apps/charterafrica/src/components/OpportunityCard/OpportunityCard.snap.js index 0392c57b7..015766958 100644 --- a/apps/charterafrica/src/components/OpportunityCard/OpportunityCard.snap.js +++ b/apps/charterafrica/src/components/OpportunityCard/OpportunityCard.snap.js @@ -6,7 +6,7 @@ exports[` renders unchanged 1`] = ` class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiCard-root css-s80wf8-MuiPaper-root-MuiCard-root" > diff --git a/apps/charterafrica/src/components/RichText/RichText.snap.js b/apps/charterafrica/src/components/RichText/RichText.snap.js index 5fa0ce56c..66b366f35 100644 --- a/apps/charterafrica/src/components/RichText/RichText.snap.js +++ b/apps/charterafrica/src/components/RichText/RichText.snap.js @@ -20,7 +20,7 @@ exports[` renders unchanged 1`] = ` > The project currently supports initiatives in 11 countries. Find out more here diff --git a/apps/charterafrica/src/components/ShareThisPage/ShareThisPage.snap.js b/apps/charterafrica/src/components/ShareThisPage/ShareThisPage.snap.js index 3f4172087..89c9aec8e 100644 --- a/apps/charterafrica/src/components/ShareThisPage/ShareThisPage.snap.js +++ b/apps/charterafrica/src/components/ShareThisPage/ShareThisPage.snap.js @@ -3,7 +3,7 @@ exports[` renders unchanged 1`] = `