@rrlab/cli 0.0.3-git-7a6a176.0 → 0.0.3-git-aeeb52d.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/README.md +20 -0
- package/dist/cli.usage.kdl +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,6 +35,26 @@ pnpm rr help
|
|
|
35
35
|
|
|
36
36
|
See [`CLI.md`](./CLI.md) for the full reference (auto-generated per release).
|
|
37
37
|
|
|
38
|
+
## Plugins
|
|
39
|
+
|
|
40
|
+
`rr` is a microkernel: every tool (Biome, TypeScript, tsdown, …) lives in its own `@rrlab/<tool>-plugin` package. Install one with:
|
|
41
|
+
|
|
42
|
+
```sh
|
|
43
|
+
rr plugins add biome
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
This installs `@rrlab/biome-plugin` plus its peer tool and shared config, scaffolds `biome.json` if missing, and wires the plugin into `run-run.config.{ts,mts}`.
|
|
47
|
+
|
|
48
|
+
To install from a specific dist-tag (e.g. a PR preview release published as `pr-<N>`, or a custom tag), append `@<spec>`:
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
rr plugins add biome@pr-226 # preview tag
|
|
52
|
+
rr plugins add biome@next # any dist-tag
|
|
53
|
+
rr plugins add biome@^0.1.0 # explicit version range (sibling configs still use latest)
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
When the spec is a dist-tag, `rr` resolves any `@rrlab/*-config` sibling at the same tag, falling back to `latest` if the registry doesn't have the sibling at that tag.
|
|
57
|
+
|
|
38
58
|
## Shell completion
|
|
39
59
|
|
|
40
60
|
`rr` ships a `completion` subcommand that prints a shell-specific script.
|
package/dist/cli.usage.kdl
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @generated by @usage-spec/commander from Commander.js metadata
|
|
2
2
|
name rr
|
|
3
3
|
bin rr
|
|
4
|
-
version "0.0.3-git-
|
|
4
|
+
version "0.0.3-git-aeeb52d.0"
|
|
5
5
|
usage "<command...> [options...]"
|
|
6
6
|
flag --usage help="print KDL spec for this CLI (https://kdl.dev)"
|
|
7
7
|
cmd completion help="print shell completion script (usage)" {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rrlab/cli",
|
|
3
|
-
"version": "0.0.3-git-
|
|
3
|
+
"version": "0.0.3-git-aeeb52d.0",
|
|
4
4
|
"description": "The CLI toolbox to fullstack common scripts in Variable Land",
|
|
5
5
|
"homepage": "https://github.com/variableland/dx/tree/main/run-run/cli#readme",
|
|
6
6
|
"bugs": {
|