Skip to content

Commit f5fdaed

Browse files
committed
Switch tsdown config types to UserConfig
1 parent 9bdb551 commit f5fdaed

File tree

13 files changed

+27
-27
lines changed

13 files changed

+27
-27
lines changed

.pkgs/eslint-plugin-local/tsdown.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { InlineConfig } from "tsdown";
1+
import type { UserConfig } from "tsdown";
22

33
export default {
44
clean: true,
@@ -13,4 +13,4 @@ export default {
1313
target: "node20",
1414
treeshake: true,
1515
fixedExtension: false,
16-
} satisfies InlineConfig;
16+
} satisfies UserConfig;

packages/core/tsdown.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
import type { InlineConfig } from "tsdown";
1+
import type { UserConfig } from "tsdown";
22

33
export default {
44
clean: true,
55
dts: true,
66
entry: ["src/index.ts"],
77
external: ["eslint", "typescript"],
8+
fixedExtension: false,
89
format: ["esm"],
910
minify: false,
1011
outDir: "dist",
1112
platform: "node",
1213
sourcemap: false,
1314
target: "node20",
1415
treeshake: true,
15-
fixedExtension: false,
16-
} satisfies InlineConfig;
16+
} satisfies UserConfig;

packages/plugins/eslint-plugin-react-debug/tsdown.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { InlineConfig } from "tsdown";
1+
import type { UserConfig } from "tsdown";
22

33
export default {
44
clean: true,
@@ -13,4 +13,4 @@ export default {
1313
target: "node20",
1414
treeshake: true,
1515
fixedExtension: false,
16-
} satisfies InlineConfig;
16+
} satisfies UserConfig;

packages/plugins/eslint-plugin-react-dom/tsdown.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { InlineConfig } from "tsdown";
1+
import type { UserConfig } from "tsdown";
22

33
export default {
44
clean: true,
@@ -13,4 +13,4 @@ export default {
1313
target: "node20",
1414
treeshake: true,
1515
fixedExtension: false,
16-
} satisfies InlineConfig;
16+
} satisfies UserConfig;

packages/plugins/eslint-plugin-react-hooks-extra/tsdown.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { InlineConfig } from "tsdown";
1+
import type { UserConfig } from "tsdown";
22

33
export default {
44
clean: true,
@@ -13,4 +13,4 @@ export default {
1313
target: "node20",
1414
treeshake: true,
1515
fixedExtension: false,
16-
} satisfies InlineConfig;
16+
} satisfies UserConfig;

packages/plugins/eslint-plugin-react-naming-convention/tsdown.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { InlineConfig } from "tsdown";
1+
import type { UserConfig } from "tsdown";
22

33
export default {
44
clean: true,
@@ -13,4 +13,4 @@ export default {
1313
target: "node20",
1414
treeshake: true,
1515
fixedExtension: false,
16-
} satisfies InlineConfig;
16+
} satisfies UserConfig;

packages/plugins/eslint-plugin-react-web-api/tsdown.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { InlineConfig } from "tsdown";
1+
import type { UserConfig } from "tsdown";
22

33
export default {
44
clean: true,
@@ -13,4 +13,4 @@ export default {
1313
target: "node20",
1414
treeshake: true,
1515
fixedExtension: false,
16-
} satisfies InlineConfig;
16+
} satisfies UserConfig;

packages/plugins/eslint-plugin-react-x/tsdown.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { InlineConfig } from "tsdown";
1+
import type { UserConfig } from "tsdown";
22

33
export default {
44
clean: true,
@@ -13,4 +13,4 @@ export default {
1313
target: "node20",
1414
treeshake: true,
1515
fixedExtension: false,
16-
} satisfies InlineConfig;
16+
} satisfies UserConfig;

packages/plugins/eslint-plugin/tsdown.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { InlineConfig } from "tsdown";
1+
import type { UserConfig } from "tsdown";
22

33
export default {
44
clean: true,
@@ -13,4 +13,4 @@ export default {
1313
target: "node20",
1414
treeshake: true,
1515
fixedExtension: false,
16-
} satisfies InlineConfig;
16+
} satisfies UserConfig;

packages/shared/tsdown.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { InlineConfig } from "tsdown";
1+
import type { UserConfig } from "tsdown";
22

33
export default {
44
clean: true,
@@ -13,4 +13,4 @@ export default {
1313
target: "node20",
1414
treeshake: true,
1515
fixedExtension: false,
16-
} satisfies InlineConfig;
16+
} satisfies UserConfig;

0 commit comments

Comments
 (0)