Move the hook scripts to @celilo/capabilities 2.0.0 #22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "caps2-tango-nexus"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
celilo v1.0.0 made withdrawal the provider's job, so the consumer-facing removal methods came off the capability surface. This module called none of them, so this is a bundled dependency bump rather than a rewrite.
What changed
scripts/package.json:@celilo/capabilities^0.9.0→^2.0.0, lockfile refreshed withbun install.scripts/tsconfig.json: new. The module had.tsfiles but no tsconfig, socelilo module checkwas skipping the typecheck entirely and the hooks had never been checked against@celilotypes. Inlinesmodules/tsconfig.scripts.base.jsonfrom the celilo repo, which this standalone repo has no way to extend.scripts/on_install.ts: dropsRegistryPublishCapabilityandSourceForgeCapability, two type imports the new typecheck turned up as unused..changeset/capabilities-2.md: minor bump, 0.7.0 → 0.8.0.Verification
Removed methods (
unregister_routes,unregisterRoutes,unexposeService,withdrawTrustedSource) have zero call sites here. The hooks usepublishStaticSite,mintScopedTokenandregisterRepo, none of which changed in 2.0.0.Rather than trust a grep, the new typecheck was proved to bite: adding a call to
web.unregister_routes(...)makestscfail withTS2551: Property 'unregister_routes' does not exist on type 'PublicWebCapability'. Reverted, and the real tree is clean.The four capability contract versions the manifest pins —
external_web1.0.0,public_web3.1.0,source_forge1.0.0,registry_publish1.0.0 — are all unchanged inCAPABILITY_CONTRACT_VERSIONSat 2.0.0, so the manifest needs no edit. Worth notingcelilo module checkreports "no known-capability claims" for this module: it does not appear to validate versions declared underoptional.capabilities, onlyprovides/requires. That gap is celilo's, not this repo's.Gates:
bun test9 pass / 0 fail,tsc --noEmitclean,celilo module check6 ok / 0 fail.Note on the bump level
minor. Per.changeset/README.mdthe level describes blast radius, not a compatibility claim. The site's content and URLs are untouched, which rules outmajor; swapping the runtime capability library for a new major is more than the copy edit thatpatchdescribes.Release path
Merging this opens the automated "Version Packages" PR; merging that publishes 0.8.0 to celilo-registry. Deploy to tangonexus.com/nexus is a separate step.
🤖 Generated with Claude Code