Skip to content

Commit 4425423

Browse files
authored
chore(*): migrate tsup configuration files to TypeScript format (#9330)
1 parent b16e793 commit 4425423

File tree

20 files changed

+15
-45
lines changed

20 files changed

+15
-45
lines changed

packages/eslint-plugin-query/tsup.config.js renamed to packages/eslint-plugin-query/tsup.config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// @ts-check
2-
31
import { defineConfig } from 'tsup'
42
import { legacyConfig, modernConfig } from './root.tsup.config.js'
53

packages/query-async-storage-persister/tsup.config.js renamed to packages/query-async-storage-persister/tsup.config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// @ts-check
2-
31
import { defineConfig } from 'tsup'
42
import { legacyConfig, modernConfig } from './root.tsup.config.js'
53

packages/query-broadcast-client-experimental/tsup.config.js renamed to packages/query-broadcast-client-experimental/tsup.config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// @ts-check
2-
31
import { defineConfig } from 'tsup'
42
import { legacyConfig, modernConfig } from './root.tsup.config.js'
53

packages/query-core/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"outDir": "./dist-ts",
55
"rootDir": "."
66
},
7-
"include": ["src", "*.config.js", "package.json"]
7+
"include": ["src", "*.config.js", "*.config.ts", "package.json"]
88
}

packages/query-core/tsup.config.js renamed to packages/query-core/tsup.config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// @ts-check
2-
31
import { defineConfig } from 'tsup'
42
import { legacyConfig, modernConfig } from './root.tsup.config.js'
53

packages/query-devtools/tsup.config.js renamed to packages/query-devtools/tsup.config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// @ts-check
2-
31
import { defineConfig } from 'tsup'
42
import { generateTsupOptions, parsePresetOptions } from 'tsup-preset-solid'
53

packages/query-persist-client-core/tsup.config.js

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { defineConfig } from 'tsup'
2+
import { legacyConfig, modernConfig } from './root.tsup.config.js'
3+
4+
export default defineConfig([
5+
modernConfig({ entry: ['src/*.ts'] }),
6+
legacyConfig({ entry: ['src/*.ts'] }),
7+
])

0 commit comments

Comments
 (0)