Stream: shorthand
Topic: npm package export
Bas van den Heuvel (Nov 03 2021 at 12:07):
Can I use sushi to create a FHIR npm package? If so how do I do this?
David Pyke (Nov 03 2021 at 13:00):
Packaging for IGs is done via the IG Publisher. Sushi is just for FHIR Shorthand processing
Bas van den Heuvel (Nov 03 2021 at 13:18):
I know - in our case we use it to generate the resources in the package only. Running the IG publisher just for the NPM package takes a long time and I was wondering whether there was a quicker way.
Patrick Werner (Nov 03 2021 at 13:23):
you could use hapi-fhir-cli with the create-package command to create a package. I personally always use the IG Publisher, as it validates the content while creating the IG
Bas van den Heuvel (Nov 03 2021 at 13:36):
thx - I'll give it a try.
Dagem Hailemariam (Dec 28 2021 at 11:16):
Patrick Werner said:
you could use hapi-fhir-cli with the create-package command to create a package. I personally always use the IG Publisher, as it validates the content while creating the IG
Hey @Patrick Werner , I am trying to use hapi-fhir-cli's create-package command, "hapi-fhir-cli create-package -v r4 --name base --version 1.0.0", but its only generating a .tgz file with only a package.json file in its package folder when unzipped. What option do i need to add to the command to get it to include my conformance resources in it?
Last updated: Apr 12 2022 at 19:14 UTC