Repository navigation
Add a store-crud recipe to the catalog (refs #324) - #325
Merged
Merged
Conversation
jimhoyd
force-pushed
the
feat/store-crud-recipe-324
branch
from
September 20, 2026 19:03
c5ebd39 to
2f48bee
Compare
The recipe declares one collection served by the operator-installed store extension, with an ordered create/read/update/delete fixture that leaves the collection empty. Its fixtures run in packages/store, which can import the real extension; core cannot. Docs and the AI gap statements now point at the recipe and state that the operator installs the store and that init --with store is not yet available from npm (#323). Co-Authored-By: Claude Sonnet 5 <[email protected]>
CI counts 432 entries in the built package: the store-crud recipe adds four files on top of the not-found and body-validation examples. Approved by the maintainer. Co-Authored-By: Claude Sonnet 5 <[email protected]>
jimhoyd
force-pushed
the
feat/store-crud-recipe-324
branch
from
September 20, 2026 19:15
2f48bee to
4c1f0e6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #324 (does not close it).
What
recipes/store-crud(onetodoscollection served by the operator-installed store extension, ordered create/read/update/delete fixture that leaves the collection empty and is re-runnable).urlcode recipes search "crud store persist"finds it first.@jimhoyd/urlcode-storeand writes a host file, and thatinit --with storeis not yet available from npm until release wiring ([Request]: Wire @jimhoyd/urlcode-store into the release train #323) lands.Core change
None beyond the catalog name in
src/recipes.ts: the fixture host already runs extension-backed recipes and supports orderedstepsfixtures with captures. Core cannot import the store package (root typecheck resolves@jimhoyd/urlcode/extensionsfrom dist), so the recipe's fixtures run inpackages/store/test/store.test.tsagainst the real extension; core's every-recipe loop skips it with a comment. Derived metadata and the search are still checked by the core recipe tests.Package budget
Core pack is now 428 files against the 430 cap (the recipe adds 4). Cap not changed; only 2 entries of headroom remain.
Verification
npm ci,npm run docs:llms,npm run check:docs,npm run verifyall pass locally (macOS). Paths use node:path join; no POSIX-only assumptions. Note:audit --expect-routes 1against the recipe was verified manually with the store registered but is not part of an automated test.🤖 Generated with Claude Code
Package budget (reviewed explanation). Raises the core
entriesbudget in scripts/package-audit.ts from 430 to 440, as the maintainer approved. CI counts 432 entries in the built package:recipes/store-crudadds four files on top of thenot-foundandbody-validationexamples. Packed and unpacked size budgets are unchanged.