Skip to content

Commit 66e3010

Browse files
authored
chore: migrate builds to tsdown and upgrade all deps (#304)
* chore: migrate builds to tsdown and upgrade all deps * changeset * clean up solid exports and node types overrides * reapply exports in package jsons * add back yaml * fix yaml config that was accidentally deleted * format
1 parent 4786cba commit 66e3010

48 files changed

Lines changed: 3105 additions & 2639 deletions

Some content is hidden

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

.changeset/petite-actors-lie.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
'@tanstack/angular-store': minor
3+
'@tanstack/preact-store': minor
4+
'@tanstack/svelte-store': minor
5+
'@tanstack/react-store': minor
6+
'@tanstack/solid-store': minor
7+
'@tanstack/vue-store': minor
8+
'@tanstack/store': minor
9+
---
10+
11+
chore: update deps and change build process to tsdown

examples/angular/simple/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@
1010
"test": "ng test"
1111
},
1212
"dependencies": {
13-
"@angular/router": "^21.1.2",
14-
"@angular/animations": "^21.1.2",
15-
"@angular/compiler": "^21.1.2",
16-
"@angular/platform-browser": "^21.1.2",
17-
"@angular/platform-browser-dynamic": "^21.1.2",
18-
"@angular/core": "^21.1.2",
19-
"@angular/common": "^21.1.2",
13+
"@angular/router": "^21.2.8",
14+
"@angular/animations": "^21.2.8",
15+
"@angular/compiler": "^21.2.8",
16+
"@angular/platform-browser": "^21.2.8",
17+
"@angular/platform-browser-dynamic": "^21.2.8",
18+
"@angular/core": "^21.2.8",
19+
"@angular/common": "^21.2.8",
2020
"@tanstack/angular-store": "^0.9.3",
2121
"rxjs": "^7.8.2",
2222
"tslib": "^2.8.1",
23-
"zone.js": "^0.15.1"
23+
"zone.js": "^0.16.1"
2424
},
2525
"devDependencies": {
26-
"@angular-devkit/build-angular": "^21.1.0",
27-
"@angular/cli": "^21.1.0",
28-
"@angular/compiler-cli": "^21.1.2",
29-
"typescript": "^5.9.0"
26+
"@angular-devkit/build-angular": "^21.2.7",
27+
"@angular/cli": "^21.2.7",
28+
"@angular/compiler-cli": "^21.2.8",
29+
"typescript": "^6.0.2"
3030
}
3131
}

examples/preact/simple/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
},
1010
"dependencies": {
1111
"@tanstack/preact-store": "^0.11.3",
12-
"preact": "^10.27.2"
12+
"preact": "^10.29.1"
1313
},
1414
"devDependencies": {
15-
"@preact/preset-vite": "^2.10.2",
16-
"@types/node": "^24.1.0",
17-
"eslint": "^9.37.0",
15+
"@preact/preset-vite": "^2.10.5",
16+
"@types/node": "^25.5.2",
17+
"eslint": "^10.2.0",
1818
"eslint-config-preact": "^2.0.0",
19-
"typescript": "5.6.3",
20-
"vite": "^6.3.6"
19+
"typescript": "6.0.2",
20+
"vite": "^8.0.8"
2121
},
2222
"eslintConfig": {
2323
"extends": "preact"

examples/react/simple/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
},
1111
"dependencies": {
1212
"@tanstack/react-store": "^0.9.3",
13-
"react": "^18.3.1",
14-
"react-dom": "^18.3.1"
13+
"react": "^19.2.5",
14+
"react-dom": "^19.2.5"
1515
},
1616
"devDependencies": {
17-
"@types/react": "^18.3.3",
18-
"@types/react-dom": "^18.3.0",
19-
"@vitejs/plugin-react": "^4.7.0",
20-
"react-scan": "^0.4.3",
21-
"vite": "^6.3.6"
17+
"@types/react": "^19.2.14",
18+
"@types/react-dom": "^19.2.3",
19+
"@vitejs/plugin-react": "^6.0.1",
20+
"react-scan": "^0.5.3",
21+
"vite": "^8.0.8"
2222
},
2323
"browserslist": {
2424
"production": [

examples/solid/simple/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
},
1111
"dependencies": {
1212
"@tanstack/solid-store": "^0.9.3",
13-
"solid-js": "^1.9.9"
13+
"solid-js": "^1.9.12"
1414
},
1515
"devDependencies": {
16-
"typescript": "5.6.3",
17-
"vite": "^6.3.6",
18-
"vite-plugin-solid": "^2.11.9"
16+
"typescript": "6.0.2",
17+
"vite": "^8.0.8",
18+
"vite-plugin-solid": "^2.11.12"
1919
}
2020
}

