f188891e1c
## Summary - Strips all v1 build logic from \`e2b template build\` (\`bd\`): Docker build/push, API calls, config-loading, and retry/proxy handling are removed - The command now only displays the existing yellow deprecation warning (pointing to the v2 migration guide) and exits with code 1 - Deletes \`buildWithProxy.ts\` which is no longer referenced anywhere - Moves \`getDockerfile\` helper (used by \`template create\` and \`template migrate\`) to a new shared \`dockerfile.ts\` module, leaving \`build.ts\` as a clean stub ## Test plan - [ ] Run \`e2b template build\` — confirm deprecation warning is shown and the command exits immediately - [ ] Run \`e2b template create\` and \`e2b template migrate\` — confirm they still work (both use the moved \`getDockerfile\` helper) 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
95 lines
2.2 KiB
JSON
95 lines
2.2 KiB
JSON
{
|
|
"name": "@e2b/cli",
|
|
"version": "2.10.4",
|
|
"description": "CLI for managing e2b sandbox templates",
|
|
"homepage": "https://e2b.dev",
|
|
"license": "MIT",
|
|
"author": {
|
|
"name": "FoundryLabs, Inc.",
|
|
"email": "hello@e2b.dev",
|
|
"url": "https://e2b.dev"
|
|
},
|
|
"bugs": "https://github.com/e2b-dev/e2b/issues",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/e2b-dev/e2b",
|
|
"directory": "packages/cli"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"keywords": [
|
|
"e2b",
|
|
"ai-agents",
|
|
"agents",
|
|
"ai",
|
|
"code-interpreter",
|
|
"sandbox",
|
|
"code",
|
|
"cli",
|
|
"runtime",
|
|
"vm",
|
|
"nodejs",
|
|
"javascript",
|
|
"typescript"
|
|
],
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"prepublishOnly": "pnpm build",
|
|
"build": "tsc --noEmit --skipLibCheck && tsup --minify",
|
|
"dev": "tsup --watch",
|
|
"typecheck": "tsc --noEmit --skipLibCheck",
|
|
"lint": "eslint src",
|
|
"format": "prettier --write src",
|
|
"test:interactive": "pnpm build && ./dist/index.js",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest watch",
|
|
"test:coverage": "vitest run --coverage",
|
|
"check-deps": "knip"
|
|
},
|
|
"devDependencies": {
|
|
"@types/handlebars": "^4.1.0",
|
|
"@types/inquirer": "^9.0.7",
|
|
"@types/json2md": "^1.5.4",
|
|
"@types/node": "^20.19.19",
|
|
"@types/npmcli__package-json": "^4.0.4",
|
|
"@types/statuses": "^2.0.5",
|
|
"@vitest/coverage-v8": "^4.1.0",
|
|
"json2md": "^2.0.1",
|
|
"knip": "^5.43.6",
|
|
"tsup": "^8.4.0",
|
|
"typescript": "^5.4.5",
|
|
"vitest": "^4.1.8"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"LICENSE",
|
|
"README",
|
|
"package.json"
|
|
],
|
|
"bin": {
|
|
"e2b": "dist/index.js"
|
|
},
|
|
"dependencies": {
|
|
"@iarna/toml": "^2.2.5",
|
|
"@inquirer/prompts": "^7.9.0",
|
|
"@npmcli/package-json": "^5.2.1",
|
|
"async-listen": "^3.0.1",
|
|
"boxen": "^7.1.1",
|
|
"chalk": "^5.3.0",
|
|
"cli-highlight": "^2.1.11",
|
|
"commander": "^11.1.0",
|
|
"console-table-printer": "^2.11.2",
|
|
"dockerfile-ast": "^0.6.1",
|
|
"e2b": "^2.28.0",
|
|
"handlebars": "^4.7.9",
|
|
"inquirer": "^12.10.0",
|
|
"simple-update-notifier": "^2.0.0",
|
|
"statuses": "^2.0.1",
|
|
"yup": "^1.3.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
}
|
|
}
|