@nmshd/connector-tui 0.0.1-beta.2 → 0.0.1-beta.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/dist/ConnectorTUI.js
CHANGED
|
@@ -14,6 +14,7 @@ export class ConnectorTUI extends ConnectorTUIBaseWithMixins {
|
|
|
14
14
|
if (!connectorVersionInfo)
|
|
15
15
|
return;
|
|
16
16
|
await this.showStartupMessage(connectorVersionInfo);
|
|
17
|
+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, no-constant-condition
|
|
17
18
|
while (true) {
|
|
18
19
|
const result = await prompts({
|
|
19
20
|
type: "select",
|
package/dist/ConnectorTUIBase.js
CHANGED
package/dist/mixins/AddExit.js
CHANGED
|
@@ -7,7 +7,7 @@ export function AddShareRequestByTemplate(Base) {
|
|
|
7
7
|
this.choices.push({ title: "Share Request By Template", value: this.shareRequestByTemplate });
|
|
8
8
|
}
|
|
9
9
|
async shareRequestByTemplate() {
|
|
10
|
-
const name = process.env.CONNECTOR_DISPLAY_NAME
|
|
10
|
+
const name = process.env.CONNECTOR_DISPLAY_NAME ?? "ConnectorV2 Demo";
|
|
11
11
|
const displayName = await this.getOrCreateConnectorDisplayName(name);
|
|
12
12
|
const request = {
|
|
13
13
|
items: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nmshd/connector-tui",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
3
|
+
"version": "0.0.1-beta.3",
|
|
4
4
|
"repository": "github:nmshd/connector-tui",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "j&s-soft GmbH",
|
|
@@ -16,6 +16,8 @@
|
|
|
16
16
|
".env.example"
|
|
17
17
|
],
|
|
18
18
|
"scripts": {
|
|
19
|
+
"lint:prettier": "prettier --check ./src",
|
|
20
|
+
"lint:eslint": "eslint --ext .ts ./src",
|
|
19
21
|
"build": "tsc",
|
|
20
22
|
"start": "clear && ts-node --esm --experimental-specifier-resolution node ./src/index.ts",
|
|
21
23
|
"test": "echo 'no test specified'"
|
|
@@ -29,11 +31,14 @@
|
|
|
29
31
|
"qrcode-terminal": "^0.12.0"
|
|
30
32
|
},
|
|
31
33
|
"devDependencies": {
|
|
34
|
+
"@js-soft/eslint-config-ts": "^1.6.0",
|
|
32
35
|
"@js-soft/license-check": "^1.0.5",
|
|
33
36
|
"@types/luxon": "^3.0.1",
|
|
34
37
|
"@types/node": "^18.7.15",
|
|
35
38
|
"@types/prompts": "^2.0.14",
|
|
36
39
|
"@types/qrcode-terminal": "^0.12.0",
|
|
40
|
+
"eslint": "^8.23.0",
|
|
41
|
+
"prettier": "^2.7.1",
|
|
37
42
|
"ts-node": "^10.9.1",
|
|
38
43
|
"typescript": "^4.8.2"
|
|
39
44
|
},
|