Skip to content

Commit

Permalink
chore: Add Sherif to CI to lint monorepo config (TanStack#6376)
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlancollins authored Nov 15, 2023
1 parent c6d5f53 commit b8bfe43
Show file tree
Hide file tree
Showing 26 changed files with 439 additions and 794 deletions.
2 changes: 1 addition & 1 deletion examples/react/algolia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@types/react": "^18.2.31",
"@types/react-dom": "^18.2.14",
"@vitejs/plugin-react": "^4.0.0",
"typescript": "^5.0.4",
"typescript": "5.1.6",
"vite": "^4.4.11"
},
"browserslist": {
Expand Down
2 changes: 1 addition & 1 deletion examples/react/basic-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@vitejs/plugin-react": "^4.0.0",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.8.0",
"typescript": "^5.0.4",
"typescript": "5.1.6",
"vite": "^4.4.11"
},
"browserslist": {
Expand Down
2 changes: 1 addition & 1 deletion examples/react/nextjs-suspense-streaming/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"devDependencies": {
"@types/node": "^18.18.0",
"@types/react": "^18.2.31",
"typescript": "^5.1.3"
"typescript": "5.1.6"
}
}
2 changes: 1 addition & 1 deletion examples/react/optimistic-updates-cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@types/node": "^18.18.0",
"@types/react": "^18.2.31",
"@types/react-dom": "^18.2.14",
"typescript": "^5.0.4"
"typescript": "5.1.6"
},
"scripts": {
"dev": "next",
Expand Down
2 changes: 1 addition & 1 deletion examples/react/optimistic-updates-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@types/node": "^18.18.0",
"@types/react": "^18.2.31",
"@types/react-dom": "^18.2.14",
"typescript": "^5.0.4"
"typescript": "5.1.6"
},
"scripts": {
"dev": "next",
Expand Down
2 changes: 1 addition & 1 deletion examples/react/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-prettier": "^4.0.0",
"prettier": "^2.8.8",
"typescript": "^5.0.4"
"typescript": "5.1.6"
}
}
2 changes: 1 addition & 1 deletion examples/solid/basic-graphql-request/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"solid-js": "^1.8.1"
},
"devDependencies": {
"typescript": "^5.2.2",
"typescript": "5.1.6",
"vite": "^4.4.11",
"vite-plugin-solid": "^2.7.2"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/solid/basic-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"solid-js": "^1.8.1"
},
"devDependencies": {
"typescript": "^5.2.2",
"typescript": "5.1.6",
"vite": "^4.4.11",
"vite-plugin-solid": "^2.7.2"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/solid/default-query-function/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"solid-js": "^1.8.1"
},
"devDependencies": {
"typescript": "^5.2.2",
"typescript": "5.1.6",
"vite": "^4.4.11",
"vite-plugin-solid": "^2.7.2"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/solid/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"devDependencies": {
"@tanstack/eslint-plugin-query": "^5.0.0",
"typescript": "^5.2.2",
"typescript": "5.1.6",
"vite": "^4.4.11",
"vite-plugin-solid": "^2.7.2"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/solid/solid-start-streaming/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"esbuild": "^0.19.5",
"postcss": "^8.4.31",
"solid-start-node": "^0.3.7",
"typescript": "^5.2.2",
"typescript": "5.1.6",
"vite": "^4.4.11"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion examples/svelte/auto-refetching/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@sveltejs/kit": "^1.26.0",
"svelte": "^4.0.0",
"svelte-check": "^3.4.4",
"typescript": "^5.0.4",
"typescript": "5.1.6",
"vite": "^4.4.11"
}
}
2 changes: 1 addition & 1 deletion examples/svelte/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@sveltejs/kit": "^1.26.0",
"svelte": "^4.0.0",
"svelte-check": "^3.4.4",
"typescript": "^5.0.4",
"typescript": "5.1.6",
"vite": "^4.4.11"
}
}
2 changes: 1 addition & 1 deletion examples/svelte/load-more-infinite-scroll/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@sveltejs/kit": "^1.26.0",
"svelte": "^4.0.0",
"svelte-check": "^3.4.4",
"typescript": "^5.0.4",
"typescript": "5.1.6",
"vite": "^4.4.11"
}
}
2 changes: 1 addition & 1 deletion examples/svelte/optimistic-updates-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@sveltejs/kit": "^1.26.0",
"svelte": "^4.0.0",
"svelte-check": "^3.4.4",
"typescript": "^5.0.4",
"typescript": "5.1.6",
"vite": "^4.4.11"
}
}
2 changes: 1 addition & 1 deletion examples/svelte/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@sveltejs/kit": "^1.26.0",
"svelte": "^4.0.0",
"svelte-check": "^3.4.4",
"typescript": "^5.0.4",
"typescript": "5.1.6",
"vite": "^4.4.11"
}
}
2 changes: 1 addition & 1 deletion examples/svelte/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@tsconfig/svelte": "^5.0.2",
"svelte": "^4.0.0",
"svelte-check": "^3.4.4",
"typescript": "^5.0.4",
"typescript": "5.1.6",
"vite": "^4.4.11"
}
}
2 changes: 1 addition & 1 deletion examples/svelte/ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@sveltejs/kit": "^1.26.0",
"svelte": "^4.0.0",
"svelte-check": "^3.4.4",
"typescript": "^5.0.4",
"typescript": "5.1.6",
"vite": "^4.4.11"
}
}
2 changes: 1 addition & 1 deletion examples/svelte/star-wars/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"svelte": "^4.0.0",
"svelte-check": "^3.4.4",
"tailwindcss": "^3.3.2",
"typescript": "^5.0.4",
"typescript": "5.1.6",
"vite": "^4.4.11"
}
}
2 changes: 1 addition & 1 deletion examples/vue/2.6-basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"vue-template-compiler": "2.6.14"
},
"devDependencies": {
"typescript": "^5.0.4",
"typescript": "5.1.6",
"vite": "^4.4.11",
"vite-plugin-vue2": "2.0.2"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/vue/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.4.0",
"typescript": "^5.0.4",
"typescript": "5.1.6",
"vite": "^4.4.11"
}
}
2 changes: 1 addition & 1 deletion examples/vue/dependent-queries/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.4.0",
"typescript": "^5.0.4",
"typescript": "5.1.6",
"vite": "^4.4.11"
}
}
2 changes: 1 addition & 1 deletion examples/vue/persister/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.4.0",
"typescript": "^5.0.4",
"typescript": "5.1.6",
"vite": "^4.4.11"
}
}
2 changes: 1 addition & 1 deletion integrations/react-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"@types/node": "^18.18.0",
"@types/react": "^18.2.31",
"@types/react-dom": "^18.2.14",
"typescript": "^5.1.6"
"typescript": "5.1.6"
}
}
16 changes: 13 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
"preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...'); process.exit(1)}\" || npx -y only-allow pnpm",
"install:csb": "corepack enable && pnpm install --frozen-lockfile",
"test": "pnpm run test:ci",
"test:ci": "nx run-many --exclude=examples/** --targets=test:format,test:eslint,test:lib,test:types,test:build,test:bundle,build",
"test:ci": "nx run-many --exclude=examples/** --targets=test:format,test:sherif,test:eslint,test:lib,test:types,test:build,test:bundle,build",
"test:eslint": "nx affected --target=test:eslint",
"test:format": "pnpm run prettier --check",
"test:sherif": "sherif -i react-scripts",
"test:lib": "nx affected --target=test:lib",
"test:lib:dev": "pnpm --filter \"./packages/**\" run test:lib:dev",
"test:build": "nx affected --target=test:build",
Expand All @@ -30,7 +31,8 @@
},
"nx": {
"includedScripts": [
"test:format"
"test:format",
"test:sherif"
]
},
"namespace": "@tanstack",
Expand Down Expand Up @@ -81,14 +83,22 @@
"react-dom": "^18.2.0",
"rimraf": "^5.0.5",
"semver": "^7.5.4",
"sherif": "^0.5.0",
"solid-js": "^1.8.1",
"stream-to-array": "^2.3.0",
"ts-node": "^10.7.0",
"tsup": "^7.2.0",
"type-fest": "^4.5.0",
"typescript": "^5.0.4",
"typescript": "5.1.6",
"vite": "^4.4.11",
"vitest": "^0.33.0",
"vue": "^3.3.0"
},
"pnpm": {
"overrides": {
"@typescript-eslint/eslint-plugin": "$@typescript-eslint/eslint-plugin",
"@typescript-eslint/parser": "$@typescript-eslint/parser",
"eslint": "$eslint"
}
}
}
Loading

0 comments on commit b8bfe43

Please sign in to comment.