@buildinternet/releases-skills 0.28.0 → 0.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -54,6 +54,8 @@ releases admin mcp serve
|
|
|
54
54
|
|
|
55
55
|
Every command that takes an org / product / source / release identifier accepts the typed ID (`org_…`, `prod_…`, `src_…`, `rel_…`) interchangeably with the slug — including `--org`, `--product`, `--source` flags. IDs are stable across renames; slugs are friendlier to type. Source and product commands also accept an `org/slug` coordinate (e.g. `vercel/vercel-ai-sdk`); coordinates and typed IDs are unambiguous and skip an extra resolver round-trip that bare slugs require. Every reader command accepts `--json` for machine-readable output.
|
|
56
56
|
|
|
57
|
+
Every mutating admin command accepts `--dry-run` to print the planned write (with all validations applied) without calling the API. Pair with `--json` for a machine-readable plan. See `references/admin.md` for the full coverage list.
|
|
58
|
+
|
|
57
59
|
## Authentication
|
|
58
60
|
|
|
59
61
|
Reader access is unauthenticated and may be rate-limited per IP.
|
|
@@ -12,6 +12,21 @@ Missing or invalid keys fail fast at CLI startup with a clear error; don't retry
|
|
|
12
12
|
|
|
13
13
|
All admin commands accept an entity ID (`org_…`, `src_…`, `prod_…`, `rel_…`) or a slug wherever an identifier is expected. Source and product commands also accept an `org/slug` coordinate (e.g. `vercel/vercel-ai-sdk`). Prefer IDs or coordinates — slugs can change, IDs cannot, and coordinates typically skip an extra resolver round-trip that bare slugs require under the hood (#698).
|
|
14
14
|
|
|
15
|
+
## Previewing changes (`--dry-run`)
|
|
16
|
+
|
|
17
|
+
Most mutating admin verbs accept `--dry-run`. The command resolves identifiers, runs validation (category, URL exclusion, existing-record dedup, etc.), and prints the planned write without calling the API. Pair with `--json` for a machine-readable plan.
|
|
18
|
+
|
|
19
|
+
Coverage:
|
|
20
|
+
|
|
21
|
+
- **source**: `create`, `update`, `delete`, `import`
|
|
22
|
+
- **org**: `create`, `update`, `delete`, `link`, `unlink`
|
|
23
|
+
- **product**: `create`, `update`, `delete`, `adopt`
|
|
24
|
+
- **release**: `update`, `delete`, `suppress`, `unsuppress`
|
|
25
|
+
- **policy**: `ignore add`, `block add`
|
|
26
|
+
- **embed**: write paths
|
|
27
|
+
|
|
28
|
+
Tag and alias `add` / `remove` on org/product are intentionally left without a preview — they're trivially reversible joins.
|
|
29
|
+
|
|
15
30
|
## Sources
|
|
16
31
|
|
|
17
32
|
### Create
|
|
@@ -20,8 +35,11 @@ All admin commands accept an entity ID (`org_…`, `src_…`, `prod_…`, `rel_
|
|
|
20
35
|
releases admin source create "Next.js" --url https://github.com/vercel/next.js
|
|
21
36
|
releases admin source create "Linear" --url https://linear.app/changelog
|
|
22
37
|
releases admin source create "My Blog" --url https://example.com/changelog
|
|
38
|
+
releases admin source create "Linear" --url https://linear.app/changelog --dry-run --json
|
|
23
39
|
```
|
|
24
40
|
|
|
41
|
+
`--dry-run` still runs the URL dedup and exclusion checks (so you'll see "already exists" or "blocked URL" outcomes), but skips the write — including the auto-create-org side effect when `--org <name>` doesn't resolve.
|
|
42
|
+
|
|
25
43
|
By default, `create` runs automated pre-checks (provider detection, feed discovery, markdown probing). Override with `--type github|scrape|feed|agent`. Batch mode (`--batch`) skips evaluation by default for speed.
|
|
26
44
|
|
|
27
45
|
Provide a feed URL explicitly when it isn't easily discoverable:
|
|
@@ -103,6 +121,7 @@ releases admin source check next-js # one source
|
|
|
103
121
|
|
|
104
122
|
```bash
|
|
105
123
|
releases admin org create "Vercel" --category developer-tools --tags typescript,edge
|
|
124
|
+
releases admin org create "Vercel" --tags typescript,edge --dry-run # preview, no write
|
|
106
125
|
releases admin org list # summary view
|
|
107
126
|
releases admin org get vercel # full details (accounts, tags, sources, products, aliases)
|
|
108
127
|
releases admin org update vercel --category developer-tools
|