ваше сообщение коммита

This commit is contained in:
2025-12-29 20:03:09 +03:00
parent 32001ceacd
commit 546e92ffb2
22 changed files with 1458 additions and 305 deletions

View File

@@ -175,7 +175,8 @@ class UnifiedDeploymentService {
logger.info(`🚀 Запуск деплоя: ${scriptPath}`);
const child = spawn('npx', ['hardhat', 'run', scriptPath], {
const hardhatPath = path.join(__dirname, '..', 'node_modules', '.bin', 'hardhat');
const child = spawn(hardhatPath, ['run', scriptPath], {
cwd: path.join(__dirname, '..'),
env: {
...process.env,
@@ -378,6 +379,15 @@ class UnifiedDeploymentService {
return await this.deployParamsService.getAllDeployments();
}
/**
* Удаляет параметры деплоя по deploymentId
* @param {string} deploymentId - ID деплоя
* @returns {boolean} - Успешность удаления
*/
async deleteDeployParams(deploymentId) {
return await this.deployParamsService.deleteDeployParams(deploymentId);
}
/**
* Получает все DLE из файлов (для совместимости)
* @returns {Array} - Список DLE