You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e95920e
Browse filesBrowse the repository at this point in the historyBrowse files
fix(create-objectstack,cli): the scaffolded pnpm-workspace.yaml is one comment line per block, and both scaffold paths write the same bytes
The blank template carried 66 comment lines and the os init / os create
render 57, each explaining measurements and version history the new
project's reader does not decide. Both now emit the same 21-line file: the
four configuration blocks unchanged, each under one comment line naming its
reason. The facts the two files carried that the init.ts docblocks did not
(esbuild's role, better-sqlite3 as driver-sql's optional dependency, the
2026-09-11 better-auth 1.7.3 re-read) move into those docblocks.
scaffold-workspace-consistency.test.ts gains two limbs: the two producers
render the same bytes, and each stays within one comment line per block,
directly above its key, inside 80 columns. Its per-key version-boundary
limb reads the new one-line shape.
Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RWZbGvPFcRKvUqASZtunCU
A new project's `pnpm-workspace.yaml` is now a short settings file: one comment line above each block instead of 57 to 66 lines of version history and measurements. `npm create objectstack`, `objectstack init` and a standalone `objectstack create` now write the same 21-line file.
7
+
8
+
Clause-②: no
9
+
10
+
- The settings are unchanged: `packages: []`, the same `onlyBuiltDependencies` and `allowBuilds` lists, and the same `peerDependencyRules.allowedVersions` entries, in the same order. A project installs exactly as before.
11
+
- Each block keeps one line that says why it is there: which pnpm versions read each build-approval key, and that the peer rules only silence a warning that was measured harmless.
12
+
- The measurements behind each setting now live in the `@objectstack/cli` source next to the values they explain, so they are kept up to date there instead of in every project.
13
+
- Already-scaffolded projects are not touched. Their longer comments can be deleted or kept; the settings are identical.
0 commit comments