@jbrowse/plugin-text-indexing 2.6.1 → 2.6.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.
@@ -32,4 +32,3 @@ class TextIndexRpcMethod extends RpcMethodType_1.default {
32
32
  }
33
33
  }
34
34
  exports.TextIndexRpcMethod = TextIndexRpcMethod;
35
- //# sourceMappingURL=TextIndexRpcMethod.js.map
package/dist/index.js CHANGED
@@ -15,4 +15,3 @@ class default_1 extends Plugin_1.default {
15
15
  }
16
16
  }
17
17
  exports.default = default_1;
18
- //# sourceMappingURL=index.js.map
@@ -25,4 +25,3 @@ export class TextIndexRpcMethod extends RpcMethodType {
25
25
  return [];
26
26
  }
27
27
  }
28
- //# sourceMappingURL=TextIndexRpcMethod.js.map
package/esm/index.js CHANGED
@@ -9,4 +9,3 @@ export default class extends Plugin {
9
9
  pluginManager.addRpcMethod(() => new TextIndexRpcMethod(pluginManager));
10
10
  }
11
11
  }
12
- //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-text-indexing",
3
- "version": "2.6.1",
3
+ "version": "2.6.3",
4
4
  "description": "JBrowse 2 text indexing rpc method",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -20,7 +20,6 @@
20
20
  "main": "dist/index.js",
21
21
  "files": [
22
22
  "dist",
23
- "src",
24
23
  "esm"
25
24
  ],
26
25
  "scripts": {
@@ -33,11 +32,11 @@
33
32
  "useSrc": "node ../../scripts/useSrc.js",
34
33
  "prebuild": "npm run clean",
35
34
  "build:esm": "tsc --build tsconfig.build.esm.json",
36
- "build:es5": "tsc --build tsconfig.build.es5.json",
35
+ "build:commonjs": "tsc --build tsconfig.build.commonjs.json",
37
36
  "clean": "rimraf dist esm *.tsbuildinfo"
38
37
  },
39
38
  "dependencies": {
40
- "@jbrowse/text-indexing": "^2.6.1"
39
+ "@jbrowse/text-indexing": "^2.6.3"
41
40
  },
