@rness/cli 0.6.0 → 0.6.2
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 +38 -4
- package/dist/bin/rness.js +1 -1
- package/dist/{chunk-NY3WV7X5.js → chunk-7TOHFPW6.js} +183 -135
- package/dist/chunk-7TOHFPW6.js.map +1 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/scaffold/.github/workflows/validate.yml +2 -2
- package/dist/chunk-NY3WV7X5.js.map +0 -1
package/README.md
CHANGED
|
@@ -147,6 +147,36 @@ its content does.
|
|
|
147
147
|
Exit codes: 0 success, 1 failure, 2 usage — or a refusal without a TTY.
|
|
148
148
|
`RNESS_DEBUG=1` adds stack traces; `RNESS_NO_DELEGATE=1` skips the delegation.
|
|
149
149
|
|
|
150
|
+
## 0.6.2 — no dialog for the root CLAUDE.md
|
|
151
|
+
|
|
152
|
+
- Opening Claude Code in a repository of the workspace no longer asks "Allow
|
|
153
|
+
external CLAUDE.md file imports?". The workspace root `CLAUDE.md` carried
|
|
154
|
+
`@AGENTS.md`; Claude Code loads that file from every repository below it,
|
|
155
|
+
where the import points outside the working directory. `rness sync` now
|
|
156
|
+
writes the global block into the root `CLAUDE.md` itself; a line that is
|
|
157
|
+
exactly `@AGENTS.md` is dropped there, the rest of the file is kept. The
|
|
158
|
+
`CLAUDE.md` of each repository keeps its `@AGENTS.md`.
|
|
159
|
+
- The root files are not in any repository: run `rness sync` once after the
|
|
160
|
+
upgrade, on every machine. The blocks in the repositories are unchanged.
|
|
161
|
+
- `sync --check` and `validate` cover the root `CLAUDE.md`. At the root, a
|
|
162
|
+
symlink between `CLAUDE.md` and `AGENTS.md` is left as it is and the other
|
|
163
|
+
file is still written.
|
|
164
|
+
- The scaffold's `validate.yml` uses `actions/checkout@v7` and
|
|
165
|
+
`actions/setup-node@v7`, as the rness repositories do. A workspace created
|
|
166
|
+
before keeps its own file.
|
|
167
|
+
|
|
168
|
+
## 0.6.1 — hints you can type
|
|
169
|
+
|
|
170
|
+
- Every hint that names a command to run (`not cloned: …`, `run … sync`,
|
|
171
|
+
`run … login`, `… upgrade <version>`) spells rness the way it was
|
|
172
|
+
launched: `npx @rness/cli`, `pnpm dlx @rness/cli`, `yarn dlx @rness/cli`
|
|
173
|
+
(npx on Yarn 1), `bunx @rness/cli`, or `rness` when it was typed directly.
|
|
174
|
+
The next steps of `create` follow the same rule; `--pm`, which chooses what
|
|
175
|
+
`.rness/` installs with, no longer decides them.
|
|
176
|
+
- Under `rness-dev` (`RNESS_NO_DELEGATE=1`), `create` writes its first blocks
|
|
177
|
+
from the sources rather than through the copy it just installed.
|
|
178
|
+
- Blocks are unchanged: no `rness sync` is needed after upgrading.
|
|
179
|
+
|
|
150
180
|
## 0.6.0 — a workspace without GitHub
|
|
151
181
|
|
|
152
182
|
- `rness create <name> --blank` writes `<name>/.rness/` (a `rness.json`
|
|
@@ -317,12 +347,16 @@ To reach it from a workspace elsewhere on the machine, link it once:
|
|
|
317
347
|
ln -s "$PWD/scripts/dev.mjs" ~/.local/bin/rness-dev # from the repository root
|
|
318
348
|
cd ~/somewhere/acme && rness-dev validate
|
|
319
349
|
|
|
320
|
-
`create` is never delegated, so it always runs these sources —
|
|
321
|
-
|
|
350
|
+
`create` is never delegated, so it always runs these sources — the blocks it
|
|
351
|
+
writes at the end included, even once it has installed the pinned copy — and
|
|
352
|
+
it refuses to run inside a workspace, so call it from an empty directory.
|
|
322
353
|
|
|
323
354
|
`pnpm verdaccio` is the other loop: a local registry that serves this build as
|
|
324
355
|
a real package, for what only shows up through an install (`npm create rness`,
|
|
325
|
-
the pinned copy, a version bump).
|
|
326
|
-
|
|
356
|
+
the pinned copy, a version bump). Each `pnpm verdaccio deploy` publishes a
|
|
357
|
+
version of its own — `0.6.1-dev.<time>` for sources at 0.6.0 — so a new
|
|
358
|
+
workspace pins exactly that build and no cache serves an older one under its
|
|
359
|
+
number. To try it in a workspace that exists, run `rness upgrade <version>`
|
|
360
|
+
inside it; the deploy prints the line.
|
|
327
361
|
|
|
328
362
|
Node ≥ 24. MIT.
|