mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-08-28 05:25:25 +00:00
docs: build shared package before CLI setup (#2448)
Co-authored-by: Eva <eva@100yen.org> Co-authored-by: Gergő Magyar <gergomagyar@icloud.com>
This commit is contained in:
parent
226ec6cf99
commit
24d8d1ea38
1 changed files with 8 additions and 3 deletions
|
|
@ -16,9 +16,14 @@ This project uses the [PolyForm Noncommercial License 1.0.0](https://polyformpro
|
|||
**Prerequisites:** Node.js — `gitnexus/` requires `>=22.0.0` and `gitnexus-web/` requires `^20.19.0 || >=22.12.0` (enforced via the `engines` field in each package). Use `nvm install` to match the local version.
|
||||
|
||||
1. Clone the repository.
|
||||
2. **CLI / MCP package:** `cd gitnexus && npm install && npm run build`
|
||||
3. **Web UI (if needed):** `cd gitnexus-web && npm install`
|
||||
4. Run tests as described in [TESTING.md](TESTING.md).
|
||||
2. **Shared package:** `cd gitnexus-shared && npm install && npm run build`
|
||||
3. **CLI / MCP package:** `cd ../gitnexus && npm install && npm run build`
|
||||
4. **Web UI (if needed):** `cd ../gitnexus-web && npm install`
|
||||
5. Run tests as described in [TESTING.md](TESTING.md).
|
||||
|
||||
The CLI build imports `gitnexus-shared`, so a fresh clone must install and build
|
||||
the shared package before running `npm install` in `gitnexus/`. This is the same
|
||||
order used by the repository's `setup-gitnexus` CI action.
|
||||
|
||||
### Containerized development (optional)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue