Build shared package outputs
This commit is contained in:
@@ -2,6 +2,15 @@ type: library
|
||||
language: typescript
|
||||
|
||||
tasks:
|
||||
build:
|
||||
command: bun run build
|
||||
inputs:
|
||||
- src/**/*
|
||||
- tsconfig.json
|
||||
- tsconfig.build.json
|
||||
- package.json
|
||||
outputs:
|
||||
- dist
|
||||
typecheck:
|
||||
command: bun run typecheck
|
||||
inputs:
|
||||
|
||||
@@ -4,10 +4,17 @@
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./app-status": "./src/app-status.ts"
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"./app-status": {
|
||||
"types": "./dist/app-status.d.ts",
|
||||
"default": "./dist/app-status.js"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc --project tsconfig.build.json",
|
||||
"typecheck": "tsc --project tsconfig.json"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"noEmit": false,
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": false,
|
||||
"outDir": "dist",
|
||||
"rootDir": "src"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user