@jjdenhertog/ai-driven-development
Version:
AI-driven development workflow with learning capabilities for Claude
13 lines • 456 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getContainerName = getContainerName;
const node_path_1 = require("node:path");
function getContainerName(name) {
if (name.startsWith('aidev-'))
return name;
const prefix = (0, node_path_1.basename)(process.cwd())
.toLowerCase()
.replace(/[^\da-z]/g, '');
return `aidev-${prefix}-${name}`;
}
//# sourceMappingURL=getContainerName.js.map