1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 11:05:25 -04:00

bump next (next/future/image -> next/image)

This commit is contained in:
Jake Jarvis 2022-10-22 09:30:03 -04:00
parent 24f5c86299
commit 5e02027241
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39
5 changed files with 576 additions and 554 deletions

View File

@ -1,8 +1,8 @@
import NextImage from "next/future/image";
import NextImage from "next/image";
import Link from "../Link";
import { styled, theme } from "../../lib/styles/stitches.config";
import type { ComponentProps } from "react";
import type { ImageProps as NextImageProps, StaticImageData } from "next/future/image";
import type { ImageProps as NextImageProps, StaticImageData } from "next/image";
const DEFAULT_QUALITY = 60;
const DEFAULT_WIDTH = Number.parseInt(theme.sizes.maxLayoutWidth.value, 10); // see lib/styles/stitches.config.ts

View File

@ -21,7 +21,7 @@ export const defaultSeo: DefaultSeoProps = {
titleTemplate: `%s ${config.siteName}`, // appends ` siteName` to title provided by each page (except home)
description: config.longDescription,
openGraph: {
site_name: config.siteName,
siteName: config.siteName,
title: `${config.siteName} ${config.shortDescription}`,
locale: config.siteLocale?.replace("-", "_"),
type: "website",

View File

@ -31,7 +31,6 @@ module.exports = (phase) => {
},
experimental: {
legacyBrowsers: false,
browsersListForSwc: true,
newNextLinkBehavior: true, // https://github.com/vercel/next.js/pull/36436
optimisticClientCache: false, // https://github.com/vercel/next.js/discussions/40268#discussioncomment-3572642
},

1089
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -18,22 +18,22 @@
},
"dependencies": {
"@fontsource/comic-neue": "4.5.10",
"@fontsource/inter": "4.5.13",
"@fontsource/inter": "4.5.14",
"@fontsource/roboto-mono": "4.5.8",
"@giscus/react": "^2.2.0",
"@hcaptcha/react-hcaptcha": "^1.4.4",
"@novnc/novnc": "github:novnc/novnc#c101a31520aba083a85edcb2f3269a826471007a",
"@octokit/graphql": "^5.0.3",
"@octokit/graphql-schema": "^12.11.0",
"@octokit/graphql": "^5.0.4",
"@octokit/graphql-schema": "^12.16.0",
"@primer/octicons": "^17.7.0",
"@prisma/client": "^4.4.0",
"@prisma/client": "^4.5.0",
"@react-spring/web": "^9.5.5",
"@sentry/node": "^7.15.0",
"@sentry/tracing": "^7.15.0",
"@sentry/node": "^7.16.0",
"@sentry/tracing": "^7.16.0",
"@stitches/react": "^1.2.8",
"comma-number": "^2.1.0",
"copy-to-clipboard": "^3.3.2",
"dayjs": "^1.11.5",
"dayjs": "^1.11.6",
"fast-glob": "^3.2.12",
"fathom-client": "^3.5.0",
"feather-icons": "^4.29.0",
@ -43,9 +43,9 @@
"hex-to-rgba": "^2.0.1",
"marked": "^4.1.1",
"mem": "^9.0.2",
"next": "12.3.2-canary.28",
"next": "12.3.2-canary.33",
"next-mdx-remote": "^4.1.0",
"next-seo": "^5.5.0",
"next-seo": "^5.8.0",
"obj-str": "^1.1.0",
"p-map": "^5.5.0",
"p-memoize": "^7.1.1",
@ -67,7 +67,7 @@
"remark-smartypants": "^2.0.0",
"remark-unwrap-images": "^3.0.1",
"remove-markdown": "^0.5.0",
"simple-icons": "^7.15.0",
"simple-icons": "^7.16.0",
"sitemap": "^7.1.1",
"swr": "^1.3.0"
},
@ -83,19 +83,19 @@
"@types/react-dom": "^18.0.6",
"@types/react-is": "^17.0.3",
"@types/remove-markdown": "^0.3.1",
"@types/uglify-js": "^3.17.0",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"@types/uglify-js": "^3.17.1",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
"cross-env": "^7.0.3",
"eslint": "~8.25.0",
"eslint-config-next": "12.3.2-canary.28",
"eslint": "~8.26.0",
"eslint-config-next": "12.3.2-canary.33",
"eslint-config-prettier": "~8.5.0",
"eslint-plugin-mdx": "~2.0.5",
"eslint-plugin-prettier": "~4.2.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"prisma": "^4.4.0",
"simple-git-hooks": "^2.8.0",
"prisma": "^4.5.0",
"simple-git-hooks": "^2.8.1",
"typescript": "^4.8.4",
"uglify-js": "^3.17.3"
},