examples/svelte/simple/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
"check": "svelte-check --tsconfig ./tsconfig.json && tsc -p tsconfig.node.json"
1111
},
1212
"devDependencies": {
13-
"@sveltejs/vite-plugin-svelte": "^5.1.1",
14-
"@tsconfig/svelte": "^5.0.6",
15-
"svelte": "^5.39.11",
16-
"svelte-check": "^4.3.3",
13+
"@sveltejs/vite-plugin-svelte": "^7.0.0",
14+
"@tsconfig/svelte": "^5.0.8",
15+
"svelte": "^5.55.2",
16+
"svelte-check": "^4.4.6",
1717
"tslib": "^2.8.1",
18-
"typescript": "5.6.3",
19-
"vite": "^6.3.6"
18+
"typescript": "6.0.2",
19+
"vite": "^8.0.8"
2020
},
2121
"dependencies": {
2222
"@tanstack/svelte-store": "^0.10.3"

examples/vue/simple/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
},
1212
"dependencies": {
1313
"@tanstack/vue-store": "^0.9.3",
14-
"vue": "^3.5.22"
14+
"vue": "^3.5.32"
1515
},
1616
"devDependencies": {
17-
"@vitejs/plugin-vue": "^5.2.4",
18-
"typescript": "5.6.3",
19-
"vite": "^6.3.6",
20-
"vue-tsc": "^2.2.12"
17+
"@vitejs/plugin-vue": "^6.0.5",
18+
"typescript": "6.0.2",
19+
"vite": "^8.0.8",
20+
"vue-tsc": "^3.2.6"
2121
}
2222
}

knip.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"ignoreDependencies": ["vue2", "vue2.7"]
66
}
77
},
8-
"ignoreDependencies": ["vue"],
98
"ignoreWorkspaces": ["examples/**"],
109
"ignore": ["packages/store/src/signal.ts"]
1110
}

nx.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,6 @@
6161
"dependsOn": ["build"],
6262
"inputs": ["production"]
6363
}
64-
}
64+
},
65+
"analytics": true
6566
}

package.json

Lines changed: 22 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "git",
66
"url": "https://github.com/tanstack/store.git"
77
},
8-
"packageManager": "pnpm@10.24.0",
8+
"packageManager": "pnpm@10.33.0",
99
"type": "module",
1010
"scripts": {
1111
"clean": "pnpm --filter \"./packages/**\" run clean",
@@ -39,35 +39,34 @@
3939
]
4040
},
4141
"devDependencies": {
42-
"@changesets/cli": "^2.29.8",
43-
"@eslint-react/eslint-plugin": "^1.53.1",
42+
"@changesets/cli": "^2.30.0",
43+
"@eslint-react/eslint-plugin": "^4.2.3",
4444
"@svitejs/changesets-changelog-github-compact": "^1.2.0",
45-
"@tanstack/eslint-config": "0.3.4",
46-
"@tanstack/typedoc-config": "0.3.1",
47-
"@tanstack/vite-config": "0.4.1",
45+
"@tanstack/eslint-config": "0.4.0",
46+
"@tanstack/typedoc-config": "0.3.3",
4847
"@testing-library/jest-dom": "^6.9.1",
4948
"@testing-library/user-event": "^14.6.1",
50-
"@types/node": "^25.2.1",
51-
"@vitest/coverage-istanbul": "^4.0.18",
52-
"eslint": "^9.37.0",
53-
"eslint-plugin-react-hooks": "^5.2.0",
54-
"jsdom": "^25.0.1",
55-
"knip": "^5.70.1",
56-
"markdown-link-extractor": "^4.0.2",
57-
"nx": "22.1.0",
49+
"@types/node": "^25.5.2",
50+
"@vitest/coverage-istanbul": "^4.1.4",
51+
"eslint": "^10.2.0",
52+
"eslint-plugin-react-hooks": "^7.0.1",
53+
"jsdom": "^29.0.2",
54+
"knip": "^6.3.1",
55+
"markdown-link-extractor": "^4.0.3",
56+
"nx": "22.6.4",
5857
"premove": "^4.0.0",
59-
"prettier": "^3.6.2",
60-
"prettier-plugin-svelte": "^3.4.0",
61-
"publint": "^0.3.15",
62-
"sherif": "^1.9.0",
63-
"tinyglobby": "^0.2.15",
64-
"typescript": "5.9.3",
58+
"prettier": "^3.8.1",
59+
"prettier-plugin-svelte": "^3.5.1",
60+
"publint": "^0.3.18",
61+
"sherif": "^1.11.1",
62+
"tinyglobby": "^0.2.16",
63+
"tsdown": "^0.21.7",
64+
"typescript": "6.0.2",
6565
"typescript56": "npm:typescript@5.6",
6666
"typescript57": "npm:typescript@5.7",
6767
"typescript58": "npm:typescript@5.8",
68-
"vite": "^7.3.1",
69-
"vitest": "^4.0.18",
70-
"vue": "^3.5.22"
68+
"vite": "^8.0.8",
69+
"vitest": "^4.1.4"
7170
},
7271
"overrides": {
7372
"@tanstack/angular-store": "workspace:*",
@@ -79,9 +78,6 @@
7978
"@tanstack/vue-store": "workspace:*"
8079
},
8180
"pnpm": {
82-
"overrides": {
83-
"@types/node": "25.2.1"
84-
},
8581
"packageExtensions": {
8682
"@vue/composition-api": {
8783
"peerDependencies": {

0 commit comments

Comments
 (0)