Skip to content

Commit ef6df67

Browse files
ci: sync config between projects
1 parent 02c203a commit ef6df67

File tree

8 files changed

+107
-1653
lines changed

8 files changed

+107
-1653
lines changed

.changeset/config.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://unpkg.com/@changesets/[email protected].1/schema.json",
2+
"$schema": "https://unpkg.com/@changesets/[email protected].2/schema.json",
33
"changelog": [
44
"@svitejs/changesets-changelog-github-compact",
55
{ "repo": "TanStack/table" }
@@ -10,5 +10,8 @@
1010
"updateInternalDependencies": "patch",
1111
"fixed": [],
1212
"linked": [],
13-
"ignore": []
13+
"ignore": [],
14+
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
15+
"onlyUpdatePeerDependentsWhenOutOfRange": true
16+
}
1417
}

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Auto detect text files and perform LF normalization
2-
* text=auto
2+
* text=auto eol=lf

.github/workflows/pr.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,15 @@ jobs:
5353
run: pnpm run build:all
5454
- name: Publish Previews
5555
run: pnpx pkg-pr-new publish --pnpm --compact './packages/*' --template './examples/*/*'
56+
provenance:
57+
name: Provenance
58+
runs-on: ubuntu-latest
59+
steps:
60+
- name: Checkout
61+
uses: actions/[email protected]
62+
with:
63+
fetch-depth: 0
64+
- name: Check Provenance
65+
uses: danielroe/[email protected]
66+
with:
67+
fail-on-downgrade: true

.npmrc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
link-workspace-packages=true
2-
prefer-workspace-packages=true
31
provenance=true

nx.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "./node_modules/nx/schemas/nx-schema.json",
33
"defaultBase": "main",
4-
"nxCloudAccessToken": "OWExNzViODMtZjU4Ny00MTRmLTk3ZDYtMGY5YzlkOTRhZDQ2fHJlYWQtb25seQ==",
4+
"nxCloudId": "6435ee4cd7387c45c0e4bf4c",
55
"useInferencePlugins": false,
66
"parallel": 5,
77
"namedInputs": {
@@ -42,17 +42,17 @@
4242
"outputs": ["{projectRoot}/build", "{projectRoot}/dist"],
4343
"cache": true
4444
},
45-
"test:knip": {
45+
"test:docs": {
4646
"cache": true,
47-
"inputs": ["{workspaceRoot}/**/*"]
47+
"inputs": ["{workspaceRoot}/docs/**/*"]
4848
},
49-
"test:format": {
49+
"test:knip": {
5050
"cache": true,
5151
"inputs": ["{workspaceRoot}/**/*"]
5252
},
5353
"test:sherif": {
5454
"cache": true,
55-
"inputs": ["{workspaceRoot}/**/*"]
55+
"inputs": ["{workspaceRoot}/**/package.json"]
5656
}
5757
}
5858
}

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,37 @@
11
{
22
"name": "table",
3-
"namespace": "@tanstack",
43
"private": true,
5-
"repository": "https://github.com/tanstack/table.git",
6-
"packageManager": "[email protected]",
4+
"repository": {
5+
"type": "git",
6+
"url": "https://github.com/tanstack/table.git"
7+
},
8+
"packageManager": "[email protected]",
79
"type": "module",
810
"scripts": {
911
"clean": "pnpm --filter \"./packages/**\" run clean",
10-
"preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...'); process.exit(1)}\" || npx -y only-allow pnpm",
1112
"test": "pnpm run test:ci",
12-
"test:pr": "nx affected --targets=test:format,test:sherif,test:knip,test:lib,test:types,build",
13-
"test:ci": "nx run-many --targets=test:format,test:sherif,test:knip,test:lib,test:types,build",
13+
"test:pr": "nx affected --targets=test:sherif,test:knip,test:docs,test:lib,test:types,build",
14+
"test:ci": "nx run-many --targets=test:sherif,test:knip,test:docs,test:lib,test:types,build",
1415
"test:format": "pnpm run prettier --check",
1516
"test:sherif": "sherif -i react -i react-dom -i vue -i solid-js -i svelte -i @builder.io/qwik",
1617
"test:lib": "nx affected --targets=test:lib --exclude=examples/**",
1718
"test:lib:dev": "pnpm test:lib && nx watch --all -- pnpm test:lib",
1819
"test:types": "nx affected --targets=test:types --exclude=examples/**",
1920
"test:knip": "knip",
21+
"test:docs": "node scripts/verify-links.ts",
2022
"build": "nx affected --targets=build --exclude=examples/** && size-limit",
2123
"build:all": "nx run-many --targets=build --exclude=examples/** && size-limit",
2224
"watch": "pnpm run build:all && nx watch --all -- pnpm run build:all",
2325
"dev": "pnpm run watch",
24-
"prettier": "prettier --ignore-unknown '**/*'",
26+
"prettier": "prettier --experimental-cli --ignore-unknown '**/*'",
2527
"prettier:write": "pnpm run prettier --write",
26-
"verify-links": "node scripts/verify-links.ts",
2728
"changeset": "changeset",
2829
"changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm prettier:write",
2930
"changeset:publish": "changeset publish"
3031
},
3132
"nx": {
3233
"includedScripts": [
33-
"test:format",
34+
"test:docs",
3435
"test:knip",
3536
"test:sherif"
3637
]
@@ -59,7 +60,6 @@
5960
"@rollup/plugin-terser": "^0.4.4",
6061
"@size-limit/preset-small-lib": "^11.1.4",
6162
"@svitejs/changesets-changelog-github-compact": "^1.2.0",
62-
"@tanstack/config": "^0.13.0",
6363
"@testing-library/jest-dom": "^6.4.6",
6464
"@testing-library/react": "^16.0.0",
6565
"@testing-library/react-hooks": "^8.0.1",
@@ -75,7 +75,7 @@
7575
"rollup-plugin-size": "^0.3.1",
7676
"rollup-plugin-svelte": "^7.2.2",
7777
"rollup-plugin-visualizer": "^5.12.0",
78-
"sherif": "^0.9.0",
78+
"sherif": "^1.6.1",
7979
"size-limit": "^11.1.4",
8080
"tinyglobby": "^0.2.15",
8181
"typescript": "5.4.5",

0 commit comments

Comments
 (0)