diff --git a/.changeset/config.json b/.changeset/config.json index 59793abb..137b199d 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -1,5 +1,5 @@ { - "$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json", + "$schema": "https://unpkg.com/@changesets/config@3.1.2/schema.json", "changelog": [ "@svitejs/changesets-changelog-github-compact", { "repo": "TanStack/virtual" } @@ -10,5 +10,8 @@ "updateInternalDependencies": "patch", "fixed": [], "linked": [], - "ignore": [] + "ignore": [], + "___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": { + "onlyUpdatePeerDependentsWhenOutOfRange": true + } } diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 508727c1..fd99b3b1 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,2 +1 @@ github: tannerlinsley -custom: https://youtube.com/tannerlinsley diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 285efb16..e6556d7f 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,9 +1,13 @@ ## 🎯 Changes - + ## ✅ Checklist -- [ ] I have followed the steps listed in the [Contributing guide](https://github.com/TanStack/config/blob/main/CONTRIBUTING.md). -- [ ] I have tested and linted this code locally. -- [ ] 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. +- [ ] I have followed the steps in the [Contributing guide](https://github.com/TanStack/virtual/blob/main/CONTRIBUTING.md). +- [ ] I have tested this code locally with `pnpm run test:pr`. + +## 🚀 Release Impact + +- [ ] This change affects published code, and I have generated a [changeset](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md). +- [ ] This change is docs/CI/dev-only (no release). diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index 40091beb..364cde60 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -18,13 +18,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v5.0.0 + uses: actions/checkout@v6.0.1 with: fetch-depth: 0 - name: Setup Tools uses: tanstack/config/.github/setup@main - name: Fix formatting - run: pnpm prettier:write + run: pnpm format - name: Apply fixes uses: autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef with: diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 7223d30e..49f9c401 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -19,13 +19,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v5.0.0 + uses: actions/checkout@v6.0.1 with: fetch-depth: 0 - name: Setup Tools uses: tanstack/config/.github/setup@main - name: Get base and head commits for `nx affected` - uses: nrwl/nx-set-shas@v4.3.0 + uses: nrwl/nx-set-shas@v4.4.0 with: main-branch-name: main - name: Install Playwright browsers @@ -37,7 +37,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v5.0.0 + uses: actions/checkout@v6.0.1 with: fetch-depth: 0 - name: Setup Tools @@ -46,3 +46,15 @@ jobs: run: pnpm run build:all - name: Publish Previews run: pnpx pkg-pr-new publish --pnpm --compact './packages/*' --template './examples/*/*' + provenance: + name: Provenance + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v6.0.1 + with: + fetch-depth: 0 + - name: Check Provenance + uses: danielroe/provenance-action@v0.1.1 + with: + fail-on-downgrade: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7d8c5e13..3d4a61e4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v5.0.0 + uses: actions/checkout@v6.0.1 with: fetch-depth: 0 - name: Setup Tools @@ -41,4 +41,3 @@ jobs: title: 'ci: Version Packages' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/eslint.config.js b/eslint.config.js index f1ca39e3..2ccb5ad0 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,6 +1,6 @@ // @ts-check -import { tanstackConfig } from '@tanstack/config/eslint' +import { tanstackConfig } from '@tanstack/eslint-config' export default [ ...tanstackConfig, diff --git a/examples/svelte/dynamic/src/App.svelte b/examples/svelte/dynamic/src/App.svelte index 21e802ac..b73b876f 100644 --- a/examples/svelte/dynamic/src/App.svelte +++ b/examples/svelte/dynamic/src/App.svelte @@ -10,9 +10,9 @@

These components are using dynamic sizes. This means that each - element's exact dimensions are unknown when rendered. An estimated dimension - is used as the initial measurement, then this measurement is readjusted on the - fly as each element is rendered. + element's exact dimensions are unknown when rendered. An estimated dimension is + used as the initial measurement, then this measurement is readjusted on the fly + as each element is rendered.