mirror of
https://github.com/zenstackhq/zenstack
synced 2026-05-24 10:08:55 +00:00
chore: add build script to tsdown config (#2592)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
4e35bc163b
commit
cce978f5cb
4 changed files with 24 additions and 2 deletions
|
|
@ -4,7 +4,16 @@
|
|||
"private": true,
|
||||
"type": "module",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"build": "tsc"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@zenstackhq/typescript-config": "workspace:*"
|
||||
},
|
||||
"exports": {
|
||||
".": "./index.ts"
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
9
packages/config/tsdown-config/tsconfig.json
Normal file
9
packages/config/tsdown-config/tsconfig.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"extends": "@zenstackhq/typescript-config/base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "dist",
|
||||
"rootDir": "src",
|
||||
"noEmit": false
|
||||
},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
|
@ -452,7 +452,11 @@ importers:
|
|||
|
||||
packages/config/eslint-config: {}
|
||||
|
||||
packages/config/tsdown-config: {}
|
||||
packages/config/tsdown-config:
|
||||
devDependencies:
|
||||
'@zenstackhq/typescript-config':
|
||||
specifier: workspace:*
|
||||
version: link:../typescript-config
|
||||
|
||||
packages/config/typescript-config: {}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue