@sjcrh/proteinpaint-server 2.79.1-2 → 2.79.3

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/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@sjcrh/proteinpaint-server",
3
- "version": "2.79.1-2",
3
+ "version": "2.79.3",
4
4
  "type": "module",
5
5
  "description": "a genomics visualization tool for exploring a cohort's genotype and phenotype data",
6
6
  "main": "src/app.js",
7
7
  "module": "src/app.js",
8
8
  "bin": "start.js",
9
9
  "imports": {
10
- "#types": "./shared/types/index.ts",
11
- "#shared/types/*": "./shared/types/*",
12
- "#shared/*": "./shared/*",
10
+ "#types": "@sjcrh/proteinpaint-types",
11
+ "#types/*": "@sjcrh/proteinpaint-types/*",
12
+ "#shared/*": "@sjcrh/proteinpaint-shared/*",
13
13
  "#src/*": "./src/*",
14
14
  "#routes/*": "./routes/*"
15
15
  },
@@ -43,6 +43,7 @@
43
43
  "@babel/preset-env": "^7.9.6",
44
44
  "@babel/preset-typescript": "^7.21.4",
45
45
  "@babel/register": "^7.14.5",
46
+ "@sjcrh/proteinpaint-types": "2.79.3",
46
47
  "@types/node": "^20.11.24",
47
48
  "@types/tough-cookie": "^4.0.5",
48
49
  "@typescript-eslint/eslint-plugin": "^5.60.0",
@@ -63,6 +64,7 @@
63
64
  "dependencies": {
64
65
  "@sjcrh/augen": "2.46.0",
65
66
  "@sjcrh/proteinpaint-rust": "2.78.0",
67
+ "@sjcrh/proteinpaint-shared": "2.79.3",
66
68
  "better-sqlite3": "^9.4.1",
67
69
  "body-parser": "^1.15.2",
68
70
  "canvas": "~2.11.2",
@@ -2,7 +2,7 @@ import fs from "fs";
2
2
  import path from "path";
3
3
  import { spawn } from "child_process";
4
4
  import { Readable } from "stream";
5
- import serverconfig from "../src/serverconfig.js";
5
+ import serverconfig from "#src/serverconfig.js";
6
6
  const api = {
7
7
  endpoint: "genesetEnrichment",
8
8
  methods: {
@@ -1,4 +1,4 @@
1
- import Summarystats from "../shared/descriptive.stats.js";
1
+ import Summarystats from "#shared/descriptive.stats.js";
2
2
  import { getData } from "#src/termdb.matrix.js";
3
3
  const api = {
4
4
  endpoint: "termdb/descrstats",
@@ -1,5 +1,5 @@
1
- import * as termdbsql from "../src/termdb.sql.js";
2
- import computePercentile from "../shared/compute.percentile.js";
1
+ import * as termdbsql from "#src/termdb.sql.js";
2
+ import computePercentile from "#shared/compute.percentile.js";
3
3
  const api = {
4
4
  endpoint: "termdb/getpercentile",
5
5
  methods: {