@@ -129,7 +129,7 @@ nx test auth-js # Test specific package
129
129
nx test postgrest-js # Test specific package
130
130
nx test functions-js # Test specific package
131
131
nx test realtime-js # Test specific package
132
- nx test storage-js # Test specific package
132
+ nx test storage-js # Test specific package (may use special test:storage target)
133
133
nx test supabase-js # Test specific package
134
134
nx affected --target=test # Test only affected (recommended)
135
135
nx test auth-js --watch # Watch mode
@@ -138,14 +138,14 @@ nx test supabase-js --coverage # Test with coverage
138
138
139
139
** Docker Requirements:**
140
140
141
- | Package | Docker Required | Infrastructure |
142
- | ------------ | --------------- | ------------------------------- |
143
- | auth-js | ✅ Yes | GoTrue + PostgreSQL |
144
- | functions-js | ✅ Yes | Deno relay (testcontainers) |
145
- | postgrest-js | ✅ Yes | PostgREST + PostgreSQL |
146
- | storage-js | ✅ Yes | Storage API + PostgreSQL + Kong |
147
- | realtime-js | ❌ No | Mock WebSockets |
148
- | supabase-js | ❌ No | Unit tests only |
141
+ | Package | Docker Required | Infrastructure | Special Commands |
142
+ | ------------ | --------------- | ------------------------------- | ---------------- |
143
+ | auth-js | ✅ Yes | GoTrue + PostgreSQL | May use ` nx test:auth auth-js ` |
144
+ | functions-js | ✅ Yes | Deno relay (testcontainers) | Standard ` nx test functions-js ` |
145
+ | postgrest-js | ✅ Yes | PostgREST + PostgreSQL | Standard ` nx test postgrest-js ` |
146
+ | storage-js | ✅ Yes | Storage API + PostgreSQL + Kong | May use ` nx test:storage storage-js ` |
147
+ | realtime-js | ❌ No | Mock WebSockets | Standard ` nx test realtime-js ` |
148
+ | supabase-js | ❌ No | Unit tests only | Standard ` nx test supabase-js ` |
149
149
150
150
> ** 📖 See [ TESTING.md] ( docs/TESTING.md ) for complete testing guide and troubleshooting**
151
151
@@ -311,10 +311,13 @@ Tests run against multiple environments:
311
311
312
312
## Important Context
313
313
314
- ### Branch Differences
314
+ ### Branch Information
315
315
316
- Original repositories use different default branches:
316
+ ** Current Repository:**
317
+ - ** Default branch** : ` master ` (confirmed current default)
318
+ - ** Repository URL** : ` github.com/supabase/supabase-js `
317
319
320
+ ** Original Repository Branches** (for historical reference):
318
321
- ** master** : auth-js, postgrest-js, realtime-js, supabase-js
319
322
- ** main** : functions-js, storage-js
320
323
@@ -736,14 +739,16 @@ _No user-facing changes in this release._
736
739
737
740
## When Providing Code Suggestions
738
741
739
- 1 . ** Consider Monorepo Impact** : Changes might affect multiple packages - always check
740
- 2 . ** Use Nx Commands** : Prefer ` nx ` over direct ` npm ` for workspace operations
741
- 3 . ** Suggest Affected Testing** : ` nx affected --target=test ` over full test suite
742
- 4 . ** Respect Fixed Versioning** : All packages version together
743
- 5 . ** Maintain Compatibility** : Never introduce breaking changes
744
- 6 . ** Extract Shared Code** : Identify patterns that could be shared
745
- 7 . ** Follow Conventions** : Use existing patterns and structures
746
- 8 . ** Document Changes** : Update JSDoc and READMEs when changing APIs
742
+ 1 . ** Consider Monorepo Impact** : Changes might affect multiple packages - always check dependencies
743
+ 2 . ** Use Nx Commands** : Always prefer ` nx ` over direct ` npm ` for workspace operations
744
+ 3 . ** Suggest Affected Testing** : Use ` nx affected --target=test ` over full test suite for efficiency
745
+ 4 . ** Respect Fixed Versioning** : All packages version together - no independent versioning
746
+ 5 . ** Maintain Compatibility** : Never introduce breaking changes without proper process
747
+ 6 . ** Check Testing Requirements** : Be aware of Docker requirements for integration tests
748
+ 7 . ** Extract Shared Code** : Identify patterns that could be shared across packages
749
+ 8 . ** Follow Conventions** : Use existing patterns and structures within each library
750
+ 9 . ** Document Changes** : Update JSDoc and READMEs when changing public APIs
751
+ 10 . ** Use Conventional Commits** : Always suggest proper commit format with scope
747
752
748
753
## Quick Decision Tree
749
754
0 commit comments