protvista-uniprot 4.9.0 → 4.9.2
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 +2 -9
- package/dist/protvista-uniprot.mjs +26839 -26287
- package/dist/protvista-uniprot.mjs.map +1 -1
- package/dist/types/protvista-uniprot-structure.d.ts +1 -0
- package/dist/types/tooltips/ptm-tooltip.d.ts +1 -0
- package/package.json +18 -4
- package/src/__spec__/filter-config.spec.ts +4 -2
- package/src/__spec__/protvista-uniprot-structure-empty.spec.ts +8 -9
- package/src/adapters/alphamissense-pathogenicity-adapter.ts +3 -1
- package/src/adapters/proteomics-adapter.ts +10 -2
- package/src/adapters/ptm-exchange-adapter.ts +7 -4
- package/src/adapters/structure-adapter.ts +9 -3
- package/src/adapters/variation-graph-adapter.ts +4 -1
- package/src/protvista-uniprot-structure.ts +33 -41
- package/src/tooltips/feature-tooltip.ts +72 -28
- package/src/tooltips/ptm-tooltip.ts +29 -1
- package/src/utils/index.ts +3 -1
- package/src/.vscode/settings.json +0 -3
- package/src/adapters/.DS_Store +0 -0
- package/src/adapters/types/.DS_Store +0 -0
package/README.md
CHANGED
|
@@ -116,18 +116,11 @@ Coverage output is for local use only and is not committed. Open `coverage/index
|
|
|
116
116
|
|
|
117
117
|
### Continuous integration
|
|
118
118
|
|
|
119
|
-
Every push and pull request runs the same
|
|
119
|
+
Every push and pull request runs the same checks as `yarn test` via [`.github/workflows/test-and-deploy.yml`](./.github/workflows/test-and-deploy.yml): `yarn test:lint`, `yarn test:types`, `yarn test:unit`, plus `yarn test:coverage` against the thresholds defined in `vite.config.mjs`. All steps run under Node 24 on `ubuntu-latest`. A separate `build` job runs `yarn build` (and, on `main`, `yarn build:demo`) and deploys the demo to GitHub Pages.
|
|
120
120
|
|
|
121
121
|
### Coverage
|
|
122
122
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
| Metric | Coverage |
|
|
126
|
-
| ---------- | -------- |
|
|
127
|
-
| Statements | 10.33% |
|
|
128
|
-
| Branches | 5.99% |
|
|
129
|
-
| Functions | 13.19% |
|
|
130
|
-
| Lines | 9.66% |
|
|
123
|
+
Coverage thresholds live in [`vite.config.mjs`](./vite.config.mjs) under `test.coverage.thresholds` and follow a ratchet pattern — they only ever go up. CI fails if a change drops coverage below the recorded threshold. Run `yarn test:coverage` locally to see the current numbers, or `yarn test:coverage:ratchet` to lift the thresholds to match the latest run (commit the resulting `vite.config.mjs` change in the same PR as the coverage improvement).
|
|
131
124
|
|
|
132
125
|
## Performance benchmarks
|
|
133
126
|
|