cqframework / cqframework/vscode-cql

0.7.7 - Loading dependencies in VS Code does not honor ~/.fhir/fhir-settings.json

Open
#106 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
13
Forks
7
PR merge metrics
No merged PRs in 30d

Description

I have a custom FHIR registry entry in ~/.fhir/fhir-settings.json, e.g.:

{
  "ignoreDefaultPackageServers": true,
  "servers": [
    {
      "url" : "http://localhost:8103/packages",
      "type" : "npm-package",
      "authenticationType" : "token",
      "token" : "njiXXXXXXDMugkidY"
    }
  ]
}

When I clear my ~/.fhir/packages, then launch VS Code, the dependencies are downloaded from the public registry and not the one specified in fhir settings.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing dependency loading when the VS Code extension launches, including how ~/.fhir/fhir-settings.json is read and how registry entries are selected. Reproduce after clearing ~/.fhir/packages with ignoreDefaultPackageServers enabled; done means dependencies download from the configured local registry rather than the public registry.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.