@rness/cli 0.5.3 → 0.6.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 +31 -1
- package/dist/bin/rness.js +1 -1
- package/dist/{chunk-CQ6YD63L.js → chunk-NY3WV7X5.js} +331 -132
- package/dist/chunk-NY3WV7X5.js.map +1 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-CQ6YD63L.js.map +0 -1
package/README.md
CHANGED
|
@@ -6,8 +6,12 @@ Not an agent — no LLM loop.
|
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
|
-
npm create rness #
|
|
9
|
+
npm create rness # asks how to start: a GitHub organization, or a blank workspace
|
|
10
10
|
npm create rness acme # the organization github.com/acme, no first prompt
|
|
11
|
+
pnpm create rness demo --blank # ./demo with no GitHub step; npm: npm create rness demo -- --blank
|
|
12
|
+
pnpm create rness # the same with pnpm, yarn or bun: `.rness/` is
|
|
13
|
+
yarn create rness # installed with the manager that ran the command
|
|
14
|
+
bun create rness
|
|
11
15
|
npm i -g @rness/cli # the command is `rness`
|
|
12
16
|
npx @rness/cli --help
|
|
13
17
|
|
|
@@ -17,6 +21,7 @@ Inside a workspace, every `rness` delegates to the copy pinned in
|
|
|
17
21
|
## Commands
|
|
18
22
|
|
|
19
23
|
rness create [<org>] [--repos a,b] [--pm npm|pnpm|yarn|bun] [--ssh|--https] [--skip-install] -y
|
|
24
|
+
rness create <name> --blank [--pm npm|pnpm|yarn|bun] [--skip-install] -y
|
|
20
25
|
rness add <repo> [--scopes apps/web,packages/ui] [--ssh|--https] -y
|
|
21
26
|
rness sync [--all] [--scope <name>] [--check] [--pull] -y
|
|
22
27
|
rness upgrade [<version>] -y
|
|
@@ -29,6 +34,12 @@ Inside a workspace, every `rness` delegates to the copy pinned in
|
|
|
29
34
|
confirmation in a terminal; pass `-y`/`--yes` in scripts. `sync --check`
|
|
30
35
|
writes nothing and exits 1 when a block is out of date — use it in CI.
|
|
31
36
|
|
|
37
|
+
`create --blank` needs no GitHub organization, account or login: it writes
|
|
38
|
+
`<name>/.rness/` (a `rness.json` without `"org"`, committed), an empty
|
|
39
|
+
`<name>/org/` and the root `AGENTS.md` and `CLAUDE.md`. Only the install of
|
|
40
|
+
`.rness/` goes to the network. Bring repositories in with
|
|
41
|
+
`rness add <owner>/<repo>` or a git URL — a bare name needs an `"org"`.
|
|
42
|
+
|
|
32
43
|
### Log in
|
|
33
44
|
|
|
34
45
|
rness login # shows a code and https://github.com/login/device
|
|
@@ -136,6 +147,25 @@ its content does.
|
|
|
136
147
|
Exit codes: 0 success, 1 failure, 2 usage — or a refusal without a TTY.
|
|
137
148
|
`RNESS_DEBUG=1` adds stack traces; `RNESS_NO_DELEGATE=1` skips the delegation.
|
|
138
149
|
|
|
150
|
+
## 0.6.0 — a workspace without GitHub
|
|
151
|
+
|
|
152
|
+
- `rness create <name> --blank` writes `<name>/.rness/` (a `rness.json`
|
|
153
|
+
without `"org"`, committed), an empty `<name>/org/` and the root
|
|
154
|
+
`AGENTS.md` and `CLAUDE.md`, with no login, SSH test or GitHub request.
|
|
155
|
+
With `npm create`, flags go after `--`: `npm create rness demo -- --blank`.
|
|
156
|
+
- In a terminal, `create` with no organization and no `--repos` first asks
|
|
157
|
+
how to start: from a GitHub organization, as before, or a blank local
|
|
158
|
+
workspace.
|
|
159
|
+
- A `rness.json` without `"org"` is no longer a warning in `sync`, `add` and
|
|
160
|
+
`validate`. In such a workspace `rness add <repo>` exits 2 and asks for
|
|
161
|
+
`<owner>/<repo>` or a git URL: it used to take the directory name as the
|
|
162
|
+
owner, a repository that almost never exists.
|
|
163
|
+
- The next steps `create` prints are written with the package manager that
|
|
164
|
+
ran it: `npx @rness/cli`, `pnpm dlx @rness/cli`, `yarn dlx @rness/cli`
|
|
165
|
+
(npx on Yarn 1), `bunx @rness/cli`, and `<pm> create rness <org>` for
|
|
166
|
+
teammates. They said `rness …`, a command `npm create` never installs.
|
|
167
|
+
- Blocks are unchanged: no `rness sync` is needed after upgrading.
|
|
168
|
+
|
|
139
169
|
## 0.5.3 — catching up no longer depends on the global install
|
|
140
170
|
|
|
141
171
|
- After a pull that moved the pin, the next `rness` command installs it. That
|