mirror of
https://github.com/davila7/claude-code-templates.git
synced 2026-09-19 01:30:23 +08:00
92e2d1184d
🐳 New Docker Sandbox Provider - Execute Claude Code in isolated local containers ## Features - ✅ Fully local execution with complete isolation - ✅ Claude Agent SDK integration with async generator pattern - ✅ Multi-directory file detection (/app and /tmp) - ✅ Support for specialized agents - ✅ Automated execution with --yes flag - ✅ Custom Docker environments ## Files Added - cli-tool/components/sandbox/docker/Dockerfile - Node.js 22 Alpine image - cli-tool/components/sandbox/docker/docker-launcher.js - Container orchestration - cli-tool/components/sandbox/docker/execute.js - Claude SDK execution script - cli-tool/components/sandbox/docker/package.json - Dependencies - cli-tool/components/sandbox/docker/README.md - Complete documentation ## Changes - cli-tool/package.json: Bump version to 1.27.0, add docker files to npm package - cli-tool/src/index.js: Add Docker sandbox execution logic and --yes flag support - docs/component.html: Add Docker provider documentation and comparison table - docs/css/component-page.css: Docker provider styling - docs/js/component-page.js: Docker provider tab functionality ## Usage npx claude-code-templates@latest --sandbox docker --agent example --prompt "task" --yes ## Requirements - Docker Desktop installed and running - Anthropic API key configured 🎉 Version 1.27.0 published to npm 🤖 Generated with Claude Code (https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
105 lines
3.0 KiB
JSON
105 lines
3.0 KiB
JSON
{
|
|
"name": "claude-code-templates",
|
|
"version": "1.27.0",
|
|
"description": "CLI tool to setup Claude Code configurations with framework-specific commands, automation hooks and MCP Servers for your projects",
|
|
"main": "src/index.js",
|
|
"bin": {
|
|
"create-claude-config": "bin/create-claude-config.js",
|
|
"claude-code-templates": "bin/create-claude-config.js",
|
|
"claude-code-template": "bin/create-claude-config.js",
|
|
"claude-init": "bin/create-claude-config.js",
|
|
"cctemplates": "bin/create-claude-config.js",
|
|
"cct": "bin/create-claude-config.js",
|
|
"claude-setup": "bin/create-claude-config.js",
|
|
"claude-config": "bin/create-claude-config.js"
|
|
},
|
|
"scripts": {
|
|
"start": "node bin/create-claude-config.js",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"test:coverage": "jest --coverage",
|
|
"test:unit": "jest tests/unit",
|
|
"test:integration": "jest tests/integration",
|
|
"test:e2e": "jest tests/e2e",
|
|
"test:analytics": "jest --testPathPattern=analytics",
|
|
"test:commands": "./test-commands.sh",
|
|
"test:detailed": "./test-detailed.sh",
|
|
"test:react": "make test-react",
|
|
"test:vue": "make test-vue",
|
|
"test:node": "make test-node",
|
|
"test:all": "npm run test:coverage && make test",
|
|
"dev:link": "npm link",
|
|
"dev:unlink": "npm unlink -g claude-code-templates",
|
|
"pretest:commands": "npm run dev:link",
|
|
"analytics:start": "node src/analytics.js",
|
|
"analytics:test": "npm run test:analytics",
|
|
"security-audit": "node src/security-audit.js",
|
|
"security-audit:ci": "node src/security-audit.js --ci",
|
|
"security-audit:verbose": "node src/security-audit.js --verbose",
|
|
"security-audit:json": "node src/security-audit.js --json --output=security-report.json"
|
|
},
|
|
"keywords": [
|
|
"claude",
|
|
"claude-code",
|
|
"ai",
|
|
"configuration",
|
|
"template",
|
|
"setup",
|
|
"cli",
|
|
"hooks",
|
|
"automation",
|
|
"javascript",
|
|
"typescript",
|
|
"react",
|
|
"vue",
|
|
"angular",
|
|
"nodejs",
|
|
"python",
|
|
"django",
|
|
"flask",
|
|
"fastapi",
|
|
"rust",
|
|
"go"
|
|
],
|
|
"author": "Claude Code Templates",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"boxen": "^5.1.2",
|
|
"chalk": "^4.1.2",
|
|
"chokidar": "^3.5.3",
|
|
"commander": "^11.1.0",
|
|
"express": "^4.18.2",
|
|
"fs-extra": "^11.1.1",
|
|
"inquirer": "^8.2.6",
|
|
"js-yaml": "^4.1.0",
|
|
"open": "^8.4.2",
|
|
"ora": "^5.4.1",
|
|
"qrcode": "^1.5.3",
|
|
"uuid": "^11.1.0",
|
|
"ws": "^8.18.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.0.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/davila7/claude-code-templates.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/davila7/claude-code-templates/issues"
|
|
},
|
|
"homepage": "https://github.com/davila7/claude-code-templates#readme",
|
|
"files": [
|
|
"bin/",
|
|
"src/",
|
|
"components/sandbox/e2b/",
|
|
"components/sandbox/cloudflare/",
|
|
"components/sandbox/docker/",
|
|
"README.md"
|
|
],
|
|
"devDependencies": {
|
|
"jest": "^30.0.4",
|
|
"jest-watch-typeahead": "^3.0.1"
|
|
}
|
|
}
|