Repository navigation
@directededges/specs-schema v0.38.0
·
503 commits
to main
since this release
Breaking
SpecApiDocument,SpecVariantsDocument,SpecExamplesDocument,SpecConcernDocumentrenamed toComponentApiDocument,ComponentVariantsDocument,ComponentExamplesDocument,ComponentConcernDocument(ADR-110)SpecApiSubcomponent,SpecVariantsSubcomponent,SpecExamplesSubcomponentrenamed toComponentApiSubcomponent,ComponentVariantsSubcomponent,ComponentExamplesSubcomponent(ADR-110)schema/concern.schema.jsonrenamed toschema/component-concern.schema.json; the./schema/concernpackage export becomes./schema/component-concern(ADR-110)
Added
CompositionApiDocument,CompositionVariantsDocument,CompositionExamplesDocument— type a composition'ssplitConcernsfiles, each exact to what it carries (ADR-109)CompositionConcernDocumentunions the three composition concern documents, reachable fromroot.schema.json(ADR-109)Composition.imagesandCompositionExamplesDocument.imagesregister image data referenced by a composition's elements, matchingComponent.images(ADR-109 amendment)
Migration
SpecApiDocument→ComponentApiDocument,SpecVariantsDocument→ComponentVariantsDocument,SpecExamplesDocument→ComponentExamplesDocument,SpecConcernDocument→ComponentConcernDocument: update imports to the new names — no shape change.SpecApiSubcomponent→ComponentApiSubcomponent,SpecVariantsSubcomponent→ComponentVariantsSubcomponent,SpecExamplesSubcomponent→ComponentExamplesSubcomponent: update imports to the new names — no shape change../schema/concern→./schema/component-concern: update any package export subpath resolution or direct reference toschema/concern.schema.json.