Skip to content

Commit 326f610

Browse files
committed
chore(repo): update nx
1 parent f421f2f commit 326f610

File tree

39 files changed

+8410
-3883
lines changed

39 files changed

+8410
-3883
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ body:
9191
options:
9292
- label: Follow our [Code of Conduct](https://github.com/supabase/.github/blob/main/CODE_OF_CONDUCT.md)
9393
required: true
94-
- label: Read the [Contributing Guidelines](https://github.com/supabase/supabase-js/blob/main/docs/CONTRIBUTING.md).
94+
- label: Read the [Contributing Guidelines](https://github.com/supabase/supabase-js/blob/main/CONTRIBUTING.md).
9595
required: true
9696
- label: Read the [docs](https://supabase.com/docs/reference/javascript/introduction).
9797
required: true

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ body:
4040
options:
4141
- label: Follow our [Code of Conduct](https://github.com/supabase/.github/blob/main/CODE_OF_CONDUCT.md)
4242
required: true
43-
- label: Read the [Contributing Guidelines](https://github.com/supabase/supabase-js/blob/main/docs/CONTRIBUTING.md).
43+
- label: Read the [Contributing Guidelines](https://github.com/supabase/supabase-js/blob/main/CONTRIBUTING.md).
4444
required: true
4545
- label: Read the [docs](https://supabase.com/docs/reference/javascript/introduction).
4646
required: true

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Closes #(issue_number) <!-- If applicable -->
2929

3030
<!-- Ensure all items are checked before submitting -->
3131

32-
- [ ] I have read the [Contributing Guidelines](https://github.com/supabase/supabase-js/blob/main/docs/CONTRIBUTING.md)
32+
- [ ] I have read the [Contributing Guidelines](https://github.com/supabase/supabase-js/blob/main/CONTRIBUTING.md)
3333
- [ ] My PR title follows the [conventional commit format](https://www.conventionalcommits.org/): `<type>(<scope>): <description>`
3434
- [ ] I have run `npx nx format` to ensure consistent code formatting
3535
- [ ] I have added tests for new functionality (if applicable)

.github/workflows/main-ci-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Main CI & Canary Release
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [master]
66
permissions:
77
actions: read
88
contents: write

.github/workflows/release-stable.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ on:
44
workflow_dispatch:
55
inputs:
66
version_specifier:
7-
description: "Semver bump (patch|minor|major|pre*) or exact version (v1.2.3)"
7+
description: 'Semver bump (patch|minor|major|pre*) or exact version (v1.2.3)'
88
required: true
99
type: string
1010

1111
env:
12-
NODE_VERSION: "20"
12+
NODE_VERSION: '20'
1313

1414
jobs:
1515
release-stable:
@@ -65,8 +65,8 @@ jobs:
6565
- uses: actions/setup-node@v4
6666
with:
6767
node-version: ${{ env.NODE_VERSION }}
68-
cache: "npm"
69-
registry-url: "https://registry.npmjs.org"
68+
cache: 'npm'
69+
registry-url: 'https://registry.npmjs.org'
7070

7171
- name: Install dependencies
7272
run: npm ci --legacy-peer-deps

CLAUDE.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ You are assisting with development in a unified Nx monorepo that consolidates al
44

55
> **📚 Essential Documentation**: Always refer to these guides for detailed information:
66
>
7-
> - **[CONTRIBUTING.md](docs/CONTRIBUTING.md)** - Development guidelines, commit format, PR process
7+
> - **[CONTRIBUTING.md](CONTRIBUTING.md)** - Development guidelines, commit format, PR process
88
> - **[TESTING.md](docs/TESTING.md)** - Complete testing guide with Docker requirements
99
> - **[RELEASE.md](docs/RELEASE.md)** - Release workflows and versioning strategy
1010
> - **[MIGRATION.md](docs/MIGRATION.md)** - Migration context from old repositories
@@ -108,7 +108,7 @@ Use conventional commit format for automated versioning:
108108
npm run commit
109109
```
110110

111-
> **📖 See [CONTRIBUTING.md](docs/CONTRIBUTING.md#commit-guidelines) for complete commit guidelines**
111+
> **📖 See [CONTRIBUTING.md](CONTRIBUTING.md#commit-guidelines) for complete commit guidelines**
112112
113113
## Essential Commands Reference
114114

@@ -352,7 +352,7 @@ All commits are validated using commitlint with strict rules:
352352
- **Subject**: Required, imperative mood, no period at end, max 100 characters
353353
- **Interactive Tool**: Use `npm run commit` to ensure compliance
354354

355-
See [CONTRIBUTING.md](docs/CONTRIBUTING.md#commit-guidelines) for complete details.
355+
See [CONTRIBUTING.md](CONTRIBUTING.md#commit-guidelines) for complete details.
356356

357357
## Common Pitfalls & Solutions
358358

@@ -480,7 +480,7 @@ cat docs/TESTING.md
480480

481481
## Pull Request Best Practices
482482

483-
> **📖 See [CONTRIBUTING.md](docs/CONTRIBUTING.md#pull-request-process) for complete PR guidelines**
483+
> **📖 See [CONTRIBUTING.md](CONTRIBUTING.md#pull-request-process) for complete PR guidelines**
484484
485485
### Before Creating PR
486486

@@ -622,7 +622,7 @@ nx test auth-js --testFile=GoTrueClient.test.ts
622622
## Additional Resources
623623

624624
- **[README.md](README.md)** - Repository overview and quick start
625-
- **[CONTRIBUTING.md](docs/CONTRIBUTING.md)** - Complete contribution guide
625+
- **[CONTRIBUTING.md](CONTRIBUTING.md)** - Complete contribution guide
626626
- **[TESTING.md](docs/TESTING.md)** - Comprehensive testing documentation
627627
- **[RELEASE.md](docs/RELEASE.md)** - Release workflows and automation
628628
- **[MIGRATION.md](docs/MIGRATION.md)** - Migration context and history

docs/CONTRIBUTING.md renamed to CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Thank you for your interest in contributing to the Supabase JavaScript client libraries! This guide will help you get started with contributing to the Supabase JS monorepo.
44

5-
> **📣 Coming from a separate repository?** The `supabase-js` repository has been converted into a monorepo and all other Supabase JS libraries have been absorbed into it. If you previously contributed to `auth-js`, `postgrest-js`, `realtime-js`, `storage-js`, or `functions-js`, please read our **[Migration Guide](MIGRATION.md)** to understand the new structure, workflow changes, and command mappings.
5+
> **📣 Coming from a separate repository?** The `supabase-js` repository has been converted into a monorepo and all other Supabase JS libraries have been absorbed into it. If you previously contributed to `auth-js`, `postgrest-js`, `realtime-js`, `storage-js`, or `functions-js`, please read our **[Migration Guide](docs/MIGRATION.md)** to understand the new structure, workflow changes, and command mappings.
66
77
## 📋 Table of Contents
88

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ npx nx test auth-js --watch
7070

7171
## 🤝 Contributing
7272

73-
We welcome contributions! Please see our [Contributing Guide](./docs/CONTRIBUTING.md) for details.
73+
We welcome contributions! Please see our [Contributing Guide](./CONTRIBUTING.md) for details.
7474

7575
### Quick Contribution Steps
7676

@@ -117,7 +117,7 @@ npx nx test <package-name> --coverage
117117

118118
### Architecture Documentation
119119

120-
- **[Contributing](./docs/CONTRIBUTING.md)** - Development guidelines
120+
- **[Contributing](./CONTRIBUTING.md)** - Development guidelines
121121
- **[Release Workflows](./docs/RELEASE.md)** - Release and publishing process
122122
- **[Migration Guide](./docs/MIGRATION.md)** - Migrating to the monorepo structure
123123
- **[Security Policy](./docs/SECURITY.md)** - Security guidelines and reporting

WARP.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This is a unified Nx monorepo consolidating all Supabase JavaScript client libra
88

99
> **📚 Key Documentation**: For comprehensive guides, see:
1010
>
11-
> - [CONTRIBUTING.md](docs/CONTRIBUTING.md) - Development guidelines and PR process
11+
> - [CONTRIBUTING.md](CONTRIBUTING.md) - Development guidelines and PR process
1212
> - [TESTING.md](docs/TESTING.md) - Complete testing guide
1313
> - [RELEASE.md](docs/RELEASE.md) - Release workflows and versioning
1414
> - [MIGRATION.md](docs/MIGRATION.md) - Migration guide from old repos
@@ -404,7 +404,7 @@ Nx automatically replaces `*` with the actual version during release.
404404

405405
## Commit Message Guidelines
406406

407-
> **📖 Complete guidelines in [CONTRIBUTING.md](docs/CONTRIBUTING.md#commit-guidelines)**
407+
> **📖 Complete guidelines in [CONTRIBUTING.md](CONTRIBUTING.md#commit-guidelines)**
408408
409409
This monorepo uses [Conventional Commits](https://www.conventionalcommits.org/) with strict validation.
410410

@@ -485,7 +485,7 @@ feat(realtime)!: remove deprecated subscribe method
485485

486486
## Pull Request Process
487487

488-
> **📖 Complete PR guidelines in [CONTRIBUTING.md](docs/CONTRIBUTING.md#pull-request-process)**
488+
> **📖 Complete PR guidelines in [CONTRIBUTING.md](CONTRIBUTING.md#pull-request-process)**
489489
490490
### Before Submitting
491491

@@ -622,7 +622,7 @@ nx affected --target=test
622622
## Additional Resources
623623

624624
- **[Main README](README.md)** - Repository overview and quick start
625-
- **[CONTRIBUTING.md](docs/CONTRIBUTING.md)** - Contribution guidelines and workflow
625+
- **[CONTRIBUTING.md](CONTRIBUTING.md)** - Contribution guidelines and workflow
626626
- **[TESTING.md](docs/TESTING.md)** - Complete testing guide
627627
- **[RELEASE.md](docs/RELEASE.md)** - Release workflows and versioning
628628
- **[MIGRATION.md](docs/MIGRATION.md)** - Migration guide from old repos

docs/MIGRATION.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,14 @@ github.com/supabase/supabase-js
6767

6868
### Development Workflow
6969

70-
| Task | Old Workflow | New Workflow |
71-
| ------------------------ | -------------------------------- | --------------------------------------------- |
72-
| **Clone & Setup** | Clone each repo individually | Clone once: `git clone supabase/supabase-js` |
73-
| **Install Dependencies** | `npm install` in each repo | Single `npm install` at root |
74-
| **Build a Library** | `npm run build` in specific repo | `npx nx build auth-js` |
75-
| **Test a Library** | `npm test` in specific repo | `npx nx test postgrest-js` |
76-
| **Format Code** | Various tools per repo | `npx nx format` |
77-
| **Release** | Individual releases per repo | Single coordinated release |
70+
| Task | Old Workflow | New Workflow |
71+
| ------------------------ | -------------------------------- | -------------------------------------------- |
72+
| **Clone & Setup** | Clone each repo individually | Clone once: `git clone supabase/supabase-js` |
73+
| **Install Dependencies** | `npm install` in each repo | Single `npm install` at root |
74+
| **Build a Library** | `npm run build` in specific repo | `npx nx build auth-js` |
75+
| **Test a Library** | `npm test` in specific repo | `npx nx test postgrest-js` |
76+
| **Format Code** | Various tools per repo | `npx nx format` |
77+
| **Release** | Individual releases per repo | Single coordinated release |
7878

7979
### Versioning Strategy
8080

0 commit comments

Comments
 (0)