docs: agent pitfalls + token economy rules for Cursor [skip ci]
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
---
|
||||
description: EventHubFrontAdmin — npm/lint/e2e только через WSL (Windows npm сломан)
|
||||
alwaysApply: true
|
||||
---
|
||||
|
||||
# EventHubFrontAdmin: Node / npm (WSL)
|
||||
|
||||
**Запрещено:** `npm` / `npx` / `node` из Windows PowerShell/CMD.
|
||||
|
||||
**Обязательно:** команды только в **WSL**:
|
||||
|
||||
```bash
|
||||
wsl -e bash -lc 'cd /mnt/c/Users/alexc/IdeaProjects/eventHub/EventHubFrontAdmin && npm run lint'
|
||||
wsl -e bash -lc 'cd /mnt/c/Users/alexc/IdeaProjects/eventHub/EventHubFrontAdmin && npm run build'
|
||||
wsl -e bash -lc 'cd /mnt/c/Users/alexc/IdeaProjects/eventHub/EventHubFrontAdmin && npm test'
|
||||
```
|
||||
|
||||
Push: обычно `master` через `bash ~/.cursor/eventhub/git-push.sh …/EventHubFrontAdmin`
|
||||
Reference in New Issue
Block a user