Stream: shorthand
Topic: Reference a local project
Brian Kaney (May 13 2020 at 16:50):
In npm, local dependencies in package.json can be expressed with file://.../
, which is very convenient when working before publishing to a registry. Does sushi support this sort of thing?
Chris Moesel (May 13 2020 at 17:01):
SUSHI supports the same mechanisms as the IG Publisher. At this time, you can have local dependencies (without publishing to a registry) by specifying the version as dev
-- in which case it will look in your FHIR cache for the matching dependency. I think there is documentation on this somewhere (FHIR documentation, not SUSHI documentation) -- but I'm heading into a few meetings, so don't have time to look it up.
Brian Kaney (May 13 2020 at 17:54):
Okay, I can dig in to see about this... Thanks for the pointer!
Ward Weistra (May 13 2020 at 20:46):
@Brian Kaney The package spec has allowed limited support for local package references:
Note: the npm version format file:[path] may be supported by some tools that use FHIR NPM Packages, but is not acceptable as a package location in the FHIR Package server, the FHIR current build, or any other public FHIR servers.
Last updated: Apr 12 2022 at 19:14 UTC