Skip to content

Commit 0bc7fb1

Browse files
chore: update workspace config (#579)
1 parent e62555e commit 0bc7fb1

File tree

21 files changed

+540
-509
lines changed

21 files changed

+540
-509
lines changed

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
33
"changelog": [
44
"@svitejs/changesets-changelog-github-compact",
5-
{ "repo": "TanStack/optimistic" }
5+
{ "repo": "TanStack/db" }
66
],
77
"commit": false,
88
"access": "public",

.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/db/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/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", "typescript"]
20+
}

.github/workflows/autofix.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout
21-
uses: actions/[email protected]
21+
uses: actions/[email protected]
22+
with:
23+
fetch-depth: 0
2224
- name: Setup Tools
2325
uses: tanstack/config/.github/setup@main
2426
- name: Fix formatting

.github/workflows/pr.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v4.2.2
26+
uses: actions/checkout@v5.0.0
2727
with:
2828
fetch-depth: 0
2929
- name: Setup Tools
3030
uses: tanstack/config/.github/setup@main
3131
- name: Get base and head commits for `nx affected`
32-
uses: nrwl/[email protected].0
32+
uses: nrwl/[email protected].3
3333
with:
3434
main-branch-name: main
3535
- name: Run Checks
@@ -39,7 +39,7 @@ jobs:
3939
runs-on: ubuntu-latest
4040
steps:
4141
- name: Checkout
42-
uses: actions/checkout@v4.2.2
42+
uses: actions/checkout@v5.0.0
4343
with:
4444
fetch-depth: 0
4545
- name: Setup Tools
@@ -65,7 +65,7 @@ jobs:
6565
runs-on: ubuntu-latest
6666
steps:
6767
- name: Checkout
68-
uses: actions/checkout@v4.2.2
68+
uses: actions/checkout@v5.0.0
6969
- name: Setup Tools
7070
uses: tanstack/config/.github/setup@main
7171
- name: Build Packages
@@ -79,7 +79,7 @@ jobs:
7979
runs-on: ubuntu-latest
8080
steps:
8181
- name: Checkout
82-
uses: actions/checkout@v4.2.2
82+
uses: actions/checkout@v5.0.0
8383
- name: Setup Tools
8484
uses: tanstack/config/.github/setup@main
8585
- name: Build Packages

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v4.2.2
26+
uses: actions/checkout@v5.0.0
2727
with:
2828
fetch-depth: 0
2929
- name: Setup Tools
3030
uses: tanstack/config/.github/setup@main
3131
- name: Run Tests
3232
run: pnpm run lint && pnpm run build && pnpm run test
3333
- name: Run Changesets (version or publish)
34-
uses: changesets/action@v1.4.9
34+
uses: changesets/action@v1.5.3
3535
with:
3636
version: pnpm run changeset:version
3737
publish: pnpm run changeset:publish

.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.13.1
1+
24.8.0
File renamed without changes.

package.json

Lines changed: 6 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
{
2-
"name": "@tanstack/db-monorepo",
2+
"name": "root",
33
"private": true,
4-
"description": "Reactive client queryable store for sync-first applications",
5-
"version": "0.0.0",
64
"repository": {
75
"type": "git",
86
"url": "https://github.com/tanstack/db.git"
97
},
10-
"author": "Kyle Mathews <[email protected]>",
11-
"packageManager": "[email protected]",
8+
"packageManager": "[email protected]",
129
"type": "module",
13-
"keywords": [],
14-
"license": "MIT",
1510
"scripts": {
1611
"build": "pnpm --filter \"./packages/**\" build",
1712
"changeset": "changeset",
@@ -43,42 +38,25 @@
4338
"eslint-config-prettier": "^10.1.8",
4439
"eslint-plugin-prettier": "^5.5.4",
4540
"eslint-plugin-react": "^7.37.5",
46-
"fast-glob": "^3.3.3",
4741
"husky": "^9.1.7",
4842
"jsdom": "^26.1.0",
43+
"knip": "^5.63.1",
4944
"lint-staged": "^15.5.2",
5045
"markdown-link-extractor": "^4.0.2",
5146
"mitt": "^3.0.1",
5247
"prettier": "^3.6.2",
53-
"publint": "^0.3.12",
48+
"publint": "^0.3.13",
49+
"sherif": "^1.6.1",
5450
"shx": "^0.4.0",
55-
"tsup": "^8.5.0",
51+
"tinyglobby": "^0.2.15",
5652
"typescript": "^5.9.2",
5753
"vite": "^6.3.6",
5854
"vitest": "^3.2.4",
5955
"zod": "^3.25.76"
6056
},
61-
"exports": {
62-
"./package.json": "./package.json"
63-
},
64-
"files": [
65-
"dist",
66-
"src"
67-
],
6857
"lint-staged": {
6958
"*.{ts,tsx}": [
7059
"eslint --fix"
7160
]
72-
},
73-
"workspaces": [
74-
"packages/*",
75-
"examples/*",
76-
"examples/react/*"
77-
],
78-
"overrides": {
79-
"@tanstack/db": "workspace:*",
80-
"@tanstack/db-ivm": "workspace:*",
81-
"@tanstack/react-db": "workspace:*",
82-
"@tanstack/vue-db": "workspace:*"
8361
}
8462
}

0 commit comments

Comments
 (0)