1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-09-09 17:45:53 +02:00

chore: temporarily support Node.js v14 to deploy on Vercel

This commit is contained in:
Divlo 2022-02-23 09:06:12 +01:00
parent a2da9618af
commit 33078ece66
No known key found for this signature in database
GPG Key ID: 8F9478F220CE65E9
4 changed files with 9 additions and 8 deletions

View File

@ -1,6 +1,6 @@
{
"extends": ["conventions", "next/core-web-vitals", "prettier"],
"plugins": ["prettier"],
"plugins": ["prettier", "unicorn"],
"parserOptions": {
"project": "./tsconfig.json"
},
@ -10,6 +10,7 @@
"jest": true
},
"rules": {
"prettier/prettier": "error"
"prettier/prettier": "error",
"unicorn/prefer-node-protocol": "off"
}
}

4
package-lock.json generated
View File

@ -79,8 +79,8 @@
"vercel": "24.0.0"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=8.0.0"
"node": ">=14.0.0",
"npm": ">=7.0.0"
}
},
"jsonresume-theme-custom": {

View File

@ -7,8 +7,8 @@
"url": "https://github.com/Divlo/Divlo"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=8.0.0"
"node": ">=14.0.0",
"npm": ">=7.0.0"
},
"scripts": {
"dev": "next dev",

View File

@ -1,5 +1,5 @@
import fs from 'node:fs'
import path from 'node:path'
import fs from 'fs'
import path from 'path'
import type { MDXRemoteSerializeResult } from 'next-mdx-remote'
import { nodeTypes } from '@mdx-js/mdx'