This wiki has undergone a migration to Confluence found Here
<meta name="googlebot" content="noindex">

FHIR IG NPM Profile

From HL7Wiki
Revision as of 21:26, 5 February 2018 by GrahameGrieve (talk | contribs) (Created page with "FHIR IG Profile for package.json All FHIR Implementation Guides include a file package.json which links the FHIR packages into the NPM package management system. npm assumes...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

FHIR IG Profile for package.json

All FHIR Implementation Guides include a file package.json which links the FHIR packages into the NPM package management system.

npm assumes unique package names.... we have no framework for that....?

Rules for package.json:

  • Names always have a scope.
  • Scope is "fhir"
  • names are issued by FMG (contact the FHIR Product Director)
    • name will be based on ImplementationGuide.name, but will be different for uniqueness reasons
  • version must be populated, and must match the ImplementationGuide.version field
  • description should include ImplementationGuide.title and ImplementationGuide.description
  • license is required
  • recommend to fill out homepage, bugs, author (matching ImplementationGuide.contact), repository
  • files should include validation.pack.
    • todo: what other files...?
  • dependencies:
    • must include at least the base FHIR spec ("fhir") with version
    • must include names and versions for all IG dependencies