The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Add scrollspying to TOC headings
Terry Suttonf68a79e87aee
diff --git a/apps/temp-docs/components/CustomMDX/H2.tsx b/apps/temp-docs/components/CustomMDX/H2.tsxindex fc1ead7380e..85ff9073bc9 100644--- a/apps/temp-docs/components/CustomMDX/H2.tsx+++ b/apps/temp-docs/components/CustomMDX/H2.tsx@@ -1,17 +1,17 @@import { getAnchor, removeAnchor } from './CustomMDX.utils'-const H3 = ({ children }) => {+const H2 = ({ children }) => {const anchor = getAnchor(children)const link = `#${anchor}`return (- <h3 id={anchor} className="group flex gap-1 items-center scroll-mt-24">+ <h2 id={anchor} className="group flex gap-1 items-center scroll-mt-24">{removeAnchor(children)}{anchor && (<a href={link} className="opacity-0 group-hover:opacity-100 transition">#</a>)}- </h3>+ </h2>)}-export default H3+export default H2diff --git a/apps/temp-docs/components/CustomMDX/H3.tsx b/apps/temp-docs/components/CustomMDX/H3.tsxindex 85ff9073bc9..65cb0fa382b 100644--- a/apps/temp-docs/components/CustomMDX/H3.tsx+++ b/apps/temp-docs/components/CustomMDX/H3.tsx@@ -1,17 +1,57 @@import { getAnchor, removeAnchor } from './CustomMDX.utils'-const H2 = ({ children }) => {+import { useInView } from 'react-intersection-observer'++// move this to a utils file if looks good+function highlightSelectedTocItem(id) {+ const tocMenuItems = document.querySelectorAll('.toc-menu a')++ // remove all active items first+ const currentActiveItem = document.querySelector('.toc-menu .toc__menu-item--active')+ currentActiveItem?.classList.remove('toc__menu-item--active')++ // Add active class to the current item+ tocMenuItems.forEach((item) => {+ // @ts-ignore+ if (item.href.split('#')[1] === id) {+ item.classList.add('toc__menu-item--active')+ }+ })+}++const H3 = ({ children }) => {+ const { ref, inView, entry } = useInView({+ /* Optional options */+ threshold: 0,+ onChange: (inView, entry) => {+ highlightSelectedTocItem(entry.target.id)+ },+ })++ // useEffect(() => {+ // if (entry?.target) {+ // //highlightSelectedTocItem(entry.target.id)+ // }++ // //console.log(entry?.target?.id)+ // }, [inView])+const anchor = getAnchor(children)const link = `#${anchor}`+return (- <h2 id={anchor} className="group flex gap-1 items-center scroll-mt-24">+ <h3+ id={anchor}+ ref={ref}+ className={`group flex gap-1 items-center scroll-mt-24 ${inView ? 'visible' : 'not-visible'}`}+ >{removeAnchor(children)}{anchor && (<a href={link} className="opacity-0 group-hover:opacity-100 transition">#</a>)}- </h2>+ </h3>)}-export default H2+export default H3diff --git a/apps/temp-docs/docs/guides/cli/local-development.mdx b/apps/temp-docs/docs/guides/cli/local-development.mdxindex a4d7d7fc38e..12751bc280f 100644--- a/apps/temp-docs/docs/guides/cli/local-development.mdx+++ b/apps/temp-docs/docs/guides/cli/local-development.mdx@@ -9,6 +9,19 @@ import TabItem from '@theme/TabItem'Learn how to use the Supabase CLI to develop your project locally and deploy to the Supabase Platform.+:::note+To access the database from an edge function in your local Supabase setup, replace `localhost` with `host.docker.internal`.+:::++<h3>this is a proper heading</h3>++### this is a proper md heading++<Alert title="Title of the alert" withIcon variant="warning">+ To access the database from an edge function in your local Supabase setup, replace `localhost`+ with `host.docker.internal`.+</Alert>+## PrerequisitesMake sure you have these installed on your local machine:@@ -126,10 +139,6 @@ create table employees ();```-:::note-You can execute any SQL using the `DB URL` shown by [`supabase status`](/reference/cli/usage#supabase-status).-:::-Run the [`db diff`](/reference/cli/usage#supabase-db-diff) command to detect changes in the local database:```sh@@ -222,3 +231,7 @@ The local development environment is not as feature-complete as the Supabase Pla- The Functions interface is coming soon.- Logs are not supported through the interface (however you can access them through the Docker containers).- You cannot update your project settings in the Dashboard—this must be done using the CLI.++```++```diff --git a/apps/temp-docs/layouts/Default.tsx b/apps/temp-docs/layouts/Default.tsxindex 4bfc5f54a43..157d0c41747 100644--- a/apps/temp-docs/layouts/Default.tsx+++ b/apps/temp-docs/layouts/Default.tsx@@ -3,7 +3,6 @@ import Head from 'next/head'import NavBar from '../components/Navigation/NavBar'import SideBar from '../components/Navigation/SideBar'import Footer from '../components/Footer'-import { Modal } from 'ui'interface Props {meta: { title: string; description?: string; hide_table_of_contents?: boolean }@@ -23,6 +22,7 @@ const Layout: FC<Props> = ({ meta, children, toc, menuItems, currentPage }) => {document.documentElement.className = key === 'true' ? 'dark' : ''}}, [])+return (<><Head>@@ -58,7 +58,7 @@ const Layout: FC<Props> = ({ meta, children, toc, menuItems, currentPage }) => {</div>{toc && !meta?.hide_table_of_contents && (<div className="border-scale-400 dark:bg-scale-200 thin-scrollbar table-of-contents-height col-span-3 border-l px-4">- <ul className="list-none pl-4 text-[0.8rem] grid gap-1 mt-1">+ <ul className="toc-menu list-none pl-4 text-[0.8rem] grid gap-1 mt-1">{toc.json.map((item: any, i: number) => {return (<li key={i}>diff --git a/apps/temp-docs/package.json b/apps/temp-docs/package.jsonindex e389565b888..26661238776 100644--- a/apps/temp-docs/package.json+++ b/apps/temp-docs/package.json@@ -57,6 +57,7 @@"react": "17.0.2","react-copy-to-clipboard": "^5.0.2","react-dom": "17.0.2",+ "react-intersection-observer": "^9.4.0","react-markdown": "^8.0.3","react-syntax-highlighter": "^15.3.1","remark": "^14.0.2",diff --git a/apps/temp-docs/styles/main.scss b/apps/temp-docs/styles/main.scssindex f934cb363ae..6a4b4343c68 100644--- a/apps/temp-docs/styles/main.scss+++ b/apps/temp-docs/styles/main.scss@@ -156,4 +156,9 @@ pre[class*='language-'] {svg {transform: rotate(90deg);}-}\ No newline at end of file+}++// ToC styles+.toc__menu-item--active {+ color: var(--colors-brand9) !important;+}diff --git a/package-lock.json b/package-lock.jsonindex faa6b32827d..69cccf634a4 100644--- a/package-lock.json+++ b/package-lock.json@@ -55,7 +55,7 @@"jsrsasign": "^10.5.26","lodash": "^4.17.21","markdown-toc": "^1.2.0",- "next": "12.0.9",+ "next": "12.1.0","next-compose-plugins": "^2.2.1","next-mdx-remote": "^3.0.8","next-themes": "0.0.15",@@ -63,8 +63,10 @@"react": "17.0.2","react-copy-to-clipboard": "^5.0.2","react-dom": "17.0.2",+ "react-intersection-observer": "^9.4.0","react-markdown": "^8.0.3","react-syntax-highlighter": "^15.3.1",+ "react-use-scrollspy": "^3.1.1","remark": "^14.0.2","remark-admonitions": "^1.2.1","remark-html": "^15.0.0",@@ -177,176 +179,6 @@"react": "^16.13.1 || ^17.0.0"}},- "apps/temp-docs/node_modules/@next/env": {- "version": "12.0.9",- "resolved": "https://registry.npmjs.org/@next/env/-/env-12.0.9.tgz",- "integrity": "sha512-oBlkyDop0Stf7MPIzETGv5r0YT/G/weBrknoPOUTaa5qwOeGjuy6gsOVc/SBtrBkOoBmRpD+fFhQJPvmo1mS+g=="- },- "apps/temp-docs/node_modules/@next/swc-android-arm64": {- "version": "12.0.9",- "resolved": "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.0.9.tgz",- "integrity": "sha512-aVqgsEn5plmUH2X58sjzhHsH/6majucWTMaaBEs7hHO2+GCwCZc7zaLH4XCBMKPES9Yaja8/pYUbvZQE9DqgFw==",- "cpu": [- "arm64"- ],- "optional": true,- "os": [- "android"- ],- "engines": {- "node": ">= 10"- }- },- "apps/temp-docs/node_modules/@next/swc-darwin-arm64": {- "version": "12.0.9",- "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.0.9.tgz",- "integrity": "sha512-uAgRKm4a2nVdyBiPPJokvmDD1saugOvxljz9ld2ih0CCg5S9vBhqaj3kPGCQBj9hSu3q+Lng2CHnQqG3ga1jzA==",- "cpu": [- "arm64"- ],- "optional": true,- "os": [- "darwin"- ],- "engines": {- "node": ">= 10"- }- },- "apps/temp-docs/node_modules/@next/swc-darwin-x64": {- "version": "12.0.9",- "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.0.9.tgz",- "integrity": "sha512-fDOs2lZIyrAdU18IxMA5orBPn9qLbOdu55gXSTNZOhyRJ8ugtbUAejsK7OL0boJy0CCHPAdVRXm01Mwk8tZ9RQ==",- "cpu": [- "x64"- ],- "optional": true,- "os": [- "darwin"- ],- "engines": {- "node": ">= 10"- }- },- "apps/temp-docs/node_modules/@next/swc-linux-arm-gnueabihf": {- "version": "12.0.9",- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.0.9.tgz",- "integrity": "sha512-/ni0p9DBvATUML9RQ1ycQuf05uOYKdzA6iI8+eRsARjpGbFVUFbge7XPzlj9g2Q9YWgoN8CSjFGnKRlyky5uHA==",- "cpu": [- "arm"- ],- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">= 10"- }- },- "apps/temp-docs/node_modules/@next/swc-linux-arm64-gnu": {- "version": "12.0.9",- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.0.9.tgz",- "integrity": "sha512-AphxilJDf95rUxJDHgM9Ww1DaYXZWqTvoKwXeej/0SgSvICcRZrLaFDrkojdXz0Rxr4igX2OdYR1S4/Hj1jWOQ==",- "cpu": [- "arm64"- ],- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">= 10"- }- },- "apps/temp-docs/node_modules/@next/swc-linux-arm64-musl": {- "version": "12.0.9",- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.0.9.tgz",- "integrity": "sha512-K5jbvNNzF3mRjWmPdxP5Bg87i7FHivfBj/L0KJlxpkLSC8sffBJDmB6jtMnI7wiPj9J6vmLkbGtSosln78xAlQ==",- "cpu": [- "arm64"- ],- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">= 10"- }- },- "apps/temp-docs/node_modules/@next/swc-linux-x64-gnu": {- "version": "12.0.9",- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.0.9.tgz",- "integrity": "sha512-bJZ9bkMkQzsY+UyWezEZ77GWQ4TzwKeXdayX3U3+aEkL8k5C6eKBXlidWdrhu0teLmaUXIyWerWrLnJzwGXdfw==",- "cpu": [- "x64"- ],- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">= 10"- }- },- "apps/temp-docs/node_modules/@next/swc-linux-x64-musl": {- "version": "12.0.9",- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.0.9.tgz",- "integrity": "sha512-SR9p0R+v1T32DTXPVAXZw31pmJAkSDotC6Afy+mfC0xrEL3pp95R8sGXYAAUCEPkQp0MEeUOVy2LrToe92X7hQ==",- "cpu": [- "x64"- ],- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">= 10"- }- },- "apps/temp-docs/node_modules/@next/swc-win32-arm64-msvc": {- "version": "12.0.9",- "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.0.9.tgz",- "integrity": "sha512-mzQ1A8vfHhJrvEy5KJZGZWEByXthyKfWofvFaf+oo/5nJl/0Bz1ODP2ajSmbLG++77Eo2AROgbm9pkW1ucvG2A==",- "cpu": [- "arm64"- ],- "optional": true,- "os": [- "win32"- ],- "engines": {- "node": ">= 10"- }- },- "apps/temp-docs/node_modules/@next/swc-win32-ia32-msvc": {- "version": "12.0.9",- "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.0.9.tgz",- "integrity": "sha512-MpD2vj1zjo1u3J3wiz3pEKse19Etz+P0GL6XfQkB/9a84vJQ1JWMaWBjmIdivzZv718Il2pRSSx8hymwPfguYQ==",- "cpu": [- "ia32"- ],- "optional": true,- "os": [- "win32"- ],- "engines": {- "node": ">= 10"- }- },- "apps/temp-docs/node_modules/@next/swc-win32-x64-msvc": {- "version": "12.0.9",- "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.0.9.tgz",- "integrity": "sha512-1c/sxp/4Qz4F6rCxiYqAnrmghCOFt5hHZ9Kd+rXFW5Mqev4C4XDOUMHdBH55HgnJZqngYhOE0r/XNkCtsIojig==",- "cpu": [- "x64"- ],- "optional": true,- "os": [- "win32"- ],- "engines": {- "node": ">= 10"- }- },"apps/temp-docs/node_modules/@radix-ui/primitive": {"version": "1.0.0","resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.0.0.tgz",@@ -812,55 +644,6 @@"dev": true,"license": "MIT"},- "apps/temp-docs/node_modules/next": {- "version": "12.0.9",- "resolved": "https://registry.npmjs.org/next/-/next-12.0.9.tgz",- "integrity": "sha512-omfYqoR/DvbdOIJ6SS1unKJ4mGIxUPs0RPa7wr/Mft22OCKgJhuG+aI9KFYi5ZJBwoFQk1vqaMKpWz5qr+dN0Q==",- "dependencies": {- "@next/env": "12.0.9",- "caniuse-lite": "^1.0.30001283",- "postcss": "8.4.5",- "styled-jsx": "5.0.0",- "use-subscription": "1.5.1"- },- "bin": {- "next": "dist/bin/next"- },- "engines": {- "node": ">=12.22.0"- },- "optionalDependencies": {- "@next/swc-android-arm64": "12.0.9",- "@next/swc-darwin-arm64": "12.0.9",- "@next/swc-darwin-x64": "12.0.9",- "@next/swc-linux-arm-gnueabihf": "12.0.9",- "@next/swc-linux-arm64-gnu": "12.0.9",- "@next/swc-linux-arm64-musl": "12.0.9",- "@next/swc-linux-x64-gnu": "12.0.9",- "@next/swc-linux-x64-musl": "12.0.9",- "@next/swc-win32-arm64-msvc": "12.0.9",- "@next/swc-win32-ia32-msvc": "12.0.9",- "@next/swc-win32-x64-msvc": "12.0.9"- },- "peerDependencies": {- "fibers": ">= 3.1.0",- "node-sass": "^4.0.0 || ^5.0.0 || ^6.0.0",- "react": "^17.0.2 || ^18.0.0-0",- "react-dom": "^17.0.2 || ^18.0.0-0",- "sass": "^1.3.0"- },- "peerDependenciesMeta": {- "fibers": {- "optional": true- },- "node-sass": {- "optional": true- },- "sass": {- "optional": true- }- }- },"apps/temp-docs/node_modules/next-mdx-remote": {"version": "3.0.8","resolved": "https://registry.npmjs.org/next-mdx-remote/-/next-mdx-remote-3.0.8.tgz",@@ -897,23 +680,6 @@"node": ">= 0.8.0"}},- "apps/temp-docs/node_modules/postcss": {- "version": "8.4.5",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.5.tgz",- "integrity": "sha512-jBDboWM8qpaqwkMwItqTQTiFikhs/67OYVvblFFTM7MrZjt6yMKd6r2kgXizEbTTljacm4NldIlZnhbjr84QYg==",- "dependencies": {- "nanoid": "^3.1.30",- "picocolors": "^1.0.0",- "source-map-js": "^1.0.1"- },- "engines": {- "node": "^10 || ^12 || >=14"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/postcss/"- }- },"apps/temp-docs/node_modules/supports-color": {"version": "7.2.0","dev": true,@@ -29547,6 +29313,14 @@"react": "^16.8.4 || ^17.0.0"}},+ "node_modules/react-intersection-observer": {+ "version": "9.4.0",+ "resolved": "https://registry.npmjs.org/react-intersection-observer/-/react-intersection-observer-9.4.0.tgz",+ "integrity": "sha512-v0403CmomOVlzhqFXlzOxg0ziLcVq8mfbP0AwAcEQWgZmR2OulOT79Ikznw4UlB3N+jlUYqLMe4SDHUOyp0t2A==",+ "peerDependencies": {+ "react": "^15.0.0 || ^16.0.0 || ^17.0.0|| ^18.0.0"+ }+ },"node_modules/react-is": {"version": "16.13.1","resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",@@ -29919,6 +29693,17 @@"react-dom": ">=16.6.0"}},+ "node_modules/react-use-scrollspy": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/react-use-scrollspy/-/react-use-scrollspy-3.1.1.tgz",+ "integrity": "sha512-EXkQoMKqt6VF4fAxcLFsNLZksctXXmtC8LYk1Zb0Cn0MZX1LErikAoAPWWJkel3Ze7NbJRVgpIzwEX4w108tOg==",+ "dependencies": {+ "lodash": "4.17.21"+ },+ "peerDependencies": {+ "react": ">=16.8.6"+ }+ },"node_modules/react-virtualized-auto-sizer": {"version": "1.0.7","resolved": "https://registry.npmjs.org/react-virtualized-auto-sizer/-/react-virtualized-auto-sizer-1.0.7.tgz",@@ -58843,6 +58628,12 @@"prop-types": "^15.0.0"}},+ "react-intersection-observer": {+ "version": "9.4.0",+ "resolved": "https://registry.npmjs.org/react-intersection-observer/-/react-intersection-observer-9.4.0.tgz",+ "integrity": "sha512-v0403CmomOVlzhqFXlzOxg0ziLcVq8mfbP0AwAcEQWgZmR2OulOT79Ikznw4UlB3N+jlUYqLMe4SDHUOyp0t2A==",+ "requires": {}+ },"react-is": {"version": "16.13.1","resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",@@ -59086,6 +58877,14 @@"prop-types": "^15.6.2"}},+ "react-use-scrollspy": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/react-use-scrollspy/-/react-use-scrollspy-3.1.1.tgz",+ "integrity": "sha512-EXkQoMKqt6VF4fAxcLFsNLZksctXXmtC8LYk1Zb0Cn0MZX1LErikAoAPWWJkel3Ze7NbJRVgpIzwEX4w108tOg==",+ "requires": {+ "lodash": "4.17.21"+ }+ },"react-virtualized-auto-sizer": {"version": "1.0.7","resolved": "https://registry.npmjs.org/react-virtualized-auto-sizer/-/react-virtualized-auto-sizer-1.0.7.tgz",@@ -62159,7 +61958,7 @@"lodash": "^4.17.21","markdown-toc": "^1.2.0","minimist": "^1.2.6",- "next": "12.0.9",+ "next": "12.1.0","next-compose-plugins": "^2.2.1","next-mdx-remote": "^3.0.8","next-themes": "0.0.15",@@ -62169,8 +61968,10 @@"react": "17.0.2","react-copy-to-clipboard": "^5.0.2","react-dom": "17.0.2",+ "react-intersection-observer": "^9.4.0","react-markdown": "^8.0.3","react-syntax-highlighter": "^15.3.1",+ "react-use-scrollspy": "*","remark": "^14.0.2","remark-admonitions": "^1.2.1","remark-html": "^15.0.0",@@ -62235,77 +62036,6 @@"version": "1.6.22","requires": {}},- "@next/env": {- "version": "12.0.9",- "resolved": "https://registry.npmjs.org/@next/env/-/env-12.0.9.tgz",- "integrity": "sha512-oBlkyDop0Stf7MPIzETGv5r0YT/G/weBrknoPOUTaa5qwOeGjuy6gsOVc/SBtrBkOoBmRpD+fFhQJPvmo1mS+g=="- },- "@next/swc-android-arm64": {- "version": "12.0.9",- "resolved": "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.0.9.tgz",- "integrity": "sha512-aVqgsEn5plmUH2X58sjzhHsH/6majucWTMaaBEs7hHO2+GCwCZc7zaLH4XCBMKPES9Yaja8/pYUbvZQE9DqgFw==",- "optional": true- },- "@next/swc-darwin-arm64": {- "version": "12.0.9",- "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.0.9.tgz",- "integrity": "sha512-uAgRKm4a2nVdyBiPPJokvmDD1saugOvxljz9ld2ih0CCg5S9vBhqaj3kPGCQBj9hSu3q+Lng2CHnQqG3ga1jzA==",- "optional": true- },- "@next/swc-darwin-x64": {- "version": "12.0.9",- "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.0.9.tgz",- "integrity": "sha512-fDOs2lZIyrAdU18IxMA5orBPn9qLbOdu55gXSTNZOhyRJ8ugtbUAejsK7OL0boJy0CCHPAdVRXm01Mwk8tZ9RQ==",- "optional": true- },- "@next/swc-linux-arm-gnueabihf": {- "version": "12.0.9",- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.0.9.tgz",- "integrity": "sha512-/ni0p9DBvATUML9RQ1ycQuf05uOYKdzA6iI8+eRsARjpGbFVUFbge7XPzlj9g2Q9YWgoN8CSjFGnKRlyky5uHA==",- "optional": true- },- "@next/swc-linux-arm64-gnu": {- "version": "12.0.9",- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.0.9.tgz",- "integrity": "sha512-AphxilJDf95rUxJDHgM9Ww1DaYXZWqTvoKwXeej/0SgSvICcRZrLaFDrkojdXz0Rxr4igX2OdYR1S4/Hj1jWOQ==",- "optional": true- },- "@next/swc-linux-arm64-musl": {- "version": "12.0.9",- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.0.9.tgz",- "integrity": "sha512-K5jbvNNzF3mRjWmPdxP5Bg87i7FHivfBj/L0KJlxpkLSC8sffBJDmB6jtMnI7wiPj9J6vmLkbGtSosln78xAlQ==",- "optional": true- },- "@next/swc-linux-x64-gnu": {- "version": "12.0.9",- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.0.9.tgz",- "integrity": "sha512-bJZ9bkMkQzsY+UyWezEZ77GWQ4TzwKeXdayX3U3+aEkL8k5C6eKBXlidWdrhu0teLmaUXIyWerWrLnJzwGXdfw==",- "optional": true- },- "@next/swc-linux-x64-musl": {- "version": "12.0.9",- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.0.9.tgz",- "integrity": "sha512-SR9p0R+v1T32DTXPVAXZw31pmJAkSDotC6Afy+mfC0xrEL3pp95R8sGXYAAUCEPkQp0MEeUOVy2LrToe92X7hQ==",- "optional": true- },- "@next/swc-win32-arm64-msvc": {- "version": "12.0.9",- "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.0.9.tgz",- "integrity": "sha512-mzQ1A8vfHhJrvEy5KJZGZWEByXthyKfWofvFaf+oo/5nJl/0Bz1ODP2ajSmbLG++77Eo2AROgbm9pkW1ucvG2A==",- "optional": true- },- "@next/swc-win32-ia32-msvc": {- "version": "12.0.9",- "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.0.9.tgz",- "integrity": "sha512-MpD2vj1zjo1u3J3wiz3pEKse19Etz+P0GL6XfQkB/9a84vJQ1JWMaWBjmIdivzZv718Il2pRSSx8hymwPfguYQ==",- "optional": true- },- "@next/swc-win32-x64-msvc": {- "version": "12.0.9",- "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.0.9.tgz",- "integrity": "sha512-1c/sxp/4Qz4F6rCxiYqAnrmghCOFt5hHZ9Kd+rXFW5Mqev4C4XDOUMHdBH55HgnJZqngYhOE0r/XNkCtsIojig==",- "optional": true- },"@radix-ui/primitive": {"version": "1.0.0","resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.0.0.tgz",@@ -62642,29 +62372,6 @@"version": "0.4.1","dev": true},- "next": {- "version": "12.0.9",- "resolved": "https://registry.npmjs.org/next/-/next-12.0.9.tgz",- "integrity": "sha512-omfYqoR/DvbdOIJ6SS1unKJ4mGIxUPs0RPa7wr/Mft22OCKgJhuG+aI9KFYi5ZJBwoFQk1vqaMKpWz5qr+dN0Q==",- "requires": {- "@next/env": "12.0.9",- "@next/swc-android-arm64": "12.0.9",- "@next/swc-darwin-arm64": "12.0.9",- "@next/swc-darwin-x64": "12.0.9",- "@next/swc-linux-arm-gnueabihf": "12.0.9",- "@next/swc-linux-arm64-gnu": "12.0.9",- "@next/swc-linux-arm64-musl": "12.0.9",- "@next/swc-linux-x64-gnu": "12.0.9",- "@next/swc-linux-x64-musl": "12.0.9",- "@next/swc-win32-arm64-msvc": "12.0.9",- "@next/swc-win32-ia32-msvc": "12.0.9",- "@next/swc-win32-x64-msvc": "12.0.9",- "caniuse-lite": "^1.0.30001283",- "postcss": "8.4.5",- "styled-jsx": "5.0.0",- "use-subscription": "1.5.1"- }- },"next-mdx-remote": {"version": "3.0.8","resolved": "https://registry.npmjs.org/next-mdx-remote/-/next-mdx-remote-3.0.8.tgz",@@ -62692,16 +62399,6 @@"word-wrap": "^1.2.3"}},- "postcss": {- "version": "8.4.5",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.5.tgz",- "integrity": "sha512-jBDboWM8qpaqwkMwItqTQTiFikhs/67OYVvblFFTM7MrZjt6yMKd6r2kgXizEbTTljacm4NldIlZnhbjr84QYg==",- "requires": {- "nanoid": "^3.1.30",- "picocolors": "^1.0.0",- "source-map-js": "^1.0.1"- }- },"supports-color": {"version": "7.2.0","dev": true,