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

bump next to 14.2.5

This commit is contained in:
Jake Jarvis 2024-07-31 12:15:13 -04:00
parent 5fe420913e
commit fff106ffbb
Signed by: jake
SSH Key Fingerprint: SHA256:nCkvAjYA6XaSPUqc4TfbBQTpzr8Xj7ritg/sGInCdkc
6 changed files with 765 additions and 571 deletions

View File

@ -1 +1 @@
20.15.0
20.16.0

View File

@ -19,12 +19,21 @@ export type CommentsProps = ComponentPropsWithoutRef<typeof Wrapper> & {
const Comments = ({ title, ...rest }: CommentsProps) => {
const { activeTheme } = useTheme();
// fail silently if giscus isn't configured
if (!config.giscusConfig) {
console.warn("Giscus isn't configured in lib/config/index.js.");
return null;
}
// TODO: use custom `<Loading />` spinner component during suspense
return (
<Wrapper {...rest}>
<Giscus
{...(config.giscusConfig as GiscusProps)}
repo={config.githubRepo as GiscusProps["repo"]}
repoId={config.giscusConfig.repoId}
term={title}
category="Comments"
categoryId={config.giscusConfig.categoryId}
mapping="specific"
reactionsEnabled="1"
emitMetadata="0"

View File

@ -19,9 +19,7 @@ const config = {
verifyBing: "164551986DA47F7F6FC0D21A93FFFCA6",
giscusConfig: {
// https://github.com/giscus/giscus-component/tree/main/packages/react#readme
repo: "jakejarvis/jarv.is",
repoId: "MDEwOlJlcG9zaXRvcnk1MzM0MDgxMQ==",
category: "Comments",
categoryId: "DIC_kwDOAy3qi84CAsjS",
},

View File

@ -1,4 +1,4 @@
import config from ".";
import config from "./index.js";
import { meJpg, faviconPng, faviconIco, appleTouchIconPng } from "./favicons";
import type { DefaultSeoProps, SocialProfileJsonLdProps, ArticleJsonLdProps } from "next-seo";

View File

@ -24,21 +24,21 @@
"@libsql/client": "^0.6.2",
"@novnc/novnc": "1.4.0",
"@octokit/graphql": "^8.1.1",
"@octokit/graphql-schema": "^15.22.0",
"@prisma/adapter-libsql": "^5.15.1",
"@prisma/client": "^5.15.1",
"@react-spring/web": "^9.7.3",
"@octokit/graphql-schema": "^15.25.0",
"@prisma/adapter-libsql": "^5.17.0",
"@prisma/client": "^5.17.0",
"@react-spring/web": "^9.7.4",
"@stitches/react": "1.3.1-1",
"comma-number": "^2.1.0",
"copy-to-clipboard": "^3.3.3",
"dayjs": "^1.11.11",
"dayjs": "^1.11.12",
"fast-glob": "^3.3.2",
"fathom-client": "^3.7.0",
"fathom-client": "^3.7.2",
"feed": "^4.2.2",
"formik": "^2.4.6",
"geist": "^1.3.0",
"geist": "^1.3.1",
"gray-matter": "^4.0.3",
"next": "14.2.4",
"next": "14.2.5",
"next-mdx-remote": "^5.0.0",
"next-seo": "^6.5.0",
"nodemailer": "^6.9.14",
@ -47,14 +47,14 @@
"p-memoize": "^7.1.1",
"polished": "^4.3.1",
"prop-types": "^15.8.1",
"query-string": "^9.0.0",
"query-string": "^9.1.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-error-boundary": "^4.0.13",
"react-frame-component": "^5.2.7",
"react-icons": "^5.2.1",
"react-innertext": "^1.1.5",
"react-intersection-observer": "^9.10.3",
"react-intersection-observer": "^9.13.0",
"react-is": "18.3.1",
"react-player": "^2.16.0",
"react-textarea-autosize": "^8.5.3",
@ -67,7 +67,7 @@
"remark-gfm": "^4.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.0",
"remark-smartypants": "^3.0.1",
"remark-smartypants": "^3.0.2",
"remark-unwrap-images": "^4.0.0",
"sitemap": "^8.0.0",
"stitches-normalize": "^3.0.1",
@ -79,27 +79,27 @@
"devDependencies": {
"@jakejarvis/eslint-config": "^3.1.0",
"@types/comma-number": "^2.1.2",
"@types/node": "^20.14.8",
"@types/node": "^22.0.0",
"@types/nodemailer": "^6.4.15",
"@types/novnc__novnc": "^1.3.4",
"@types/novnc__novnc": "1.3.4",
"@types/prop-types": "^15.7.12",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react-is": "^18.3.0",
"@types/strip-comments": "^2.0.4",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"cross-env": "^7.0.3",
"eslint": "~8.57.0",
"eslint-config-next": "14.2.4",
"eslint-config-next": "14.2.5",
"eslint-config-prettier": "~9.1.0",
"eslint-plugin-mdx": "~3.1.5",
"eslint-plugin-prettier": "~5.1.3",
"eslint-plugin-prettier": "~5.2.1",
"lint-staged": "^15.2.7",
"prettier": "^3.3.2",
"prisma": "^5.15.1",
"prettier": "^3.3.3",
"prisma": "^5.17.0",
"simple-git-hooks": "^2.11.1",
"typescript": "^5.5.2"
"typescript": "^5.5.4"
},
"optionalDependencies": {
"sharp": "^0.33.4"
@ -119,9 +119,9 @@
"eslint"
]
},
"packageManager": "pnpm@9.4.0",
"packageManager": "pnpm@9.6.0",
"volta": {
"node": "20.15.0",
"pnpm": "9.4.0"
"node": "20.16.0",
"pnpm": "9.6.0"
}
}

1273
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff