Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

fix(deps): update all non-major dependencies (minor) #198

Merged
merged 1 commit into from
Jun 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM ghcr.io/socialgouv/docker/nginx4spa:6.16.0
FROM ghcr.io/socialgouv/docker/nginx4spa:6.17.0

COPY ./public /usr/share/nginx/html
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,23 @@
"@material-ui/styles": "latest",
"@mdx-js/mdx": "^1.6.22",
"@mdx-js/react": "^1.6.22",
"@socialgouv/eslint-config-react": "^1.70.0",
"@socialgouv/eslint-config-react": "^1.75.0",
"axios": "^0.21.0",
"date-fns": "^2.21.3",
"deepmerge": "^4.2.2",
"gatsby": "^3.4.2",
"gatsby-image": "^3.4.0",
"gatsby-image": "^3.6.0",
"gatsby-plugin-material-ui": "^3.0.1",
"gatsby-plugin-matomo": "^0.9.0",
"gatsby-plugin-mdx": "^2.4.0",
"gatsby-plugin-matomo": "^0.10.0",
"gatsby-plugin-mdx": "^2.6.0",
"gatsby-plugin-offline": "latest",
"gatsby-plugin-react-helmet": "latest",
"gatsby-plugin-sharp": "^3.4.2",
"gatsby-plugin-typescript": "latest",
"gatsby-remark-autolink-headers": "^4.1.0",
"gatsby-source-filesystem": "^3.4.0",
"gatsby-transformer-remark": "^4.1.0",
"gatsby-transformer-sharp": "^3.4.0",
"gatsby-remark-autolink-headers": "^4.3.0",
"gatsby-source-filesystem": "^3.6.0",
"gatsby-transformer-remark": "^4.3.0",
"gatsby-transformer-sharp": "^3.6.0",
"lodash": "^4.17.21",
"react": "latest",
"react-dom": "latest",
Expand All @@ -58,18 +58,18 @@
"@types/react-simple-maps": "^1.0.3",
"@typescript-eslint/eslint-plugin": "^4.22.1",
"@typescript-eslint/parser": "^4.22.1",
"eslint": "^7.25.0",
"eslint": "^7.27.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"graphql": "15.5.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"prettier": "^2.3.0",
"source-map-support": "^0.5.19",
"ts-node": "^9.1.1",
"typescript": "^4.2.4"
"typescript": "^4.3.2"
},
"repository": {
"type": "git",
Expand Down
23 changes: 11 additions & 12 deletions src/components/statistics/statistic-mapchart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,17 @@ const findCountryValue = (
countryCode: string
): number | undefined => countries[countryCode.toLowerCase()];

const getCountryColor = (
countries: Record<string, number>,
primary: PaletteColor
) => (geo: any): string => {
const countryCode = geo.properties.ISO_A2.toLowerCase();
const countryValue = findCountryValue(countries, countryCode);
const countryColorGetter = getColorGradient(primary);
const maxValue = Math.max(...Object.values(countries));
return countryValue
? countryColorGetter(countryValue, maxValue)
: DEFAULT_COLOR;
};
const getCountryColor =
(countries: Record<string, number>, primary: PaletteColor) =>
(geo: any): string => {
const countryCode = geo.properties.ISO_A2.toLowerCase();
const countryValue = findCountryValue(countries, countryCode);
const countryColorGetter = getColorGradient(primary);
const maxValue = Math.max(...Object.values(countries));
return countryValue
? countryColorGetter(countryValue, maxValue)
: DEFAULT_COLOR;
};

type StatisticMapChartProps = {
statistic: MapChartStatisticConfig;
Expand Down
12 changes: 4 additions & 8 deletions src/display-data/timeline-data.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ export const timelineElements: TimelineElement[] = [
{
date: "11/2018",
icon: <SyncIcon />,
link:
"https://www.programmevitam.fr/ressources/Newsletter/2019_Newsletter%20Vitam_n10_janvier_2019.pdf",
link: "https://www.programmevitam.fr/ressources/Newsletter/2019_Newsletter%20Vitam_n10_janvier_2019.pdf",
title:
"Première entrée dans Adamant d’un versement traité dans Archifiltre",
},
Expand All @@ -87,8 +86,7 @@ export const timelineElements: TimelineElement[] = [
{
date: "04/2019",
icon: <ForumIcon />,
link:
"https://forum.archivistes.org/wp-content/uploads/sites/13/2019/03/guide-150319-v3.pdf",
link: "https://forum.archivistes.org/wp-content/uploads/sites/13/2019/03/guide-150319-v3.pdf",
title:
"Présentation au forum de l’AAF (Association des archivistes français)",
},
Expand Down Expand Up @@ -132,8 +130,7 @@ export const timelineElements: TimelineElement[] = [
{
date: "04/2020",
icon: <MenuBookIcon />,
link:
"https://www.lemondeinformatique.fr/actualites/lire-vitam-et-archifiltre-entrent-au-sill-referentiel-de-logiciels-libres-de-l-etat-79010.html",
link: "https://www.lemondeinformatique.fr/actualites/lire-vitam-et-archifiltre-entrent-au-sill-referentiel-de-logiciels-libres-de-l-etat-79010.html",
title: (
<span>
Article évoquant Archifiltre dans{" "}
Expand All @@ -144,8 +141,7 @@ export const timelineElements: TimelineElement[] = [
{
date: "06/2020",
icon: <MenuBookIcon />,
link:
"https://blog-ica.org/fr/2020/06/13/presentation-darchifiltre-un-outil-libre/",
link: "https://blog-ica.org/fr/2020/06/13/presentation-darchifiltre-un-outil-libre/",
title: "Présentation d’Archifiltre sur le blog de l'ICA",
},
{
Expand Down
9 changes: 3 additions & 6 deletions src/display-data/tweets-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,19 @@ export const tweetIds = [
export const homepageTweets = [
{
date: "28 avril 2020",
text:
"Je viens de télécharger @ArchiFiltre et j'ai fait analyser des répertoires. Des arborescences et métadonnées sont apparues dans une visualisation claire. Très chouette !",
text: "Je viens de télécharger @ArchiFiltre et j'ai fait analyser des répertoires. Des arborescences et métadonnées sont apparues dans une visualisation claire. Très chouette !",
url: "https://twitter.com/ItStartsWithARC/status/1255205190015254528",
username: "@ItStartsWithARC",
},
{
date: "24 avril 2020",
text:
"Découverte de #ArchiFiltre grâce à un super pote archiviste... Je vois le bout du tunnel et vais enfin me lancer dans le classement des archives électroniques sans peur ! Merci !!!!",
text: "Découverte de #ArchiFiltre grâce à un super pote archiviste... Je vois le bout du tunnel et vais enfin me lancer dans le classement des archives électroniques sans peur ! Merci !!!!",
url: "https://twitter.com/Marumotto93/status/1253683077664182272",
username: "@Marumotto93",
},
{
date: "19 avril 2018",
text:
"Très sympa comme outil @ArchiFiltre. Facile à prendre en main. La visualisation est intéressante. On voit bien la profondeur de l'arborescence et on repère facilement les dossiers les plus volumineux. ",
text: "Très sympa comme outil @ArchiFiltre. Facile à prendre en main. La visualisation est intéressante. On voit bien la profondeur de l'arborescence et on repère facilement les dossiers les plus volumineux. ",
url: "https://twitter.com/brullier7/status/986932580250505216",
username: "@brullier7",
},
Expand Down
Loading