© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•5mo ago•
1 reply
🌴Flawda Guy🌴

What is the proper way to handle supabase directory being a few paths deep into my project?

Recently changed my repo into a monorepo with nx. The schema we want to have is supabase lives in
./libs/db/supabase
./libs/db/supabase
. I tried running commands like
supabase start --workdir ./libs/db/supabase
supabase start --workdir ./libs/db/supabase
from the command line, but it never seemed to apply my migrations properly. Only when I first cd into
./libs/db
./libs/db
then run
supabase start
supabase start
.

If I want some of my common supabase commands to be npm scripts, do I just have the script cd into that directory, run the command, then cd back out? Im thinking there has to be a better way to do this?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

What is the proper way to update a value after update or insert?
SupabaseSSupabase / help-and-questions
3y ago
My supabase api is being DDOS'd
SupabaseSSupabase / help-and-questions
7mo ago
What is the best way to go about self hosting supabase?
SupabaseSSupabase / help-and-questions
4y ago
Error: read supabase/migrations/meta: is a directory
SupabaseSSupabase / help-and-questions
3y ago