Skip to content

Commit 8072348

Browse files
chore: sync config from other TanStack projects (#1039)
* ci: sync github config * Fix contributing guide
1 parent c3576b4 commit 8072348

File tree

9 files changed

+264
-9
lines changed

9 files changed

+264
-9
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: '🐛 Bug report'
1+
name: 🐛 Bug Report
22
description: Report a reproducible bug or regression
33
body:
44
- type: markdown
@@ -108,7 +108,7 @@ body:
108108
description: |
109109
If you are using TypeScript, please let us know the exact version of TypeScript you were using when the issue occurred.
110110
placeholder: |
111-
e.g. v4.5.4
111+
e.g. v5.2.2
112112
- type: textarea
113113
id: additional
114114
attributes:

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
blank_issues_enabled: false
22
contact_links:
3-
- name: Feature Requests & Questions
4-
url: https://github.com/tanstack/virtual/discussions
3+
- name: 🤔 Feature Requests & Questions
4+
url: https://github.com/TanStack/virtual/discussions
55
about: Please ask and answer questions here.
6-
- name: Community Chat
6+
- name: 💬 Community Chat
77
url: https://discord.gg/mQd7egN
88
about: A dedicated discord server hosted by TanStack
9+
- name: 🦋 TanStack Bluesky
10+
url: https://bsky.app/profile/tanstack.com
11+
about: Stay up to date with new releases of our libraries

.github/pull_request_template.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## 🎯 Changes
2+
3+
<!-- What changes are made in this PR? Is it a feature or a package submission? -->
4+
5+
## ✅ Checklist
6+
7+
- [ ] I have followed the steps listed in the [Contributing guide](https://github.com/TanStack/config/blob/main/CONTRIBUTING.md).
8+
- [ ] I have tested and linted this code locally.
9+
- [ ] I have generated a [changeset](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md) for this PR, or this PR should not release a new version.

.github/workflows/pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
run: pnpm exec playwright install chromium
3333
- name: Run Checks
3434
run: pnpm run test:pr
35+
- name: Verify Links
36+
run: pnpm run verify-links
3537
preview:
3638
name: Preview
3739
runs-on: ubuntu-latest

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.13.1
1+
24.4.1

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ If you have been assigned to fix an issue or develop a new feature, please follo
5757
The documentations for all the TanStack projects are hosted on [tanstack.com](https://tanstack.com), which is a TanStack Start application (https://github.com/TanStack/tanstack.com). You need to run this app locally to preview your changes in the `TanStack/virtual` docs.
5858

5959
> [!NOTE]
60-
> The website fetches the doc pages from GitHub in production, and searches for them at `../config/docs` in development. Your local clone of `TanStack/virtual` needs to be in the same directory as the local clone of `TansStack/tanstack.com`.
60+
> The website fetches the doc pages from GitHub in production, and searches for them at `../virtual/docs` in development. Your local clone of `TanStack/virtual` needs to be in the same directory as the local clone of `TanStack/tanstack.com`.
6161

6262
You can follow these steps to set up the docs for local development:
6363

@@ -103,7 +103,7 @@ pnpm dev
103103
4. Now you can visit http://localhost:3000/virtual/latest/docs/overview in the browser and see the changes you make in `TanStack/virtual/docs` there.
104104

105105
> [!WARNING]
106-
> You will need to update the `docs/config.json` file (in `TanStack/config`) if you add a new documentation page!
106+
> You will need to update the `docs/config.json` file (in `TanStack/virtual`) if you add a new documentation page!
107107

108108
You can see the whole process in the screen capture below:
109109

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "git",
66
"url": "https://github.com/TanStack/virtual.git"
77
},
8-
"packageManager": "pnpm@10.12.1",
8+
"packageManager": "pnpm@10.13.1",
99
"type": "module",
1010
"scripts": {
1111
"clean": "pnpm --filter \"./packages/**\" run clean",
@@ -28,6 +28,7 @@
2828
"dev": "pnpm run watch",
2929
"prettier": "prettier --ignore-unknown '**/*'",
3030
"prettier:write": "pnpm run prettier --write",
31+
"verify-links": "node scripts/verify-links.ts",
3132
"changeset": "changeset",
3233
"changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm prettier:write",
3334
"changeset:publish": "changeset publish"
@@ -48,12 +49,14 @@
4849
"eslint": "^9.29.0",
4950
"jsdom": "^25.0.1",
5051
"knip": "^5.61.0",
52+
"markdown-link-extractor": "^4.0.2",
5153
"nx": "^20.8.2",
5254
"premove": "^4.0.0",
5355
"prettier": "^3.5.3",
5456
"prettier-plugin-svelte": "^3.4.0",
5557
"publint": "^0.3.12",
5658
"sherif": "^1.5.0",
59+
"tinyglobby": "^0.2.14",
5760
"typescript": "5.2.2",
5861
"vite": "^5.4.19",
5962
"vitest": "^2.1.9"

pnpm-lock.yaml

Lines changed: 106 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)