File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 }
2222 },
2323 "scripts" : {
24- "build" : " tsc -p tsconfig.json && chmod +x dist/bin/linear.js" ,
24+ "build" : " tsup --config tsup.config.ts && chmod +x dist/bin/linear.js" ,
2525 "clean" : " rm -rf dist" ,
2626 "typecheck" : " tsc -p tsconfig.json --noEmit" ,
2727 "test" : " vitest run --config vitest.config.ts" ,
2828 "dev" : " tsx src/bin/linear.ts"
2929 },
3030 "dependencies" : {
31- "@wiseiodev/linear-core" : " workspace:*" ,
32- "@wiseiodev/skills-catalog" : " workspace:*" ,
33- "@wiseiodev/tui" : " workspace:*" ,
31+ "@linear/sdk" : " ^77.0.0" ,
3432 "commander" : " ^14.0.3" ,
35- "open" : " ^11.0.0"
33+ "ink" : " ^6.8.0" ,
34+ "keytar" : " ^7.9.0" ,
35+ "open" : " ^11.0.0" ,
36+ "react" : " ^19.2.4" ,
37+ "zod" : " ^4.3.6"
3638 },
3739 "devDependencies" : {
40+ "@wiseiodev/linear-core" : " workspace:*" ,
41+ "@wiseiodev/skills-catalog" : " workspace:*" ,
42+ "@wiseiodev/tui" : " workspace:*" ,
43+ "tsup" : " ^8.5.1" ,
3844 "tsx" : " ^4.21.0"
3945 }
4046}
Original file line number Diff line number Diff line change 1+ import { defineConfig } from "tsup" ;
2+
3+ export default defineConfig ( {
4+ entry : {
5+ index : "src/index.ts" ,
6+ "bin/linear" : "src/bin/linear.ts" ,
7+ } ,
8+ outDir : "dist" ,
9+ format : [ "esm" ] ,
10+ platform : "node" ,
11+ target : "node22" ,
12+ dts : true ,
13+ sourcemap : true ,
14+ clean : true ,
15+ bundle : true ,
16+ splitting : false ,
17+ noExternal : [ / ^ @ w i s e i o d e v \/ / ] ,
18+ } ) ;
You can’t perform that action at this time.
0 commit comments