Skip to content

Commit

Permalink
chore(renovate): configure renovate
Browse files Browse the repository at this point in the history
  • Loading branch information
gdarchen committed Jun 25, 2024
1 parent 3a3fdbc commit b5be6f4
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 13 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
Source of my website <a href="https://gautier-darchen.vercel.app/" target="_blank">gautier-darchen.vercel.app</a> built with <a href="https://nextjs.org/" target="_blank">Next</a> and hosted with <a href="https://vercel.com/" target="_blank">Vercel</a>
</p>

<!-- TODO: renovate -->

<div align="center">

<!-- TODO: change picture, skills -->

<!-- TODO: uncomment when public -->
<!-- [![last commit](https://badgen.net/github/last-commit/gdarchen/portfolio?icon=https://simpleicons.now.sh/git/fff)](https://github.com/gdarchen/portfolio) -->
[![pnpm version](https://img.shields.io/badge/v9.4.0-F69220.svg?logo=pnpm&logoColor=white&label=pnpm)](https://pnpm.io/)
Expand Down
4 changes: 3 additions & 1 deletion commitlint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
const commitlint = {
extends: ['@commitlint/config-conventional'],
rules: {
'header-max-length': [0, 'always', 'Infinity'],
Expand Down Expand Up @@ -26,3 +26,5 @@ export default {
],
},
}

export default commitlint
29 changes: 29 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -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"
}
1 change: 1 addition & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion src/components/home/1-my-name/MyName.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const MyName: FC = () => {
>
<a href="/resume.pdf" target="_blank" rel="noreferrer">
<button className="rounded border border-primary bg-background px-4 py-3 text-primary sm:px-8 sm:py-4">
Check out my resume!
Download my resume
</button>
</a>
</motion.div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/home/2-about-me/AboutMe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const AboutMe: FC = () => {
key={tech}
className="flex flex-row items-center space-x-2"
>
<ArrowIcon className="size-3 text-primary" />
<ArrowIcon className="size-4 text-primary" />
<span className="text-xs text-gray-400 sm:text-sm">
{tech}
</span>
Expand All @@ -132,7 +132,7 @@ const AboutMe: FC = () => {
key={tech}
className="flex flex-row items-center space-x-2"
>
<ArrowIcon className="size-3 text-primary" />
<ArrowIcon className="size-4 text-primary" />
<span className="text-xs text-gray-400 sm:text-sm">
{tech}
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,16 @@ const WorkExperienceDetails: FC<Props> = ({ experience }) => {
{experience.link && (
<span
className="font-mono text-xs text-primary hover:cursor-pointer"
style={{ fontSize: '0.6rem' }}
onClick={() => window.open(experience.link, '_blank')}
>
{experience.link.split('://')[1]}
</span>
)}
</div>

<div className="flex flex-col space-y-4 text-xs sm:text-sm">
<div className="flex flex-col space-y-4">
{/* Description */}
<span className="font-header text-xs text-gray-300 sm:text-sm">
<span className="font-header text-sm text-gray-300">
{experience.description}
</span>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/home/4-projects/ProjectsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const projects: Project[] = [
</div>
</>
),
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',
},
Expand Down Expand Up @@ -306,7 +306,7 @@ const projects: Project[] = [
description: (
<div>
In language C and using the V-Model, set up a version of the{' '}
<span className="text-primary">Othello</span>
<span className="text-primary">Othello</span>{' '}
game with an artificial intelligence (AI) with the Min-Max algorithm.
</div>
),
Expand Down
4 changes: 2 additions & 2 deletions src/components/home/4-projects/components/Project.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -232,7 +232,7 @@ const Project: FC<Props> = ({ project, index }) => {
</div>

<div className="z-10 w-full rounded-md py-2 opacity-90 shadow shadow-backgound-secondary md:bg-backgound-secondary md:p-6">
<span className="text-justify font-content text-xs text-gray-300 md:text-sm md:text-gray-400">
<span className="text-justify font-content text-sm text-gray-300 md:text-gray-400">
{project.description}
</span>

Expand Down

0 comments on commit b5be6f4

Please sign in to comment.