@apollo-annotation/cli 0.1.18 → 0.1.19

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.
@@ -654,51 +654,6 @@
654
654
  "sequence.js"
655
655
  ]
656
656
  },
657
- "change:get": {
658
- "aliases": [],
659
- "args": {},
660
- "description": "Return the change log in json format. Note that when an assembly is deleted the\nlink between common name and ID is lost (it can still be recovered by inspecting\nthe change log but at present this task is left to the user). In such cases you\nneed to use the assembly ID.",
661
- "flags": {
662
- "profile": {
663
- "description": "Use credentials from this profile",
664
- "name": "profile",
665
- "hasDynamicHelp": false,
666
- "multiple": false,
667
- "type": "option"
668
- },
669
- "config-file": {
670
- "description": "Use this config file (mostly for testing)",
671
- "name": "config-file",
672
- "hasDynamicHelp": false,
673
- "multiple": false,
674
- "type": "option"
675
- },
676
- "assembly": {
677
- "char": "a",
678
- "description": "Get changes only for these assembly names or IDs (but see description)",
679
- "name": "assembly",
680
- "hasDynamicHelp": false,
681
- "multiple": true,
682
- "type": "option"
683
- }
684
- },
685
- "hasDynamicHelp": false,
686
- "hiddenAliases": [],
687
- "id": "change:get",
688
- "pluginAlias": "@apollo-annotation/cli",
689
- "pluginName": "@apollo-annotation/cli",
690
- "pluginType": "core",
691
- "strict": true,
692
- "summary": "Get list of changes",
693
- "enableJsonFlag": false,
694
- "isESM": true,
695
- "relativePath": [
696
- "dist",
697
- "commands",
698
- "change",
699
- "get.js"
700
- ]
701
- },
702
657
  "feature:add-child": {
703
658
  "aliases": [],
704
659
  "args": {},
@@ -1505,6 +1460,112 @@
1505
1460
  "search.js"
1506
1461
  ]
1507
1462
  },
1463
+ "change:get": {
1464
+ "aliases": [],
1465
+ "args": {},
1466
+ "description": "Return the change log in json format. Note that when an assembly is deleted the\nlink between common name and ID is lost (it can still be recovered by inspecting\nthe change log but at present this task is left to the user). In such cases you\nneed to use the assembly ID.",
1467
+ "flags": {
1468
+ "profile": {
1469
+ "description": "Use credentials from this profile",
1470
+ "name": "profile",
1471
+ "hasDynamicHelp": false,
1472
+ "multiple": false,
1473
+ "type": "option"
1474
+ },
1475
+ "config-file": {
1476
+ "description": "Use this config file (mostly for testing)",
1477
+ "name": "config-file",
1478
+ "hasDynamicHelp": false,
1479
+ "multiple": false,
1480
+ "type": "option"
1481
+ },
1482
+ "assembly": {
1483
+ "char": "a",
1484
+ "description": "Get changes only for these assembly names or IDs (but see description)",
1485
+ "name": "assembly",
1486
+ "hasDynamicHelp": false,
1487
+ "multiple": true,
1488
+ "type": "option"
1489
+ }
1490
+ },
1491
+ "hasDynamicHelp": false,
1492
+ "hiddenAliases": [],
1493
+ "id": "change:get",
1494
+ "pluginAlias": "@apollo-annotation/cli",
1495
+ "pluginName": "@apollo-annotation/cli",
1496
+ "pluginType": "core",
1497
+ "strict": true,
1498
+ "summary": "Get list of changes",
1499
+ "enableJsonFlag": false,
1500
+ "isESM": true,
1501
+ "relativePath": [
1502
+ "dist",
1503
+ "commands",
1504
+ "change",
1505
+ "get.js"
1506
+ ]
1507
+ },
1508
+ "refseq:add-alias": {
1509
+ "aliases": [],
1510
+ "args": {},
1511
+ "description": "Reference name aliasing is a process to make chromosomes that are named slightly\ndifferently but which refer to the same thing render properly. This command\nreads a file with reference name aliases and adds them to the database.",
1512
+ "examples": [
1513
+ {
1514
+ "description": "Add reference name aliases:",
1515
+ "command": "<%= config.bin %> <%= command.id %> -i alias.txt -a myAssembly"
1516
+ }
1517
+ ],
1518
+ "flags": {
1519
+ "profile": {
1520
+ "description": "Use credentials from this profile",
1521
+ "name": "profile",
1522
+ "hasDynamicHelp": false,
1523
+ "multiple": false,
1524
+ "type": "option"
1525
+ },
1526
+ "config-file": {
1527
+ "description": "Use this config file (mostly for testing)",
1528
+ "name": "config-file",
1529
+ "hasDynamicHelp": false,
1530
+ "multiple": false,
1531
+ "type": "option"
1532
+ },
1533
+ "input-file": {
1534
+ "char": "i",
1535
+ "description": "Input refname alias file",
1536
+ "name": "input-file",
1537
+ "required": true,
1538
+ "hasDynamicHelp": false,
1539
+ "multiple": false,
1540
+ "type": "option"
1541
+ },
1542
+ "assembly": {
1543
+ "char": "a",
1544
+ "description": "Name for this assembly.",
1545
+ "name": "assembly",
1546
+ "required": true,
1547
+ "hasDynamicHelp": false,
1548
+ "multiple": false,
1549
+ "type": "option"
1550
+ }
1551
+ },
1552
+ "hasDynamicHelp": false,
1553
+ "hiddenAliases": [],
1554
+ "id": "refseq:add-alias",
1555
+ "pluginAlias": "@apollo-annotation/cli",
1556
+ "pluginName": "@apollo-annotation/cli",
1557
+ "pluginType": "core",
1558
+ "strict": true,
1559
+ "summary": "Add reference name aliases from a file",
1560
+ "enableJsonFlag": false,
1561
+ "isESM": true,
1562
+ "relativePath": [
1563
+ "dist",
1564
+ "commands",
1565
+ "refseq",
1566
+ "add-alias.js"
1567
+ ]
1568
+ },
1508
1569
  "refseq:get": {
1509
1570
  "aliases": [],
1510
1571
  "args": {},
@@ -1628,5 +1689,5 @@
1628
1689
  ]
