Skip to content

Commit

Permalink
chore: Merge branch 'main' into fix/civicsignalblog-fix-text-editor
Browse files Browse the repository at this point in the history
  • Loading branch information
m453h committed Jan 16, 2025
2 parents f71b06b + 6cce436 commit 24b5710
Show file tree
Hide file tree
Showing 393 changed files with 1,664 additions and 1,962 deletions.
9 changes: 0 additions & 9 deletions .eslintrc.js

This file was deleted.

39 changes: 0 additions & 39 deletions apps/charterafrica/.eslintignore

This file was deleted.

11 changes: 0 additions & 11 deletions apps/charterafrica/.eslintrc.js

This file was deleted.

3 changes: 2 additions & 1 deletion apps/charterafrica/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"dev": "NODE_OPTIONS='--inspect' TS_NODE_PROJECT=tsconfig.server.json tsx server.ts",
"start": "PAYLOAD_CONFIG_PATH=${PAYLOAD_CONFIG_PATH:-dist/payload.config.js} NODE_ENV=${NODE_ENV:-production} node dist/server.js",
"lint-check": "TIMING=1 eslint './'",
"lint": "TIMING=1 eslint --fix './'",
"lint": "TIMING=1 eslint --flag unstable_config_lookup_from_file --fix './'",
"jest": "jest",
"playwright": "npx playwright test",
"clean": "rm -rf .next .turbo build dist node_modules",
Expand Down Expand Up @@ -62,6 +62,7 @@
"@sentry/nextjs": "catalog:",
"airtable": "catalog:",
"dotenv": "catalog:",
"eslint-plugin-react-hooks": "catalog:",
"express": "catalog:",
"leaflet": "catalog:",
"migrate-mongo": "catalog:",
Expand Down
1 change: 0 additions & 1 deletion apps/charterafrica/playwright.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable import/no-extraneous-dependencies */
const defaultConfig = require("playwright-config-commons-ui");

const { use, webServer } = defaultConfig;
Expand Down
14 changes: 7 additions & 7 deletions apps/charterafrica/public/infographic/run_time_config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
window.data_file = './data/data.json';
window.data_country_file = './data/countries.json';
const s = document.createElement('script');
const n = document.getElementsByTagName('script')[0];
s.async = 1;
s.src = './static/js/bundle.js';
n.parentNode.insertBefore(s, n);
window.data_file = './data/data.json';
window.data_country_file = './data/countries.json';
const s = document.createElement('script');
const n = document.getElementsByTagName('script')[0];
s.async = 1;
s.src = './static/js/bundle.js';
n.parentNode.insertBefore(s, n);
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Accordion from "./Accordion";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Articles from "./Articles";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import BackgroundBox from "./BackgroundBox";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import ComboBox from "./ComboBox";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Comments from "./Comments";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import CommunityPlatforms from "./CommunityPlatforms";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Consultations from "./Consultations";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import ContributorCard from "./ContributorCard";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
1 change: 0 additions & 1 deletion apps/charterafrica/src/components/Dataset/Dataset.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Dataset from "./Dataset";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import DatasetCard from "./DatasetCard";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import DatasetFilterBar from "./DatasetFilterBar";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Datasets from "./Datasets";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import DesktopNavBar from "./DesktopNavBar";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Document from "./Document";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import DocumentCard from "./DocumentCard";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import DocumentFilterBar from "./DocumentFilterBar";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Documents from "./Documents";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import DropdownMenu from "./DropdownMenu";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Ecosystem from "./Ecosystem";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
1 change: 0 additions & 1 deletion apps/charterafrica/src/components/Entity/Entity.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Entity from "./Entity";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
1 change: 0 additions & 1 deletion apps/charterafrica/src/components/Error/Error.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Error from "./Error";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import ErrorPage from "./ErrorPage";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Explainer from "./Explainer";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Explainers from "./Explainers";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
1 change: 0 additions & 1 deletion apps/charterafrica/src/components/FAQ/FAQ.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import FAQ from "./FAQ";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import FeaturedPostCard from "./FeaturedPostCard";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import FeaturedVideos from "./FeaturedVideos";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import FeaturedVideoCard from "./FeaturedVideoCard";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import FlourishChart from "./FlourishChart";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import FocalCountries from "./FocalCountries";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
1 change: 0 additions & 1 deletion apps/charterafrica/src/components/Footer/Footer.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Footer from "./Footer";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Grantees from "./Grantees";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import GuidingPrinciples from "./GuidingPrinciples";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Helpdesk from "./Helpdesk";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import HelpdeskPageContent from "./HelpdeskPageContent";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
1 change: 0 additions & 1 deletion apps/charterafrica/src/components/Hero/Hero.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Hero from "./Hero";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Impressum from "./Impressum";

import theme from "@/charterafrica/theme";

// eslint-disable-next-line testing-library/render-result-naming-convention
const render = createRender({ theme });

const defaultProps = {
Expand Down
Loading

0 comments on commit 24b5710

Please sign in to comment.