Skip to content

Commit fe88885

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents 04f12ca + e06e32d commit fe88885

File tree

27 files changed

+257
-556
lines changed

27 files changed

+257
-556
lines changed

.changeset/config.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://unpkg.com/@changesets/[email protected].1/schema.json",
2+
"$schema": "https://unpkg.com/@changesets/[email protected].2/schema.json",
33
"changelog": [
44
"@svitejs/changesets-changelog-github-compact",
55
{ "repo": "TanStack/virtual" }
@@ -10,5 +10,8 @@
1010
"updateInternalDependencies": "patch",
1111
"fixed": [],
1212
"linked": [],
13-
"ignore": []
13+
"ignore": [],
14+
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
15+
"onlyUpdatePeerDependentsWhenOutOfRange": true
16+
}
1417
}

.github/FUNDING.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
github: tannerlinsley
2-
custom: https://youtube.com/tannerlinsley

.github/pull_request_template.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
## 🎯 Changes
22

3-
<!-- What changes are made in this PR? Is it a feature or a package submission? -->
3+
<!-- What changes are made in this PR? Describe the change and its motivation. -->
44

55
## ✅ Checklist
66

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.
7+
- [ ] I have followed the steps in the [Contributing guide](https://github.com/TanStack/virtual/blob/main/CONTRIBUTING.md).
8+
- [ ] I have tested this code locally with `pnpm run 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/autofix.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v5.0.0
21+
uses: actions/checkout@v6.0.1
2222
with:
2323
fetch-depth: 0
2424
- name: Setup Tools
2525
uses: tanstack/config/.github/setup@main
2626
- name: Fix formatting
27-
run: pnpm prettier:write
27+
run: pnpm format
2828
- name: Apply fixes
2929
uses: autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef
3030
with:

.github/workflows/pr.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,27 +19,25 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v5.0.0
22+
uses: actions/checkout@v6.0.1
2323
with:
2424
fetch-depth: 0
2525
- name: Setup Tools
2626
uses: tanstack/config/.github/setup@main
2727
- name: Get base and head commits for `nx affected`
28-
uses: nrwl/nx-set-shas@v4.3.0
28+
uses: nrwl/nx-set-shas@v4.4.0
2929
with:
3030
main-branch-name: main
3131
- name: Install Playwright browsers
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
3735
preview:
3836
name: Preview
3937
runs-on: ubuntu-latest
4038
steps:
4139
- name: Checkout
42-
uses: actions/checkout@v5.0.0
40+
uses: actions/checkout@v6.0.1
4341
with:
4442
fetch-depth: 0
4543
- name: Setup Tools
@@ -48,3 +46,15 @@ jobs:
4846
run: pnpm run build:all
4947
- name: Publish Previews
5048
run: pnpx pkg-pr-new publish --pnpm --compact './packages/*' --template './examples/*/*'
49+
provenance:
50+
name: Provenance
51+
runs-on: ubuntu-latest
52+
steps:
53+
- name: Checkout
54+
uses: actions/[email protected]
55+
with:
56+
fetch-depth: 0
57+
- name: Check Provenance
58+
uses: danielroe/[email protected]
59+
with:
60+
fail-on-downgrade: true

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v5.0.0
26+
uses: actions/checkout@v6.0.1
2727
with:
2828
fetch-depth: 0
2929
- name: Setup Tools
@@ -41,4 +41,3 @@ jobs:
4141
title: 'ci: Version Packages'
4242
env:
4343
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @ts-check
22

3-
import { tanstackConfig } from '@tanstack/config/eslint'
3+
import { tanstackConfig } from '@tanstack/eslint-config'
44

55
export default [
66
...tanstackConfig,

examples/svelte/dynamic/src/App.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
<main>
1111
<p>
1212
These components are using <strong>dynamic</strong> sizes. This means that each
13-
element's exact dimensions are unknown when rendered. An estimated dimension
14-
is used as the initial measurement, then this measurement is readjusted on the
15-
fly as each element is rendered.
13+
element's exact dimensions are unknown when rendered. An estimated dimension is
14+
used as the initial measurement, then this measurement is readjusted on the fly
15+
as each element is rendered.
1616
</p>
1717
<nav>
1818
<ul>

nx.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
{
22
"$schema": "./node_modules/nx/schemas/nx-schema.json",
33
"defaultBase": "main",
4-
"nxCloudAccessToken": "ZjRlNGQyYjgtYmQ2NS00ZjNkLTgwZTktNGQ2YzEwZmRlNzQ3fHJlYWQ=",
4+
"nxCloudId": "65d1330edb0c1e7def5cb068",
55
"useInferencePlugins": false,
66
"parallel": 5,
7+
"tui": {
8+
"enabled": false
9+
},
710
"namedInputs": {
811
"sharedGlobals": [
912
"{workspaceRoot}/.nvmrc",
@@ -22,6 +25,10 @@
2225
]
2326
},
2427
"targetDefaults": {
28+
"test:docs": {
29+
"cache": true,
30+
"inputs": ["{workspaceRoot}/docs/**/*"]
31+
},
2532
"test:knip": {
2633
"cache": true,
2734
"inputs": ["{workspaceRoot}/**/*"]

package.json

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,59 +3,58 @@
33
"private": true,
44
"repository": {
55
"type": "git",
6-
"url": "https://github.com/TanStack/virtual.git"
6+
"url": "git+https://github.com/TanStack/virtual.git"
77
},
8-
"packageManager": "pnpm@10.17.0",
8+
"packageManager": "pnpm@10.24.0",
99
"type": "module",
1010
"scripts": {
1111
"clean": "pnpm --filter \"./packages/**\" run clean",
12-
"preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...'); process.exit(1)}\" || npx -y only-allow pnpm",
1312
"test": "pnpm run test:ci",
14-
"test:pr": "nx affected --targets=test:sherif,test:knip,test:eslint,test:lib,test:e2e,test:types,test:build,build",
15-
"test:ci": "nx run-many --targets=test:sherif,test:knip,test:eslint,test:lib,test:e2e,test:types,test:build,build",
13+
"test:pr": "nx affected --targets=test:sherif,test:knip,test:docs,test:eslint,test:lib,test:e2e,test:types,test:build,build",
14+
"test:ci": "nx run-many --targets=test:sherif,test:knip,test:docs,test:eslint,test:lib,test:e2e,test:types,test:build,build",
1615
"test:eslint": "nx affected --target=test:eslint",
17-
"test:format": "pnpm run prettier --check",
1816
"test:sherif": "sherif",
1917
"test:lib": "nx affected --target=test:lib --exclude=examples/**",
2018
"test:lib:dev": "pnpm run test:lib && nx watch --all -- pnpm run test:lib",
2119
"test:build": "nx affected --target=test:build --exclude=examples/**",
2220
"test:types": "nx affected --target=test:types --exclude=examples/**",
2321
"test:e2e": "nx affected --target=test:e2e --exclude=examples/**",
2422
"test:knip": "knip",
23+
"test:docs": "node scripts/verify-links.ts",
2524
"build": "nx affected --target=build --exclude=examples/**",
2625
"build:all": "nx run-many --target=build --exclude=examples/**",
2726
"watch": "pnpm run build:all && nx watch --all -- pnpm run build:all",
2827
"dev": "pnpm run watch",
29-
"prettier": "prettier --ignore-unknown '**/*'",
30-
"prettier:write": "pnpm run prettier --write",
31-
"verify-links": "node scripts/verify-links.ts",
28+
"format": "prettier --experimental-cli --ignore-unknown '**/*' --write",
3229
"changeset": "changeset",
33-
"changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm prettier:write",
30+
"changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm format",
3431
"changeset:publish": "changeset publish"
3532
},
3633
"nx": {
3734
"includedScripts": [
35+
"test:docs",
3836
"test:knip",
3937
"test:sherif"
4038
]
4139
},
4240
"devDependencies": {
43-
"@changesets/cli": "^2.29.7",
41+
"@changesets/cli": "^2.29.8",
4442
"@playwright/test": "^1.53.1",
4543
"@svitejs/changesets-changelog-github-compact": "^1.2.0",
46-
"@tanstack/config": "^0.20.2",
44+
"@tanstack/eslint-config": "0.3.4",
45+
"@tanstack/vite-config": "0.3.0",
4746
"@testing-library/jest-dom": "^6.6.3",
4847
"@types/node": "^24.5.2",
4948
"eslint": "^9.36.0",
5049
"jsdom": "^27.0.0",
5150
"knip": "^5.63.1",
5251
"markdown-link-extractor": "^4.0.2",
53-
"nx": "^21.5.3",
52+
"nx": "22.1.3",
5453
"premove": "^4.0.0",
55-
"prettier": "^3.6.2",
54+
"prettier": "^3.7.4",
5655
"prettier-plugin-svelte": "^3.4.0",
57-
"publint": "^0.3.13",
58-
"sherif": "^1.6.1",
56+
"publint": "^0.3.15",
57+
"sherif": "^1.9.0",
5958
"tinyglobby": "^0.2.15",
6059
"typescript": "5.4.5",
6160
"vite": "^5.4.19",

0 commit comments

Comments
 (0)