refactor: project architecture refactor, container splitting
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Запуск из корня репозитория: .\scripts\check-all.ps1
|
||||
# Run from repository root: .\scripts\check-all.ps1
|
||||
$ErrorActionPreference = "Stop"
|
||||
$root = Split-Path -Parent $PSScriptRoot
|
||||
Set-Location $root
|
||||
@@ -6,9 +6,9 @@ Set-Location $root
|
||||
Write-Host "Python: pip install -r requirements-dev.txt" -ForegroundColor Cyan
|
||||
python -m pip install -q -r requirements-dev.txt
|
||||
|
||||
if (-not (Test-Path (Join-Path $root "node_modules"))) {
|
||||
Write-Host "npm install (нет node_modules)" -ForegroundColor Cyan
|
||||
npm install
|
||||
if (-not (Test-Path (Join-Path $root "frontend/node_modules"))) {
|
||||
Write-Host "npm install --prefix frontend" -ForegroundColor Cyan
|
||||
npm --prefix frontend install
|
||||
}
|
||||
|
||||
Write-Host "npm run check" -ForegroundColor Cyan
|
||||
|
||||
Reference in New Issue
Block a user