Skip to content

Commit df7ded7

Browse files
committed
chore: update folders in root
1 parent 2f49cef commit df7ded7

19 files changed

+2515
-0
lines changed

.cursor/mcp.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"mcpServers": {
3+
"nx-mcp": {
4+
"command": "npx",
5+
"args": ["-y", "nx-mcp@latest"]
6+
}
7+
}
8+
}
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
name: "\U0001F41E Bug report"
2+
description: Report an issue with a Supabase JS Library
3+
labels: [bug]
4+
type: Bug
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to fill out this bug report!
10+
- type: textarea
11+
id: bug-description
12+
attributes:
13+
label: Describe the bug
14+
description: A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us in the description. Thanks!
15+
placeholder: I am doing ... What I expect is ... What actually happening is ...
16+
validations:
17+
required: true
18+
- type: dropdown
19+
id: supabase-library
20+
attributes:
21+
label: Library affected
22+
description: Select the library that you think is affected by the bug
23+
options:
24+
- supabase-js
25+
- auth-js
26+
- postgrest-js
27+
- realtime-js
28+
- storage-js
29+
- functions-js
30+
- unsure/all/other
31+
validations:
32+
required: true
33+
- type: input
34+
id: reproduction
35+
attributes:
36+
label: Reproduction
37+
description: If possible, please provide a link to a repo that can reproduce the problem you ran into. A [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) is very helpful. ([Why?](https://antfu.me/posts/why-reproductions-are-required)). If a report is vague (e.g. just a generic error message) and has no reproduction, it will receive a "needs reproduction" label. If no reproduction is provided after 7 days, it will be closed.
38+
placeholder: Reproduction URL
39+
validations:
40+
required: false
41+
- type: textarea
42+
id: reproduction-steps
43+
attributes:
44+
label: Steps to reproduce
45+
description: Please provide any reproduction steps that may need to be described.
46+
placeholder: Run `npm install` followed by `npm run dev`
47+
- type: textarea
48+
id: system-info
49+
attributes:
50+
label: System Info
51+
description: Output of `npx envinfo --system --npmPackages '{supabase,@supabase/*}' --binaries --browsers`
52+
render: shell
53+
placeholder: System, Binaries, Browsers
54+
validations:
55+
required: true
56+
- type: dropdown
57+
id: package-manager
58+
attributes:
59+
label: Used Package Manager
60+
description: Select the used package manager
61+
options:
62+
- npm
63+
- yarn
64+
- pnpm
65+
- bun
66+
validations:
67+
required: true
68+
- type: textarea
69+
id: logs
70+
attributes:
71+
label: Logs
72+
description: |
73+
Optional if provided reproduction. It's very helpful to provide the log text instead of a screenshot.
74+
75+
Provide the error log here in the format below.
76+
77+
````
78+
<details>
79+
<summary>Click to expand!</summary>
80+
81+
```shell
82+
// paste the log text here
83+
```
84+
</details>
85+
````
86+
- type: checkboxes
87+
id: checkboxes
88+
attributes:
89+
label: Validations
90+
description: Before submitting the issue, please make sure you do the following
91+
options:
92+
- label: Follow our [Code of Conduct](https://github.com/supabase/.github/blob/main/CODE_OF_CONDUCT.md)
93+
required: true
94+
- label: Read the [Contributing Guidelines](https://github.com/supabase/js-client-libs/blob/main/docs/CONTRIBUTING.md).
95+
required: true
96+
- label: Read the [docs](https://supabase.com/docs/reference/javascript/introduction).
97+
required: true
98+
- label: Check that there isn't [already an issue](https://github.com/supabase/js-client-libs/issues) that reports the same bug to avoid creating a duplicate.
99+
required: true
100+
- label: Make sure this is a Supabase JS Library issue and not an issue with the Supabase platform. If it's a Supabase platform related bug, it should likely be reported to [supabase/supabase](https://github.com/supabase/supabase) instead.
101+
required: true
102+
- label: Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/supabase/js-client-libs/discussions) or join our [Discord Chat Server](https://discord.supabase.com//).
103+
required: true
104+
- label: The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.
105+
required: true

.github/ISSUE_TEMPLATE/docs.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: "\U0001F4DA Documentation"
2+
description: Suggest an update to the Supabase JS Libraries documentation
3+
labels: [documentation]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to fill out this issue!
9+
- type: checkboxes
10+
id: documentation_is
11+
attributes:
12+
label: Documentation is
13+
options:
14+
- label: Missing
15+
- label: Outdated
16+
- label: Confusing
17+
- label: Not sure?
18+
- type: textarea
19+
id: description
20+
attributes:
21+
label: Explain in Detail
22+
description: A clear and concise description of your suggestion. If you intend to submit a PR for this issue, tell us in the description. Thanks!
23+
placeholder: The description of ... is not clear. I thought it meant ... but it wasn't.
24+
validations:
25+
required: true
26+
- type: textarea
27+
id: suggestion
28+
attributes:
29+
label: Your Suggestion for Changes
30+
validations:
31+
required: false
32+
- type: input
33+
id: docs-url
34+
attributes:
35+
label: Documentation URL
36+
description: If you have a URL to the problematic docs, please provide it.
37+
placeholder: Documentation URL
38+
- type: textarea
39+
id: reproduction-steps
40+
attributes:
41+
label: Steps to reproduce
42+
description: Please provide any reproduction steps that may need to be described.
43+
placeholder: Run `npm install` followed by `npm run dev`
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: "\U0001F680 New feature proposal"
2+
description: Propose a new feature to be added to the Supabase JS Libraries
3+
labels: ['enhancement']
4+
type: Feature
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for your interest in the project and taking the time to fill out this feature report!
10+
- type: textarea
11+
id: feature-description
12+
attributes:
13+
label: Description
14+
description: 'Clear and concise description of the problem. Please make the reason and usecases as detailed as possible. If you intend to submit a PR for this issue, tell us in the description. Thanks!'
15+
placeholder: As a developer using the Supabase JS Libraries I want [goal / wish] so that [benefit].
16+
validations:
17+
required: true
18+
- type: textarea
19+
id: suggested-solution
20+
attributes:
21+
label: Suggested solution
22+
description: 'In the library [xy] we could provide following implementation...'
23+
validations:
24+
required: true
25+
- type: textarea
26+
id: alternative
27+
attributes:
28+
label: Alternative
29+
description: Clear and concise description of any alternative solutions or features you've considered.
30+
- type: textarea
31+
id: additional-context
32+
attributes:
33+
label: Additional context
34+
description: Any other context or screenshots about the feature request here.
35+
- type: checkboxes
36+
id: checkboxes
37+
attributes:
38+
label: Validations
39+
description: Before submitting the issue, please make sure you do the following
40+
options:
41+
- label: Follow our [Code of Conduct](https://github.com/supabase/.github/blob/main/CODE_OF_CONDUCT.md)
42+
required: true
43+
- label: Read the [Contributing Guidelines](https://github.com/supabase/js-client-libs/blob/main/docs/CONTRIBUTING.md).
44+
required: true
45+
- label: Read the [docs](https://supabase.com/docs/reference/javascript/introduction).
46+
required: true
47+
- label: Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
48+
required: true

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<!-- Your PR title should follow the conventional commit format:
2+
<type>(<scope>): <description> -->
3+
4+
## 🔍 Description
5+
6+
<!-- Provide a clear and concise description of what this PR does -->
7+
8+
### What changed?
9+
10+
<!-- Describe the changes made in this PR -->
11+
12+
### Why was this change needed?
13+
14+
<!-- Explain the motivation behind this change. Link any related issues. -->
15+
16+
Closes #(issue_number) <!-- If applicable -->
17+
18+
## 📸 Screenshots/Examples
19+
20+
<!-- If applicable, add screenshots or code examples to help explain your changes -->
21+
22+
## 🔄 Breaking changes
23+
24+
<!-- If this PR contains breaking changes, describe them here -->
25+
26+
- [ ] This PR contains no breaking changes
27+
28+
## 📋 Checklist
29+
30+
<!-- Ensure all items are checked before submitting -->
31+
32+
- [ ] I have read the [Contributing Guidelines](https://github.com/supabase/js-client-libs/blob/main/docs/CONTRIBUTING.md)
33+
- [ ] My PR title follows the [conventional commit format](https://www.conventionalcommits.org/): `<type>(<scope>): <description>`
34+
- [ ] I have run `npx nx format` to ensure consistent code formatting
35+
- [ ] I have added tests for new functionality (if applicable)
36+
- [ ] I have updated documentation (if applicable)
37+
38+
## 📝 Additional notes
39+
40+
<!-- Add any additional notes, context, or concerns for reviewers -->
41+
42+
<!-- Thank you for contributing to Supabase! 💚 -->
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Auth JS tests for Node.js 18
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- 'packages/core/auth-js/**'
7+
- 'package.json'
8+
- 'package-lock.json'
9+
- 'nx.json'
10+
- 'tsconfig.base.json'
11+
- '.github/workflows/ci-auth-js-node18.yml'
12+
- '!packages/core/auth-js/**/*.md'
13+
- '!packages/core/auth-js/docs/**'
14+
- '!packages/core/auth-js/.prettierrc'
15+
- '!packages/core/auth-js/*ignore'
16+
workflow_call:
17+
18+
permissions:
19+
actions: read
20+
contents: read
21+
22+
jobs:
23+
setup-and-build-node-18-auth-js:
24+
name: Run auth-js tests for Node.js 18
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v4
28+
with:
29+
filter: tree:0
30+
fetch-depth: 0
31+
# Cache node_modules
32+
- uses: actions/setup-node@v4
33+
with:
34+
node-version: 18
35+
cache: 'npm'
36+
- name: Install dependencies
37+
run: npm ci --legacy-peer-deps
38+
39+
- name: Build auth-js
40+
working-directory: packages/core/auth-js
41+
run: npm run build:node18
42+
43+
- name: Run auth-js tests
44+
working-directory: packages/core/auth-js
45+
run: npm run test:auth
46+
47+
- name: Upload coverage results to Coveralls
48+
uses: coverallsapp/github-action@v2
49+
with:
50+
github-token: ${{ secrets.GITHUB_TOKEN }}
51+
path-to-lcov: ./packages/core/auth-js/test/coverage/lcov.info
52+
fail-on-error: false
53+
continue-on-error: true

0 commit comments

Comments
 (0)