From 87523428a760a4345f63b60243e32c316d15372b Mon Sep 17 00:00:00 2001 From: Patrick Britton Date: Tue, 3 Feb 2026 17:28:52 -0600 Subject: [PATCH] feat: add initial VS Code configurations and development environment setup for Flutter, Supabase, and Deno. --- .claude/settings.local.json | 52 ++++++++++++++++++ .vscode/extensions.json | 5 ++ .vscode/launch.json | 55 +++++++++++++++++++ .../supabase/functions/.vscode/settings.json | 20 +++++++ sojorn_app/.vscode/launch.json | 42 ++++++++++++++ 5 files changed, 174 insertions(+) create mode 100644 .claude/settings.local.json create mode 100644 .vscode/extensions.json create mode 100644 .vscode/launch.json create mode 100644 _legacy/supabase/functions/.vscode/settings.json create mode 100644 sojorn_app/.vscode/launch.json diff --git a/.claude/settings.local.json b/.claude/settings.local.json new file mode 100644 index 0000000..33647dc --- /dev/null +++ b/.claude/settings.local.json @@ -0,0 +1,52 @@ +{ + "permissions": { + "allow": [ + "Bash(mkdir:*)", + "Bash(supabase login:*)", + "Bash(npm install:*)", + "Bash(curl:*)", + "Bash(flutter --version:*)", + "Bash(flutter create:*)", + "Bash(flutter pub get:*)", + "Bash(flutter analyze:*)", + "Bash(npx supabase db execute:*)", + "Bash(supabase status:*)", + "Bash(dir:*)", + "Bash(powershell -ExecutionPolicy Bypass -File test_edge_functions.ps1)", + "Bash(dart run:*)", + "Bash(flutter devices:*)", + "Bash(flutter uninstall:*)", + "Bash(adb:*)", + "Bash(flutter install:*)", + "Bash(powershell -ExecutionPolicy Bypass -File run_dev.ps1)", + "Bash(powershell:*)", + "Bash(timeout 5 cat:*)", + "Bash(supabase:*)", + "Bash(findstr:*)", + "Bash(npx supabase:*)", + "Bash(head:*)", + "Bash(cat:*)", + "Bash(grep:*)", + "Bash(ls:*)", + "Bash(flutter pub add:*)", + "Bash(git add:*)", + "Bash(git commit:*)", + "Bash(flutter run:*)", + "Bash(timeout 15 tail:*)", + "Bash(nslookup:*)", + "Bash(flutter logs:*)", + "Bash(flutter pub deps:*)", + "Bash(jq:*)", + "Bash(git push:*)", + "Bash(psql:*)", + "Bash(where:*)", + "Bash(python -c:*)", + "Bash(powershell.exe:*)", + "Bash(pwsh.exe -ExecutionPolicy Bypass -File ./deploy_all_functions.ps1)", + "Bash(flutter build:*)", + "Bash(find:*)", + "Bash(flutter upgrade:*)", + "Bash(xargs:*)" + ] + } +} diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..16f6338 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,5 @@ +{ + "recommendations": [ + "rooveterinaryinc.roo-cline" + ] +} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..8ce0a85 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,55 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "sojorn_app", + "cwd": "sojorn_app", + "request": "launch", + "type": "dart", + "args": [ + "--dart-define=SUPABASE_URL=https://zwkihedetedlatyvplyz.supabase.co", + "--dart-define=SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Inp3a2loZWRldGVkbHl6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3Njc2Nzk3OTUsImV4cCI6MjA4MzI1NTc5NX0.7YyYOABjm7cpKa1DiefkI9bH8r6SICJ89nDK9sgUa0M", + "--dart-define=API_BASE_URL=https://zwkihedetedlatyvplyz.supabase.co/functions/v1", + "--dart-define=SUPABASE_PUBLISHABLE_KEY=sb_publishable_EnvwO9qKrsm35YmfZ7ghWA_liH7fcYX", + "--dart-define=SUPABASE_SECRET_KEY=sb_secret_s3Nyt27pcqk1P80974sxOw_cqQSexYU", + "--dart-define=SUPABASE_JWT_KID=b66bc58d-34b8-481d-9eb9-8f6e3b90714e", + "--dart-define=SUPABASE_JWKS_URI=https://zwkihedetedlatyvplyz.supabase.co/auth/v1/.well-known/jwks.json" + ] + }, + { + "name": "sojorn_app (profile mode)", + "cwd": "sojorn_app", + "request": "launch", + "type": "dart", + "flutterMode": "profile", + "args": [ + "--dart-define=SUPABASE_URL=https://zwkihedetedlatyvplyz.supabase.co", + "--dart-define=SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Inp3a2loZWRldGVkbHl6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3Njc2Nzk3OTUsImV4cCI6MjA4MzI1NTc5NX0.7YyYOABjm7cpKa1DiefkI9bH8r6SICJ89nDK9sgUa0M", + "--dart-define=API_BASE_URL=https://zwkihedetedlatyvplyz.supabase.co/functions/v1", + "--dart-define=SUPABASE_PUBLISHABLE_KEY=sb_publishable_EnvwO9qKrsm35YmfZ7ghWA_liH7fcYX", + "--dart-define=SUPABASE_SECRET_KEY=sb_secret_s3Nyt27pcqk1P80974sxOw_cqQSexYU", + "--dart-define=SUPABASE_JWT_KID=b66bc58d-34b8-481d-9eb9-8f6e3b90714e", + "--dart-define=SUPABASE_JWKS_URI=https://zwkihedetedlatyvplyz.supabase.co/auth/v1/.well-known/jwks.json" + ] + }, + { + "name": "sojorn_app (release mode)", + "cwd": "sojorn_app", + "request": "launch", + "type": "dart", + "flutterMode": "release", + "args": [ + "--dart-define=SUPABASE_URL=https://zwkihedetedlatyvplyz.supabase.co", + "--dart-define=SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Inp3a2loZWRldGVkbHl6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3Njc2Nzk3OTUsImV4cCI6MjA4MzI1NTc5NX0.7YyYOABjm7cpKa1DiefkI9bH8r6SICJ89nDK9sgUa0M", + "--dart-define=API_BASE_URL=https://zwkihedetedlatyvplyz.supabase.co/functions/v1", + "--dart-define=SUPABASE_PUBLISHABLE_KEY=sb_publishable_EnvwO9qKrsm35YmfZ7ghWA_liH7fcYX", + "--dart-define=SUPABASE_SECRET_KEY=sb_secret_s3Nyt27pcqk1P80974sxOw_cqQSexYU", + "--dart-define=SUPABASE_JWT_KID=b66bc58d-34b8-481d-9eb9-8f6e3b90714e", + "--dart-define=SUPABASE_JWKS_URI=https://zwkihedetedlatyvplyz.supabase.co/auth/v1/.well-known/jwks.json" + ] + } + ] +} diff --git a/_legacy/supabase/functions/.vscode/settings.json b/_legacy/supabase/functions/.vscode/settings.json new file mode 100644 index 0000000..b77a66a --- /dev/null +++ b/_legacy/supabase/functions/.vscode/settings.json @@ -0,0 +1,20 @@ +{ + "deno.enable": true, + "deno.lint": true, + "deno.unstable": false, + "javascript.preferences.quoteStyle": "single", + "typescript.preferences.quoteStyle": "single", + "search.exclude": { + "**/node_modules": true, + "**/dist": true + }, + "typescript.validate.enable": false, + "javascript.validate.enable": false, + "files.associations": { + "*.ts": "typescript" + }, + "editor.defaultFormatter": "denoland.vscode-deno", + "[typescript]": { + "editor.defaultFormatter": "denoland.vscode-deno" + } +} diff --git a/sojorn_app/.vscode/launch.json b/sojorn_app/.vscode/launch.json new file mode 100644 index 0000000..72d29ee --- /dev/null +++ b/sojorn_app/.vscode/launch.json @@ -0,0 +1,42 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Sojorn (Development)", + "request": "launch", + "type": "dart", + "program": "lib/main.dart", + "args": [ + "--dart-define=SUPABASE_URL=https://zwkihedetedlatyvplyz.supabase.co", + "--dart-define=SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Inp3a2loZWRldGVkbGF0eXZwbHl6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3Njc2Nzk3OTUsImV4cCI6MjA4MzI1NTc5NX0.7YyYOABjm7cpKa1DiefkI9bH8r6SICJ89nDK9sgUa0M", + "--dart-define=API_BASE_URL=https://zwkihedetedlatyvplyz.supabase.co/functions/v1" + ] + }, + { + "name": "Sojorn (Chrome)", + "request": "launch", + "type": "dart", + "program": "lib/main.dart", + "args": [ + "-d", + "chrome", + "--dart-define=SUPABASE_URL=https://zwkihedetedlatyvplyz.supabase.co", + "--dart-define=SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Inp3a2loZWRldGVkbGF0eXZwbHl6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3Njc2Nzk3OTUsImV4cCI6MjA4MzI1NTc5NX0.7YyYOABjm7cpKa1DiefkI9bH8r6SICJ89nDK9sgUa0M", + "--dart-define=API_BASE_URL=https://zwkihedetedlatyvplyz.supabase.co/functions/v1" + ] + }, + { + "name": "Sojorn (Android)", + "request": "launch", + "type": "dart", + "program": "lib/main.dart", + "args": [ + "-d", + "android", + "--dart-define=SUPABASE_URL=https://zwkihedetedlatyvplyz.supabase.co", + "--dart-define=SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Inp3a2loZWRldGVkbGF0eXZwbHl6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3Njc2Nzk3OTUsImV4cCI6MjA4MzI1NTc5NX0.7YyYOABjm7cpKa1DiefkI9bH8r6SICJ89nDK9sgUa0M", + "--dart-define=API_BASE_URL=https://zwkihedetedlatyvplyz.supabase.co/functions/v1" + ] + } + ] +}