From b5be6f457b06cccf372ae97eb6fa1b92cae2626d Mon Sep 17 00:00:00 2001 From: Gautier Darchen Date: Tue, 25 Jun 2024 09:18:48 +0200 Subject: [PATCH] chore(renovate): configure renovate --- README.md | 4 +-- commitlint.config.mjs | 4 ++- renovate.json | 29 +++++++++++++++++++ src/app/layout.tsx | 1 + src/components/home/1-my-name/MyName.tsx | 2 +- src/components/home/2-about-me/AboutMe.tsx | 4 +-- .../WorkExperienceDetails.tsx | 5 ++-- .../home/4-projects/ProjectsList.tsx | 4 +-- .../home/4-projects/components/Project.tsx | 4 +-- 9 files changed, 44 insertions(+), 13 deletions(-) create mode 100644 renovate.json diff --git a/README.md b/README.md index 0314f6c..b645fc5 100755 --- a/README.md +++ b/README.md @@ -8,10 +8,10 @@ Source of my website gautier-darchen.vercel.app built with Next and hosted with Vercel

- -
+ + [![pnpm version](https://img.shields.io/badge/v9.4.0-F69220.svg?logo=pnpm&logoColor=white&label=pnpm)](https://pnpm.io/) diff --git a/commitlint.config.mjs b/commitlint.config.mjs index 09d621a..427b951 100644 --- a/commitlint.config.mjs +++ b/commitlint.config.mjs @@ -1,4 +1,4 @@ -export default { +const commitlint = { extends: ['@commitlint/config-conventional'], rules: { 'header-max-length': [0, 'always', 'Infinity'], @@ -26,3 +26,5 @@ export default { ], }, } + +export default commitlint \ No newline at end of file diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..94dd310 --- /dev/null +++ b/renovate.json @@ -0,0 +1,29 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:base", + "group:nodeJs", + "group:definitelyTyped", + "group:typescript-eslintMonorepo", + ":timezone(Europe/Paris)", + ":disableRateLimiting" + ], + "timezone": "Europe/Paris", + "labels": ["dependencies"], + "packageRules": [ + { + "stabilityDays": 3, + "matchDatasources": ["npm"], + "automerge": true, + "matchUpdateTypes": ["minor", "patch", "pin", "digest", "lockFileMaintenance"] + }, + { + "matchDatasources": ["orb"], + "automerge": true + } + ], + "prCreation": "not-pending", + "schedule": ["before 8am on Monday"], + "commitMessagePrefix": "upgrade(deps):", + "commitMessageAction": "update" +} \ No newline at end of file diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 1d13f38..4b5061c 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -20,6 +20,7 @@ export const metadata: Metadata = { applicationName: "Gautier Darchen's portfolio", authors: [{ name: 'Gautier Darchen', url: WEBSITE_URL }], robots: 'index, follow', + metadataBase: new URL(WEBSITE_URL), twitter: { card: 'summary_large_image', site: '@gdarchen', diff --git a/src/components/home/1-my-name/MyName.tsx b/src/components/home/1-my-name/MyName.tsx index 37882cf..afd710e 100644 --- a/src/components/home/1-my-name/MyName.tsx +++ b/src/components/home/1-my-name/MyName.tsx @@ -64,7 +64,7 @@ const MyName: FC = () => { > diff --git a/src/components/home/2-about-me/AboutMe.tsx b/src/components/home/2-about-me/AboutMe.tsx index bdd57bd..630c438 100644 --- a/src/components/home/2-about-me/AboutMe.tsx +++ b/src/components/home/2-about-me/AboutMe.tsx @@ -114,7 +114,7 @@ const AboutMe: FC = () => { key={tech} className="flex flex-row items-center space-x-2" > - + {tech} @@ -132,7 +132,7 @@ const AboutMe: FC = () => { key={tech} className="flex flex-row items-center space-x-2" > - + {tech} diff --git a/src/components/home/3-work-experience/WorkExperienceDetails.tsx b/src/components/home/3-work-experience/WorkExperienceDetails.tsx index afe7226..e54b8c1 100644 --- a/src/components/home/3-work-experience/WorkExperienceDetails.tsx +++ b/src/components/home/3-work-experience/WorkExperienceDetails.tsx @@ -42,7 +42,6 @@ const WorkExperienceDetails: FC = ({ experience }) => { {experience.link && ( window.open(experience.link, '_blank')} > {experience.link.split('://')[1]} @@ -50,9 +49,9 @@ const WorkExperienceDetails: FC = ({ experience }) => { )}
-
+
{/* Description */} - + {experience.description}
diff --git a/src/components/home/4-projects/ProjectsList.tsx b/src/components/home/4-projects/ProjectsList.tsx index b238b6b..cb6cea8 100644 --- a/src/components/home/4-projects/ProjectsList.tsx +++ b/src/components/home/4-projects/ProjectsList.tsx @@ -131,7 +131,7 @@ const projects: Project[] = [
), - technologies: ['React-Native', 'Javascript', 'Dialogflow', 'Node.js'], + technologies: ['React-Native', 'JavaScript', 'Dialogflow', 'Node.js'], images: [chronos1.src, chronos2.src, chronos3.src, chronos4.src], github: 'https://github.com/alexandre-lelain/ihme-agent-assistant', }, @@ -306,7 +306,7 @@ const projects: Project[] = [ description: (
In language C and using the V-Model, set up a version of the{' '} - Othello + Othello{' '} game with an artificial intelligence (AI) with the Min-Max algorithm.
), diff --git a/src/components/home/4-projects/components/Project.tsx b/src/components/home/4-projects/components/Project.tsx index 4708d45..6fab2eb 100644 --- a/src/components/home/4-projects/components/Project.tsx +++ b/src/components/home/4-projects/components/Project.tsx @@ -36,7 +36,7 @@ const iconLink = tv({ }) const button = tv({ - base: 'inline-flex items-center gap-2 rounded-md bg-primary-500 px-3 py-1 text-sm font-semibold text-white shadow-inner shadow-white/10 focus:outline-none data-[hover]:bg-gray-600 data-[open]:bg-gray-700 data-[focus]:outline-1 data-[focus]:outline-white', + base: 'inline-flex items-center gap-2 rounded-md bg-primary-500 px-3 py-1 text-sm font-semibold text-white shadow-inner shadow-white/10 data-[hover]:bg-gray-600 data-[open]:bg-gray-700 data-[focus]:outline-1 data-[focus]:outline-white focus:outline-none', }) type ProjectGalleryModalProps = { @@ -232,7 +232,7 @@ const Project: FC = ({ project, index }) => {
- + {project.description}