mirror of
https://github.com/theoludwig/theoludwig.git
synced 2024-12-08 00:44:30 +01:00
build(deps): bump Node.js to 16.0.0 and npm to 8.0.0
BREAKING CHANGE: minimum supported Node.js >= 16.0.0 and npm >= 8.0.0 fixes #74
This commit is contained in:
parent
a30355582e
commit
1505b81233
@ -51,8 +51,8 @@ Scopes define what part of the code changed.
|
|||||||
|
|
||||||
### Prerequisites
|
### Prerequisites
|
||||||
|
|
||||||
- [Node.js](https://nodejs.org/) >= 14.0.0
|
- [Node.js](https://nodejs.org/) >= 16.0.0
|
||||||
- [npm](https://www.npmjs.com/) >= 7.0.0
|
- [npm](https://www.npmjs.com/) >= 8.0.0
|
||||||
|
|
||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
FROM node:16.12.0 AS dependencies
|
FROM node:16.13.0 AS dependencies
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
COPY ./package*.json ./
|
COPY ./package*.json ./
|
||||||
RUN npm clean-install
|
RUN npm clean-install
|
||||||
|
|
||||||
FROM node:16.12.0 AS builder
|
FROM node:16.13.0 AS builder
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
COPY ./ ./
|
COPY ./ ./
|
||||||
COPY --from=dependencies /usr/src/app/node_modules ./node_modules
|
COPY --from=dependencies /usr/src/app/node_modules ./node_modules
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
FROM node:16.12.0 AS runner
|
FROM node:16.13.0 AS runner
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
COPY --from=builder /usr/src/app/next.config.js ./next.config.js
|
COPY --from=builder /usr/src/app/next.config.js ./next.config.js
|
||||||
|
@ -25,7 +25,7 @@ export const ErrorPage: React.FC<ErrorPageProps> = (props) => {
|
|||||||
{message}{' '}
|
{message}{' '}
|
||||||
<Link href='/'>
|
<Link href='/'>
|
||||||
<a className='text-yellow dark:text-yellow-dark hover:underline'>
|
<a className='text-yellow dark:text-yellow-dark hover:underline'>
|
||||||
{t('errors:returnToHomePage')}
|
{t('errors:return-to-home-page')}
|
||||||
</a>
|
</a>
|
||||||
</Link>
|
</Link>
|
||||||
</p>
|
</p>
|
||||||
|
@ -22,7 +22,7 @@ export const Footer: React.FC<FooterProps> = (props) => {
|
|||||||
Divlo
|
Divlo
|
||||||
</a>
|
</a>
|
||||||
</Link>{' '}
|
</Link>{' '}
|
||||||
| {t('common:allRightsReserved')}
|
| {t('common:all-rights-reserved')}
|
||||||
</p>
|
</p>
|
||||||
<p className='mt-1'>
|
<p className='mt-1'>
|
||||||
Version{' '}
|
Version{' '}
|
||||||
|
@ -4,7 +4,7 @@ export const ProfileDescriptionBottom: React.FC = () => {
|
|||||||
return (
|
return (
|
||||||
<p className='mt-8 mb-8 font-normal text-base text-gray dark:text-gray-dark'>
|
<p className='mt-8 mb-8 font-normal text-base text-gray dark:text-gray-dark'>
|
||||||
<Translation
|
<Translation
|
||||||
i18nKey='home:about.descriptionBottom'
|
i18nKey='home:about.description-bottom'
|
||||||
components={[<br key='break' />]}
|
components={[<br key='break' />]}
|
||||||
/>
|
/>
|
||||||
</p>
|
</p>
|
||||||
|
@ -6,7 +6,7 @@ export const ProfileInformation: React.FC = () => {
|
|||||||
return (
|
return (
|
||||||
<div className='pb-2 mb-6 border-b-2 font-headline border-gray-600 dark:border-gray-400'>
|
<div className='pb-2 mb-6 border-b-2 font-headline border-gray-600 dark:border-gray-400'>
|
||||||
<h1 className='text-4xl mb-2'>
|
<h1 className='text-4xl mb-2'>
|
||||||
{t('home:about.IAm')}{' '}
|
{t('home:about.i-am')}{' '}
|
||||||
<strong className='font-semibold text-yellow dark:text-yellow-dark'>
|
<strong className='font-semibold text-yellow dark:text-yellow-dark'>
|
||||||
Divlo
|
Divlo
|
||||||
</strong>
|
</strong>
|
||||||
|
@ -7,7 +7,7 @@ export const ProfileList: React.FC = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<ul className='m-0 p-0 list-none'>
|
<ul className='m-0 p-0 list-none'>
|
||||||
<ProfileItem title={t('home:about.birthDate')} value='31/03/2003' />
|
<ProfileItem title={t('home:about.birth-date')} value='31/03/2003' />
|
||||||
<ProfileItem title={t('home:about.nationality')} value='Alsace, France' />
|
<ProfileItem title={t('home:about.nationality')} value='Alsace, France' />
|
||||||
<ProfileItem
|
<ProfileItem
|
||||||
title='Email'
|
title='Email'
|
||||||
|
@ -30,7 +30,7 @@ export const Skills: React.FC = () => {
|
|||||||
<SkillComponent skill='MySQL' />
|
<SkillComponent skill='MySQL' />
|
||||||
</SkillsSection>
|
</SkillsSection>
|
||||||
|
|
||||||
<SkillsSection title={t('home:skills.softwareTools')}>
|
<SkillsSection title={t('home:skills.software-tools')}>
|
||||||
<SkillComponent skill='GNU/Linux' />
|
<SkillComponent skill='GNU/Linux' />
|
||||||
<SkillComponent skill='Ubuntu' />
|
<SkillComponent skill='Ubuntu' />
|
||||||
<SkillComponent skill='Visual Studio Code' />
|
<SkillComponent skill='Visual Studio Code' />
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"english": "English",
|
"english": "English",
|
||||||
"french": "French",
|
"french": "French",
|
||||||
"allRightsReserved": "All rights reserved",
|
"all-rights-reserved": "All rights reserved",
|
||||||
"home": "Home"
|
"home": "Home"
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"returnToHomePage": "Return to the home page?",
|
"return-to-home-page": "Return to the home page?",
|
||||||
"error": "Error",
|
"error": "Error",
|
||||||
"serverError": "Internal Server Error!",
|
"server-error": "Internal Server Error!",
|
||||||
"notFound": "This page doesn't exist!"
|
"not-found": "This page doesn't exist!"
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"about": {
|
"about": {
|
||||||
"IAm": "I am",
|
"i-am": "I am",
|
||||||
"description": "Developer Full Stack Junior • Passionate about High-Tech",
|
"description": "Developer Full Stack Junior • Passionate about High-Tech",
|
||||||
"birthDate": "Birth date",
|
"birth-date": "Birth date",
|
||||||
"nationality": "Nationality",
|
"nationality": "Nationality",
|
||||||
"descriptionBottom": "I am self-taught in Computer Science by following online trainings and I am also a student at the university following the French training \"BUT Informatique\" (first year). <0/> <0/> I put into practice everything I learn and make many projects."
|
"description-bottom": "I am self-taught in Computer Science by following online trainings and I am also a student at the university following the French training \"BUT Informatique\" (first year). <0/> <0/> I put into practice everything I learn and make many projects."
|
||||||
},
|
},
|
||||||
"interests": {
|
"interests": {
|
||||||
"title": "Interests",
|
"title": "Interests",
|
||||||
@ -26,7 +26,7 @@
|
|||||||
"skills": {
|
"skills": {
|
||||||
"title": "Skills",
|
"title": "Skills",
|
||||||
"languages": "Programming languages",
|
"languages": "Programming languages",
|
||||||
"softwareTools": "Software and tools"
|
"software-tools": "Software and tools"
|
||||||
},
|
},
|
||||||
"portfolio": {
|
"portfolio": {
|
||||||
"title": "Portfolio",
|
"title": "Portfolio",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"english": "Anglais",
|
"english": "Anglais",
|
||||||
"french": "Français",
|
"french": "Français",
|
||||||
"allRightsReserved": "Tous droits réservés",
|
"all-rights-reserved": "Tous droits réservés",
|
||||||
"home": "Accueil"
|
"home": "Accueil"
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"returnToHomePage": "Revenir à la page d'accueil ?",
|
"return-to-home-page": "Revenir à la page d'accueil ?",
|
||||||
"error": "Erreur",
|
"error": "Erreur",
|
||||||
"serverError": "Erreur Interne du Serveur !",
|
"server-error": "Erreur Interne du Serveur !",
|
||||||
"notFound": "Cette page n'existe pas!"
|
"not-found": "Cette page n'existe pas!"
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"about": {
|
"about": {
|
||||||
"IAm": "Je suis",
|
"i-am": "Je suis",
|
||||||
"description": "Développeur Full Stack Junior • Passionné de High-Tech",
|
"description": "Développeur Full Stack Junior • Passionné de High-Tech",
|
||||||
"birthDate": "Date de naissance",
|
"birth-date": "Date de naissance",
|
||||||
"nationality": "Nationalité",
|
"nationality": "Nationalité",
|
||||||
"descriptionBottom": "Je me forme en autodidacte dans l'informatique en suivant des formations en ligne et je suis aussi un étudiant à l'université suivant la formation \"BUT Informatique\" (première année). <0/> <0/> Je mets en pratique tout ce que j'apprends et réalise de nombreux projets."
|
"description-bottom": "Je me forme en autodidacte dans l'informatique en suivant des formations en ligne et je suis aussi un étudiant à l'université suivant la formation \"BUT Informatique\" (première année). <0/> <0/> Je mets en pratique tout ce que j'apprends et réalise de nombreux projets."
|
||||||
},
|
},
|
||||||
"interests": {
|
"interests": {
|
||||||
"title": "Intérêts",
|
"title": "Intérêts",
|
||||||
@ -26,7 +26,7 @@
|
|||||||
"skills": {
|
"skills": {
|
||||||
"title": "Compétences",
|
"title": "Compétences",
|
||||||
"languages": "Langages de programmation",
|
"languages": "Langages de programmation",
|
||||||
"softwareTools": "Logiciels et outils"
|
"software-tools": "Logiciels et outils"
|
||||||
},
|
},
|
||||||
"portfolio": {
|
"portfolio": {
|
||||||
"title": "Portfolio",
|
"title": "Portfolio",
|
||||||
|
3478
package-lock.json
generated
3478
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
24
package.json
24
package.json
@ -7,8 +7,8 @@
|
|||||||
"url": "https://github.com/Divlo/Divlo"
|
"url": "https://github.com/Divlo/Divlo"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=14.0.0",
|
"node": ">=16.0.0",
|
||||||
"npm": ">=7.0.0"
|
"npm": ">=8.0.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
@ -48,18 +48,18 @@
|
|||||||
"universal-cookie": "4.0.4"
|
"universal-cookie": "4.0.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/cli": "13.2.1",
|
"@commitlint/cli": "14.1.0",
|
||||||
"@commitlint/config-conventional": "13.2.0",
|
"@commitlint/config-conventional": "14.1.0",
|
||||||
"@lhci/cli": "0.8.2",
|
"@lhci/cli": "0.8.2",
|
||||||
"@saithodev/semantic-release-backmerge": "2.0.0",
|
"@saithodev/semantic-release-backmerge": "2.1.0",
|
||||||
"@semantic-release/git": "10.0.0",
|
"@semantic-release/git": "10.0.1",
|
||||||
"@testing-library/jest-dom": "5.14.1",
|
"@testing-library/jest-dom": "5.15.0",
|
||||||
"@testing-library/react": "12.1.2",
|
"@testing-library/react": "12.1.2",
|
||||||
"@types/jest": "27.0.2",
|
"@types/jest": "27.0.2",
|
||||||
"@types/node": "16.11.6",
|
"@types/node": "16.11.6",
|
||||||
"@types/react": "17.0.33",
|
"@types/react": "17.0.34",
|
||||||
"@typescript-eslint/eslint-plugin": "4.33.0",
|
"@typescript-eslint/eslint-plugin": "4.33.0",
|
||||||
"autoprefixer": "10.3.7",
|
"autoprefixer": "10.4.0",
|
||||||
"babel-jest": "27.3.1",
|
"babel-jest": "27.3.1",
|
||||||
"cypress": "8.7.0",
|
"cypress": "8.7.0",
|
||||||
"dockerfilelint": "1.8.0",
|
"dockerfilelint": "1.8.0",
|
||||||
@ -72,17 +72,17 @@
|
|||||||
"eslint-plugin-node": "11.1.0",
|
"eslint-plugin-node": "11.1.0",
|
||||||
"eslint-plugin-prettier": "4.0.0",
|
"eslint-plugin-prettier": "4.0.0",
|
||||||
"eslint-plugin-promise": "5.1.1",
|
"eslint-plugin-promise": "5.1.1",
|
||||||
"eslint-plugin-unicorn": "37.0.1",
|
"eslint-plugin-unicorn": "38.0.0",
|
||||||
"husky": "7.0.4",
|
"husky": "7.0.4",
|
||||||
"jest": "27.3.1",
|
"jest": "27.3.1",
|
||||||
"lint-staged": "11.2.4",
|
"lint-staged": "11.2.6",
|
||||||
"markdownlint-cli": "0.29.0",
|
"markdownlint-cli": "0.29.0",
|
||||||
"next-secure-headers": "2.2.0",
|
"next-secure-headers": "2.2.0",
|
||||||
"postcss": "8.3.11",
|
"postcss": "8.3.11",
|
||||||
"prettier": "2.4.1",
|
"prettier": "2.4.1",
|
||||||
"semantic-release": "18.0.0",
|
"semantic-release": "18.0.0",
|
||||||
"start-server-and-test": "1.14.0",
|
"start-server-and-test": "1.14.0",
|
||||||
"tailwindcss": "2.2.17",
|
"tailwindcss": "2.2.19",
|
||||||
"typescript": "4.4.4",
|
"typescript": "4.4.4",
|
||||||
"vercel": "23.1.2"
|
"vercel": "23.1.2"
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ const Error404: React.FC<FooterProps> = (props) => {
|
|||||||
|
|
||||||
<Header />
|
<Header />
|
||||||
<main className='flex flex-col md:mx-auto md:max-w-4xl lg:max-w-7xl'>
|
<main className='flex flex-col md:mx-auto md:max-w-4xl lg:max-w-7xl'>
|
||||||
<ErrorPage statusCode={404} message={t('errors:notFound')} />
|
<ErrorPage statusCode={404} message={t('errors:not-found')} />
|
||||||
</main>
|
</main>
|
||||||
<Footer version={version} />
|
<Footer version={version} />
|
||||||
</>
|
</>
|
||||||
|
@ -16,7 +16,7 @@ const Error500: React.FC<FooterProps> = (props) => {
|
|||||||
|
|
||||||
<Header />
|
<Header />
|
||||||
<main className='flex flex-col md:mx-auto md:max-w-4xl lg:max-w-7xl'>
|
<main className='flex flex-col md:mx-auto md:max-w-4xl lg:max-w-7xl'>
|
||||||
<ErrorPage statusCode={500} message={t('errors:serverError')} />
|
<ErrorPage statusCode={500} message={t('errors:server-error')} />
|
||||||
</main>
|
</main>
|
||||||
<Footer version={version} />
|
<Footer version={version} />
|
||||||
</>
|
</>
|
||||||
|
Loading…
Reference in New Issue
Block a user