ci: Add GitLab CI with semantic-release to @carealytix package registry

- .gitlab-ci.yml: single release stage, builds and runs semantic-release on main
- .releaserc: commit-analyzer, release-notes, npm publish, gitlab release, git tag
- package.json: rename to @carealytix/codewalkers, add repository, release script, semantic-release devDeps
- README.md: add GitLab Package Registry install instructions with .npmrc config
This commit is contained in:
Lukas May
2026-03-06 16:29:20 +01:00
parent 2eccde0ee1
commit 6b922b633e
4 changed files with 78 additions and 8 deletions

View File

@@ -30,15 +30,33 @@ Codewalkers coordinates agents from different providers (Claude, Codex, Gemini,
### Install
**1. Configure your `.npmrc` to use the GitLab Package Registry:**
```sh
git clone <repo-url> && cd codewalk-district
# Project-level .npmrc (recommended) — or add to ~/.npmrc for global config
@carealytix:registry=https://gitlab.com/api/v4/projects/<PROJECT_ID>/packages/npm/
//gitlab.com/api/v4/projects/<PROJECT_ID>/packages/npm/:_authToken=<YOUR_TOKEN>
```
Replace `<PROJECT_ID>` with the GitLab project ID and `<YOUR_TOKEN>` with a personal access token (scope: `read_api`) or deploy token.
**2. Install globally:**
```sh
npm install -g @carealytix/codewalkers
```
This makes the `cw` CLI available globally.
**Alternative: Install from source**
```sh
git clone git@gitlab.com:carealytix/tools/codewalkers.git && cd codewalkers
npm install
npm run build
npm link
```
This makes the `cw` CLI available globally.
### Initialize a workspace
```sh