Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"typescript.tsdk": "node_modules/typescript/lib"
}
17 changes: 11 additions & 6 deletions packages/bash-mcp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,22 @@
"version": "0.1.3",
"description": "MCP server exposing sandboxed bash for untrusted command execution",
"type": "module",
"main": "./src/index.ts",
"types": "./src/index.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": "./src/index.ts"
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
}
},
"bin": {
"bash-mcp": "./src/index.ts"
"bash-mcp": "./src/index.js"
},
"scripts": {
"start": "node --import tsx/esm src/index.ts",
"dev": "tsx watch src/index.ts",
"start": "node --conditions source --import tsx/esm src/index.ts",
"dev": "tsx --conditions source watch src/index.ts",
"build": "tsup src/index.ts --format esm --dts"
},
"homepage": "https://github.com/capsulerun/bash/tree/main/packages/bash-mcp",
Expand Down
21 changes: 19 additions & 2 deletions packages/bash-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,29 @@
"url": "https://github.com/capsulerun/bash.git",
"directory": "packages/bash-types"
},
"main": "./src/index.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./src/index.ts",
"exports": {
".": "./src/index.ts"
".": {
"source": "./src/index.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./src/index.ts"
}
},
"publishConfig": {
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
}
}
},
"scripts": {
"build": "tsup",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
Expand Down
2 changes: 1 addition & 1 deletion packages/bash-wasm-shell/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"private": true,
"scripts": {
"bash-wasm-shell": "tsx src/index.tsx"
"bash-wasm-shell": "tsx --conditions source src/index.tsx"
},
"packageManager": "pnpm@10.21.0",
"dependencies": {
Expand Down
21 changes: 19 additions & 2 deletions packages/bash-wasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,33 @@
"url": "https://github.com/capsulerun/bash.git",
"directory": "packages/bash-wasm"
},
"main": "./src/index.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./src/index.ts",
"exports": {
".": "./src/index.ts"
".": {
"source": "./src/index.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./src/index.ts"
}
},
"publishConfig": {
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
}
}
},
"files": [
"src",
"dist/sandboxes"
],
"scripts": {
"build": "tsup",
"pretest": "pip install -r sandboxes/python/requirements.txt -q",
"test": "vitest run"
},
Expand Down
22 changes: 20 additions & 2 deletions packages/bash/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,35 @@
"url": "https://github.com/capsulerun/bash.git",
"directory": "packages/bash"
},
"main": "./src/index.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./src/index.ts",
"exports": {
".": "./src/index.ts"
".": {
"source": "./src/index.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./src/index.ts"
}
},
"publishConfig": {
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
}
}
},
"scripts": {
"build": "tsup",
"test": "vitest run"
},
"license": "Apache-2.0",
"packageManager": "pnpm@10.21.0",
"devDependencies": {
"@types/node": "^25.6.0",
"@types/shell-quote": "^1.7.5",
"tsup": "^8.0.0"
},
Expand Down
Loading
Loading