pdbe-molstar 3.1.3 → 3.2.0-beta.1
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.
- package/README.md +20 -0
- package/build/pdbe-molstar-component.js +28 -0
- package/build/pdbe-molstar-light.css +9 -0
- package/build/pdbe-molstar-plugin.js +9 -0
- package/build/{pdbe-molstar-plugin-3.1.3.js.LICENSE.txt → pdbe-molstar-plugin.js.LICENSE.txt} +18 -0
- package/build/pdbe-molstar.css +9 -0
- package/lib/domain-annotations/color.d.ts +1 -1
- package/lib/domain-annotations/color.js +5 -4
- package/lib/domain-annotations/prop.d.ts +3 -3
- package/lib/helpers.d.ts +19 -8
- package/lib/helpers.js +9 -21
- package/lib/index(light).d.ts +103 -0
- package/lib/index(light).js +1015 -0
- package/lib/index.d.ts +101 -0
- package/lib/index.js +520 -424
- package/lib/labels.d.ts +1 -1
- package/lib/loci-details.d.ts +2 -2
- package/lib/overlay.d.ts +1 -1
- package/lib/pdbe-molstar-component-build.js +2 -0
- package/lib/pdbe-molstar-component-build.js.LICENSE.txt +11 -0
- package/lib/plugin-custom-state.d.ts +4 -4
- package/lib/sifts-mapping.d.ts +1 -1
- package/lib/sifts-mapping.js +2 -1
- package/lib/spec-from-html.d.ts +3 -0
- package/lib/spec-from-html.js +115 -0
- package/lib/spec.d.ts +90 -42
- package/lib/spec.js +43 -52
- package/lib/superposition-focus-representation.d.ts +1 -1
- package/lib/superposition-sifts-mapping.d.ts +1 -1
- package/lib/superposition-sifts-mapping.js +1 -1
- package/lib/superposition.js +135 -117
- package/lib/ui/alphafold-superposition.d.ts +8 -9
- package/lib/ui/alphafold-tranparency.d.ts +1 -2
- package/lib/ui/annotation-controls.d.ts +3 -4
- package/lib/ui/annotation-row-controls.d.ts +4 -4
- package/lib/ui/pdbe-left-panel.d.ts +3 -3
- package/lib/ui/pdbe-screenshot-controls.d.ts +1 -1
- package/lib/ui/pdbe-structure-controls.d.ts +4 -5
- package/lib/ui/pdbe-viewport-controls.d.ts +2 -3
- package/lib/ui/pdbe-viewport-controls.js +9 -29
- package/lib/ui/segment-tree.d.ts +1 -2
- package/lib/ui/segment-tree.js +50 -41
- package/lib/ui/superposition-components.d.ts +1 -2
- package/lib/ui/superposition-components.js +26 -19
- package/lib/ui/superposition-viewport.d.ts +1 -2
- package/lib/ui/symmetry-annotation-controls.d.ts +3 -4
- package/lib/ui/symmetry-annotation-controls.js +33 -20
- package/package.json +20 -18
- package/build/pdbe-molstar-3.1.3.css +0 -2
- package/build/pdbe-molstar-component-3.1.3.js +0 -25
- package/build/pdbe-molstar-plugin-3.1.3.js +0 -2
- package/lib/assembly-symmetry.d.ts +0 -11
- package/lib/assembly-symmetry.js +0 -70
- package/lib/pdbe-molstar-component-build-3.1.3.js +0 -2
- package/lib/pdbe-molstar-component-build-3.1.3.js.LICENSE.txt +0 -24
package/README.md
CHANGED
|
@@ -18,3 +18,23 @@ npm run serve
|
|
|
18
18
|
```sh
|
|
19
19
|
npm run watch
|
|
20
20
|
```
|
|
21
|
+
|
|
22
|
+
## Manual testing
|
|
23
|
+
|
|
24
|
+
- Run locally by `npm run serve`
|
|
25
|
+
- Go to <http://127.0.0.1:1338/portfolio.html> and check the viewer with various different setting (some of these reflect the actual setting on PDBe pages)
|
|
26
|
+
- If you want to tweak the options, go to "Frame URL" and change the options in the URL
|
|
27
|
+
|
|
28
|
+
## Deployment
|
|
29
|
+
|
|
30
|
+
- Bump version in `package.json` using semantic versioning
|
|
31
|
+
- Use a version number like "1.2.3-beta.1" for development versions (to be used in development environment wwwdev.ebi.ac.uk)
|
|
32
|
+
- Use a version number like "1.2.3" for proper releases
|
|
33
|
+
- Ensure install, lint, and rebuild works locally
|
|
34
|
+
- Git commit and push
|
|
35
|
+
- Create a git tag matching the version with prepended "v" (e.g. "v1.2.3")
|
|
36
|
+
- The GitHub repo will automatically be mirrored to EBI GitLab (might take up to 1 hour)
|
|
37
|
+
- CICD pipeline in EBI GitLab will automatically publish the package to npm (https://www.npmjs.com/package/pdbe-molstar)
|
|
38
|
+
- The files will become available via JSDeliver
|
|
39
|
+
- https://cdn.jsdelivr.net/npm/pdbe-molstar@dev/build/pdbe-molstar-plugin.js for the latest version including development versions
|
|
40
|
+
- https://cdn.jsdelivr.net/npm/pdbe-molstar@latest/build/pdbe-molstar-plugin.js for the latest proper release
|