@jbrowse/cli 2.17.0 → 3.0.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.
package/README.md CHANGED
@@ -206,7 +206,7 @@ EXAMPLES
206
206
  ```
207
207
 
208
208
  _See code:
209
- [src/commands/add-assembly.ts](https://github.com/GMOD/jbrowse-components/blob/v2.17.0/products/jbrowse-cli/src/commands/add-assembly.ts)_
209
+ [src/commands/add-assembly.ts](https://github.com/GMOD/jbrowse-components/blob/v3.0.0/products/jbrowse-cli/src/commands/add-assembly.ts)_
210
210
 
211
211
  ## `jbrowse add-connection CONNECTIONURLORPATH`
212
212
 
@@ -257,7 +257,7 @@ EXAMPLES
257
257
  ```
258
258
 
259
259
  _See code:
260
- [src/commands/add-connection.ts](https://github.com/GMOD/jbrowse-components/blob/v2.17.0/products/jbrowse-cli/src/commands/add-connection.ts)_
260
+ [src/commands/add-connection.ts](https://github.com/GMOD/jbrowse-components/blob/v3.0.0/products/jbrowse-cli/src/commands/add-connection.ts)_
261
261
 
262
262
  ## `jbrowse add-track TRACK`
263
263
 
@@ -338,7 +338,7 @@ EXAMPLES
338
338
  ```
339
339
 
340
340
  _See code:
341
- [src/commands/add-track.ts](https://github.com/GMOD/jbrowse-components/blob/v2.17.0/products/jbrowse-cli/src/commands/add-track.ts)_
341
+ [src/commands/add-track.ts](https://github.com/GMOD/jbrowse-components/blob/v3.0.0/products/jbrowse-cli/src/commands/add-track.ts)_
342
342
 
343
343
  ## `jbrowse add-track-json TRACK`
344
344
 
@@ -368,7 +368,7 @@ EXAMPLES
368
368
  ```
369
369
 
370
370
  _See code:
371
- [src/commands/add-track-json.ts](https://github.com/GMOD/jbrowse-components/blob/v2.17.0/products/jbrowse-cli/src/commands/add-track-json.ts)_
371
+ [src/commands/add-track-json.ts](https://github.com/GMOD/jbrowse-components/blob/v3.0.0/products/jbrowse-cli/src/commands/add-track-json.ts)_
372
372
 
373
373
  ## `jbrowse admin-server`
374
374
 
@@ -400,7 +400,7 @@ EXAMPLES
400
400
  ```
401
401
 
402
402
  _See code:
403
- [src/commands/admin-server.ts](https://github.com/GMOD/jbrowse-components/blob/v2.17.0/products/jbrowse-cli/src/commands/admin-server.ts)_
403
+ [src/commands/admin-server.ts](https://github.com/GMOD/jbrowse-components/blob/v3.0.0/products/jbrowse-cli/src/commands/admin-server.ts)_
404
404
 
405
405
  ## `jbrowse create LOCALPATH`
406
406
 
@@ -457,7 +457,7 @@ EXAMPLES
457
457
  ```
458
458
 
459
459
  _See code:
460
- [src/commands/create.ts](https://github.com/GMOD/jbrowse-components/blob/v2.17.0/products/jbrowse-cli/src/commands/create.ts)_
460
+ [src/commands/create.ts](https://github.com/GMOD/jbrowse-components/blob/v3.0.0/products/jbrowse-cli/src/commands/create.ts)_
461
461
 
462
462
  ## `jbrowse help [COMMAND]`
463
463
 
@@ -478,7 +478,7 @@ DESCRIPTION
478
478
  ```
479
479
 
480
480
  _See code:
481
- [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.16/src/commands/help.ts)_
481
+ [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.23/src/commands/help.ts)_
482
482
 
483
483
  ## `jbrowse make-pif FILE`
484
484
 
@@ -508,7 +508,7 @@ EXAMPLES
508
508
  ```
509
509
 
510
510
  _See code:
511
- [src/commands/make-pif.ts](https://github.com/GMOD/jbrowse-components/blob/v2.17.0/products/jbrowse-cli/src/commands/make-pif.ts)_
511
+ [src/commands/make-pif.ts](https://github.com/GMOD/jbrowse-components/blob/v3.0.0/products/jbrowse-cli/src/commands/make-pif.ts)_
512
512
 
513
513
  ## `jbrowse remove-track TRACK`
514
514
 
@@ -536,7 +536,7 @@ EXAMPLES
536
536
  ```
537
537
 
538
538
  _See code:
539
- [src/commands/remove-track.ts](https://github.com/GMOD/jbrowse-components/blob/v2.17.0/products/jbrowse-cli/src/commands/remove-track.ts)_
539
+ [src/commands/remove-track.ts](https://github.com/GMOD/jbrowse-components/blob/v3.0.0/products/jbrowse-cli/src/commands/remove-track.ts)_
540
540
 
541
541
  ## `jbrowse set-default-session`
542
542
 
@@ -578,7 +578,7 @@ EXAMPLES
578
578
  ```
579
579
 
580
580
  _See code:
581
- [src/commands/set-default-session.ts](https://github.com/GMOD/jbrowse-components/blob/v2.17.0/products/jbrowse-cli/src/commands/set-default-session.ts)_
581
+ [src/commands/set-default-session.ts](https://github.com/GMOD/jbrowse-components/blob/v3.0.0/products/jbrowse-cli/src/commands/set-default-session.ts)_
582
582
 
583
583
  ## `jbrowse sort-bed FILE`
584
584
 
@@ -609,7 +609,7 @@ EXAMPLES
609
609
  ```
610
610
 
611
611
  _See code:
612
- [src/commands/sort-bed.ts](https://github.com/GMOD/jbrowse-components/blob/v2.17.0/products/jbrowse-cli/src/commands/sort-bed.ts)_
612
+ [src/commands/sort-bed.ts](https://github.com/GMOD/jbrowse-components/blob/v3.0.0/products/jbrowse-cli/src/commands/sort-bed.ts)_
613
613
 
614
614
  ## `jbrowse sort-gff FILE`
615
615
 
@@ -640,7 +640,7 @@ EXAMPLES
640
640
  ```
641
641
 
642
642
  _See code:
643
- [src/commands/sort-gff.ts](https://github.com/GMOD/jbrowse-components/blob/v2.17.0/products/jbrowse-cli/src/commands/sort-gff.ts)_
643
+ [src/commands/sort-gff.ts](https://github.com/GMOD/jbrowse-components/blob/v3.0.0/products/jbrowse-cli/src/commands/sort-gff.ts)_
644
644
 
645
645
  ## `jbrowse text-index`
646
646
 
@@ -707,7 +707,7 @@ EXAMPLES
707
707
  ```
708
708
 
709
709
  _See code:
710
- [src/commands/text-index.ts](https://github.com/GMOD/jbrowse-components/blob/v2.17.0/products/jbrowse-cli/src/commands/text-index.ts)_
710
+ [src/commands/text-index.ts](https://github.com/GMOD/jbrowse-components/blob/v3.0.0/products/jbrowse-cli/src/commands/text-index.ts)_
711
711
 
712
712
  ## `jbrowse upgrade [LOCALPATH]`
713
713
 
@@ -770,7 +770,7 @@ EXAMPLES
770
770
  ```
771
771
 
772
772
  _See code:
773
- [src/commands/upgrade.ts](https://github.com/GMOD/jbrowse-components/blob/v2.17.0/products/jbrowse-cli/src/commands/upgrade.ts)_
773
+ [src/commands/upgrade.ts](https://github.com/GMOD/jbrowse-components/blob/v3.0.0/products/jbrowse-cli/src/commands/upgrade.ts)_
774
774
 
775
775
  <!-- commandsstop -->
776
776
 
package/lib/base.js CHANGED
@@ -6,9 +6,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
6
6
  return (mod && mod.__esModule) ? mod : { "default": mod };
7
7
  };
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- const core_1 = require("@oclif/core");
10
9
  const fs_1 = require("fs");
11
10
  const path_1 = __importDefault(require("path"));
11
+ const core_1 = require("@oclif/core");
12
12
  const json_parse_better_errors_1 = __importDefault(require("json-parse-better-errors"));
13
13
  const fetchWithProxy_1 = __importDefault(require("./fetchWithProxy"));
14
14
  class JBrowseCommand extends core_1.Command {
@@ -3,9 +3,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const core_1 = require("@oclif/core");
7
6
  const fs_1 = __importDefault(require("fs"));
8
7
  const path_1 = __importDefault(require("path"));
8
+ const core_1 = require("@oclif/core");
9
9
  const base_1 = __importDefault(require("../base"));
10
10
  const { rename, copyFile, mkdir, symlink } = fs_1.default.promises;
11
11
  function isValidJSON(string) {
@@ -3,13 +3,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const core_1 = require("@oclif/core");
7
6
  const fs_1 = __importDefault(require("fs"));
8
7
  const path_1 = __importDefault(require("path"));
8
+ const core_1 = require("@oclif/core");
9
9
  const json_parse_better_errors_1 = __importDefault(require("json-parse-better-errors"));
10
- // locals
11
- const fetchWithProxy_1 = __importDefault(require("../fetchWithProxy"));
12
10
  const base_1 = __importDefault(require("../base"));
11
+ const fetchWithProxy_1 = __importDefault(require("../fetchWithProxy"));
13
12
  class AddConnection extends base_1.default {
14
13
  async run() {
15
14
  const { args: runArgs, flags: runFlags } = await this.parse(AddConnection);
@@ -3,8 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const core_1 = require("@oclif/core");
7
6
  const fs_1 = require("fs");
7
+ const core_1 = require("@oclif/core");
8
8
  const base_1 = __importDefault(require("../base"));
9
9
  class AddTrackJson extends base_1.default {
10
10
  async run() {
@@ -3,9 +3,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const core_1 = require("@oclif/core");
7
6
  const fs_1 = __importDefault(require("fs"));
8
7
  const path_1 = __importDefault(require("path"));
8
+ const core_1 = require("@oclif/core");
9
9
  const json_parse_better_errors_1 = __importDefault(require("json-parse-better-errors"));
10
10
  const base_1 = __importDefault(require("../base"));
11
11
  const { copyFile, rename, symlink } = fs_1.default.promises;
@@ -3,15 +3,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const core_1 = require("@oclif/core");
7
- const path_1 = __importDefault(require("path"));
8
- const fs_1 = __importDefault(require("fs"));
9
6
  const crypto_1 = __importDefault(require("crypto"));
7
+ const fs_1 = __importDefault(require("fs"));
8
+ const os_1 = __importDefault(require("os"));
9
+ const path_1 = __importDefault(require("path"));
10
+ const core_1 = require("@oclif/core");
10
11
  const boxen_1 = __importDefault(require("boxen"));
11
12
  const chalk_1 = __importDefault(require("chalk"));
12
- const os_1 = __importDefault(require("os"));
13
- const express_1 = __importDefault(require("express"));
14
13
  const cors_1 = __importDefault(require("cors"));
14
+ const express_1 = __importDefault(require("express"));
15
15
  const base_1 = __importDefault(require("../base"));
16
16
  function isValidPort(port) {
17
17
  return port > 0 && port < 65535;
@@ -3,11 +3,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const core_1 = require("@oclif/core");
7
6
  const fs_1 = __importDefault(require("fs"));
8
- const fetchWithProxy_1 = __importDefault(require("../fetchWithProxy"));
9
- const base_1 = __importDefault(require("../base"));
7
+ const core_1 = require("@oclif/core");
10
8
  const decompress_1 = __importDefault(require("decompress"));
9
+ const base_1 = __importDefault(require("../base"));
10
+ const fetchWithProxy_1 = __importDefault(require("../fetchWithProxy"));
11
11
  const fsPromises = fs_1.default.promises;
12
12
  class Create extends base_1.default {
13
13
  async run() {
@@ -6,13 +6,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.flipCigar = flipCigar;
7
7
  exports.swapIndelCigar = swapIndelCigar;
8
8
  exports.createPIF = createPIF;
9
+ const child_process_1 = require("child_process");
9
10
  const fs_1 = __importDefault(require("fs"));
11
+ const path_1 = __importDefault(require("path"));
10
12
  const readline_1 = __importDefault(require("readline"));
11
13
  const zlib_1 = require("zlib");
12
14
  const core_1 = require("@oclif/core");
13
15
  const command_exists_1 = require("command-exists");
14
- const child_process_1 = require("child_process");
15
- const path_1 = __importDefault(require("path"));
16
16
  const base_1 = __importDefault(require("../base"));
17
17
  const cigarRegex = new RegExp(/([MIDNSHPX=])/);
18
18
  function getReadline(filename) {
@@ -3,8 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const core_1 = require("@oclif/core");
7
6
  const fs_1 = require("fs");
7
+ const core_1 = require("@oclif/core");
8
8
  const base_1 = __importDefault(require("../base"));
9
9
  class RemoveTrackJson extends base_1.default {
10
10
  async run() {
@@ -3,8 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const core_1 = require("@oclif/core");
7
6
  const fs_1 = __importDefault(require("fs"));
7
+ const core_1 = require("@oclif/core");
8
8
  const json_parse_better_errors_1 = __importDefault(require("json-parse-better-errors"));
9
9
  const base_1 = __importDefault(require("../base"));
10
10
  const fsPromises = fs_1.default.promises;
@@ -3,9 +3,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ const child_process_1 = require("child_process");
6
7
  const core_1 = require("@oclif/core");
7
8
  const command_exists_1 = require("command-exists");
8
- const child_process_1 = require("child_process");
9
9
  const base_1 = __importDefault(require("../base"));
10
10
  class SortGff extends base_1.default {
11
11
  async run() {
@@ -3,9 +3,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ const child_process_1 = require("child_process");
6
7
  const core_1 = require("@oclif/core");
7
8
  const command_exists_1 = require("command-exists");
8
- const child_process_1 = require("child_process");
9
9
  const base_1 = __importDefault(require("../base"));
10
10
  class SortGff extends base_1.default {
11
11
  async run() {
@@ -6,13 +6,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const fs_1 = __importDefault(require("fs"));
7
7
  const path_1 = __importDefault(require("path"));
8
8
  const stream_1 = require("stream");
9
- const ixixx_1 = require("ixixx");
10
9
  const core_1 = require("@oclif/core");
11
- // locals
12
- const gff3Adapter_1 = require("../types/gff3Adapter");
13
- const vcfAdapter_1 = require("../types/vcfAdapter");
10
+ const ixixx_1 = require("ixixx");
14
11
  const base_1 = __importDefault(require("../base"));
15
12
  const common_1 = require("../types/common");
13
+ const gff3Adapter_1 = require("../types/gff3Adapter");
14
+ const vcfAdapter_1 = require("../types/vcfAdapter");
16
15
  function readConf(path) {
17
16
  return JSON.parse(fs_1.default.readFileSync(path, 'utf8'));
18
17
  }
@@ -3,12 +3,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const core_1 = require("@oclif/core");
7
6
  const fs_1 = __importDefault(require("fs"));
8
7
  const path_1 = __importDefault(require("path"));
8
+ const core_1 = require("@oclif/core");
9
9
  const decompress_1 = __importDefault(require("decompress"));
10
- const fetchWithProxy_1 = __importDefault(require("../fetchWithProxy"));
11
10
  const base_1 = __importDefault(require("../base"));
11
+ const fetchWithProxy_1 = __importDefault(require("../fetchWithProxy"));
12
12
  class Upgrade extends base_1.default {
13
13
  async run() {
14
14
  const { args: runArgs, flags: runFlags } = await this.parse(Upgrade);
@@ -4,9 +4,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.indexGff3 = indexGff3;
7
- const cli_progress_1 = require("cli-progress");
8
- const zlib_1 = require("zlib");
9
7
  const readline_1 = __importDefault(require("readline"));
8
+ const zlib_1 = require("zlib");
9
+ const cli_progress_1 = require("cli-progress");
10
10
  const util_1 = require("../util");
11
11
  async function* indexGff3({ config, attributesToIndex, inLocation, outLocation, typesToExclude, quiet, }) {
12
12
  const { trackId } = config;
@@ -4,9 +4,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.indexVcf = indexVcf;
7
- const cli_progress_1 = require("cli-progress");
8
- const zlib_1 = require("zlib");
9
7
  const readline_1 = __importDefault(require("readline"));
8
+ const zlib_1 = require("zlib");
9
+ const cli_progress_1 = require("cli-progress");
10
10
  const util_1 = require("../util");
11
11
  async function* indexVcf({ config, attributesToIndex, inLocation, outLocation, quiet, }) {
12
12
  const { trackId } = config;
package/lib/util.js CHANGED
@@ -5,9 +5,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.getLocalOrRemoteStream = getLocalOrRemoteStream;
7
7
  exports.decodeURIComponentNoThrow = decodeURIComponentNoThrow;
8
- const common_1 = require("./types/common");
9
8
  const fs_1 = __importDefault(require("fs"));
10
9
  const path_1 = __importDefault(require("path"));
10
+ const common_1 = require("./types/common");
11
11
  async function getLocalOrRemoteStream(uri, out) {
12
12
  if ((0, common_1.isURL)(uri)) {
13
13
  const result = await (0, common_1.createRemoteStream)(uri);
@@ -1165,5 +1165,5 @@
1165
1165
  ]
1166
1166
  }
1167
1167
  },
1168
- "version": "2.17.0"
1168
+ "version": "3.0.0"
1169
1169
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/cli",
3
- "version": "2.17.0",
3
+ "version": "3.0.0",
4
4
  "description": "A command line tool for working with JBrowse 2",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -45,7 +45,7 @@
45
45
  "docs:version:add": "git add README.md"
46
46
  },
47
47
  "dependencies": {
48
- "@oclif/core": "4.0.19",
48
+ "@oclif/core": "^4.0.19",
49
49
  "@oclif/plugin-help": "^6.0.15",
50
50
  "boxen": "^4.2.0",
51
51
  "chalk": "^4.1.0",
@@ -73,5 +73,5 @@
73
73
  "publishConfig": {
74
74
  "access": "public"
75
75
  },
76
- "gitHead": "eed30b5e671f8f7823652d7cecc51aa89226de46"
76
+ "gitHead": "2c6897f1fa732b1db5b094d1dca197e333e95319"
77
77
  }