chore: update dependencies

This commit is contained in:
DIYgod 2023-06-04 18:47:14 +01:00
parent a49254fe76
commit e7f645c5a2
No known key found for this signature in database
5 changed files with 347 additions and 341 deletions

View File

@ -5,7 +5,6 @@ const withBundleAnalyzer = require("@next/bundle-analyzer")({
})
const execSync = require("child_process").execSync
const cache = require("@ducanh2912/next-pwa").runtimeCaching
const withPWA = require("@ducanh2912/next-pwa").default({
disable: process.env.NODE_ENV === "development",
dest: "public",
@ -15,6 +14,7 @@ const withPWA = require("@ducanh2912/next-pwa").default({
/^manifest.*\.js$/,
/^\/_next\/static\/chunks\/app\/dashboard/,
],
extendDefaultRuntimeCaching: true,
workboxOptions: {
runtimeCaching: [
{
@ -51,7 +51,6 @@ const withPWA = require("@ducanh2912/next-pwa").default({
},
},
},
...cache,
],
},
})

View File

@ -46,16 +46,16 @@
"@dqbd/tiktoken": "^1.0.7",
"@emoji-mart/data": "1.1.2",
"@emoji-mart/react": "1.1.1",
"@floating-ui/react": "^0.24.1",
"@floating-ui/react": "^0.24.2",
"@headlessui/react": "1.7.15",
"@heroicons/react": "2.0.18",
"@iconify-json/mingcute": "^1.1.6",
"@lezer/highlight": "^1.1.4",
"@mantine/core": "^6.0.11",
"@mantine/dates": "^6.0.11",
"@lezer/highlight": "^1.1.6",
"@mantine/core": "^6.0.13",
"@mantine/dates": "^6.0.13",
"@monaco-editor/react": "4.5.1",
"@popperjs/core": "^2.11.7",
"@prisma/client": "^4.14.1",
"@popperjs/core": "^2.11.8",
"@prisma/client": "^4.15.0",
"@supercharge/request-ip": "^1.2.0",
"@tanstack/react-query": "4.29.12",
"@tanstack/react-query-devtools": "4.29.12",
@ -63,13 +63,13 @@
"@uiw/codemirror-extensions-events": "4.20.4",
"@urql/core": "4.0.10",
"ahooks": "^3.7.7",
"aplayer-react": "^1.1.0",
"aplayer-react": "^1.3.0",
"async-lock": "^1.4.0",
"canvas": "^2.11.2",
"canvas-confetti": "^1.6.0",
"chroma-js": "^2.4.2",
"clsx": "1.2.1",
"crossbell": "^1.2.0",
"crossbell": "^1.3.0",
"dayjs": "1.11.8",
"dotenv": "16.1.4",
"emoji-mart": "5.5.2",
@ -83,9 +83,9 @@
"idb-keyval": "6.2.1",
"immer": "10.0.2",
"ioredis": "5.3.2",
"isomorphic-dompurify": "^1.5.0",
"isomorphic-dompurify": "^1.6.0",
"js-yaml": "4.1.0",
"jsdom": "^22.0.0",
"jsdom": "^22.1.0",
"jsonfeed-to-rss": "^3.0.7",
"katex": "^0.16.7",
"langchain": "^0.0.90",
@ -109,7 +109,7 @@
"react-hook-form": "7.44.3",
"react-hot-toast": "2.4.1",
"react-i18next": "^12.3.1",
"react-parallax-tilt": "^1.7.140",
"react-parallax-tilt": "^1.7.143",
"react-popper": "^2.3.0",
"react-sortablejs": "6.1.4",
"react-string-replace": "^1.1.0",
@ -140,7 +140,7 @@
"serialize-javascript": "^6.0.1",
"sharp": "0.32.1",
"sortablejs": "1.15.0",
"tailwind-merge": "^1.12.0",
"tailwind-merge": "^1.13.0",
"tailwind-scrollbar-hide": "^1.1.7",
"tailwindcss-animate": "^1.0.5",
"unidata.js": "0.8.0",
@ -149,12 +149,12 @@
"unist-util-visit": "4.1.2",
"use-onclickoutside": "0.4.1",
"uuid": "9.0.0",
"viem": "^0.3.36",
"viem": "^0.3.50",
"wagmi": "1.1.0",
"zustand": "^4.3.8"
},
"devDependencies": {
"@ducanh2912/next-pwa": "^8.4.1",
"@ducanh2912/next-pwa": "^8.5.1",
"@iconify/tailwind": "^0.1.2",
"@next/bundle-analyzer": "13.4.4",
"@trivago/prettier-plugin-sort-imports": "4.1.1",
@ -167,7 +167,7 @@
"@types/katex": "^0.16.0",
"@types/mdast": "^3.0.11",
"@types/mjml": "4.7.1",
"@types/node": "20.2.1",
"@types/node": "20.2.5",
"@types/pangu": "^4.0.0",
"@types/prismjs": "1.26.0",
"@types/react": "18.2.8",
@ -193,7 +193,7 @@
"postcss-prune-var": "1.1.1",
"prettier": "2.8.8",
"prettier-package-json": "2.8.0",
"prisma": "^4.14.1",
"prisma": "^4.15.0",
"tailwindcss": "3.3.2",
"tailwindcss-variable-colors": "0.0.1",
"typescript": "5.1.3"

File diff suppressed because it is too large Load Diff

View File

@ -146,7 +146,6 @@ export default async function SitePagePage({
</h2>
)}
{page?.metadata?.content?.tags?.includes("post") && (
/* @ts-expect-error Async Server Component */
<PostMeta page={page} site={site} />
)}
</div>

View File

@ -176,7 +176,6 @@ export default async function SiteLayout({
<BlockchainInfo site={site} page={page || undefined} />
</section>
)}
{/* @ts-expect-error Async Server Component */}
{!onlyContent && <SiteFooter site={site || undefined} />}
<FABContainer>
<BackToTopFAB />