@@ -325,17 +325,26 @@ against, never as the file you ship.
325325it can prove the site.** A change is written when it traces to one object or
326326array literal in one project file: through ` define* ` calls and ` .create `
327327factories, ` const ` bindings, relative imports and re-exports, and
328- ` Object.values() ` over a namespace import. A change inside a package body of a
328+ ` Object.values() ` over a namespace import, and, from the first 19 release
329+ after ` 19.0.0-next.3 ` , through a project's own one-line wrapper of it, such as
330+ the ` exportsOf(…) ` every ` create-objectstack ` project uses. A change inside a package body of a
329331` composeStacks([…]) ` project (a path under ` packages[i].manifest ` ) traces into
330332input i, but only when input i and every input before it is a stack literal
331333that writes its own ` manifest ` and no ` packages ` : only then is package i that
332334one input's body. Only that site's bytes change; a renamed key keeps its value
333335and its comments. Every other change — a value built by any other function call
334336or an expression, a key a spread supplies, a binding something else also uses,
335337a file in a package — is listed with the reason it was not written, for you to
336- port by hand. The command then re-runs the chain over
337- the written files and restores them all unless it comes back with exactly the
338- changes it left. Commit first, and review the diff like any other change.
338+ port by hand. The command then re-runs the chain over the written files. From
339+ the first 19 release after ` 19.0.0-next.3 ` , it keeps every edit that stands on
340+ its own when part of the write cannot be made: a change reported at several
341+ sites is written whole or not at all, the re-run puts back only the edits it
342+ disagrees with, and only a disagreement it cannot tie to one edit restores
343+ every file. Such a partial write says ` Wrote N of M mechanical change(s) ` and
344+ exits ` 1 ` , as does any ` --write ` that leaves a change or the declared range
345+ for you. (Earlier, the re-run restored every file unless it came back with
346+ exactly the changes it left.) Commit first, and review the diff like any other
347+ change.
339348</Callout >
340349
341350<Callout type = " warn" >
0 commit comments