Skip to content

Commit 39aa447

Browse files
ci: update workspace config from other TanStack projects (#182)
1 parent f4c146d commit 39aa447

File tree

9 files changed

+124
-343
lines changed

9 files changed

+124
-343
lines changed

.github/pull_request_template.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
## 🎯 Changes
2+
3+
<!-- What changes are made in this PR? Describe the change and its motivation. -->
4+
5+
## ✅ Checklist
6+
7+
- [ ] I have followed the steps in the [Contributing guide](https://github.com/TanStack/config/blob/main/CONTRIBUTING.md).
8+
- [ ] I have tested this code locally with `pnpm test:pr`.
9+
10+
## 🚀 Release Impact
11+
12+
- [ ] This change affects published code, and I have generated a [changeset](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md).
13+
- [ ] This change is docs/CI/dev-only (no release).

.github/workflows/pr.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,15 @@ jobs:
4848
run: pnpm run build:all
4949
- name: Publish Previews
5050
run: pnpx pkg-pr-new publish --pnpm './packages/*' --template './examples/*/*'
51+
provenance:
52+
name: Provenance
53+
runs-on: ubuntu-latest
54+
steps:
55+
- name: Checkout
56+
uses: actions/[email protected]
57+
with:
58+
fetch-depth: 0
59+
- name: Check Provenance
60+
uses: danielroe/[email protected]
61+
with:
62+
fail-on-downgrade: true

.npmrc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
link-workspace-packages=true
2-
prefer-workspace-packages=true
31
provenance=true

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.12.0
1+
24.8.0

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"clean:node_modules": "find . -name 'node_modules' -type d -prune -exec rm -rf {} +",
1919
"clean:all": "pnpm run clean && pnpm run clean:node_modules",
2020
"dev": "pnpm run watch",
21-
"docs:generate": "node scripts/generateDocs.js",
21+
"docs:generate": "node scripts/generateDocs.ts",
2222
"format": "pnpm run prettier:write",
2323
"lint:fix": "nx affected --target=lint:fix --exclude=examples/**",
2424
"lint:fix:all": "pnpm run format && nx run-many --targets=lint --fix",
@@ -74,6 +74,7 @@
7474
"publint": "^0.3.13",
7575
"sherif": "^1.6.1",
7676
"size-limit": "^11.2.0",
77+
"tinyglobby": "^0.2.15",
7778
"typescript": "~5.9.2",
7879
"vite": "^7.1.7",
7980
"vitest": "^3.2.4"

0 commit comments

Comments
 (0)