Skip to content

Commit 34293c3

Browse files
Update workspace config
1 parent 017953b commit 34293c3

File tree

6 files changed

+18
-26
lines changed

6 files changed

+18
-26
lines changed

.github/workflows/autofix.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v6.0.1
22+
with:
23+
fetch-depth: 0
2224
- name: Setup Tools
2325
uses: tanstack/config/.github/setup@main
2426
- name: Fix formatting
25-
run: pnpm prettier:write
26-
# - name: Regenerate docs
27-
# run: pnpm docs:generate
27+
run: pnpm format
2828
- name: Apply fixes
29-
uses: autofix-ci/action@ff86a557419858bb967097bfc916833f5647fa8c
29+
uses: autofix-ci/action@dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a
3030
with:
3131
commit-message: 'ci: apply automated fixes'

.github/workflows/pr.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: pr
1+
name: PR
22

33
on:
44
pull_request:
@@ -23,15 +23,15 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v4
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
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@v4
47+
uses: actions/checkout@v6.0.1
4848
with:
4949
fetch-depth: 0
5050
- name: Setup Tools
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: ci
1+
name: Release
22

33
on:
44
workflow_dispatch:
@@ -21,13 +21,13 @@ permissions:
2121
id-token: write
2222

2323
jobs:
24-
test-and-publish:
25-
name: Test & Publish
26-
if: github.repository == 'TanStack/table'
24+
release:
25+
name: Release
26+
if: github.repository_owner == 'TanStack'
2727
runs-on: ubuntu-latest
2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@v6.0.1
3131
with:
3232
fetch-depth: 0
3333
- name: Start Nx Agents

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.12.0
1+
24.8.0

nx.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@
5555
"cache": true,
5656
"inputs": ["{workspaceRoot}/**/*"]
5757
},
58-
"test:format": {
59-
"cache": true,
60-
"inputs": ["{workspaceRoot}/**/*"]
61-
},
6258
"test:sherif": {
6359
"cache": true,
6460
"inputs": ["{workspaceRoot}/**/*"]

package.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,25 @@
1616
"clean:node_modules": "find . -name 'node_modules' -type d -prune -exec rm -rf {} +",
1717
"dev": "pnpm run watch",
1818
"generate-docs": "node scripts/generateDocs.js",
19-
"format": "pnpm run prettier:write",
19+
"format": "prettier --experimental-cli --ignore-unknown '**/*' --write",
2020
"lint:fix:all": "pnpm run format && nx run-many --targets=lint --fix --exclude=packages/{lit-table,solid-table,svelte-table,vue-table,match-sorter-utils}",
2121
"lint:fix": "nx affected --target=lint:fix --exclude=examples/**,packages/{lit-table,solid-table,svelte-table,vue-table,match-sorter-utils}",
2222
"preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...'); process.exit(1)}\" || npx -y only-allow pnpm",
23-
"prettier": "prettier --ignore-unknown '**/*'",
24-
"prettier:write": "pnpm run prettier --write",
2523
"size": "size-limit",
2624
"test": "pnpm run test:ci",
2725
"test:build": "nx affected --target=test:build --exclude='examples/{lit,solid,svelte,vanilla,vue}/**' --exclude='packages/{lit-table,solid-table,svelte-table,vue-table,match-sorter-utils}'",
28-
"test:ci": "nx run-many --targets=test:format,test:eslint,test:sherif,test:knip,test:lib,test:types,test:build,build -p @tanstack/table-core @tanstack/react-table @tanstack/preact-table @tanstack/angular-table 'examples/react/**' 'examples/preact/**' 'examples/angular/**'",
26+
"test:ci": "nx run-many --targets=test:eslint,test:sherif,test:knip,test:lib,test:types,test:build,build -p @tanstack/table-core @tanstack/react-table @tanstack/preact-table @tanstack/angular-table 'examples/react/**' 'examples/preact/**' 'examples/angular/**'",
2927
"test:eslint": "nx affected --target=test:eslint --exclude='examples/{lit,solid,svelte,vanilla,vue}/**' --exclude='packages/{lit-table,solid-table,svelte-table,vue-table,match-sorter-utils}'",
30-
"test:format": "pnpm run prettier --check",
3128
"test:knip": "knip",
3229
"test:lib": "nx affected --targets=test:lib --exclude='examples/{lit,solid,svelte,vanilla,vue}/**' --exclude='packages/{lit-table,solid-table,svelte-table,vue-table,match-sorter-utils}'",
3330
"test:lib:dev": "pnpm test:lib && nx watch --all -- pnpm test:lib",
34-
"test:pr": "nx affected --targets=test:format,test:eslint,test:sherif,test:knip,test:lib,test:types,test:build,build --exclude='examples/{lit,solid,svelte,vanilla,vue}/**' --exclude='packages/{lit-table,solid-table,svelte-table,vue-table,match-sorter-utils}'",
31+
"test:pr": "nx affected --targets=test:eslint,test:sherif,test:knip,test:lib,test:types,test:build,build --exclude='examples/{lit,solid,svelte,vanilla,vue}/**' --exclude='packages/{lit-table,solid-table,svelte-table,vue-table,match-sorter-utils}'",
3532
"test:sherif": "sherif",
3633
"test:types": "nx affected --targets=test:types --exclude='examples/{lit,solid,svelte,vanilla,vue}/**' --exclude='packages/{lit-table,solid-table,svelte-table,vue-table,match-sorter-utils}'",
3734
"watch": "pnpm run build:all && nx watch --all -- pnpm run build:all"
3835
},
3936
"nx": {
4037
"includedScripts": [
41-
"test:format",
4238
"test:knip",
4339
"test:sherif"
4440
]

0 commit comments

Comments
 (0)