42
41
  "peerDependencies": {
43
42
  "@jbrowse/core": "^2.0.0",
@@ -52,5 +51,5 @@
52
51
  "publishConfig": {
53
52
  "access": "public"
54
53
  },
55
- "gitHead": "1cbe7ba097fb2d2763c776e5e429e4670cdd583c"
54
+ "gitHead": "ed402c87efb0904858d602c363bd1757d5742129"
56
55
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextIndexRpcMethod.js","sourceRoot":"","sources":["../../src/TextIndexRpcMethod/TextIndexRpcMethod.ts"],"names":[],"mappings":";;;;;;AAAA,sGAA6E;AAE7E,6CAAqD;AACrD,0DAAsE;AAEtE,MAAa,kBAAmB,SAAQ,uBAAa;IAArD;;QACE,SAAI,GAAG,oBAAoB,CAAA;IA8C7B,CAAC;IA5CC,KAAK,CAAC,OAAO,CACX,IAUC,EACD,kBAA0B;QAE1B,MAAM,gBAAgB,GAAG,MAAM,IAAI,CAAC,oBAAoB,CACtD,IAAI,EACJ,kBAAkB,CACnB,CAAA;QACD,MAAM,EACJ,MAAM,EACN,WAAW,EACX,OAAO,EACP,UAAU,EACV,UAAU,EACV,SAAS,EACT,MAAM,EACN,cAAc,GACf,GAAG,gBAAgB,CAAA;QAEpB,IAAA,uBAAgB,EAAC,MAAM,CAAC,CAAA;QACxB,MAAM,cAAc,GAAG;YACrB,WAAW;YACX,MAAM;YACN,OAAO;YACP,UAAU;YACV,UAAU;YACV,SAAS;YACT,cAAc;YACd,MAAM;SACP,CAAA;QACD,MAAM,IAAA,2BAAW,EAAC,cAAc,CAAC,CAAA;QACjC,cAAc,CAAC,oBAAoB,CAAC,CAAA;QACpC,OAAO,EAAE,CAAA;IACX,CAAC;CACF;AA/CD,gDA+CC"}
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;AAAA,kEAAyC;AAEzC,gFAA4E;AAC5E,eAAqB,SAAQ,gBAAM;IAAnC;;QACE,SAAI,GAAG,oBAAoB,CAAA;IAK7B,CAAC;IAHC,OAAO,CAAC,aAA4B;QAClC,aAAa,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,IAAI,uCAAkB,CAAC,aAAa,CAAC,CAAC,CAAA;IACzE,CAAC;CACF;AAND,4BAMC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextIndexRpcMethod.js","sourceRoot":"","sources":["../../src/TextIndexRpcMethod/TextIndexRpcMethod.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,mDAAmD,CAAA;AAE7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,WAAW,EAAoB,MAAM,wBAAwB,CAAA;AAEtE,MAAM,OAAO,kBAAmB,SAAQ,aAAa;IAArD;;QACE,SAAI,GAAG,oBAAoB,CAAA;IA8C7B,CAAC;IA5CC,KAAK,CAAC,OAAO,CACX,IAUC,EACD,kBAA0B;QAE1B,MAAM,gBAAgB,GAAG,MAAM,IAAI,CAAC,oBAAoB,CACtD,IAAI,EACJ,kBAAkB,CACnB,CAAA;QACD,MAAM,EACJ,MAAM,EACN,WAAW,EACX,OAAO,EACP,UAAU,EACV,UAAU,EACV,SAAS,EACT,MAAM,EACN,cAAc,GACf,GAAG,gBAAgB,CAAA;QAEpB,gBAAgB,CAAC,MAAM,CAAC,CAAA;QACxB,MAAM,cAAc,GAAG;YACrB,WAAW;YACX,MAAM;YACN,OAAO;YACP,UAAU;YACV,UAAU;YACV,SAAS;YACT,cAAc;YACd,MAAM;SACP,CAAA;QACD,MAAM,WAAW,CAAC,cAAc,CAAC,CAAA;QACjC,cAAc,CAAC,oBAAoB,CAAC,CAAA;QACpC,OAAO,EAAE,CAAA;IACX,CAAC;CACF"}
package/esm/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,sBAAsB,CAAA;AAEzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAA;AAC5E,MAAM,CAAC,OAAO,MAAO,SAAQ,MAAM;IAAnC;;QACE,SAAI,GAAG,oBAAoB,CAAA;IAK7B,CAAC;IAHC,OAAO,CAAC,aAA4B;QAClC,aAAa,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,IAAI,kBAAkB,CAAC,aAAa,CAAC,CAAC,CAAA;IACzE,CAAC;CACF"}
@@ -1,53 +0,0 @@
1
- import RpcMethodType from '@jbrowse/core/pluggableElementTypes/RpcMethodType'
2
- import { RemoteAbortSignal } from '@jbrowse/core/rpc/remoteAbortSignals'
3
- import { checkAbortSignal } from '@jbrowse/core/util'
4
- import { indexTracks, indexType, Track } from '@jbrowse/text-indexing'
5
-
6
- export class TextIndexRpcMethod extends RpcMethodType {
7
- name = 'TextIndexRpcMethod'
8
-
9
- async execute(
10
- args: {
11
- sessionId: string
12
- signal?: RemoteAbortSignal
13
- outLocation?: string
14
- attributes?: string[]
15
- exclude?: string[]
16
- assemblies?: string[]
17
- indexType?: indexType
18
- tracks: Track[]
19
- statusCallback: (message: string) => void
20
- },
21
- rpcDriverClassName: string,
22
- ) {
23
- const deserializedArgs = await this.deserializeArguments(
24
- args,
25
- rpcDriverClassName,
26
- )
27
- const {
28
- tracks,
29
- outLocation,
30
- exclude,
31
- attributes,
32
- assemblies,
33
- indexType,
34
- signal,
35
- statusCallback,
36
- } = deserializedArgs
37
-
38
- checkAbortSignal(signal)
39
- const indexingParams = {
40
- outLocation,
41
- tracks,
42
- exclude,
43
- attributes,
44
- assemblies,
45
- indexType,
46
- statusCallback,
47
- signal,
48
- }
49
- await indexTracks(indexingParams)
50
- statusCallback('Indexing Complete.')
51
- return []
52
- }
53
- }
package/src/index.ts DELETED
@@ -1,10 +0,0 @@
1
- import Plugin from '@jbrowse/core/Plugin'
2
- import PluginManager from '@jbrowse/core/PluginManager'
3
- import { TextIndexRpcMethod } from './TextIndexRpcMethod/TextIndexRpcMethod'
4
- export default class extends Plugin {
5
- name = 'TextIndexingPlugin'
6
-
7
- install(pluginManager: PluginManager) {
8
- pluginManager.addRpcMethod(() => new TextIndexRpcMethod(pluginManager))
9
- }
10
- }