chore: switch tsup config to typescript (#9057)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Superchupu
2023-01-13 09:44:56 +00:00
committed by GitHub
parent 05a1cbfe54
commit 1831acaffb
19 changed files with 5 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ export function createTsupConfig({
keepNames = true, keepNames = true,
dts = true, dts = true,
sourcemap = true, sourcemap = true,
esbuildPlugins = [] esbuildPlugins = [],
} = {}) { } = {}) {
return defineConfig({ return defineConfig({
entry, entry,
@@ -32,6 +32,6 @@ export function createTsupConfig({
keepNames, keepNames,
dts, dts,
sourcemap, sourcemap,
esbuildPlugins esbuildPlugins,
}); });
} }

View File

@@ -4,7 +4,7 @@
"pipeline": { "pipeline": {
"build": { "build": {
"dependsOn": ["^build"], "dependsOn": ["^build"],
"inputs": ["../../tsconfig.json", "../../tsup.config.js", "src/**/*.ts", "tsconfig.json", "tsup.config.js"], "inputs": ["../../tsconfig.json", "../../tsup.config.ts", "src/**/*.ts", "tsconfig.json", "tsup.config.ts"],
"outputs": ["dist/**"] "outputs": ["dist/**"]
}, },
"@discordjs/ui#build": { "@discordjs/ui#build": {
@@ -96,7 +96,7 @@
".prettierrc.json", ".prettierrc.json",
"tsconfig.json", "tsconfig.json",
"tsconfig.eslint.json", "tsconfig.eslint.json",
"tsup.config.js", "tsup.config.ts",
"vite.config.ts" "vite.config.ts"
], ],
"outputs": [] "outputs": []
@@ -124,7 +124,7 @@
".prettierrc.json", ".prettierrc.json",
"tsconfig.json", "tsconfig.json",
"tsconfig.eslint.json", "tsconfig.eslint.json",
"tsup.config.js", "tsup.config.ts",
"vite.config.ts" "vite.config.ts"
], ],
"outputs": [] "outputs": []