Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ft/upgrade next to 15 #1001

Open
wants to merge 24 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
5f145b1
Upgrade Next JS
koechkevin Nov 11, 2024
deded81
Update ESLINT
koechkevin Nov 13, 2024
f9a4d16
Upgrade ESlint
koechkevin Nov 14, 2024
48e7f42
fix: Update eslint config to treat unused vars as errors and ignore u…
koechkevin Nov 15, 2024
786c674
Merge branch 'main' into ft/upgrade_next_to_15
koechkevin Nov 26, 2024
fc768f5
Fix eslint
koechkevin Nov 26, 2024
993cdc0
Update package-lock
koechkevin Nov 26, 2024
7296b99
Fixed relative imports
koechkevin Nov 27, 2024
96ce1ee
Undo edited chunks
koechkevin Nov 27, 2024
0373e1b
Retained exhaustive dependancies react hook waring
koechkevin Nov 27, 2024
4d81d4f
Reverted run_time_configs
koechkevin Nov 27, 2024
fef32c5
FIxed root config
koechkevin Nov 27, 2024
65ca9c4
chore: Update testing-library config to use flat/react and disable re…
koechkevin Nov 27, 2024
21a2185
chore: Update eslint config and fix relative imports
koechkevin Dec 2, 2024
b0ef845
chore: Update eslint config and fix relative imports
koechkevin Dec 3, 2024
f545563
chore: Update eslint config and dependencies for @eslint/eslintrc and…
koechkevin Dec 3, 2024
163097c
chore: Remove unused ESLint configuration and add eslint-plugin-react…
Dec 4, 2024
5d0f073
chore: Disable react-hooks/exhaustive-deps rule in ESLint configuration
Dec 4, 2024
eb417e0
chore: Update lint command to use next lint for fixing issues
Dec 4, 2024
c94b98f
chore: Remove obsolete ESLint configuration files across multiple app…
Dec 5, 2024
d9bbe3f
Merge branch 'main' into ft/upgrade_next_to_15
Dec 6, 2024
79be8ce
chore: Remove obsolete ESLint configuration files and update eslint c…
koechkevin Dec 9, 2024
897d7c8
use pnpm eslint
koechkevin Dec 13, 2024
9ae1a66
chore: update linting commands and streamline ESLint configuration ac…
Dec 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Reverted run_time_configs
koechkevin committed Nov 27, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 4d81d4f7a6939ae811ab3e31e4c5eaa2c20c4d4c
10 changes: 5 additions & 5 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];
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";
s.src = './static/js/bundle.js';
n.parentNode.insertBefore(s, n);

Unchanged files with check annotations Beta

setView(newView.view);
} catch (error) {
console.error("Error rendering chart", error);

Check warning on line 111 in apps/climatemappedafrica/src/components/HURUmap/Chart/index.js

GitHub Actions / Build and Test (20.16, ubuntu-latest)

Unexpected console statement
}
}
}
const viewProp = new vega.View(vega.parse(cSpec), { renderer: "none" });
setDownloadView(viewProp);
} catch (error) {
console.error("Error creating view", error);

Check warning on line 130 in apps/climatemappedafrica/src/components/HURUmap/Chart/index.js

GitHub Actions / Build and Test (20.16, ubuntu-latest)

Unexpected console statement
}
}, [cSpec]);
href={document.dataSourceUrl}
className={classes.document}
>
<img

Check warning on line 33 in apps/promisetracker/src/components/DataSource/index.js

GitHub Actions / Build and Test (20.16, ubuntu-latest)

Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
className={classes.image}
alt=""
src={replaceAll(document.resources.page.image, {
setView(newView.view);
} catch (error) {
console.error(error);

Check warning on line 107 in apps/pesayetu/src/components/HURUmap/Chart/index.js

GitHub Actions / Build and Test (20.16, ubuntu-latest)

Unexpected console statement
}
}
}
const viewProp = new vega.View(vega.parse(cSpec), { renderer: "none" });
setDownloadView(viewProp);
} catch (error) {
console.error("Error creating view", error);

Check warning on line 126 in apps/pesayetu/src/components/HURUmap/Chart/index.js

GitHub Actions / Build and Test (20.16, ubuntu-latest)

Unexpected console statement
}
}, [cSpec]);
}
const responseJson = await main();
console.log(responseJson);

Check warning on line 24 in apps/charterafrica/scripts/ecosystem.mjs

GitHub Actions / Build and Test (20.16, ubuntu-latest)

Unexpected console statement