We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be98bf5 commit 8b4ea48Copy full SHA for 8b4ea48
supabase/functions/createPost/index.ts
@@ -1,4 +1,5 @@
1
-import { createClient } from "@supabase/supabase-js";
+import "jsr:@supabase/functions-js/edge-runtime.d.ts";
2
+import { createClient } from "jsr:@supabase/supabase-js@2";
3
import { corsHeaders } from "../_shared/cors.ts";
4
5
Deno.serve(async (req) => {
supabase/functions/deno.json
@@ -5,8 +5,11 @@
"lint-functions": "deno lint */*.ts",
6
"test-functions": "deno test */*.test.ts"
7
},
8
- "imports": {
9
- "@supabase/supabase-js": "jsr:@supabase/supabase-js@2"
+ "imports": {},
+ "lint": {
10
+ "rules": {
11
+ "exclude": ["no-import-prefix", "no-unversioned-import"]
12
+ }
13
14
"unstable": ["net", "http"],
15
"nodeModulesDir": "auto"
0 commit comments