Skip to content

Commit af8ec7d

Browse files
ci: prepare for trusted publishing
1 parent f6cf04b commit af8ec7d

17 files changed

Lines changed: 55 additions & 45 deletions

File tree

.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/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 & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ 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
@@ -37,7 +37,7 @@ jobs:
3737
runs-on: ubuntu-latest
3838
steps:
3939
- name: Checkout
40-
uses: actions/checkout@v5.0.0
40+
uses: actions/checkout@v6.0.1
4141
with:
4242
fetch-depth: 0
4343
- name: Setup Tools
@@ -46,3 +46,15 @@ jobs:
4646
run: pnpm run build:all
4747
- name: Publish Previews
4848
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/checkout@v6.0.1
55+
with:
56+
fetch-depth: 0
57+
- name: Check Provenance
58+
uses: danielroe/provenance-action@v0.1.1
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 }}

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: 4 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",

package.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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
},
88
"packageManager": "pnpm@10.24.0",
99
"type": "module",
@@ -13,7 +13,6 @@
1313
"test:pr": "nx affected --targets=test:sherif,test:knip,test:docs,test:eslint,test:lib,test:e2e,test:types,test:build,build",
1414
"test:ci": "nx run-many --targets=test:sherif,test:knip,test:docs,test:eslint,test:lib,test:e2e,test:types,test:build,build",
1515
"test:eslint": "nx affected --target=test:eslint",
16-
"test:format": "pnpm run prettier --check",
1716
"test:sherif": "sherif",
1817
"test:lib": "nx affected --target=test:lib --exclude=examples/**",
1918
"test:lib:dev": "pnpm run test:lib && nx watch --all -- pnpm run test:lib",
@@ -26,10 +25,9 @@
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",
28+
"format": "prettier --experimental-cli --ignore-unknown '**/*' --write",
3129
"changeset": "changeset",
32-
"changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm prettier:write",
30+
"changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm format",
3331
"changeset:publish": "changeset publish"
3432
},
3533
"nx": {
@@ -50,9 +48,9 @@
5048
"jsdom": "^27.0.0",
5149
"knip": "^5.63.1",
5250
"markdown-link-extractor": "^4.0.2",
53-
"nx": "^21.5.3",
51+
"nx": "22.1.3",
5452
"premove": "^4.0.0",
55-
"prettier": "^3.6.2",
53+
"prettier": "^3.7.4",
5654
"prettier-plugin-svelte": "^3.4.0",
5755
"publint": "^0.3.13",
5856
"sherif": "^1.6.1",

packages/angular-virtual/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "MIT",
77
"repository": {
88
"type": "git",
9-
"url": "https://github.com/TanStack/virtual.git",
9+
"url": "git+https://github.com/TanStack/virtual.git",
1010
"directory": "packages/angular-virtual"
1111
},
1212
"homepage": "https://tanstack.com/virtual",

packages/lit-virtual/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "MIT",
77
"repository": {
88
"type": "git",
9-
"url": "https://github.com/TanStack/virtual.git",
9+
"url": "git+https://github.com/TanStack/virtual.git",
1010
"directory": "packages/lit-virtual"
1111
},
1212
"homepage": "https://tanstack.com/virtual",

packages/lit-virtual/src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ import type { PartialKeys, VirtualizerOptions } from '@tanstack/virtual-core'
1313
class VirtualizerControllerBase<
1414
TScrollElement extends Element | Window,
1515
TItemElement extends Element,
16-
> implements ReactiveController
17-
{
16+
> implements ReactiveController {
1817
host: ReactiveControllerHost
1918

2019
private readonly virtualizer: Virtualizer<TScrollElement, TItemElement>

0 commit comments

Comments
 (0)