Stream: IG creation
Topic: how is package.json in template used?
Eric Haas (Jan 23 2020 at 05:17):
The package.json in the template is required for the build to run. However its contents can literally be placeholders like:
{ "name": "[package-id]", "version": "[ver]", "type": "fhir.template", "license": "[license]", "description": "[description]", "author": "[url]", "canonical" : "[canonical]" }
and the the build runs (locally at least) without a hitch. What is its purpose especially since all the values are repeats of stuff in the ig resource?
Eric Haas (Jan 23 2020 at 05:18):
I know its a package manifest file btw.
Jose Costa Teixeira (Jan 23 2020 at 10:14):
that is about the template, not about the IG.
The IG can have an Apache license while the IG has a CC license.
The IG has dependencies (from other IGs), but the template has dependencies (from other templates)
Jose Costa Teixeira (Jan 23 2020 at 10:14):
so they can differ
Eric Haas (Jan 23 2020 at 10:48):
thanks for the explanation, I must have understood that a few months ago because I set it up correctly for the template manifest.
Last updated: Apr 12 2022 at 19:14 UTC