mirror of
https://github.com/theoludwig/theoludwig.git
synced 2024-12-08 00:44:30 +01:00
chore: temporarily support Node.js v14 to deploy on Vercel
This commit is contained in:
parent
a2da9618af
commit
33078ece66
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"extends": ["conventions", "next/core-web-vitals", "prettier"],
|
"extends": ["conventions", "next/core-web-vitals", "prettier"],
|
||||||
"plugins": ["prettier"],
|
"plugins": ["prettier", "unicorn"],
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
"project": "./tsconfig.json"
|
"project": "./tsconfig.json"
|
||||||
},
|
},
|
||||||
@ -10,6 +10,7 @@
|
|||||||
"jest": true
|
"jest": true
|
||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"prettier/prettier": "error"
|
"prettier/prettier": "error",
|
||||||
|
"unicorn/prefer-node-protocol": "off"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -79,8 +79,8 @@
|
|||||||
"vercel": "24.0.0"
|
"vercel": "24.0.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.0.0",
|
"node": ">=14.0.0",
|
||||||
"npm": ">=8.0.0"
|
"npm": ">=7.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"jsonresume-theme-custom": {
|
"jsonresume-theme-custom": {
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
"url": "https://github.com/Divlo/Divlo"
|
"url": "https://github.com/Divlo/Divlo"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.0.0",
|
"node": ">=14.0.0",
|
||||||
"npm": ">=8.0.0"
|
"npm": ">=7.0.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import fs from 'node:fs'
|
import fs from 'fs'
|
||||||
import path from 'node:path'
|
import path from 'path'
|
||||||
|
|
||||||
import type { MDXRemoteSerializeResult } from 'next-mdx-remote'
|
import type { MDXRemoteSerializeResult } from 'next-mdx-remote'
|
||||||
import { nodeTypes } from '@mdx-js/mdx'
|
import { nodeTypes } from '@mdx-js/mdx'
|
||||||
|
Loading…
Reference in New Issue
Block a user