Conversation
Scope webr as @galaxyproject/webr and remove private:true for consistency with all other packages. Replace hardcoded yarn calls in alignmentviewer and annotateimage build scripts with generic equivalents that work under any package manager.
pnpm workspaces will manage all dependencies from the root lockfile, so these per-package lock files are no longer needed.
Replace lerna.json and yarn.lock with pnpm-workspace.yaml and pnpm-lock.yaml. Root package.json now has pnpm convenience scripts (build:all, test:all, lint:all, clean) and the packageManager field set to pnpm@10.12.1. All 48 workspace packages resolve successfully.
All 30 per-package prettier.config.js files were byte-identical. Moved the shared config to root and added a .prettierignore. Removed the explicit --config flags from 7 package prettier scripts since prettier will find the root config automatically.
Switch from per-package npm install to root-level pnpm install with frozen lockfile. Replace npm/npx commands with pnpm equivalents. Update cache strategy to use pnpm store instead of per-package node_modules. Bump to Node 22.
publish-packages.yml triggers on push to main, detects package.json version changes, and publishes updated packages to npm under the @galaxyproject scope. manual-publish.yml provides a workflow_dispatch for publishing individual packages with dry-run support.
Add repository structure, pnpm development setup commands, publishing workflow documentation, and contributing guidelines.
setup-node@v5 tries to detect and cache the package manager on setup, so pnpm needs to be installed first. Also bumped pnpm/action-setup from v4 to v5 (latest).
…nfiguration error when there's no dataset
entire BAM file and decompress it if it's gzipped. Otherwise galaxy blows up on range requests.
Adopt the shared vite.config.charts.js pattern so build outputs to ./static/ instead of ./static/dist/. Remove unused axios and pako dependencies -- axios was imported but never used (all fetches use fetch()), and pako's decompressed output was computed but never consumed since @gmod/bam handles BGZF internally. Also: remove per-package prettier config (now root-level), fix XML entry_point path, fix test script to use --run instead of watch mode, and add test cases for flag edge cases, quality score array conversion, error rendering, and empty records.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Client-side BAM file viewer for Galaxy using
@gmod/bam. Displays BAM headers and alignment records in a plaintext format -- useful for quick inspection of BAM files without needing a full genome browser.xref galaxyproject/galaxy#20338
Notes
Test plan
pnpm buildproducesstatic/index.jspnpm test-- 9/9 tests pass