mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-09-18 16:05:33 -04:00
bump next to 14.2.5
This commit is contained in:
@@ -1 +1 @@
|
|||||||
20.15.0
|
20.16.0
|
||||||
|
@@ -19,12 +19,21 @@ export type CommentsProps = ComponentPropsWithoutRef<typeof Wrapper> & {
|
|||||||
const Comments = ({ title, ...rest }: CommentsProps) => {
|
const Comments = ({ title, ...rest }: CommentsProps) => {
|
||||||
const { activeTheme } = useTheme();
|
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
|
// TODO: use custom `<Loading />` spinner component during suspense
|
||||||
return (
|
return (
|
||||||
<Wrapper {...rest}>
|
<Wrapper {...rest}>
|
||||||
<Giscus
|
<Giscus
|
||||||
{...(config.giscusConfig as GiscusProps)}
|
repo={config.githubRepo as GiscusProps["repo"]}
|
||||||
|
repoId={config.giscusConfig.repoId}
|
||||||
term={title}
|
term={title}
|
||||||
|
category="Comments"
|
||||||
|
categoryId={config.giscusConfig.categoryId}
|
||||||
mapping="specific"
|
mapping="specific"
|
||||||
reactionsEnabled="1"
|
reactionsEnabled="1"
|
||||||
emitMetadata="0"
|
emitMetadata="0"
|
||||||
|
@@ -19,9 +19,7 @@ const config = {
|
|||||||
verifyBing: "164551986DA47F7F6FC0D21A93FFFCA6",
|
verifyBing: "164551986DA47F7F6FC0D21A93FFFCA6",
|
||||||
giscusConfig: {
|
giscusConfig: {
|
||||||
// https://github.com/giscus/giscus-component/tree/main/packages/react#readme
|
// https://github.com/giscus/giscus-component/tree/main/packages/react#readme
|
||||||
repo: "jakejarvis/jarv.is",
|
|
||||||
repoId: "MDEwOlJlcG9zaXRvcnk1MzM0MDgxMQ==",
|
repoId: "MDEwOlJlcG9zaXRvcnk1MzM0MDgxMQ==",
|
||||||
category: "Comments",
|
|
||||||
categoryId: "DIC_kwDOAy3qi84CAsjS",
|
categoryId: "DIC_kwDOAy3qi84CAsjS",
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
import config from ".";
|
import config from "./index.js";
|
||||||
import { meJpg, faviconPng, faviconIco, appleTouchIconPng } from "./favicons";
|
import { meJpg, faviconPng, faviconIco, appleTouchIconPng } from "./favicons";
|
||||||
|
|
||||||
import type { DefaultSeoProps, SocialProfileJsonLdProps, ArticleJsonLdProps } from "next-seo";
|
import type { DefaultSeoProps, SocialProfileJsonLdProps, ArticleJsonLdProps } from "next-seo";
|
||||||
|
46
package.json
46
package.json
@@ -24,21 +24,21 @@
|
|||||||
"@libsql/client": "^0.6.2",
|
"@libsql/client": "^0.6.2",
|
||||||
"@novnc/novnc": "1.4.0",
|
"@novnc/novnc": "1.4.0",
|
||||||
"@octokit/graphql": "^8.1.1",
|
"@octokit/graphql": "^8.1.1",
|
||||||
"@octokit/graphql-schema": "^15.22.0",
|
"@octokit/graphql-schema": "^15.25.0",
|
||||||
"@prisma/adapter-libsql": "^5.15.1",
|
"@prisma/adapter-libsql": "^5.17.0",
|
||||||
"@prisma/client": "^5.15.1",
|
"@prisma/client": "^5.17.0",
|
||||||
"@react-spring/web": "^9.7.3",
|
"@react-spring/web": "^9.7.4",
|
||||||
"@stitches/react": "1.3.1-1",
|
"@stitches/react": "1.3.1-1",
|
||||||
"comma-number": "^2.1.0",
|
"comma-number": "^2.1.0",
|
||||||
"copy-to-clipboard": "^3.3.3",
|
"copy-to-clipboard": "^3.3.3",
|
||||||
"dayjs": "^1.11.11",
|
"dayjs": "^1.11.12",
|
||||||
"fast-glob": "^3.3.2",
|
"fast-glob": "^3.3.2",
|
||||||
"fathom-client": "^3.7.0",
|
"fathom-client": "^3.7.2",
|
||||||
"feed": "^4.2.2",
|
"feed": "^4.2.2",
|
||||||
"formik": "^2.4.6",
|
"formik": "^2.4.6",
|
||||||
"geist": "^1.3.0",
|
"geist": "^1.3.1",
|
||||||
"gray-matter": "^4.0.3",
|
"gray-matter": "^4.0.3",
|
||||||
"next": "14.2.4",
|
"next": "14.2.5",
|
||||||
"next-mdx-remote": "^5.0.0",
|
"next-mdx-remote": "^5.0.0",
|
||||||
"next-seo": "^6.5.0",
|
"next-seo": "^6.5.0",
|
||||||
"nodemailer": "^6.9.14",
|
"nodemailer": "^6.9.14",
|
||||||
@@ -47,14 +47,14 @@
|
|||||||
"p-memoize": "^7.1.1",
|
"p-memoize": "^7.1.1",
|
||||||
"polished": "^4.3.1",
|
"polished": "^4.3.1",
|
||||||
"prop-types": "^15.8.1",
|
"prop-types": "^15.8.1",
|
||||||
"query-string": "^9.0.0",
|
"query-string": "^9.1.0",
|
||||||
"react": "18.3.1",
|
"react": "18.3.1",
|
||||||
"react-dom": "18.3.1",
|
"react-dom": "18.3.1",
|
||||||
"react-error-boundary": "^4.0.13",
|
"react-error-boundary": "^4.0.13",
|
||||||
"react-frame-component": "^5.2.7",
|
"react-frame-component": "^5.2.7",
|
||||||
"react-icons": "^5.2.1",
|
"react-icons": "^5.2.1",
|
||||||
"react-innertext": "^1.1.5",
|
"react-innertext": "^1.1.5",
|
||||||
"react-intersection-observer": "^9.10.3",
|
"react-intersection-observer": "^9.13.0",
|
||||||
"react-is": "18.3.1",
|
"react-is": "18.3.1",
|
||||||
"react-player": "^2.16.0",
|
"react-player": "^2.16.0",
|
||||||
"react-textarea-autosize": "^8.5.3",
|
"react-textarea-autosize": "^8.5.3",
|
||||||
@@ -67,7 +67,7 @@
|
|||||||
"remark-gfm": "^4.0.0",
|
"remark-gfm": "^4.0.0",
|
||||||
"remark-parse": "^11.0.0",
|
"remark-parse": "^11.0.0",
|
||||||
"remark-rehype": "^11.1.0",
|
"remark-rehype": "^11.1.0",
|
||||||
"remark-smartypants": "^3.0.1",
|
"remark-smartypants": "^3.0.2",
|
||||||
"remark-unwrap-images": "^4.0.0",
|
"remark-unwrap-images": "^4.0.0",
|
||||||
"sitemap": "^8.0.0",
|
"sitemap": "^8.0.0",
|
||||||
"stitches-normalize": "^3.0.1",
|
"stitches-normalize": "^3.0.1",
|
||||||
@@ -79,27 +79,27 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jakejarvis/eslint-config": "^3.1.0",
|
"@jakejarvis/eslint-config": "^3.1.0",
|
||||||
"@types/comma-number": "^2.1.2",
|
"@types/comma-number": "^2.1.2",
|
||||||
"@types/node": "^20.14.8",
|
"@types/node": "^22.0.0",
|
||||||
"@types/nodemailer": "^6.4.15",
|
"@types/nodemailer": "^6.4.15",
|
||||||
"@types/novnc__novnc": "^1.3.4",
|
"@types/novnc__novnc": "1.3.4",
|
||||||
"@types/prop-types": "^15.7.12",
|
"@types/prop-types": "^15.7.12",
|
||||||
"@types/react": "^18.3.3",
|
"@types/react": "^18.3.3",
|
||||||
"@types/react-dom": "^18.3.0",
|
"@types/react-dom": "^18.3.0",
|
||||||
"@types/react-is": "^18.3.0",
|
"@types/react-is": "^18.3.0",
|
||||||
"@types/strip-comments": "^2.0.4",
|
"@types/strip-comments": "^2.0.4",
|
||||||
"@typescript-eslint/eslint-plugin": "^7.13.1",
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
||||||
"@typescript-eslint/parser": "^7.13.1",
|
"@typescript-eslint/parser": "^7.18.0",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"eslint": "~8.57.0",
|
"eslint": "~8.57.0",
|
||||||
"eslint-config-next": "14.2.4",
|
"eslint-config-next": "14.2.5",
|
||||||
"eslint-config-prettier": "~9.1.0",
|
"eslint-config-prettier": "~9.1.0",
|
||||||
"eslint-plugin-mdx": "~3.1.5",
|
"eslint-plugin-mdx": "~3.1.5",
|
||||||
"eslint-plugin-prettier": "~5.1.3",
|
"eslint-plugin-prettier": "~5.2.1",
|
||||||
"lint-staged": "^15.2.7",
|
"lint-staged": "^15.2.7",
|
||||||
"prettier": "^3.3.2",
|
"prettier": "^3.3.3",
|
||||||
"prisma": "^5.15.1",
|
"prisma": "^5.17.0",
|
||||||
"simple-git-hooks": "^2.11.1",
|
"simple-git-hooks": "^2.11.1",
|
||||||
"typescript": "^5.5.2"
|
"typescript": "^5.5.4"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"sharp": "^0.33.4"
|
"sharp": "^0.33.4"
|
||||||
@@ -119,9 +119,9 @@
|
|||||||
"eslint"
|
"eslint"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@9.4.0",
|
"packageManager": "pnpm@9.6.0",
|
||||||
"volta": {
|
"volta": {
|
||||||
"node": "20.15.0",
|
"node": "20.16.0",
|
||||||
"pnpm": "9.4.0"
|
"pnpm": "9.6.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
1273
pnpm-lock.yaml
generated
1273
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user