Update all dependencies. (#56)

This commit is contained in:
Lee Robinson
2021-11-09 10:59:56 -06:00
committed by GitHub
parent 90fcf55666
commit 3a1387166d
19 changed files with 240 additions and 5104 deletions

View File

@@ -1,7 +1,7 @@
import fs from 'fs'
import path from 'path'
import matter from 'gray-matter'
import remark from 'remark'
import { remark } from 'remark'
import html from 'remark-html'
const postsDirectory = path.join(process.cwd(), 'posts')

View File

@@ -1,3 +1,6 @@
/// <reference types="next" />
/// <reference types="next/types/global" />
/// <reference types="next/image-types/global" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.

View File

@@ -1,6 +1,4 @@
{
"name": "my-app",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
@@ -10,11 +8,11 @@
"dependencies": {
"date-fns": "^2.11.1",
"gray-matter": "^4.0.2",
"next": "^11.0.0",
"next": "latest",
"react": "17.0.2",
"react-dom": "17.0.2",
"remark": "^12.0.0",
"remark-html": "^12.0.0"
"remark": "^14.0.1",
"remark-html": "^15.0.0"
},
"devDependencies": {
"@types/node": "^16.3.3",

View File

@@ -1,11 +1,7 @@
{
"compilerOptions": {
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
@@ -16,14 +12,9 @@
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve"
"jsx": "preserve",
"incremental": true
},
"exclude": [
"node_modules"
],
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx"
]
"exclude": ["node_modules"],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"]
}