feat(ocmod): add TeleCart admin sidebar menu and local dev setup (#57)

- Add telecart.ocmod.xml: inject TeleCart menu item (with Settings child) after Marketing
- Add scripts/apply_ocmod.sh to symlink ocmod file in Docker container
- Add make ocmod target
- In CI: set version in telecart.ocmod.xml from version_meta; use docs.telecart.pro link

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-02-11 21:28:00 +03:00
committed by Nikita Kiselev
parent 80c2467b4a
commit 28c8ce3b68
4 changed files with 89 additions and 0 deletions

View File

@@ -45,6 +45,9 @@ dev-admin:
rm -rf src/upload/admin/view/javascript/telecart && \
cd frontend/admin && npm run dev
ocmod:
./scripts/apply_ocmod.sh
lint:
docker compose exec -w /module/oc_telegram_shop/upload/oc_telegram_shop web bash -c "./vendor/bin/phpstan analyse"