Initial commit
This commit is contained in:
18
node_modules/@tanstack/react-query/build/query-codemods/eslint.config.js
generated
vendored
Normal file
18
node_modules/@tanstack/react-query/build/query-codemods/eslint.config.js
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
// @ts-check
|
||||
|
||||
import rootConfig from '../../eslint.config.js'
|
||||
|
||||
export default [
|
||||
...rootConfig,
|
||||
{
|
||||
rules: {
|
||||
'cspell/spellchecker': 'off',
|
||||
'@typescript-eslint/no-unnecessary-condition': 'off',
|
||||
'import/no-duplicates': 'off',
|
||||
'import/no-unresolved': 'off',
|
||||
'import/order': 'off',
|
||||
'no-shadow': 'off',
|
||||
'sort-imports': 'off',
|
||||
},
|
||||
},
|
||||
]
|
||||
37
node_modules/@tanstack/react-query/build/query-codemods/package.json
generated
vendored
Normal file
37
node_modules/@tanstack/react-query/build/query-codemods/package.json
generated
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
{
|
||||
"name": "@tanstack/query-codemods",
|
||||
"private": true,
|
||||
"description": "Collection of codemods to make the migration easier.",
|
||||
"author": "Balázs Máté Petró",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/TanStack/query.git",
|
||||
"directory": "packages/query-codemods"
|
||||
},
|
||||
"homepage": "https://tanstack.com/query",
|
||||
"funding": {
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/tannerlinsley"
|
||||
},
|
||||
"scripts": {
|
||||
"test:eslint": "eslint ./src",
|
||||
"test:lib": "vitest",
|
||||
"test:lib:dev": "pnpm run test:lib --watch"
|
||||
},
|
||||
"type": "module",
|
||||
"exports": {
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"files": [
|
||||
"src",
|
||||
"!src/jest.config.js",
|
||||
"!src/**/__testfixtures__",
|
||||
"!src/**/__tests__"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@types/jscodeshift": "0.11.11",
|
||||
"jscodeshift": "17.0.0"
|
||||
}
|
||||
}
|
||||
7
node_modules/@tanstack/react-query/build/query-codemods/tsconfig.json
generated
vendored
Normal file
7
node_modules/@tanstack/react-query/build/query-codemods/tsconfig.json
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"moduleResolution": "Bundler"
|
||||
},
|
||||
"include": ["src", "eslint.config.js", "vite.config.ts"]
|
||||
}
|
||||
14
node_modules/@tanstack/react-query/build/query-codemods/vite.config.ts
generated
vendored
Normal file
14
node_modules/@tanstack/react-query/build/query-codemods/vite.config.ts
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
import { defineConfig } from 'vitest/config'
|
||||
import packageJson from './package.json'
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
name: packageJson.name,
|
||||
dir: './src',
|
||||
watch: false,
|
||||
globals: true,
|
||||
coverage: { enabled: true, provider: 'istanbul', include: ['src/**/*'] },
|
||||
typecheck: { enabled: true },
|
||||
restoreMocks: true,
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user