react-msaview-cli 6.2.2 → 6.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +9 -1
  2. package/package.json +6 -3
package/README.md CHANGED
@@ -20,6 +20,12 @@ Nothing else for `export-svg` and `interpro`. `interproscan` needs a backend to
20
20
  scan with — the EBI web API (the default, no install), or Docker, Singularity,
21
21
  or a local InterProScan (see [interproscan](#interproscan)).
22
22
 
23
+ `export-svg` draws the alignment background as one embedded image when
24
+ [@napi-rs/canvas](https://www.npmjs.com/package/@napi-rs/canvas) is present. It
25
+ is an optional dependency with prebuilt binaries, so a normal install brings it
26
+ in; on a platform it does not cover, the export still works and draws a
27
+ rectangle per cell instead, which is much larger and slower for big alignments.
28
+
23
29
  ## Setup
24
30
 
25
31
  ```bash
@@ -367,7 +373,9 @@ residue letters stop drawing, which is most of the file size.
367
373
  ## Uses
368
374
 
369
375
  [msa-parsers](https://github.com/GMOD/JBrowseMSA/tree/main/packages/msa-parsers)
370
- for file format support, and [react-msaview](../lib) for rendering.
376
+ for file format support, and
377
+ [react-msaview](https://github.com/GMOD/JBrowseMSA/tree/main/packages/lib) for
378
+ rendering.
371
379
 
372
380
  ## License
373
381
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-msaview-cli",
3
- "version": "6.2.2",
3
+ "version": "6.3.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {
@@ -28,8 +28,11 @@
28
28
  "mobx-react": "^10.0.0",
29
29
  "react": "^19.2.8",
30
30
  "react-dom": "^19.2.8",
31
- "msa-parsers": "6.2.2",
32
- "react-msaview": "6.2.2"
31
+ "msa-parsers": "6.3.0",
32
+ "react-msaview": "6.3.0"
33
+ },
34
+ "optionalDependencies": {
35
+ "@napi-rs/canvas": "^1.0.8"
33
36
  },
34
37
  "scripts": {
35
38
  "clean": "node --eval \"fs.rmSync('dist',{recursive:true,force:true})\" --input-type=module",