The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: change functions dependencies url (#33050)
Wen Bo Xie3f6adea49cba
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.tsindex ee23f22230b..59d581a6436 100644--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts@@ -1323,7 +1323,7 @@ export const functions: NavMenuConstant = {name: 'Guides',url: undefined,items: [- { name: 'Managing dependencies', url: '/guides/functions/import-maps' },+ { name: 'Managing dependencies', url: '/guides/functions/dependencies' },{name: 'Managing environment variables',url: '/guides/functions/secrets',diff --git a/apps/docs/content/guides/functions/import-maps.mdx b/apps/docs/content/guides/functions/dependencies.mdxsimilarity index 100%rename from apps/docs/content/guides/functions/import-maps.mdxrename to apps/docs/content/guides/functions/dependencies.mdxdiff --git a/apps/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsx b/apps/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsxindex aa42058a0a5..f68dfc3b8ae 100644--- a/apps/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsx+++ b/apps/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsx@@ -194,7 +194,7 @@ const EdgeFunctionDetails = () => {<div className="!mt-4"><Button asChild type="default" icon={<ExternalLink strokeWidth={1.5} />}><Link- href="https://supabase.com/docs/guides/functions/import-maps"+ href="https://supabase.com/docs/guides/functions/dependencies"target="_blank"rel="noreferrer">diff --git a/apps/www/_blog/2023-12-12-edge-functions-node-npm.mdx b/apps/www/_blog/2023-12-12-edge-functions-node-npm.mdxindex a8e3c21eb45..bdc6fa829b3 100644--- a/apps/www/_blog/2023-12-12-edge-functions-node-npm.mdx+++ b/apps/www/_blog/2023-12-12-edge-functions-node-npm.mdx@@ -24,7 +24,7 @@ import { drizzle } from 'npm:drizzle-orm/node-postgres'You can migrate your existing Node apps to Supabase Edge Functions with minimal changes.-We created a demo to show how to migrate a Node app that uses Express, Node Postgres, and Drizzle. For more information on using npm modules and Node built-ins within your Edge Functions, see the [Managing dependencies guide](https://supabase.com/docs/guides/functions/import-maps).+We created a demo to show how to migrate a Node app that uses Express, Node Postgres, and Drizzle. For more information on using npm modules and Node built-ins within your Edge Functions, see the [Managing dependencies guide](https://supabase.com/docs/guides/functions/dependencies).<div className="video-container"><iframediff --git a/apps/www/lib/redirects.js b/apps/www/lib/redirects.jsindex 6deae59b20a..8e9b949ea32 100644--- a/apps/www/lib/redirects.js+++ b/apps/www/lib/redirects.js@@ -2632,6 +2632,11 @@ module.exports = [source: '/docs/guides/functions/functions-headers',destination: '/docs/functions/logging',},+ {+ permanent: true,+ source: '/docs/guides/functions/import-maps',+ destination: '/docs/guides/functions/dependencies',+ },{permanent: true,source: '/docs/guides/auth/phone-login/messagebird',