WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit e172109

Browse files
ci: prepare for trusted publishing (#6133)
* ci: prepare for trusted publishing * Update urls
1 parent 0067f06 commit e172109

File tree

245 files changed

+2928
-2695
lines changed

Some content is hidden

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

245 files changed

+2928
-2695
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
blank_issues_enabled: false
22
contact_links:
3-
- name: Feature Requests & Questions
3+
- name: 🤔 Feature Requests & Questions
44
url: https://github.com/TanStack/table/discussions
55
about: Please ask and answer questions here.
6-
- name: Community Chat
6+
- name: 💬 Community Chat
77
url: https://discord.gg/mQd7egN
88
about: A dedicated discord server hosted by TanStack
9+
- name: 🦋 TanStack Bluesky
10+
url: https://bsky.app/profile/tanstack.com
11+
about: Stay up to date with new releases of our libraries

.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@dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a
3030
with:

.github/workflows/pr.yml

Lines changed: 4 additions & 4 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@v5.0.0
26+
uses: actions/checkout@v6.0.1
2727
with:
2828
fetch-depth: 0
2929
- name: Start Nx Agents
3030
run: npx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml"
3131
- name: Setup Tools
3232
uses: tanstack/config/.github/setup@main
3333
- name: Get base and head commits for `nx affected`
34-
uses: nrwl/nx-set-shas@v4.3.3
34+
uses: nrwl/nx-set-shas@v4.4.0
3535
with:
3636
main-branch-name: main
3737
- name: Run Checks
@@ -44,7 +44,7 @@ jobs:
4444
runs-on: ubuntu-latest
4545
steps:
4646
- name: Checkout
47-
uses: actions/checkout@v5.0.0
47+
uses: actions/checkout@v6.0.1
4848
with:
4949
fetch-depth: 0
5050
- name: Setup Tools
@@ -58,7 +58,7 @@ jobs:
5858
runs-on: ubuntu-latest
5959
steps:
6060
- name: Checkout
61-
uses: actions/checkout@v5.0.0
61+
uses: actions/checkout@v6.0.1
6262
with:
6363
fetch-depth: 0
6464
- name: Check Provenance

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: ci
1+
name: Release
22

33
on:
44
push:
@@ -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: Start Nx Agents
@@ -44,4 +44,3 @@ jobs:
4444
title: 'ci: Version Packages'
4545
env:
4646
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

examples/angular/basic/src/app/app.component.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,35 +46,35 @@ const defaultData: Person[] = [
4646
const defaultColumns: ColumnDef<Person>[] = [
4747
{
4848
accessorKey: 'firstName',
49-
cell: info => info.getValue(),
50-
footer: info => info.column.id,
49+
cell: (info) => info.getValue(),
50+
footer: (info) => info.column.id,
5151
},
5252
{
53-
accessorFn: row => row.lastName,
53+
accessorFn: (row) => row.lastName,
5454
id: 'lastName',
55-
cell: info => `<i>${info.getValue<string>()}</i>`,
55+
cell: (info) => `<i>${info.getValue<string>()}</i>`,
5656
header: () => `<span>Last Name</span>`,
57-
footer: info => info.column.id,
57+
footer: (info) => info.column.id,
5858
},
5959
{
6060
accessorKey: 'age',
6161
header: () => 'Age',
62-
footer: info => info.column.id,
62+
footer: (info) => info.column.id,
6363
},
6464
{
6565
accessorKey: 'visits',
6666
header: () => `<span>Visits</span>`,
67-
footer: info => info.column.id,
67+
footer: (info) => info.column.id,
6868
},
6969
{
7070
accessorKey: 'status',
7171
header: 'Status',
72-
footer: info => info.column.id,
72+
footer: (info) => info.column.id,
7373
},
7474
{
7575
accessorKey: 'progress',
7676
header: 'Profile Progress',
77-
footer: info => info.column.id,
77+
footer: (info) => info.column.id,
7878
},
7979
]
8080

examples/angular/basic/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ import { bootstrapApplication } from '@angular/platform-browser'
22
import { appConfig } from './app/app.config'
33
import { AppComponent } from './app/app.component'
44

5-
bootstrapApplication(AppComponent, appConfig).catch(err => console.error(err))
5+
bootstrapApplication(AppComponent, appConfig).catch((err) => console.error(err))

examples/angular/column-ordering/src/app/app.component.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,48 +18,48 @@ import { faker } from '@faker-js/faker'
1818
const defaultColumns: ColumnDef<Person>[] = [
1919
{
2020
header: 'Name',
21-
footer: props => props.column.id,
21+
footer: (props) => props.column.id,
2222
columns: [
2323
{
2424
accessorKey: 'firstName',
25-
cell: info => info.getValue(),
26-
footer: props => props.column.id,
25+
cell: (info) => info.getValue(),
26+
footer: (props) => props.column.id,
2727
},
2828
{
29-
accessorFn: row => row.lastName,
29+
accessorFn: (row) => row.lastName,
3030
id: 'lastName',
31-
cell: info => info.getValue(),
31+
cell: (info) => info.getValue(),
3232
header: () => 'Last Name',
33-
footer: props => props.column.id,
33+
footer: (props) => props.column.id,
3434
},
3535
],
3636
},
3737
{
3838
header: 'Info',
39-
footer: props => props.column.id,
39+
footer: (props) => props.column.id,
4040
columns: [
4141
{
4242
accessorKey: 'age',
4343
header: () => 'Age',
44-
footer: props => props.column.id,
44+
footer: (props) => props.column.id,
4545
},
4646
{
4747
header: 'More Info',
4848
columns: [
4949
{
5050
accessorKey: 'visits',
5151
header: () => 'Visits',
52-
footer: props => props.column.id,
52+
footer: (props) => props.column.id,
5353
},
5454
{
5555
accessorKey: 'status',
5656
header: 'Status',
57-
footer: props => props.column.id,
57+
footer: (props) => props.column.id,
5858
},
5959
{
6060
accessorKey: 'progress',
6161
header: 'Profile Progress',
62-
footer: props => props.column.id,
62+
footer: (props) => props.column.id,
6363
},
6464
],
6565
},
@@ -87,12 +87,12 @@ export class AppComponent {
8787
columnVisibility: this.columnVisibility(),
8888
},
8989
getCoreRowModel: getCoreRowModel(),
90-
onColumnVisibilityChange: updaterOrValue => {
90+
onColumnVisibilityChange: (updaterOrValue) => {
9191
typeof updaterOrValue === 'function'
9292
? this.columnVisibility.update(updaterOrValue)
9393
: this.columnVisibility.set(updaterOrValue)
9494
},
95-
onColumnOrderChange: updaterOrValue => {
95+
onColumnOrderChange: (updaterOrValue) => {
9696
typeof updaterOrValue === 'function'
9797
? this.columnOrder.update(updaterOrValue)
9898
: this.columnOrder.set(updaterOrValue)
@@ -108,7 +108,7 @@ export class AppComponent {
108108

109109
randomizeColumns() {
110110
this.table.setColumnOrder(
111-
faker.helpers.shuffle(this.table.getAllLeafColumns().map(d => d.id))
111+
faker.helpers.shuffle(this.table.getAllLeafColumns().map((d) => d.id)),
112112
)
113113
}
114114

examples/angular/column-ordering/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ import { bootstrapApplication } from '@angular/platform-browser'
22
import { appConfig } from './app/app.config'
33
import { AppComponent } from './app/app.component'
44

5-
bootstrapApplication(AppComponent, appConfig).catch(err => console.error(err))
5+
bootstrapApplication(AppComponent, appConfig).catch((err) => console.error(err))

examples/angular/column-pinning-sticky/src/app/app.component.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,44 +32,44 @@ const defaultColumns: ColumnDef<Person>[] = [
3232
accessorKey: 'firstName',
3333
id: 'firstName',
3434
header: 'First Name',
35-
cell: info => info.getValue(),
36-
footer: props => props.column.id,
35+
cell: (info) => info.getValue(),
36+
footer: (props) => props.column.id,
3737
size: 180,
3838
},
3939
{
40-
accessorFn: row => row.lastName,
40+
accessorFn: (row) => row.lastName,
4141
id: 'lastName',
42-
cell: info => info.getValue(),
42+
cell: (info) => info.getValue(),
4343
header: () => 'Last Name',
44-
footer: props => props.column.id,
44+
footer: (props) => props.column.id,
4545
size: 180,
4646
},
4747
{
4848
accessorKey: 'age',
4949
id: 'age',
5050
header: 'Age',
51-
footer: props => props.column.id,
51+
footer: (props) => props.column.id,
5252
size: 180,
5353
},
5454
{
5555
accessorKey: 'visits',
5656
id: 'visits',
5757
header: 'Visits',
58-
footer: props => props.column.id,
58+
footer: (props) => props.column.id,
5959
size: 180,
6060
},
6161
{
6262
accessorKey: 'status',
6363
id: 'status',
6464
header: 'Status',
65-
footer: props => props.column.id,
65+
footer: (props) => props.column.id,
6666
size: 180,
6767
},
6868
{
6969
accessorKey: 'progress',
7070
id: 'progress',
7171
header: 'Profile Progress',
72-
footer: props => props.column.id,
72+
footer: (props) => props.column.id,
7373
size: 180,
7474
},
7575
]
@@ -103,7 +103,7 @@ export class AppComponent {
103103
})
104104

105105
readonly getCommonPinningStyles = (
106-
column: Column<Person>
106+
column: Column<Person>,
107107
): Record<string, any> => {
108108
const isPinned = column.getIsPinned()
109109
const isLastLeftPinnedColumn =
@@ -128,7 +128,7 @@ export class AppComponent {
128128

129129
randomizeColumns() {
130130
this.table.setColumnOrder(
131-
faker.helpers.shuffle(this.table.getAllLeafColumns().map(d => d.id))
131+
faker.helpers.shuffle(this.table.getAllLeafColumns().map((d) => d.id)),
132132
)
133133
}
134134

examples/angular/column-pinning-sticky/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ import { bootstrapApplication } from '@angular/platform-browser'
22
import { appConfig } from './app/app.config'
33
import { AppComponent } from './app/app.component'
44

5-
bootstrapApplication(AppComponent, appConfig).catch(err => console.error(err))
5+
bootstrapApplication(AppComponent, appConfig).catch((err) => console.error(err))

0 commit comments

Comments
 (0)