Skip to content

Commit ba99220

Browse files
authored
Merge pull request #1 from TanStack/init
init
2 parents 910cc7b + b044e70 commit ba99220

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+8399
-125
lines changed

.changeset/config.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3+
"changelog": [
4+
"@svitejs/changesets-changelog-github-compact",
5+
{ "repo": "TanStack/devtools" }
6+
],
7+
"commit": false,
8+
"access": "public",
9+
"baseBranch": "main",
10+
"updateInternalDependencies": "patch",
11+
"fixed": [],
12+
"linked": [],
13+
"ignore": []
14+
}

.cursor/mcp.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"mcpServers": {
3+
"nx-mcp": {
4+
"url": "http://localhost:9160/sse"
5+
}
6+
}
7+
}

.cursor/rules/jsdoc.mdc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
description:
3+
globs:
4+
alwaysApply: true
5+
---
6+
# Your rule content
7+
8+
- The JSDoc in this repo is important as it gets converted to markdown docs for the website, so it should read like documentation.
9+
- Don't include `@params`, `@args`, `@template`, or `@returns` in our jsdoc

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# These are supported funding model platforms
2+
3+
github: tannerlinsley

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
name: '🐛 Bug report'
2+
description: Report a reproducible bug or regression
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: |
7+
Thank you for reporting an issue :pray:.
8+
9+
This issue tracker is for reporting reproducible bugs or regression's found in [react-devtools](https://github.com/tanstack/devtools)
10+
If you have a question about how to achieve or implement something and are struggling, please post a question
11+
inside of react-devtools's [Discussions tab](https://github.com/tanstack/devtools/discussions) instead of filing an issue.
12+
13+
Before submitting a new bug/issue, please check the links below to see if there is a solution or question posted there already:
14+
- TanStack Devtools's [Discussions tab](https://github.com/tanstack/devtools/discussions)
15+
- TanStack Devtools's [Open Issues](https://github.com/tanstack/devtools/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc)
16+
- TanStack Devtools's [Closed Issues](https://github.com/tanstack/devtools/issues?q=is%3Aissue+sort%3Aupdated-desc+is%3Aclosed)
17+
18+
The more information you fill in, the better the community can help you.
19+
20+
- type: input
21+
id: tanstack-devtools-version
22+
attributes:
23+
label: TanStack Devtools version
24+
description: |
25+
- Please let us know the exact version of the TanStack Devtools framework adapter that you were using when the issue occurred. If you are using an older version, check to see if your bug has already been solved in the latest version. Please don't just put in "latest", as this is subject to change.
26+
- The latest "devtools" version is <img alt="" src="https://badgen.net/npm/v/@tanstack/react-devtools" />
27+
placeholder: |
28+
e.g. v8.11.6
29+
validations:
30+
required: true
31+
32+
- type: input
33+
id: framework-library-version
34+
attributes:
35+
label: Framework/Library version
36+
description: Which framework and what version of that framework are you using?
37+
placeholder: |
38+
e.g. React v17.0.2
39+
validations:
40+
required: true
41+
42+
- type: textarea
43+
id: description
44+
attributes:
45+
label: Describe the bug and the steps to reproduce it
46+
description: Provide a clear and concise description of the challenge you are running into, and the steps we should take to try to reproduce your bug.
47+
validations:
48+
required: true
49+
50+
- type: input
51+
id: link
52+
attributes:
53+
label: Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
54+
description: |
55+
Please add a link to a minimal reproduction.
56+
Note:
57+
- Your bug may get fixed much faster if we can run your code and it doesn't have dependencies other than React.
58+
- To create a shareable code example for web, you can use CodeSandbox (https://codesandbox.io/s/new) or Stackblitz (https://stackblitz.com/).
59+
- Please make sure the example is complete and runnable without prior dependencies and free of unnecessary abstractions
60+
- Feel free to fork any of the official CodeSandbox examples to reproduce your issue: https://github.com/tanstack/devtools/tree/main/examples/
61+
- For React Native, you can use: https://snack.expo.dev/
62+
- For TypeScript related issues only, a TypeScript Playground link might be sufficient: https://www.typescriptlang.org/play
63+
- Please read these tips for providing a minimal example: https://stackoverflow.com/help/mcve.
64+
placeholder: |
65+
e.g. Code Sandbox, Stackblitz, TypeScript Playground, etc.
66+
validations:
67+
required: true
68+
69+
- type: textarea
70+
id: screenshots_or_videos
71+
attributes:
72+
label: Screenshots or Videos (Optional)
73+
description: |
74+
If applicable, add screenshots or a video to help explain your problem.
75+
For more information on the supported file image/file types and the file size limits, please refer
76+
to the following link: https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/attaching-files
77+
placeholder: |
78+
You can drag your video or image files inside of this editor ↓
79+
80+
- type: dropdown
81+
attributes:
82+
options:
83+
- No, because I do not know how
84+
- No, because I do not have time to dig into it
85+
- Maybe, I'll investigate and start debugging
86+
- Yes, I think I know how to fix it and will discuss it in the comments of this issue
87+
- Yes, I am also opening a PR that solves the problem along side this issue
88+
label: Do you intend to try to help solve this bug with your own PR?
89+
description: |
90+
If you think you know the cause of the problem, the fastest way to get it fixed is to suggest a fix, or fix it yourself! However, it is ok if you cannot solve this yourself and are just wanting help.
91+
- type: checkboxes
92+
id: agrees-to-terms
93+
attributes:
94+
label: Terms & Code of Conduct
95+
description: By submitting this issue, you agree to follow our Code of Conduct and can verify that you have followed the requirements outlined above to the best of your ability.
96+
options:
97+
- label: I agree to follow this project's Code of Conduct
98+
required: true
99+
- label: I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
100+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Feature Requests & Questions
4+
url: https://github.com/TanStack/table/discussions
5+
about: Please ask and answer questions here.
6+
- name: Community Chat
7+
url: https://discord.gg/mQd7egN
8+
about: A dedicated discord server hosted by TanStack

.github/renovate.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"configMigration": true,
4+
"extends": [
5+
"config:recommended",
6+
"group:allNonMajor",
7+
"schedule:weekly",
8+
":approveMajorUpdates",
9+
":automergeMinor",
10+
":disablePeerDependencies",
11+
":maintainLockFilesMonthly",
12+
":semanticCommits",
13+
":semanticCommitTypeAll(chore)"
14+
],
15+
"ignorePresets": [":ignoreModulesAndTests"],
16+
"labels": ["dependencies"],
17+
"rangeStrategy": "bump",
18+
"postUpdateOptions": ["pnpmDedupe"],
19+
"ignoreDeps": ["@types/node", "node"]
20+
}

.github/workflows/autofix.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: autofix.ci # needed to securely identify the workflow
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main, alpha, beta, rc]
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
10+
cancel-in-progress: true
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
autofix:
17+
name: autofix
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout
21+
uses: actions/[email protected]
22+
- name: Setup Tools
23+
uses: tanstack/config/.github/setup@main
24+
- name: Fix formatting
25+
run: pnpm prettier:write
26+
# - name: Regenerate docs
27+
# run: pnpm docs:generate
28+
- name: Apply fixes
29+
uses: autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef
30+
with:
31+
commit-message: 'ci: apply automated fixes'

0 commit comments

Comments
 (0)