build: use node instead of bun

This commit is contained in:
2025-11-18 15:47:38 +03:00
parent 3d078900a1
commit 07b7289fdc
7 changed files with 11012 additions and 1673 deletions

View File

@@ -33,15 +33,15 @@ link:
dev:
rm -rf module/oc_telegram_shop/upload/system/library/oc_telegram_shop && \
$(MAKE) link && \
cd frontend/spa && bun run dev
cd frontend/spa && npm run dev
dev-admin:
rm -rf module/oc_telegram_shop/upload/admin/view/javascript && \
rm -rf module/oc_telegram_shop/upload/system/library/oc_telegram_shop && \
rm -rf src/upload/admin/view/javascript/telecart && \
$(MAKE) link && \
cd frontend/admin && bun run dev
cd frontend/spa && bun run dev
cd frontend/admin && npm run dev
cd frontend/spa && npm run dev
lint:
docker compose exec -w /module/oc_telegram_shop/upload/oc_telegram_shop web bash -c "./vendor/bin/phpstan analyse src framework"