1
1
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:
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"], "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
View File

@ -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": {

View File

@ -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",

View File

@ -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'