hydra-swe-builder
Version:
A comprehensive CLI tool for creating software engineering projects (Mobile, Frontend, Backend)
81 lines (74 loc) • 3.01 kB
JavaScript
// config.js
/**
* Bannière ASCII affichée au lancement du CLI.
*/
const BANNER = `
██╗ ██╗██╗ ██╗██████╗ ██████╗ █████╗
██║ ██║╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
███████║ ╚████╔╝ ██║ ██║██████╔╝███████║
██╔══██║ ╚██╔╝ ██║ ██║██╔══██╗██╔══██║
██║ ██║ ██║ ██████╔╝██║ ██║██║ ██║
╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
███████╗██╗ ██╗███████╗
██╔════╝██║ ██║██╔════╝
███████╗██║ █╗ ██║█████╗
╚════██║██║███╗██║██╔══╝
███████║╚███╔███╔╝███████╗
╚══════╝ ╚══╝╚══╝ ╚══════╝
HYDRA Software Engineering Project Builder CLI v1.0.0
by Michel Okoubi
`;
/**
* Configuration des types de projets disponibles.
* Chaque type a un nom, une icône et des options de framework.
*/
const PROJECT_TYPES = {
mobile: {
name: 'Mobile Application',
icon: '📱',
options: [
{ name: 'React Native with Expo', value: 'expo' },
{ name: 'React Native CLI', value: 'rn-cli' },
{ name: 'Native iOS (Swift)', value: 'ios' },
{ name: 'Native Android (Kotlin)', value: 'android' },
],
},
frontend: {
name: 'Frontend Application',
icon: '🌐',
options: [
{ name: 'Angular', value: 'angular' },
{ name: 'Next.js', value: 'nextjs' },
],
},
backend: {
name: 'Backend API',
icon: '⚙️',
options: [
{ name: 'NestJS + Fastify', value: 'nestjs' },
{ name: 'Rust + Actix Web', value: 'rust' },
{ name: 'Go + Gin', value: 'go' },
{ name: 'Quarkus (Java)', value: 'quarkus' },
],
},
fullstack: {
name: 'Full Stack Project',
icon: '🔗',
description: 'Complete application with frontend, backend, and mobile',
},
};
/**
* Configuration des types d'API disponibles pour les projets backend.
*/
const API_TYPES = [
{ name: 'REST API', value: 'rest' },
{ name: 'GraphQL', value: 'graphql' },
{ name: 'gRPC', value: 'grpc' },
{ name: 'WebSocket', value: 'websocket' },
{ name: 'All of the above', value: 'all' },
];
module.exports = {
BANNER,
PROJECT_TYPES,
API_TYPES,
};