Skip to content

Inventory Studio W4: Shop-pin node: specifier gate - #129

Merged
BitcoinErrorLog merged 5 commits into
release/shop-v0.6.8from
cursor/inventory-studio-w4-dfb2
Sep 28, 2026
Merged

BitcoinErrorLog merged 5 commits into
release/shop-v0.6.8from
cursor/inventory-studio-w4-dfb2

Conversation

@BitcoinErrorLog

Copy link
Copy Markdown
Owner

Summary

Inventory Studio W4 proof is already on release/shop-v0.6.8 (merged Shop #87, tags shop-v0.6.20 through shop-v0.6.32). This branch adds the missing regression for the Shop pin: the @bitcoinerrorlog/pubky-shop . browser entry, and the production client bundle when .next/static is present, must not quote a Node builtin specifier.

  • Pin: @bitcoinerrorlog/pubky-shop@0.1.5 (exact, lockfile match).
  • Browser graph: 7 files, browser_node_specifiers=0, no external imports, ./node is not imported from Shop src.
  • npm run build (next build --webpack) exit 0. Client JS: 381 files, static_quoted_node_specifiers=0. A substring search for node: hits 15 files; those are {node: keys, not builtin imports.
  • Reintroducing import "node:fs" on the browser entry makes the script exit 1. Restoring it exits 0.
  • Linux VRT baselines for the ten scenes at both viewports are the ones already on the release branch. This change does not regenerate screenshots.
  • Staging script src/test/live/inventory-w4.live.ts and the Dexie table wipe in franky.inventory-studio.test.ts are unchanged and were not run against staging.

Kimi is for the coordinator. No deploy.

Test plan

  • node scripts/shop-pin-node-grep.mjs --require-static after npm run build prints static_quoted_node_specifiers=0
  • npx vitest run --project unit src/core/services/marketplace/shop-pin-node-grep.test.ts
  • scripts/prepush.sh last line is PREPUSH OK

The browser entry of @bitcoinerrorlog/pubky-shop and a production client
bundle must not quote a Node builtin specifier. Putting that import back
fails the check.
The Shop pin gate rejects a caret range. The release branch declared ^0.1.6.
@BitcoinErrorLog
BitcoinErrorLog force-pushed the cursor/inventory-studio-w4-dfb2 branch from 6b7c242 to 3651e01 Compare September 28, 2026 19:10
@BitcoinErrorLog
BitcoinErrorLog merged commit 407704e into release/shop-v0.6.8 Sep 28, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant