Skip to content

Commit d49907e

Browse files
authored
[Chore] Use tsdown config files for build steps (#10)
Use tsdown config files for build steps This simplifies the build command to allow us to configure/add more files to our build steps
1 parent 28bec95 commit d49907e

File tree

14 files changed

+61
-7
lines changed

14 files changed

+61
-7
lines changed

packages/ack-id/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"README.md"
3939
],
4040
"scripts": {
41-
"build": "tsdown src/index.ts src/schemas/zod.ts src/schemas/valibot.ts --dts --silent",
41+
"build": "tsdown",
4242
"check:types": "tsc --noEmit",
4343
"clean": "git clean -fdX .turbo dist",
4444
"dev": "pnpm build --watch --no-clean",

packages/ack-id/tsdown.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { defineConfig } from "tsdown/config"
2+
3+
export default defineConfig({
4+
entry: ["src/index.ts", "src/schemas/zod.ts", "src/schemas/valibot.ts"],
5+
dts: true,
6+
silent: true
7+
})

packages/ack-pay/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"README.md"
3939
],
4040
"scripts": {
41-
"build": "tsdown src/index.ts src/schemas/zod.ts src/schemas/valibot.ts --dts --silent",
41+
"build": "tsdown",
4242
"check:types": "tsc --noEmit",
4343
"clean": "git clean -fdX .turbo dist",
4444
"dev": "pnpm build --watch --no-clean",

packages/ack-pay/tsdown.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { defineConfig } from "tsdown/config"
2+
3+
export default defineConfig({
4+
entry: ["src/index.ts", "src/schemas/zod.ts", "src/schemas/valibot.ts"],
5+
dts: true,
6+
silent: true
7+
})

packages/agentcommercekit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"README.md"
3939
],
4040
"scripts": {
41-
"build": "tsdown src/index.ts src/schemas/zod.ts src/schemas/valibot.ts --dts --silent",
41+
"build": "tsdown",
4242
"check:types": "tsc --noEmit",
4343
"clean": "git clean -fdX .turbo dist",
4444
"dev": "pnpm build --watch --no-clean",
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { defineConfig } from "tsdown/config"
2+
3+
export default defineConfig({
4+
entry: ["src/index.ts", "src/schemas/zod.ts", "src/schemas/valibot.ts"],
5+
dts: true,
6+
silent: true
7+
})

packages/did/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"README.md"
3939
],
4040
"scripts": {
41-
"build": "tsdown src/index.ts src/schemas/zod.ts src/schemas/valibot.ts --dts --silent",
41+
"build": "tsdown",
4242
"check:types": "tsc --noEmit",
4343
"clean": "git clean -fdX .turbo dist",
4444
"dev": "pnpm build --watch --no-clean",

packages/did/tsdown.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { defineConfig } from "tsdown/config"
2+
3+
export default defineConfig({
4+
entry: ["src/index.ts", "src/schemas/zod.ts", "src/schemas/valibot.ts"],
5+
dts: true,
6+
silent: true
7+
})

packages/jwt/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"README.md"
3939
],
4040
"scripts": {
41-
"build": "tsdown src/index.ts src/schemas/zod.ts src/schemas/valibot.ts --dts --silent",
41+
"build": "tsdown",
4242
"check:types": "tsc --noEmit",
4343
"clean": "git clean -fdX .turbo dist",
4444
"dev": "pnpm build --watch --no-clean",

packages/jwt/tsdown.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { defineConfig } from "tsdown/config"
2+
3+
export default defineConfig({
4+
entry: ["src/index.ts", "src/schemas/zod.ts", "src/schemas/valibot.ts"],
5+
dts: true,
6+
silent: true
7+
})

0 commit comments

Comments
 (0)