1629
1690
  }
1630
1691
  },
1631
- "version": "0.1.18"
1692
+ "version": "0.1.19"
1632
1693
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@apollo-annotation/cli",
3
3
  "description": "Command line interface for the Apollo annotation server",
4
- "version": "0.1.18",
4
+ "version": "0.1.19",
5
5
  "author": "Apollo Team",
6
6
  "repository": {
7
7
  "type": "git",
@@ -28,7 +28,7 @@
28
28
  "dev": "tsx bin/dev.js",
29
29
  "postpack": "shx rm -f oclif.manifest.json",
30
30
  "posttest": "yarn lint",
31
- "prepack": "yarn build && oclif manifest && oclif readme",
31
+ "prepack": "yarn build && oclif manifest && oclif readme && prettier --write README.md",
32
32
  "prepare": "yarn build",
33
33
  "test": "mocha --require src/test/fixtures.ts 'src/**/*.test.ts'",
34
34
  "test:ci": "nyc mocha 'src/**/*.test.ts'",
@@ -41,6 +41,7 @@
41
41
  "@oclif/core": "^3.18.2",
42
42
  "@oclif/plugin-help": "^6.0.8",
43
43
  "bson": "^6.3.0",
44
+ "cli-progress": "^3.12.0",
44
45
  "conf": "^12.0.0",
45
46
  "joi": "^17.7.0",
46
47
  "open": "^10.1.0",
@@ -49,10 +50,13 @@
49
50
  "yaml": "^2.3.4"
50
51
  },
51
52
  "devDependencies": {
53
+ "@apollo-annotation/mst": "^0.1.19",
54
+ "@apollo-annotation/shared": "^0.1.19",
52
55
  "@istanbuljs/esm-loader-hook": "^0.2.0",
53
56
  "@istanbuljs/nyc-config-typescript": "^1.0.2",
54
57
  "@oclif/test": "^3.1.3",
55
58
  "@types/chai": "^4",
59
+ "@types/cli-progress": "^3",
56
60
  "@types/inquirer": "^9.0.7",
57
61
  "@types/mocha": "^10",
58
62
  "@types/node": "^18.14.2",
@@ -60,10 +64,13 @@
60
64
  "mocha": "^10.2.0",
61
65
  "nyc": "^15.1.0",
62
66
  "oclif": "^4.4.2",
67
+ "prettier": "^3.3.2",
68
+ "react-dom": "^18.2.0",
69
+ "rxjs": "^7.4.0",
63
70
  "shx": "^0.3.3",
64
71
  "ts-node": "^10.3.0",
65
72
  "tsx": "^4.6.2",
66
- "typescript": "^5.1.6"
73
+ "typescript": "^5.5.3"
67
74
  },
68
75
  "oclif": {
69
76
  "helpOptions": {