From c26532c1666cca98d0b41c547c6f0e253ca81418 Mon Sep 17 00:00:00 2001 From: ZacxDev Date: Fri, 4 Sep 2026 12:58:10 -0500 Subject: [PATCH] chore(scaffold): bump @civitai/blocks-react pin to ^0.46.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pins-vs-published is a REQUIRED check and is currently red on every open PR in this repo: npm published @civitai/blocks-react 0.46.0, the page-money template pins ^0.45.0, and a pre-1.0 caret locks the minor, so the pin no longer admits published latest. Every app scaffolded from the template is born stale. The automation that normally handles this (bump-scaffold-pins) is itself failing on main, so the bump did not land on its own. Produced by the repo's own tool, `go run ./internal/scaffold/cmd/bump-pins` — only @civitai/blocks-react moved, across the four places that mirror it (the template, its README, the scaffold_test assertion, and the design-tokens fixture header). The token count is unchanged at 32. 🔴 NOT a rubber stamp, because this package has form: 0.44 INVERTED the workflow error contract (estimate()/submit() went from resolving a failure snapshot to THROWING WorkflowEstimateError/WorkflowSubmitError, whose developer-facing .message then renders to viewers). 0.45 was cleared only by a tarball diff, and 0.46 was cleared the same way here: - internal/transport.js, internal/liveHost.js, internal/mockHost.js, hooks/useBuzzWorkflow.js, hooks/useAppWorkflows.js — all BYTE-IDENTICAL between 0.45.0 and 0.46.0; - every dist file mentioning WorkflowEstimateError/WorkflowSubmitError — byte-identical; - the entire delta is additive: four new files (ui/ReportButton.*) plus one re-export line in ui/index.js. Nothing else in dist changed. Verified: TestScaffoldPinsSatisfyPublished passes locally with CIVITAI_CHECK_PUBLISHED_PINS=1 armed — PASS, not SKIP, so it really reached npm rather than skipping on an unreachable registry. Full suite 21/21 packages. --- internal/scaffold/scaffold_test.go | 2 +- internal/scaffold/templates/page-money/README.md.tmpl | 2 +- internal/scaffold/templates/page-money/package.json.tmpl | 2 +- internal/scaffold/testdata/design-tokens.txt | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/scaffold/scaffold_test.go b/internal/scaffold/scaffold_test.go index 8c0ad37..84440db 100644 --- a/internal/scaffold/scaffold_test.go +++ b/internal/scaffold/scaffold_test.go @@ -189,7 +189,7 @@ func TestRenderPageMoney(t *testing.T) { // @civitai/app-sdk@0.14.0+. The pins track the CURRENT published minors — the // pins-vs-published guard (TestScaffoldPinsSatisfyPublished) fails CI if they // fall behind npm, so bump BOTH assertions here in lockstep with the .tmpl. - mustContain(t, pkg, `"@civitai/blocks-react": "^0.45.0"`) + mustContain(t, pkg, `"@civitai/blocks-react": "^0.46.0"`) mustContain(t, pkg, `"@civitai/app-sdk": "^0.37.0"`) mustContain(t, pkg, `"@civitai/app-sdk"`) mustContain(t, pkg, `"dev:harness"`) diff --git a/internal/scaffold/templates/page-money/README.md.tmpl b/internal/scaffold/templates/page-money/README.md.tmpl index 66aae85..b3d39bf 100644 --- a/internal/scaffold/templates/page-money/README.md.tmpl +++ b/internal/scaffold/templates/page-money/README.md.tmpl @@ -413,7 +413,7 @@ debit). Note this can be **blue** even when you paid: a gen covered mostly by free/earned Buzz reports `blue`. It's informational only. `accountType` / `spentAccountType` / `useBuzzBalance` require -`@civitai/app-sdk@^0.37.0` + `@civitai/blocks-react@^0.45.0` (already pinned in +`@civitai/app-sdk@^0.37.0` + `@civitai/blocks-react@^0.46.0` (already pinned in `package.json`). ## Develop diff --git a/internal/scaffold/templates/page-money/package.json.tmpl b/internal/scaffold/templates/page-money/package.json.tmpl index 8d8ca5f..a7632a8 100644 --- a/internal/scaffold/templates/page-money/package.json.tmpl +++ b/internal/scaffold/templates/page-money/package.json.tmpl @@ -18,7 +18,7 @@ }, "dependencies": { "@civitai/app-sdk": "^0.37.0", - "@civitai/blocks-react": "^0.45.0", + "@civitai/blocks-react": "^0.46.0", "react": "^19.0.0", "react-dom": "^19.0.0" }, diff --git a/internal/scaffold/testdata/design-tokens.txt b/internal/scaffold/testdata/design-tokens.txt index ae7bf5b..88e5da4 100644 --- a/internal/scaffold/testdata/design-tokens.txt +++ b/internal/scaffold/testdata/design-tokens.txt @@ -16,8 +16,8 @@ # The guard fails when `pin` no longer matches the template. # # package: @civitai/blocks-react -# pin: ^0.45.0 -# version: 0.45.0 +# pin: ^0.46.0 +# version: 0.46.0 --civitai-bp-lg --civitai-bp-md