typescript. Close #1. #2

Merged
Ivan merged 4 commits from typescript into master 2022-10-07 14:43:11 +08:00
3 changed files with 46 additions and 46 deletions
Showing only changes of commit d9fbbc19e6 - Show all commits

BIN
package-lock.json generated

Binary file not shown.

View File

@ -12,61 +12,61 @@
"prepare": "husky install" "prepare": "husky install"
}, },
"dependencies": { "dependencies": {
"@fontsource/inter": "4.5.2", "@fontsource/inter": "4.5.13",
"@mailchimp/mailchimp_marketing": "^3.0.58", "@mailchimp/mailchimp_marketing": "^3.0.78",
"@tailwindcss/forms": "^0.4.0", "@tailwindcss/forms": "^0.5.3",
"@tailwindcss/typography": "^0.5.0", "@tailwindcss/typography": "^0.5.7",
"autoprefixer": "^10.4.0", "autoprefixer": "^10.4.12",
"esbuild": "^0.13.13", "esbuild": "^0.14.0",
"github-slugger": "^1.3.0", "github-slugger": "^1.4.0",
"gray-matter": "^4.0.2", "gray-matter": "^4.0.3",
"image-size": "1.0.0", "image-size": "1.0.2",
"mdx-bundler": "^8.0.0", "mdx-bundler": "^9.0.1",
"next": "12.0.9", "next": "12.3.1",
"next-themes": "^0.0.14", "next-themes": "^0.2.1",
"postcss": "^8.4.5", "postcss": "^8.4.17",
"preact": "^10.6.2", "preact": "^10.11.1",
"react": "17.0.2", "react": "18.2.0",
"react-dom": "17.0.2", "react-dom": "18.2.0",
"reading-time": "1.3.0", "reading-time": "1.5.0",
"rehype-autolink-headings": "^6.1.0", "rehype-autolink-headings": "^6.1.1",
"rehype-citation": "^0.2.0", "rehype-citation": "^0.4.0",
"rehype-katex": "^6.0.2", "rehype-katex": "^6.0.2",
"rehype-preset-minify": "6.0.0", "rehype-preset-minify": "6.0.0",
"rehype-prism-plus": "^1.1.3", "rehype-prism-plus": "^1.5.0",
"rehype-slug": "^5.0.0", "rehype-slug": "^5.0.1",
"remark-footnotes": "^4.0.1", "remark-footnotes": "^4.0.1",
"remark-gfm": "^3.0.1", "remark-gfm": "^3.0.1",
"remark-math": "^5.1.1", "remark-math": "^5.1.1",
"sharp": "^0.28.3", "sharp": "^0.31.1",
"smoothscroll-polyfill": "^0.4.4", "smoothscroll-polyfill": "^0.4.4",
"tailwindcss": "^3.0.18", "tailwindcss": "^3.1.8",
"unist-util-visit": "^4.0.0" "unist-util-visit": "^4.1.1"
}, },
"devDependencies": { "devDependencies": {
"@next/bundle-analyzer": "12.0.9", "@next/bundle-analyzer": "12.3.1",
"@svgr/webpack": "^6.1.2", "@svgr/webpack": "^6.4.0",
"@types/react": "^17.0.14", "@types/react": "^18.0.21",
"@types/tailwindcss": "^2.2.0", "@types/tailwindcss": "^3.0.11",
"@typescript-eslint/eslint-plugin": "^4.28.1", "@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^4.28.1", "@typescript-eslint/parser": "^5.39.0",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"dedent": "^0.7.0", "dedent": "^0.7.0",
"eslint": "^7.29.0", "eslint": "^8.24.0",
"eslint-config-next": "12.0.9", "eslint-config-next": "12.3.1",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^3.3.1", "eslint-plugin-prettier": "^4.2.1",
"file-loader": "^6.0.0", "file-loader": "^6.2.0",
"globby": "11.0.3", "globby": "13.1.2",
"husky": "^6.0.0", "husky": "^8.0.1",
"inquirer": "^8.1.1", "inquirer": "^9.1.3",
"lint-staged": "^11.0.0", "lint-staged": "^13.0.3",
"next-remote-watch": "^1.0.0", "next-remote-watch": "^2.0.0",
"prettier": "^2.5.1", "prettier": "^2.7.1",
"prettier-plugin-tailwindcss": "^0.1.4", "prettier-plugin-tailwindcss": "^0.1.13",
"socket.io": "^4.4.0", "socket.io": "^4.5.2",
"socket.io-client": "^4.4.0", "socket.io-client": "^4.5.2",
"typescript": "^4.6.1-rc" "typescript": "^4.8.4"
}, },
"lint-staged": { "lint-staged": {
"*.+(js|jsx|ts|tsx)": [ "*.+(js|jsx|ts|tsx)": [

View File

@ -2,7 +2,7 @@ import '@/css/tailwind.css'
import '@/css/prism.css' import '@/css/prism.css'
import 'katex/dist/katex.css' import 'katex/dist/katex.css'
import '@fontsource/inter/variable-full.css' import '@fontsource/inter/variable.css'
import { ThemeProvider } from 'next-themes' import { ThemeProvider } from 'next-themes'
import type { AppProps } from 'next/app' import type { AppProps } from 'next/app'