Skip to content

Commit 8d9feb9

Browse files
fix: basePath -> basepath in monorepo solution yaml files (CX-41)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent cbd1957 commit 8d9feb9

12 files changed

Lines changed: 19 additions & 19 deletions

File tree

‎cortexapps_cli/solutions/monorepo/README.md‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Monorepo
3-
description: Model a real monorepo in Cortex — five Cortex services mapped to subdirectories of a single public GitHub repo, each scoped by basePath.
3+
description: Model a real monorepo in Cortex — five Cortex services mapped to subdirectories of a single public GitHub repo, each scoped by basepath.
44
---
55

66
# Monorepo
@@ -62,7 +62,7 @@ info:
6262
github:
6363
alias: cortex-cli # only needed with multiple GitHub integrations, and your repo isn't under the default
6464
repository: cortexapps/cli
65-
basePath: cortexapps_cli/solutions/monorepo/services/cli-core
65+
basepath: cortexapps_cli/solutions/monorepo/services/cli-core
6666
```
6767
6868
All five entities are tagged with the group `monorepo-demo` for easy catalog filtering.
@@ -71,18 +71,18 @@ All five entities are tagged with the group `monorepo-demo` for easy catalog fil
7171

7272
**5 service entities** (group: `monorepo-demo`)
7373

74-
| Tag | basePath | Description |
74+
| Tag | basepath | Description |
7575
|---|---|---|
7676
| `monorepo-demo-cli-core` | `services/cli-core` | Core CLI — Typer app, HTTP client, config, utils |
7777
| `monorepo-demo-cli-commands` | `services/cli-commands` | Command implementations per Cortex resource |
7878
| `monorepo-demo-cli-solutions` | `services/cli-solutions` | Solutions framework — installable bundles |
7979
| `monorepo-demo-cli-tests` | `services/cli-tests` | Integration test suite against live Cortex API |
8080
| `monorepo-demo-cli-docker` | `services/cli-docker` | Container infra — published `cortexapp/cli` image |
8181

82-
> Full basePaths are prefixed with `cortexapps_cli/solutions/monorepo/` — shortened above for readability.
82+
> Full basepaths are prefixed with `cortexapps_cli/solutions/monorepo/` — shortened above for readability.
8383

8484
**1 scorecard** — `monorepo-component-health` — Bronze/Silver/Gold:
85-
- Bronze: has description + git configured with basePath
85+
- Bronze: has description + git configured with basepath
8686
- Silver: belongs to at least one group
8787
- Gold: verified within 90 days
8888

@@ -161,15 +161,15 @@ GitOps syncs automatically on each push to the repo. To trigger a manual sync wi
161161
3. Select **GitHub**
162162
4. Follow the prompts to select the `cortexapps/cli` repository
163163

164-
Cortex will find the `cortex.yaml` files in each subdirectory and recreate the deleted entities exactly as defined — group, git basePath, description, and all.
164+
Cortex will find the `cortex.yaml` files in each subdirectory and recreate the deleted entities exactly as defined — group, git basepath, description, and all.
165165

166166
## Adapting for Your Own Monorepo
167167

168168
1. Add a `cortex.yaml` to each component subdirectory in your repo
169-
2. Set `x-cortex-git.github.repository` and `basePath` for each component
169+
2. Set `x-cortex-git.github.repository` and `basepath` for each component
170170
3. Add `x-cortex-git.github.alias` if you have more than one GitHub integration configured and your repo isn't under the default
171171
4. Add a consistent group tag to all components (e.g. `my-monorepo`)
172172
5. Add GitOps → your repo in Cortex Settings
173173
6. Cortex discovers and syncs all components automatically
174174

175-
The `basePath` is what splits one repo into many scoped entities — each service sees only the activity in its own directory.
175+
The `basepath` is what splits one repo into many scoped entities — each service sees only the activity in its own directory.

‎cortexapps_cli/solutions/monorepo/catalog/cli-commands.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ info:
1010
github:
1111
alias: cortex-cli
1212
repository: cortexapps/cli
13-
basePath: cortexapps_cli/solutions/monorepo/services/cli-commands
13+
basepath: cortexapps_cli/solutions/monorepo/services/cli-commands
1414
x-cortex-link:
1515
- name: GitHub
1616
type: repo

‎cortexapps_cli/solutions/monorepo/catalog/cli-core.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ info:
1010
github:
1111
alias: cortex-cli
1212
repository: cortexapps/cli
13-
basePath: cortexapps_cli/solutions/monorepo/services/cli-core
13+
basepath: cortexapps_cli/solutions/monorepo/services/cli-core
1414
x-cortex-link:
1515
- name: GitHub
1616
type: repo

‎cortexapps_cli/solutions/monorepo/catalog/cli-docker.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ info:
1010
github:
1111
alias: cortex-cli
1212
repository: cortexapps/cli
13-
basePath: cortexapps_cli/solutions/monorepo/services/cli-docker
13+
basepath: cortexapps_cli/solutions/monorepo/services/cli-docker
1414
x-cortex-link:
1515
- name: GitHub
1616
type: repo

‎cortexapps_cli/solutions/monorepo/catalog/cli-solutions.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ info:
1010
github:
1111
alias: cortex-cli
1212
repository: cortexapps/cli
13-
basePath: cortexapps_cli/solutions/monorepo/services/cli-solutions
13+
basepath: cortexapps_cli/solutions/monorepo/services/cli-solutions
1414
x-cortex-link:
1515
- name: GitHub
1616
type: repo

‎cortexapps_cli/solutions/monorepo/catalog/cli-tests.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ info:
1010
github:
1111
alias: cortex-cli
1212
repository: cortexapps/cli
13-
basePath: cortexapps_cli/solutions/monorepo/services/cli-tests
13+
basepath: cortexapps_cli/solutions/monorepo/services/cli-tests
1414
x-cortex-link:
1515
- name: GitHub
1616
type: repo

‎cortexapps_cli/solutions/monorepo/services/cli-commands/cortex.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ info:
1010
github:
1111
alias: cortex-cli
1212
repository: cortexapps/cli
13-
basePath: cortexapps_cli/solutions/monorepo/services/cli-commands
13+
basepath: cortexapps_cli/solutions/monorepo/services/cli-commands
1414
x-cortex-link:
1515
- name: GitHub
1616
type: repo

‎cortexapps_cli/solutions/monorepo/services/cli-core/cortex.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ info:
1010
github:
1111
alias: cortex-cli
1212
repository: cortexapps/cli
13-
basePath: cortexapps_cli/solutions/monorepo/services/cli-core
13+
basepath: cortexapps_cli/solutions/monorepo/services/cli-core
1414
x-cortex-link:
1515
- name: GitHub
1616
type: repo

‎cortexapps_cli/solutions/monorepo/services/cli-docker/cortex.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ info:
1010
github:
1111
alias: cortex-cli
1212
repository: cortexapps/cli
13-
basePath: cortexapps_cli/solutions/monorepo/services/cli-docker
13+
basepath: cortexapps_cli/solutions/monorepo/services/cli-docker
1414
x-cortex-link:
1515
- name: GitHub
1616
type: repo

‎cortexapps_cli/solutions/monorepo/services/cli-solutions/cortex.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ info:
1010
github:
1111
alias: cortex-cli
1212
repository: cortexapps/cli
13-
basePath: cortexapps_cli/solutions/monorepo/services/cli-solutions
13+
basepath: cortexapps_cli/solutions/monorepo/services/cli-solutions
1414
x-cortex-link:
1515
- name: GitHub
1616
type: repo

0 commit comments

Comments
 (0)