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
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected].1/schema.json",
"$schema": "https://unpkg.com/@changesets/[email protected].2/schema.json",
"changelog": [
"@svitejs/changesets-changelog-github-compact",
{ "repo": "TanStack/table" }
Expand All @@ -10,5 +10,8 @@
"updateInternalDependencies": "patch",
"fixed": [],
"linked": [],
"ignore": []
"ignore": [],
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"onlyUpdatePeerDependentsWhenOutOfRange": true
}
}
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
* text=auto eol=lf
12 changes: 12 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,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/[email protected]
with:
fetch-depth: 0
- name: Check Provenance
uses: danielroe/[email protected]
with:
fail-on-downgrade: true
2 changes: 0 additions & 2 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
link-workspace-packages=true
prefer-workspace-packages=true
provenance=true
4 changes: 2 additions & 2 deletions examples/qwik/filters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"vite": "^5.3.2"
},
"dependencies": {
"@tanstack/qwik-table": "^8.21.3",
"@tanstack/match-sorter-utils": "^8.19.4"
"@tanstack/match-sorter-utils": "^8.19.4",
"@tanstack/qwik-table": "^8.21.3"
}
}
2 changes: 1 addition & 1 deletion examples/react/query-router-search-params/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
},
"devDependencies": {
"@faker-js/faker": "^8.4.1",
"@tanstack/router-vite-plugin": "^1.43.1",
"@rollup/plugin-replace": "^5.0.7",
"@tanstack/router-vite-plugin": "^1.43.1",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
Expand Down
4 changes: 2 additions & 2 deletions examples/vue/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"test:types": "vue-tsc"
},
"dependencies": {
"vue": "^3.4.31",
"@tanstack/vue-table": "^8.21.3"
"@tanstack/vue-table": "^8.21.3",
"vue": "^3.4.31"
},
"devDependencies": {
"@types/node": "^20.14.9",
Expand Down
4 changes: 2 additions & 2 deletions examples/vue/column-ordering/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"dependencies": {
"@faker-js/faker": "^8.4.1",
"vue": "^3.4.31",
"@tanstack/vue-table": "^8.21.3"
"@tanstack/vue-table": "^8.21.3",
"vue": "^3.4.31"
},
"devDependencies": {
"@types/node": "^20.14.9",
Expand Down
4 changes: 2 additions & 2 deletions examples/vue/filters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
},
"dependencies": {
"@faker-js/faker": "^8.4.1",
"vue": "^3.4.31",
"@tanstack/vue-table": "^8.21.3"
"@tanstack/vue-table": "^8.21.3",
"vue": "^3.4.31"
},
"devDependencies": {
"@types/node": "^20.14.9",
Expand Down
4 changes: 2 additions & 2 deletions examples/vue/pagination-controlled/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
},
"dependencies": {
"@faker-js/faker": "^8.4.1",
"vue": "^3.4.31",
"@tanstack/vue-table": "^8.21.3"
"@tanstack/vue-table": "^8.21.3",
"vue": "^3.4.31"
},
"devDependencies": {
"@types/node": "^20.14.9",
Expand Down
4 changes: 2 additions & 2 deletions examples/vue/pagination/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"test:types": "vue-tsc"
},
"dependencies": {
"vue": "^3.4.31",
"@faker-js/faker": "^8.4.1",
"@tanstack/vue-table": "^8.21.3"
"@tanstack/vue-table": "^8.21.3",
"vue": "^3.4.31"
},
"devDependencies": {
"@types/node": "^20.14.9",
Expand Down
4 changes: 2 additions & 2 deletions examples/vue/sorting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
},
"dependencies": {
"@faker-js/faker": "^8.4.1",
"vue": "^3.4.31",
"@tanstack/vue-table": "^8.21.3"
"@tanstack/vue-table": "^8.21.3",
"vue": "^3.4.31"
},
"devDependencies": {
"@types/node": "^20.14.9",
Expand Down
4 changes: 2 additions & 2 deletions examples/vue/sub-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
},
"dependencies": {
"@faker-js/faker": "^8.4.1",
"vue": "^3.4.31",
"@tanstack/vue-table": "^8.21.3"
"@tanstack/vue-table": "^8.21.3",
"vue": "^3.4.31"
},
"devDependencies": {
"@types/node": "^20.14.9",
Expand Down
10 changes: 5 additions & 5 deletions nx.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"defaultBase": "main",
"nxCloudAccessToken": "OWExNzViODMtZjU4Ny00MTRmLTk3ZDYtMGY5YzlkOTRhZDQ2fHJlYWQtb25seQ==",
"nxCloudId": "6435ee4cd7387c45c0e4bf4c",
"useInferencePlugins": false,
"parallel": 5,
"namedInputs": {
Expand Down Expand Up @@ -42,17 +42,17 @@
"outputs": ["{projectRoot}/build", "{projectRoot}/dist"],
"cache": true
},
"test:knip": {
"test:docs": {
"cache": true,
"inputs": ["{workspaceRoot}/**/*"]
"inputs": ["{workspaceRoot}/docs/**/*"]
},
"test:format": {
"test:knip": {
"cache": true,
"inputs": ["{workspaceRoot}/**/*"]
},
"test:sherif": {
"cache": true,
"inputs": ["{workspaceRoot}/**/*"]
"inputs": ["{workspaceRoot}/**/package.json"]
}
}
}
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,37 @@
{
"name": "table",
"namespace": "@tanstack",
"private": true,
"repository": "https://github.com/tanstack/table.git",
"packageManager": "[email protected]",
"repository": {
"type": "git",
"url": "https://github.com/tanstack/table.git"
},
"packageManager": "[email protected]",
"type": "module",
"scripts": {
"clean": "pnpm --filter \"./packages/**\" run clean",
"preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...'); process.exit(1)}\" || npx -y only-allow pnpm",
"test": "pnpm run test:ci",
"test:pr": "nx affected --targets=test:format,test:sherif,test:knip,test:lib,test:types,build",
"test:ci": "nx run-many --targets=test:format,test:sherif,test:knip,test:lib,test:types,build",
"test:pr": "nx affected --targets=test:sherif,test:knip,test:docs,test:lib,test:types,build",
"test:ci": "nx run-many --targets=test:sherif,test:knip,test:docs,test:lib,test:types,build",
"test:format": "pnpm run prettier --check",
"test:sherif": "sherif -i react -i react-dom -i vue -i solid-js -i svelte -i @builder.io/qwik",
"test:lib": "nx affected --targets=test:lib --exclude=examples/**",
"test:lib:dev": "pnpm test:lib && nx watch --all -- pnpm test:lib",
"test:types": "nx affected --targets=test:types --exclude=examples/**",
"test:knip": "knip",
"test:docs": "node scripts/verify-links.ts",
"build": "nx affected --targets=build --exclude=examples/** && size-limit",
"build:all": "nx run-many --targets=build --exclude=examples/** && size-limit",
"watch": "pnpm run build:all && nx watch --all -- pnpm run build:all",
"dev": "pnpm run watch",
"prettier": "prettier --ignore-unknown '**/*'",
"prettier": "prettier --experimental-cli --ignore-unknown '**/*'",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | πŸ”΄ Critical

🧩 Analysis chain

🌐 Web query:

prettier 3.3.2 --experimental-cli flag documentation

πŸ’‘ Result:

Short answer: The --experimental-cli flag is not part of Prettier 3.3.2 β€” it was introduced later as an experimental high-performance CLI behind a feature flag (usable as --experimental-cli or via PRETTIER_EXPERIMENTAL_CLI=1) and documented in Prettier release/blog and CLI docs. See Prettier blog announcing the experimental CLI and the CLI docs for usage. [1][2][3]

Sources

  • Prettier release/blog announcing the experimental CLI (June 23, 2025). [1]
  • Prettier CLI documentation (flags and CLI usage). [2]
  • Community/announcement explaining how to enable it (example usage). [3]

🏁 Script executed:

cat package.json | head -30

Repository: TanStack/table

Length of output: 1560


🏁 Script executed:

rg -A 50 '"devDependencies"' package.json | head -80

Repository: TanStack/table

Length of output: 1248


The --experimental-cli flag is not available in prettier 3.3.2 and will cause an error.

According to prettier documentation, the --experimental-cli flag was introduced after version 3.3.2 (announced June 23, 2025). Since the package.json specifies "prettier": "^3.3.2", using this flag will fail if prettier 3.3.2 is installed. Either remove the flag or update the prettier version constraint to a version that supports it (3.4.0 or later, if available, or remove the caret to allow installation of newer versions).

"prettier:write": "pnpm run prettier --write",
"verify-links": "node scripts/verify-links.ts",
"changeset": "changeset",
"changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm prettier:write",
"changeset:publish": "changeset publish"
},
"nx": {
"includedScripts": [
"test:format",
"test:docs",
"test:knip",
"test:sherif"
]
Expand Down Expand Up @@ -59,7 +60,6 @@
"@rollup/plugin-terser": "^0.4.4",
"@size-limit/preset-small-lib": "^11.1.4",
"@svitejs/changesets-changelog-github-compact": "^1.2.0",
"@tanstack/config": "^0.13.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.0",
"@testing-library/react-hooks": "^8.0.1",
Expand All @@ -75,7 +75,7 @@
"rollup-plugin-size": "^0.3.1",
"rollup-plugin-svelte": "^7.2.2",
"rollup-plugin-visualizer": "^5.12.0",
"sherif": "^0.9.0",
"sherif": "^1.6.1",
"size-limit": "^11.1.4",
"tinyglobby": "^0.2.15",
"typescript": "5.4.5",
Expand Down
Loading
Loading