legispro-cli 1.0.8 → 1.0.10

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2019 Salesforce
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2019 Salesforce
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -13,7 +13,6 @@ LegisPro CLI - test
13
13
  * [Usage](#usage)
14
14
  * [Commands](#commands)
15
15
  <!-- tocstop -->
16
-
17
16
  # Usage
18
17
  <!-- usage -->
19
18
  ```sh-session
@@ -21,14 +20,13 @@ $ npm install -g legispro-cli
21
20
  $ lp COMMAND
22
21
  running command...
23
22
  $ lp (--version)
24
- legispro-cli/1.0.8 win32-x64 node-v20.18.3
23
+ legispro-cli/1.0.10 darwin-arm64 node-v24.0.1
25
24
  $ lp --help [COMMAND]
26
25
  USAGE
27
26
  $ lp COMMAND
28
27
  ...
29
28
  ```
30
29
  <!-- usagestop -->
31
-
32
30
  # Commands
33
31
  <!-- commands -->
34
32
  * [`lp backup create`](#lp-backup-create)
@@ -374,11 +372,11 @@ Executes a docker deployment
374
372
 
375
373
  ```
376
374
  USAGE
377
- $ lp deploy [-p <value>] [-e ola-dev|ola-qa]
375
+ $ lp deploy [-p <value>] [-e ola-dev|ola-qa|ola-linux-dev]
378
376
 
379
377
  FLAGS
380
378
  -e, --env=<option> Environment variables file
381
- <options: ola-dev|ola-qa>
379
+ <options: ola-dev|ola-qa|ola-linux-dev>
382
380
  -p, --installationPath=<value> [default: C:/legispro/deploy/] Server installation path
383
381
 
384
382
  DESCRIPTION
package/bin/dev.cmd CHANGED
@@ -1,3 +1,3 @@
1
- @echo off
2
-
3
- node --loader ts-node/esm --no-warnings=ExperimentalWarning "%~dp0\dev" %*
1
+ @echo off
2
+
3
+ node --loader ts-node/esm --no-warnings=ExperimentalWarning "%~dp0\dev" %*
package/bin/dev.js CHANGED
@@ -1,5 +1,5 @@
1
- #!/usr/bin/env -S node --loader ts-node/esm --disable-warning=ExperimentalWarning
2
-
3
- import {execute} from '@oclif/core'
4
-
5
- await execute({development: true, dir: import.meta.url})
1
+ #!/usr/bin/env -S node --loader ts-node/esm --disable-warning=ExperimentalWarning
2
+
3
+ import {execute} from '@oclif/core'
4
+
5
+ await execute({development: true, dir: import.meta.url})
package/bin/run.cmd CHANGED
@@ -1,3 +1,3 @@
1
- @echo off
2
-
3
- node "%~dp0\run" %*
1
+ @echo off
2
+
3
+ node "%~dp0\run" %*
package/bin/run.js CHANGED
@@ -1,5 +1,5 @@
1
- #!/usr/bin/env node
2
-
3
- import {execute} from '@oclif/core'
4
-
5
- await execute({dir: import.meta.url})
1
+ #!/usr/bin/env node
2
+
3
+ import {execute} from '@oclif/core'
4
+
5
+ await execute({dir: import.meta.url})
@@ -76,12 +76,12 @@ class CollectionCreate extends Command {
76
76
  // 2. Add a .project.xml file to it
77
77
  let project_uri = '/db/repository/' + flags.name + '/.project.xml';
78
78
  let project_xml_mode = 'rw-r--r--';
79
- let projectXml = `<project xmlns="http://www.xcential.com/schemas/docs">
80
- <name>${flags.name}</name>
81
- <title>${flags.title}</title>
82
- <baseURI>${flags.baseURI}</baseURI>
83
- <defaultExt>${flags.defaultExt}</defaultExt>
84
- <type>${flags.type}</type>
79
+ let projectXml = `<project xmlns="http://www.xcential.com/schemas/docs">
80
+ <name>${flags.name}</name>
81
+ <title>${flags.title}</title>
82
+ <baseURI>${flags.baseURI}</baseURI>
83
+ <defaultExt>${flags.defaultExt}</defaultExt>
84
+ <type>${flags.type}</type>
85
85
  </project>`;
86
86
  const buffer = Buffer.from(projectXml, "utf-8");
87
87
  let project_xml_document = {
@@ -5,7 +5,7 @@ import { copySources } from '../../lib/shell.js';
5
5
  import { NodeSSH } from 'node-ssh';
6
6
  import path from 'path';
7
7
  import fs from 'fs-extra';
8
- const ENV_OPTIONS = ['ola-dev', 'ola-qa'];
8
+ const ENV_OPTIONS = ['ola-dev', 'ola-qa', 'ola-linux-dev'];
9
9
  export default class DeployPrepare extends Command {
10
10
  static description = 'Executes a docker deployment';
11
11
  static examples = [`<%= config.bin %> <%= command.id %>`];
@@ -91,6 +91,10 @@ export default class DeployPrepare extends Command {
91
91
  host1 = 'dpmsdocktest01';
92
92
  host2 = 'dpmsdocktest02';
93
93
  break;
94
+ case 'ola-linux-dev':
95
+ host1 = 'dpmsdockdev01';
96
+ host2 = 'dpmsdockdev02';
97
+ break;
94
98
  }
95
99
  const release = data.find(i => i.tag_name === tag);
96
100
  const { sourcesDir, tmpPath } = await downloadAsset(oktokit, env.gitRepository, release);
@@ -105,7 +109,7 @@ export default class DeployPrepare extends Command {
105
109
  await ssh1.putDirectory(localDir, scpPath);
106
110
  console.log('Docker compose up');
107
111
  console.log(dockerCmdLegispro);
108
- const { stdout: out1, stderr: err1 } = await ssh1.execCommand(`cd ${cwd} && ${dockerCmdLegispro}`);
112
+ const { stdout: out1, stderr: err1 } = await ssh1.execCommand(`cd "${cwd}" && ${dockerCmdLegispro}`);
109
113
  console.log(out1);
110
114
  console.error(err1);
111
115
  const ssh2 = new NodeSSH();
@@ -1,5 +1,5 @@
1
1
  /// <reference types="node" />
2
- export type ENV = 'ola-qa' | 'ola-dev';
2
+ export type ENV = 'ola-qa' | 'ola-dev' | 'ola-linux-dev';
3
3
  export type SSHHost = {
4
4
  env: ENV;
5
5
  user: string;
package/dist/lib/shell.js CHANGED
@@ -42,6 +42,14 @@ export const copySources = async ({ print, user, sourcesDir, installationFolder,
42
42
  host = 'dpmsdocktest01';
43
43
  host2 = 'dpmsdocktest02';
44
44
  break;
45
+ case 'ola-linux-dev':
46
+ envFiles1.push('env.ola-linux-dev');
47
+ envFiles2.push('env.ola-linux-dev');
48
+ envFiles1.push('env.ola-linux-dev-legispro');
49
+ envFiles2.push('env.ola-linux-dev-dpms');
50
+ host = 'dpmsdockdev01';
51
+ host2 = 'dpmsdockdev02';
52
+ break;
45
53
  }
46
54
  const cmd1 = `scp -r ${customPath} ${user}@${host}:${scpPath}`;
47
55
  const cmd2 = `scp -r ${customPath} ${user}@${host2}:${scpPath}`;
@@ -2,61 +2,61 @@ export class XmlTemplates {
2
2
  /**
3
3
  * Scratchpad XML template literal
4
4
  */
5
- static scratchpad = `<?xml version="1.0" encoding="UTF-8"?>
6
- <!-- This document is datafile used by LegisPro for the scratchpad feature. It uses the akomaNtoso structure and elements. But, the document it is not meant to be valid against the Akoma Ntoso schema. -->
7
- <akomaNtoso xmlns="http://docs.oasis-open.org/legaldocml/ns/akn/3.0" xmlns:akn="http://docs.oasis-open.org/legaldocml/ns/akn/3.0" xmlns:orml="http://schemas.oregon.gov/orml" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://docs.oasis-open.org/legaldocml/ns/akn/3.0 akomantoso30.proposed.xsd http://www.w3.org/1999/xhtml akn-table-module.xsd">
8
- <portion includedIn="#legispro">
9
- <meta>
10
- <identification source="#legispro">
11
- <FRBRWork>
12
- <FRBRthis value="/akn/us-or/data/scratchpad/{{username}}" />
13
- <FRBRuri value="/akn/us-or/data/scratchpad/{{username}}" />
14
- <FRBRdate name="fileCreated" date="2021-12-07" />
15
- <FRBRauthor href="#legispro" />
16
- <FRBRcountry value="US-OR" />
17
- <FRBRname value="Scratchpad" />
18
- </FRBRWork>
19
- <FRBRExpression>
20
- <FRBRthis value="/akn/us-or/data/scratchpad/{{username}}" />
21
- <FRBRuri value="/akn/us-or/data/scratchpad/{{username}}" />
22
- <FRBRdate name="fileCreated" date="2021-12-07" />
23
- <FRBRauthor href="#legispro" />
24
- <FRBRlanguage language="eng" />
25
- </FRBRExpression>
26
- <FRBRManifestation>
27
- <FRBRthis value="/akn/us-or/data/scratchpad/demo/!main.xml" />
28
- <FRBRuri value="/akn/us-or/data/scratchpad/demo/!main.akn" />
29
- <FRBRdate name="fileCreated" date="2021-12-07" />
30
- <FRBRauthor href="#OLA" />
31
- <FRBRformat value="application/akn+xml" />
32
- </FRBRManifestation>
33
- </identification>
34
- <references source="#legispro">
35
- <TLCProcess eId="legispro" href="/akn/xcential/taxonomy/process/legispro" showAs="LegisPro" />
36
- <TLCProcess eId="conversion" href="/akn/xcential/taxonomy/process/conversion" showAs="Conversion" />
37
- <TLCOrganization eId="OLA" href="http://www.oregonlegislature.gov/" showAs="OLA" />
38
- </references>
39
- </meta>
40
- <portionBody>
41
- <orml:scratchpadFragment>
42
- <?placeholder {Paste Content Here}?>
43
- </orml:scratchpadFragment>
44
- <orml:scratchpadFragment>
45
- <?placeholder {Paste Content Here}?>
46
- </orml:scratchpadFragment>
47
- <orml:scratchpadFragment>
48
- <?placeholder {Paste Content Here}?>
49
- </orml:scratchpadFragment>
50
- <orml:scratchpadFragment>
51
- <?placeholder {Paste Content Here}?>
52
- </orml:scratchpadFragment>
53
- <orml:scratchpadFragment>
54
- <?placeholder {Paste Content Here}?>
55
- </orml:scratchpadFragment>
56
- <orml:scratchpadFragment>
57
- <?placeholder {Paste Content Here}?>
58
- </orml:scratchpadFragment>
59
- </portionBody>
60
- </portion>
5
+ static scratchpad = `<?xml version="1.0" encoding="UTF-8"?>
6
+ <!-- This document is datafile used by LegisPro for the scratchpad feature. It uses the akomaNtoso structure and elements. But, the document it is not meant to be valid against the Akoma Ntoso schema. -->
7
+ <akomaNtoso xmlns="http://docs.oasis-open.org/legaldocml/ns/akn/3.0" xmlns:akn="http://docs.oasis-open.org/legaldocml/ns/akn/3.0" xmlns:orml="http://schemas.oregon.gov/orml" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://docs.oasis-open.org/legaldocml/ns/akn/3.0 akomantoso30.proposed.xsd http://www.w3.org/1999/xhtml akn-table-module.xsd">
8
+ <portion includedIn="#legispro">
9
+ <meta>
10
+ <identification source="#legispro">
11
+ <FRBRWork>
12
+ <FRBRthis value="/akn/us-or/data/scratchpad/{{username}}" />
13
+ <FRBRuri value="/akn/us-or/data/scratchpad/{{username}}" />
14
+ <FRBRdate name="fileCreated" date="2021-12-07" />
15
+ <FRBRauthor href="#legispro" />
16
+ <FRBRcountry value="US-OR" />
17
+ <FRBRname value="Scratchpad" />
18
+ </FRBRWork>
19
+ <FRBRExpression>
20
+ <FRBRthis value="/akn/us-or/data/scratchpad/{{username}}" />
21
+ <FRBRuri value="/akn/us-or/data/scratchpad/{{username}}" />
22
+ <FRBRdate name="fileCreated" date="2021-12-07" />
23
+ <FRBRauthor href="#legispro" />
24
+ <FRBRlanguage language="eng" />
25
+ </FRBRExpression>
26
+ <FRBRManifestation>
27
+ <FRBRthis value="/akn/us-or/data/scratchpad/demo/!main.xml" />
28
+ <FRBRuri value="/akn/us-or/data/scratchpad/demo/!main.akn" />
29
+ <FRBRdate name="fileCreated" date="2021-12-07" />
30
+ <FRBRauthor href="#OLA" />
31
+ <FRBRformat value="application/akn+xml" />
32
+ </FRBRManifestation>
33
+ </identification>
34
+ <references source="#legispro">
35
+ <TLCProcess eId="legispro" href="/akn/xcential/taxonomy/process/legispro" showAs="LegisPro" />
36
+ <TLCProcess eId="conversion" href="/akn/xcential/taxonomy/process/conversion" showAs="Conversion" />
37
+ <TLCOrganization eId="OLA" href="http://www.oregonlegislature.gov/" showAs="OLA" />
38
+ </references>
39
+ </meta>
40
+ <portionBody>
41
+ <orml:scratchpadFragment>
42
+ <?placeholder {Paste Content Here}?>
43
+ </orml:scratchpadFragment>
44
+ <orml:scratchpadFragment>
45
+ <?placeholder {Paste Content Here}?>
46
+ </orml:scratchpadFragment>
47
+ <orml:scratchpadFragment>
48
+ <?placeholder {Paste Content Here}?>
49
+ </orml:scratchpadFragment>
50
+ <orml:scratchpadFragment>
51
+ <?placeholder {Paste Content Here}?>
52
+ </orml:scratchpadFragment>
53
+ <orml:scratchpadFragment>
54
+ <?placeholder {Paste Content Here}?>
55
+ </orml:scratchpadFragment>
56
+ <orml:scratchpadFragment>
57
+ <?placeholder {Paste Content Here}?>
58
+ </orml:scratchpadFragment>
59
+ </portionBody>
60
+ </portion>
61
61
  </akomaNtoso>`;
62
62
  }
@@ -692,7 +692,8 @@
692
692
  "multiple": false,
693
693
  "options": [
694
694
  "ola-dev",
695
- "ola-qa"
695
+ "ola-qa",
696
+ "ola-linux-dev"
696
697
  ],
697
698
  "type": "option"
698
699
  }
@@ -761,6 +762,54 @@
761
762
  "list.js"
762
763
  ]
763
764
  },
765
+ "locks:add": {
766
+ "aliases": [],
767
+ "args": {},
768
+ "description": "Add Locks and Mods XML files",
769
+ "examples": [
770
+ "$ legispro locks:add"
771
+ ],
772
+ "flags": {},
773
+ "hasDynamicHelp": false,
774
+ "hiddenAliases": [],
775
+ "id": "locks:add",
776
+ "pluginAlias": "legispro-cli",
777
+ "pluginName": "legispro-cli",
778
+ "pluginType": "core",
779
+ "strict": true,
780
+ "enableJsonFlag": false,
781
+ "isESM": true,
782
+ "relativePath": [
783
+ "dist",
784
+ "commands",
785
+ "locks",
786
+ "add.js"
787
+ ]
788
+ },
789
+ "locks:clear": {
790
+ "aliases": [],
791
+ "args": {},
792
+ "description": "Clear expired locks",
793
+ "examples": [
794
+ "$ legispro locks:clear"
795
+ ],
796
+ "flags": {},
797
+ "hasDynamicHelp": false,
798
+ "hiddenAliases": [],
799
+ "id": "locks:clear",
800
+ "pluginAlias": "legispro-cli",
801
+ "pluginName": "legispro-cli",
802
+ "pluginType": "core",
803
+ "strict": true,
804
+ "enableJsonFlag": false,
805
+ "isESM": true,
806
+ "relativePath": [
807
+ "dist",
808
+ "commands",
809
+ "locks",
810
+ "clear.js"
811
+ ]
812
+ },
764
813
  "group:create": {
765
814
  "aliases": [],
766
815
  "args": {},
@@ -981,54 +1030,6 @@
981
1030
  "update.js"
982
1031
  ]
983
1032
  },
984
- "locks:add": {
985
- "aliases": [],
986
- "args": {},
987
- "description": "Add Locks and Mods XML files",
988
- "examples": [
989
- "$ legispro locks:add"
990
- ],
991
- "flags": {},
992
- "hasDynamicHelp": false,
993
- "hiddenAliases": [],
994
- "id": "locks:add",
995
- "pluginAlias": "legispro-cli",
996
- "pluginName": "legispro-cli",
997
- "pluginType": "core",
998
- "strict": true,
999
- "enableJsonFlag": false,
1000
- "isESM": true,
1001
- "relativePath": [
1002
- "dist",
1003
- "commands",
1004
- "locks",
1005
- "add.js"
1006
- ]
1007
- },
1008
- "locks:clear": {
1009
- "aliases": [],
1010
- "args": {},
1011
- "description": "Clear expired locks",
1012
- "examples": [
1013
- "$ legispro locks:clear"
1014
- ],
1015
- "flags": {},
1016
- "hasDynamicHelp": false,
1017
- "hiddenAliases": [],
1018
- "id": "locks:clear",
1019
- "pluginAlias": "legispro-cli",
1020
- "pluginName": "legispro-cli",
1021
- "pluginType": "core",
1022
- "strict": true,
1023
- "enableJsonFlag": false,
1024
- "isESM": true,
1025
- "relativePath": [
1026
- "dist",
1027
- "commands",
1028
- "locks",
1029
- "clear.js"
1030
- ]
1031
- },
1032
1033
  "services:health": {
1033
1034
  "aliases": [],
1034
1035
  "args": {},
@@ -1497,5 +1498,5 @@
1497
1498
  ]
1498
1499
  }
1499
1500
  },
1500
- "version": "1.0.8"
1501
+ "version": "1.0.10"
1501
1502
  }
package/package.json CHANGED
@@ -1,102 +1,102 @@
1
- {
2
- "name": "legispro-cli",
3
- "version": "1.0.8",
4
- "description": "LegisPro CLI",
5
- "author": "bmckinney",
6
- "type": "module",
7
- "bin": {
8
- "legispro": "./bin/run.js"
9
- },
10
- "homepage": "https://github.com/Xcential-Corporation/legispro-cli",
11
- "license": "MIT",
12
- "main": "dist/index.js",
13
- "files": [
14
- "./bin",
15
- "./dist",
16
- "./oclif.manifest.json"
17
- ],
18
- "dependencies": {
19
- "@oclif/core": "^4",
20
- "@oclif/plugin-help": "^6",
21
- "@oclif/plugin-plugins": "^5",
22
- "@octokit/core": "^6.1.4",
23
- "@octokit/plugin-rest-endpoint-methods": "^13.3.1",
24
- "ascii-table": "^0.0.9",
25
- "axios": "^1.8.1",
26
- "chalk": "^5.4.1",
27
- "enquirer": "^2.4.1",
28
- "fs-extra": "^11.3.0",
29
- "node-ssh": "^13.2.0",
30
- "ora": "^3.4.0",
31
- "rclone.js": "^0.6.6",
32
- "ssh2": "^1.16.0",
33
- "treeify": "^1.1.0",
34
- "unzipper": "^0.12.3",
35
- "xml2js": "^0.6.0",
36
- "xmldom": "^0.6.0",
37
- "xpath": "^0.0.32"
38
- },
39
- "devDependencies": {
40
- "@eslint/compat": "^1",
41
- "@oclif/prettier-config": "^0.2.1",
42
- "@oclif/test": "^4",
43
- "@types/chai": "^4",
44
- "@types/fs-extra": "^11.0.4",
45
- "@types/mocha": "^10",
46
- "@types/node": "^18",
47
- "@types/rclone.js": "^0.6.3",
48
- "@types/ssh2": "^1.15.4",
49
- "@types/treeify": "^1.0.3",
50
- "@types/unzipper": "^0.10.10",
51
- "@types/xml2js": "^0.4.14",
52
- "@types/xmldom": "^0.1.34",
53
- "chai": "^4",
54
- "eslint": "^9",
55
- "eslint-config-oclif": "^6",
56
- "eslint-config-prettier": "^10",
57
- "mocha": "^10",
58
- "oclif": "^4",
59
- "rimraf": "^6.0.1",
60
- "shx": "^0.3.3",
61
- "ts-node": "^10",
62
- "typescript": "^5"
63
- },
64
- "oclif": {
65
- "bin": "lp",
66
- "dirname": "legispro-cli",
67
- "commands": "./dist/commands",
68
- "plugins": [
69
- "@oclif/plugin-help",
70
- "@oclif/plugin-not-found"
71
- ],
72
- "topicSeparator": " ",
73
- "topics": {
74
- "hello": {
75
- "description": "Say hello to the world and others"
76
- }
77
- },
78
- "macos": {
79
- "identifier": "com.legispro.cli"
80
- }
81
- },
82
- "scripts": {
83
- "build": "shx rm -rf dist && tsc -b",
84
- "build-win": "rimraf tmp && oclif pack win",
85
- "build-mac": "rimraf tmp && oclif pack macos",
86
- "build-deb": "rimraf tmp && oclif pack deb",
87
- "lint": "eslint",
88
- "postpack": "shx rm -f oclif.manifest.json",
89
- "posttest": "npm run lint",
90
- "prepack": "oclif manifest && oclif readme",
91
- "test": "mocha --forbid-only \"test/**/*.test.ts\"",
92
- "version": "oclif readme && git add README.md"
93
- },
94
- "engines": {
95
- "node": ">=18.0.0"
96
- },
97
- "bugs": "https://github.com/Xcential-Corporation/legispro-cli/issues",
98
- "keywords": [
99
- "oclif"
100
- ],
101
- "types": "dist/index.d.ts"
102
- }
1
+ {
2
+ "name": "legispro-cli",
3
+ "version": "1.0.10",
4
+ "description": "LegisPro CLI",
5
+ "author": "bmckinney",
6
+ "type": "module",
7
+ "bin": {
8
+ "legispro": "./bin/run.js"
9
+ },
10
+ "homepage": "https://github.com/Xcential-Corporation/legispro-cli",
11
+ "license": "MIT",
12
+ "main": "dist/index.js",
13
+ "files": [
14
+ "./bin",
15
+ "./dist",
16
+ "./oclif.manifest.json"
17
+ ],
18
+ "dependencies": {
19
+ "@oclif/core": "^4",
20
+ "@oclif/plugin-help": "^6",
21
+ "@oclif/plugin-plugins": "^5",
22
+ "@octokit/core": "^6.1.4",
23
+ "@octokit/plugin-rest-endpoint-methods": "^13.3.1",
24
+ "ascii-table": "^0.0.9",
25
+ "axios": "^1.8.1",
26
+ "chalk": "^5.4.1",
27
+ "enquirer": "^2.4.1",
28
+ "fs-extra": "^11.3.0",
29
+ "node-ssh": "^13.2.0",
30
+ "ora": "^3.4.0",
31
+ "rclone.js": "^0.6.6",
32
+ "ssh2": "^1.16.0",
33
+ "treeify": "^1.1.0",
34
+ "unzipper": "^0.12.3",
35
+ "xml2js": "^0.6.0",
36
+ "xmldom": "^0.6.0",
37
+ "xpath": "^0.0.32"
38
+ },
39
+ "devDependencies": {
40
+ "@eslint/compat": "^1",
41
+ "@oclif/prettier-config": "^0.2.1",
42
+ "@oclif/test": "^4",
43
+ "@types/chai": "^4",
44
+ "@types/fs-extra": "^11.0.4",
45
+ "@types/mocha": "^10",
46
+ "@types/node": "^18",
47
+ "@types/rclone.js": "^0.6.3",
48
+ "@types/ssh2": "^1.15.4",
49
+ "@types/treeify": "^1.0.3",
50
+ "@types/unzipper": "^0.10.10",
51
+ "@types/xml2js": "^0.4.14",
52
+ "@types/xmldom": "^0.1.34",
53
+ "chai": "^4",
54
+ "eslint": "^9",
55
+ "eslint-config-oclif": "^6",
56
+ "eslint-config-prettier": "^10",
57
+ "mocha": "^10",
58
+ "oclif": "^4",
59
+ "rimraf": "^6.0.1",
60
+ "shx": "^0.3.3",
61
+ "ts-node": "^10",
62
+ "typescript": "^5"
63
+ },
64
+ "oclif": {
65
+ "bin": "lp",
66
+ "dirname": "legispro-cli",
67
+ "commands": "./dist/commands",
68
+ "plugins": [
69
+ "@oclif/plugin-help",
70
+ "@oclif/plugin-not-found"
71
+ ],
72
+ "topicSeparator": " ",
73
+ "topics": {
74
+ "hello": {
75
+ "description": "Say hello to the world and others"
76
+ }
77
+ },
78
+ "macos": {
79
+ "identifier": "com.legispro.cli"
80
+ }
81
+ },
82
+ "scripts": {
83
+ "build": "shx rm -rf dist && tsc -b",
84
+ "build-win": "rimraf tmp && oclif pack win",
85
+ "build-mac": "rimraf tmp && oclif pack macos",
86
+ "build-deb": "rimraf tmp && oclif pack deb",
87
+ "lint": "eslint",
88
+ "postpack": "shx rm -f oclif.manifest.json",
89
+ "posttest": "npm run lint",
90
+ "prepack": "oclif manifest && oclif readme",
91
+ "test": "mocha --forbid-only \"test/**/*.test.ts\"",
92
+ "version": "oclif readme && git add README.md"
93
+ },
94
+ "engines": {
95
+ "node": ">=18.0.0"
96
+ },
97
+ "bugs": "https://github.com/Xcential-Corporation/legispro-cli/issues",
98
+ "keywords": [
99
+ "oclif"
100
+ ],
101
+ "types": "dist/index.d.ts"
102
+ }