Open djejaquino opened 4 years ago
Some background on this. We use a library: https://github.com/npm/hosted-git-info, to get metadata about the git url passed in via the template
option before cloning it. You can see that here:https://github.com/Availity/availity-workflow/blob/2e57fc9edcc27b59c85576b1bddd5fbb3373efb5/packages/workflow/scripts/clone-starter.js#L59-L65
That library does not support https://code.availity.com
. I see two paths forward here:
🐛 Bug report
Current Behavior
Running a
npx @availity/worflow init
command with-t
or--template
parameter, using a privately hosted starter will abort the process.Expected behavior
To successfully initialize an updated workflow-based project.
Reproducible example
Suggested solution(s)
Assume static
hostedInfo
forhttps://code.availity.com
, to support (at least) Availity-provided repositories.Additional context
https://github.com/Availity/availity-workflow/blob/12c486b9253361a5ec486e6e900f9a473e6b33cf/packages/workflow/scripts/clone-starter.js#L64
Your environment
EDIT: grammar