Skip to content

Commit cce978f

Browse files
chore: add build script to tsdown config (#2592)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 4e35bc1 commit cce978f

4 files changed

Lines changed: 24 additions & 2 deletions

File tree

packages/config/tsdown-config/package.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,16 @@
44
"private": true,
55
"type": "module",
66
"license": "MIT",
7+
"scripts": {
8+
"build": "tsc"
9+
},
10+
"devDependencies": {
11+
"@zenstackhq/typescript-config": "workspace:*"
12+
},
713
"exports": {
8-
".": "./index.ts"
14+
".": {
15+
"types": "./dist/index.d.ts",
16+
"default": "./dist/index.js"
17+
}
918
}
1019
}
File renamed without changes.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"extends": "@zenstackhq/typescript-config/base.json",
3+
"compilerOptions": {
4+
"outDir": "dist",
5+
"rootDir": "src",
6+
"noEmit": false
7+
},
8+
"include": ["src/**/*"]
9+
}

pnpm-lock.yaml

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)