Skip to content

Vsix packaging#77

Merged
ccapetz merged 3 commits into
carter-mrd-vizfrom
vsix-packaging
Jul 9, 2026
Merged

Vsix packaging#77
ccapetz merged 3 commits into
carter-mrd-vizfrom
vsix-packaging

Conversation

@ccapetz

@ccapetz ccapetz commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

VSIX local install is the intermediate step, installing hte extension into the uesr's normal VS Code so that it persists and works in every window.

docs/PACKAGING_AND_INSTALL_RUNBOOK.md outlines the steps walking through prereqs, dry run, package, local install, update/uninstall.

Rendering still requires the mrd_viz python backend on the machine (mrdviz.pythonpath or venv fallback), so on a fresh machine it will hit an error editor. distributing backend remains in-progress.

currently ismrmrd publisher is a placeholder to statisfy local packaging, but an eventual marketplace publish would require a registered publisher ID.

most of the changes are simply packacing setup to satisfy vsce requirements.

- package.json: add publisher (ismrmrd), license (MIT), and repository for vsce packaging

- .vscodeignore: exclude compiled tests (out/test) and package-lock from the VSIX

- add LICENSE to the extension so it ships in the package

- README: replace scaffold template with real MRD Viz description/settings (required by vsce)

- docs: add PACKAGING_AND_INSTALL_RUNBOOK.md walking through dry-run, package, and local install; verified vsce package -> mrd-viz-0.0.1.vsix installs as ismrmrd.mrd-viz@0.0.1
@ccapetz ccapetz requested review from naegelejd and yuliadub July 8, 2026 23:59
@ccapetz ccapetz changed the base branch from main to carter-mrd-viz July 9, 2026 00:01
vsce does not require a LICENSE file (only warns). The repo-root MIT LICENSE covers mrd-viz, and package.json already declares the MIT license field, so the per-extension copy was redundant. Updated the packaging runbook expected output (11 files, harmless LICENSE warning).
Comment thread mrd-viz/docs/PACKAGING_AND_INSTALL_RUNBOOK.md Outdated
Inline steps 1-3 of the dev runbook (venv + editable install + verify), and document setting mrdViz.pythonPath to the venv interpreter for an installed VSIX. Note the python-vs-python3 PATH gotcha (bare 'python' fallback fails when only python3 is present); setting mrdViz.pythonPath avoids it. Corrects prior wording that implied the .venv auto-fallback works for installed extensions (it only works in the F5 dev host).
@ccapetz ccapetz merged commit b30a71c into carter-mrd-viz Jul 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants