Skip to content

Commit 30fe143

Browse files
committed
refactor: group mods registry under mods/ folder
1 parent 6bb6352 commit 30fe143

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

MODS.md renamed to mods/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# Command Code mods registry
22

3-
This repo's [`mods.json`](./mods.json) is the community registry behind the
4-
[mods hub](https://commandcode.ai/mods). The hub reads this file live, so a merged
5-
PR here lists your mod within minutes — no website deploy.
3+
[`registry.json`](./registry.json) in this folder is the community registry behind the
4+
[mods hub](https://commandcode.ai/mods). The hub reads it live, so a merged PR here lists
5+
your mod within minutes — no website deploy.
66

77
Two ways a mod gets listed:
88

99
1. **Publish to npm with the `cmd-mod` keyword** — it is discovered automatically, no PR needed.
10-
2. **Open a PR against `mods.json`** — for git-only mods, or to add richer metadata. This is that path.
10+
2. **Open a PR against `registry.json`** — for git-only mods, or to add richer metadata. This is that path.
1111

1212
## Add your mod
1313

14-
Append one entry to the `mods` array in [`mods.json`](./mods.json). Editors validate it
15-
against [`mods.schema.json`](./mods.schema.json).
14+
Append one entry to the `mods` array in [`registry.json`](./registry.json). Editors validate it
15+
against [`registry.schema.json`](./registry.schema.json).
1616

1717
```json
1818
{

mods.json renamed to mods/registry.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "./mods.schema.json",
2+
"$schema": "./registry.schema.json",
33
"version": 1,
44
"hidden": [],
55
"mods": [

0 commit comments

Comments
 (0)