File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 44 "version" : " 0.0.1" ,
55 "bin" : " ./dist/bin/index.js" ,
66 "scripts" : {
7- "build" : " bunchee --tsconfig tsconfig.build.json" ,
8- "dev" : " bunchee -w --tsconfig tsconfig.build.json --no-clean"
7+ "build" : " bunchee --tsconfig tsconfig.build.json --no-external " ,
8+ "dev" : " bunchee -w --tsconfig tsconfig.build.json --no-clean --no-external "
99 },
1010 "devDependencies" : {
1111 "@uploadthing/eslint-config" : " workspace:*" ,
Original file line number Diff line number Diff line change @@ -2,7 +2,9 @@ import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"
22
33import { createServer } from "../server" ;
44
5- const tokenstr = process . argv [ 2 ] ?? process . env . UPLOADTHING_TOKEN ;
5+ const tokenstr =
6+ process . argv . find ( ( arg ) => arg . startsWith ( "eyJhc" ) ) ??
7+ process . env . UPLOADTHING_TOKEN ;
68
79if ( ! tokenstr ) {
810 console . error (
You can’t perform that action at this time.
0 commit comments