From 7f9ca73c9536fe4f3d5a221b48b879bbbf7247d7 Mon Sep 17 00:00:00 2001 From: dshukertjr Date: Mon, 26 Feb 2024 18:47:07 +0900 Subject: [PATCH] Update Supabase config information --- bricks/supabase_functions/__brick__/edge.yaml | 2 ++ bricks/supabase_functions/__brick__/pubspec.yaml | 6 +++--- docs/platform/supabase/config.mdx | 8 ++++---- 3 files changed, 9 insertions(+), 7 deletions(-) create mode 100644 bricks/supabase_functions/__brick__/edge.yaml diff --git a/bricks/supabase_functions/__brick__/edge.yaml b/bricks/supabase_functions/__brick__/edge.yaml new file mode 100644 index 0000000..3a15b33 --- /dev/null +++ b/bricks/supabase_functions/__brick__/edge.yaml @@ -0,0 +1,2 @@ +supabase: + project_path: './supabase' diff --git a/bricks/supabase_functions/__brick__/pubspec.yaml b/bricks/supabase_functions/__brick__/pubspec.yaml index 6ff86dc..2ca1daf 100644 --- a/bricks/supabase_functions/__brick__/pubspec.yaml +++ b/bricks/supabase_functions/__brick__/pubspec.yaml @@ -4,11 +4,11 @@ version: 1.0.0 publish_to: none environment: - sdk: ">=2.18.5 <3.0.0" + sdk: '>=2.18.5 <3.0.0' dependencies: - edge: ^0.0.5 + edge: ^0.0.7 supabase_functions: ^0.0.1 dev_dependencies: - lints: ^2.0.1 \ No newline at end of file + lints: ^2.0.1 diff --git a/docs/platform/supabase/config.mdx b/docs/platform/supabase/config.mdx index ec74289..616543a 100644 --- a/docs/platform/supabase/config.mdx +++ b/docs/platform/supabase/config.mdx @@ -9,17 +9,17 @@ The following Supabase configuration options are supported via the `edge.yaml` f ```yaml supabase: # The path to root of where your Supabase project exists. - projectPath: '.' + project_path: '.' # An object of functions and their entrypoints to build. # This is used if you have multiple Supabase function entrypoints. functions: dart_edge: 'lib/main.dart' # The compiler optimization level to use for development builds. - devCompilerLevel: 01 + dev_compiler_l_evel: 01 # The compiler optimization level to use for production builds. - prodCompilerLevel: 04 + prod_compiler_level: 04 # Whether to exit the development watch process when a build fails. - exitWatchOnFailure: false + exit_watch_on_failure: false ``` ## Multiple entrypoints