Phase 9d: Pre-Flight — Protocol-Mirror durch upstream ersetzt
@mana/shared-share-protocol@0.1.0 ist jetzt installierbar (NPM_AUTH_TOKEN aus claudebot-Verdaccio-Account). Lokaler protocol/-Mirror zeigt jetzt auf upstream: - envelope.ts → Re-Export von ShareEnvelopeSchema/Strict, parseEnvelope, ENVELOPE_VERSION, ShareEnvelope - search.ts → Re-Export von SearchHitSchema, SearchResultEnvelopeSchema, SEARCH_ENVELOPE_VERSION, SearchHit, SearchResultEnvelope - payloads.ts → Re-Export der Format-Schemas (Quote/Link/Text); Cards-spezifische PAYLOAD_SCHEMAS / validatePayloadForType bleiben lokal (Akzeptanz-Liste ist Cards-Layer, nicht Föderation) Spec-Drift gefixt: der frühere Mirror nutzte MANA_TYPE_URL = 'mana/url', upstream definiert MANA_TYPE_LINK = 'mana/link'. app-manifest.json, share-handlers (UrlPayload → LinkPayload, "mana/url" → "mana/link") und Doku-Kommentare auf den Spec-konformen Namen umgestellt. DNS-Korrektur in Repo-.npmrc: pkg.mana.how-Tunnel ist Lame-Duck (404), npm.mana.how ist die produktive Verdaccio-Route nach 2026-05-07-Re-Deploy. ~/.npmrc bleibt unangetastet — Anpassung ist user-side. Tests + svelte-check 0 errors, 92 Tests grün (41 Domain + 46 API + 5 Web), prod-Build sauber. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
47419b3cac
commit
aff4d9536a
8 changed files with 78 additions and 170 deletions
11
.npmrc
11
.npmrc
|
|
@ -1,7 +1,10 @@
|
|||
# Cards consumes @mana/* shared packages from the Verein's private
|
||||
# Verdaccio registry (pkg.mana.how on Mac Mini).
|
||||
# Local dev: run `npm login --registry=https://pkg.mana.how` once;
|
||||
# Verdaccio registry (npm.mana.how — Mac Mini, Container mana-verdaccio
|
||||
# auf :4873). Stand 2026-05-08: pkg.mana.how-Tunnel ist Lame-Duck und
|
||||
# antwortet 404, npm.mana.how ist die produktive Route.
|
||||
#
|
||||
# Local dev: run `npm login --registry=https://npm.mana.how` once;
|
||||
# the resulting ~/.npmrc token is read via $NPM_AUTH_TOKEN substitution.
|
||||
# Production CI: set NPM_AUTH_TOKEN in workflow secrets.
|
||||
@mana:registry=https://pkg.mana.how/
|
||||
//pkg.mana.how/:_authToken=${NPM_AUTH_TOKEN}
|
||||
@mana:registry=https://npm.mana.how/
|
||||
//npm.mana.how/:_authToken=${NPM_AUTH_TOKEN}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue