Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

docs: note deno.json/package.json required for .npmrc (#50320)

Satya Rohith1b1c495c6ab6
diff --git a/apps/docs/content/guides/functions/dependencies.mdx b/apps/docs/content/guides/functions/dependencies.mdx
index 2bb5a5f62d6..b6ffc5aa266 100644
--- a/apps/docs/content/guides/functions/dependencies.mdx
+++ b/apps/docs/content/guides/functions/dependencies.mdx
@@ -115,6 +115,8 @@ To use private npm packages, create a `.npmrc` file within your function’s own
<Admonition type="note">This feature requires Supabase CLI version 1.207.9 or higher.</Admonition>
+Your function's directory must also contain a `deno.json` or `package.json` file. The file can be empty. If neither file is present, the `.npmrc` file is ignored. This matches the Deno CLI behavior.
+
```bash
└── supabase
└── functions