trm-client 6.1.1 → 7.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.
Files changed (184) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +65 -65
  3. package/changelog.txt +179 -165
  4. package/dist/command/AbstractCommand.d.ts +42 -0
  5. package/dist/command/AbstractCommand.js +418 -0
  6. package/dist/command/InquirerType.d.ts +3 -0
  7. package/dist/command/InquirerType.js +7 -0
  8. package/dist/{utils/executeCommand.d.ts → command/LoggerType.d.ts} +0 -4
  9. package/dist/command/LoggerType.js +11 -0
  10. package/dist/{utils/registerCommand.d.ts → command/RegisterCommandOpts.d.ts} +4 -3
  11. package/dist/command/implementations/Alias.d.ts +8 -0
  12. package/dist/command/implementations/Alias.js +172 -0
  13. package/dist/command/implementations/Compare.d.ts +7 -0
  14. package/dist/command/implementations/Compare.js +133 -0
  15. package/dist/command/implementations/Content.d.ts +5 -0
  16. package/dist/command/implementations/Content.js +195 -0
  17. package/dist/command/implementations/Deprecate.d.ts +5 -0
  18. package/dist/command/implementations/Deprecate.js +33 -0
  19. package/dist/command/implementations/DistTag.d.ts +5 -0
  20. package/dist/command/implementations/DistTag.js +48 -0
  21. package/dist/command/implementations/FindDependencies.d.ts +5 -0
  22. package/dist/command/implementations/FindDependencies.js +42 -0
  23. package/dist/command/implementations/Info.d.ts +11 -0
  24. package/dist/command/implementations/Info.js +245 -0
  25. package/dist/command/implementations/Install.d.ts +13 -0
  26. package/dist/command/implementations/Install.js +201 -0
  27. package/dist/command/implementations/List.d.ts +5 -0
  28. package/dist/command/implementations/List.js +116 -0
  29. package/dist/command/implementations/Lock.d.ts +5 -0
  30. package/dist/command/implementations/Lock.js +40 -0
  31. package/dist/command/implementations/Login.d.ts +5 -0
  32. package/dist/command/implementations/Login.js +66 -0
  33. package/dist/command/implementations/Logout.d.ts +5 -0
  34. package/dist/command/implementations/Logout.js +37 -0
  35. package/dist/command/implementations/Ping.d.ts +5 -0
  36. package/dist/{commands/findDependencies.js → command/implementations/Ping.js} +15 -16
  37. package/dist/command/implementations/Publish.d.ts +6 -0
  38. package/dist/command/implementations/Publish.js +145 -0
  39. package/dist/command/implementations/Registry.d.ts +5 -0
  40. package/dist/command/implementations/Registry.js +88 -0
  41. package/dist/command/implementations/Settings.d.ts +5 -0
  42. package/dist/command/implementations/Settings.js +42 -0
  43. package/dist/command/implementations/Unpublish.d.ts +5 -0
  44. package/dist/command/implementations/Unpublish.js +34 -0
  45. package/dist/command/implementations/View.d.ts +9 -0
  46. package/dist/command/implementations/View.js +237 -0
  47. package/dist/command/implementations/WhoAmI.d.ts +5 -0
  48. package/dist/command/implementations/WhoAmI.js +36 -0
  49. package/dist/command/implementations/index.d.ts +19 -0
  50. package/dist/command/implementations/index.js +35 -0
  51. package/dist/command/index.d.ts +4 -0
  52. package/dist/{commands/commons → command}/index.js +4 -2
  53. package/dist/{commands/arguments/ConnectArguments.d.ts → command/prompts/connect.d.ts} +2 -0
  54. package/dist/{commands → command}/prompts/connect.js +3 -3
  55. package/dist/command/prompts/createAlias.d.ts +1 -0
  56. package/dist/{commands → command/prompts}/createAlias.js +8 -8
  57. package/dist/command/prompts/deleteAlias.d.ts +1 -0
  58. package/dist/{commands → command/prompts}/deleteAlias.js +3 -4
  59. package/dist/command/prompts/index.d.ts +4 -0
  60. package/dist/{commands → command}/prompts/index.js +2 -0
  61. package/dist/index.js +34 -278
  62. package/dist/registryAlias/RegistryAlias.js +1 -1
  63. package/dist/systemAlias/SystemAlias.js +4 -4
  64. package/dist/utils/{Context.d.ts → GlobalContext.d.ts} +3 -3
  65. package/dist/utils/{Context.js → GlobalContext.js} +6 -6
  66. package/dist/utils/checkCliUpdate.d.ts +3 -2
  67. package/dist/utils/checkCliUpdate.js +3 -3
  68. package/dist/utils/getSapLogonConnections.js +3 -3
  69. package/dist/utils/index.d.ts +1 -4
  70. package/dist/utils/index.js +1 -4
  71. package/package.json +67 -65
  72. package/dist/commands/addRegistry.d.ts +0 -2
  73. package/dist/commands/addRegistry.js +0 -66
  74. package/dist/commands/alias.d.ts +0 -2
  75. package/dist/commands/alias.js +0 -156
  76. package/dist/commands/arguments/AddRegistryArguments.d.ts +0 -5
  77. package/dist/commands/arguments/AliasArguments.d.ts +0 -3
  78. package/dist/commands/arguments/AliasArguments.js +0 -2
  79. package/dist/commands/arguments/CheckArguments.d.ts +0 -4
  80. package/dist/commands/arguments/CheckArguments.js +0 -2
  81. package/dist/commands/arguments/CompareArguments.d.ts +0 -4
  82. package/dist/commands/arguments/CompareArguments.js +0 -2
  83. package/dist/commands/arguments/ConnectArguments.js +0 -2
  84. package/dist/commands/arguments/ContentArguments.d.ts +0 -6
  85. package/dist/commands/arguments/ContentArguments.js +0 -2
  86. package/dist/commands/arguments/CreateAliasArguments.d.ts +0 -3
  87. package/dist/commands/arguments/CreateAliasArguments.js +0 -2
  88. package/dist/commands/arguments/DeleteAliasArguments.d.ts +0 -3
  89. package/dist/commands/arguments/DeleteAliasArguments.js +0 -2
  90. package/dist/commands/arguments/FindDependenciesArguments.d.ts +0 -5
  91. package/dist/commands/arguments/FindDependenciesArguments.js +0 -2
  92. package/dist/commands/arguments/ImportArguments.d.ts +0 -19
  93. package/dist/commands/arguments/ImportArguments.js +0 -2
  94. package/dist/commands/arguments/InfoArguments.d.ts +0 -1
  95. package/dist/commands/arguments/InfoArguments.js +0 -2
  96. package/dist/commands/arguments/InstallArguments.d.ts +0 -20
  97. package/dist/commands/arguments/InstallArguments.js +0 -2
  98. package/dist/commands/arguments/ListArguments.d.ts +0 -3
  99. package/dist/commands/arguments/ListArguments.js +0 -2
  100. package/dist/commands/arguments/LockArguments.d.ts +0 -4
  101. package/dist/commands/arguments/LockArguments.js +0 -2
  102. package/dist/commands/arguments/LoginArguments.d.ts +0 -4
  103. package/dist/commands/arguments/LoginArguments.js +0 -2
  104. package/dist/commands/arguments/LogoutArguments.d.ts +0 -1
  105. package/dist/commands/arguments/LogoutArguments.js +0 -2
  106. package/dist/commands/arguments/PackArguments.d.ts +0 -22
  107. package/dist/commands/arguments/PackArguments.js +0 -2
  108. package/dist/commands/arguments/PingArguments.d.ts +0 -1
  109. package/dist/commands/arguments/PingArguments.js +0 -2
  110. package/dist/commands/arguments/PublishArguments.d.ts +0 -24
  111. package/dist/commands/arguments/PublishArguments.js +0 -2
  112. package/dist/commands/arguments/RemoveRegistryArguments.d.ts +0 -4
  113. package/dist/commands/arguments/RemoveRegistryArguments.js +0 -2
  114. package/dist/commands/arguments/SettingsArgument.d.ts +0 -3
  115. package/dist/commands/arguments/SettingsArgument.js +0 -2
  116. package/dist/commands/arguments/UnpublishArguments.d.ts +0 -4
  117. package/dist/commands/arguments/UnpublishArguments.js +0 -2
  118. package/dist/commands/arguments/UpdateArguments.d.ts +0 -2
  119. package/dist/commands/arguments/UpdateArguments.js +0 -2
  120. package/dist/commands/arguments/ViewArguments.d.ts +0 -3
  121. package/dist/commands/arguments/ViewArguments.js +0 -2
  122. package/dist/commands/arguments/WhoAmIArguments.d.ts +0 -1
  123. package/dist/commands/arguments/WhoAmIArguments.js +0 -2
  124. package/dist/commands/arguments/index.d.ts +0 -24
  125. package/dist/commands/arguments/index.js +0 -40
  126. package/dist/commands/check.d.ts +0 -2
  127. package/dist/commands/check.js +0 -87
  128. package/dist/commands/commons/CommandContext.d.ts +0 -9
  129. package/dist/commands/commons/CommandContext.js +0 -41
  130. package/dist/commands/commons/index.d.ts +0 -2
  131. package/dist/commands/commons/viewRegistryPackage.d.ts +0 -2
  132. package/dist/commands/commons/viewRegistryPackage.js +0 -48
  133. package/dist/commands/compare.d.ts +0 -2
  134. package/dist/commands/compare.js +0 -167
  135. package/dist/commands/content.d.ts +0 -2
  136. package/dist/commands/content.js +0 -182
  137. package/dist/commands/createAlias.d.ts +0 -2
  138. package/dist/commands/deleteAlias.d.ts +0 -2
  139. package/dist/commands/findDependencies.d.ts +0 -2
  140. package/dist/commands/import.d.ts +0 -2
  141. package/dist/commands/import.js +0 -84
  142. package/dist/commands/index.d.ts +0 -27
  143. package/dist/commands/index.js +0 -43
  144. package/dist/commands/info.d.ts +0 -2
  145. package/dist/commands/info.js +0 -233
  146. package/dist/commands/install.d.ts +0 -2
  147. package/dist/commands/install.js +0 -85
  148. package/dist/commands/list.d.ts +0 -2
  149. package/dist/commands/list.js +0 -70
  150. package/dist/commands/lock.d.ts +0 -2
  151. package/dist/commands/lock.js +0 -64
  152. package/dist/commands/login.d.ts +0 -2
  153. package/dist/commands/login.js +0 -59
  154. package/dist/commands/logout.d.ts +0 -2
  155. package/dist/commands/logout.js +0 -27
  156. package/dist/commands/pack.d.ts +0 -2
  157. package/dist/commands/pack.js +0 -95
  158. package/dist/commands/ping.d.ts +0 -2
  159. package/dist/commands/ping.js +0 -21
  160. package/dist/commands/prompts/connect.d.ts +0 -3
  161. package/dist/commands/prompts/index.d.ts +0 -2
  162. package/dist/commands/publish.d.ts +0 -2
  163. package/dist/commands/publish.js +0 -128
  164. package/dist/commands/removeRegistry.d.ts +0 -2
  165. package/dist/commands/removeRegistry.js +0 -36
  166. package/dist/commands/selfUpdate.d.ts +0 -1
  167. package/dist/commands/selfUpdate.js +0 -77
  168. package/dist/commands/settings.d.ts +0 -2
  169. package/dist/commands/settings.js +0 -32
  170. package/dist/commands/unpublish.d.ts +0 -2
  171. package/dist/commands/unpublish.js +0 -61
  172. package/dist/commands/update.d.ts +0 -2
  173. package/dist/commands/update.js +0 -20
  174. package/dist/commands/view.d.ts +0 -2
  175. package/dist/commands/view.js +0 -219
  176. package/dist/commands/whoami.d.ts +0 -2
  177. package/dist/commands/whoami.js +0 -34
  178. package/dist/utils/checkTrmDependencies.d.ts +0 -1
  179. package/dist/utils/checkTrmDependencies.js +0 -43
  180. package/dist/utils/executeCommand.js +0 -213
  181. package/dist/utils/registerCommand.js +0 -93
  182. /package/dist/{commands/arguments/AddRegistryArguments.js → command/RegisterCommandOpts.js} +0 -0
  183. /package/dist/{commands → command}/prompts/pickRegistry.d.ts +0 -0
  184. /package/dist/{commands → command}/prompts/pickRegistry.js +0 -0
@@ -1,2 +0,0 @@
1
- import { AddRegistryArguments } from "./arguments";
2
- export declare function addRegistry(commandArgs: AddRegistryArguments): Promise<void>;
@@ -1,66 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.addRegistry = addRegistry;
13
- const trm_core_1 = require("trm-core");
14
- const registryAlias_1 = require("../registryAlias");
15
- const trm_commons_1 = require("trm-commons");
16
- function addRegistry(commandArgs) {
17
- return __awaiter(this, void 0, void 0, function* () {
18
- const registryName = commandArgs.registryName.trim();
19
- const auth = commandArgs.authentication;
20
- var endpoint = commandArgs.endpoint;
21
- var oAuth;
22
- if (registryName.toLowerCase() === trm_core_1.PUBLIC_RESERVED_KEYWORD) {
23
- throw new Error(`Registry name "${trm_core_1.PUBLIC_RESERVED_KEYWORD}" is a reserved keyword.`);
24
- }
25
- if (registryName.toLowerCase() === trm_core_1.LOCAL_RESERVED_KEYWORD) {
26
- throw new Error(`Registry name "${trm_core_1.LOCAL_RESERVED_KEYWORD}" is a reserved keyword.`);
27
- }
28
- if (auth) {
29
- try {
30
- oAuth = JSON.parse(auth);
31
- }
32
- catch (e) {
33
- throw new Error(`Invalid authentication JSON object.`);
34
- }
35
- }
36
- const inq1 = yield trm_commons_1.Inquirer.prompt({
37
- type: "input",
38
- name: "endpoint",
39
- message: "Registry endpoint",
40
- default: endpoint,
41
- when: !endpoint
42
- });
43
- endpoint = inq1.endpoint || endpoint;
44
- const registry = registryAlias_1.RegistryAlias.create(registryName, endpoint, oAuth);
45
- var pingSuccess = true;
46
- try {
47
- const ping = yield registry.getRegistry().ping();
48
- if (ping.messages) {
49
- ping.messages.forEach(m => trm_commons_1.Logger.registryResponse(m));
50
- }
51
- }
52
- catch (e) {
53
- trm_commons_1.Logger.error(`Ping to registry "${registryName}" (${endpoint}) failed.`);
54
- pingSuccess = false;
55
- throw e;
56
- }
57
- finally {
58
- if (pingSuccess) {
59
- trm_commons_1.Logger.success(`Registry "${registryName}" added.`);
60
- }
61
- else {
62
- registryAlias_1.RegistryAlias.delete(registryName);
63
- }
64
- }
65
- });
66
- }
@@ -1,2 +0,0 @@
1
- import { AliasArguments } from "./arguments";
2
- export declare function alias(commandArgs: AliasArguments): Promise<void>;
@@ -1,156 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.alias = alias;
13
- const systemAlias_1 = require("../systemAlias");
14
- const utils_1 = require("../utils");
15
- const createAlias_1 = require("./createAlias");
16
- const deleteAlias_1 = require("./deleteAlias");
17
- const prompts_1 = require("./prompts");
18
- const trm_commons_1 = require("trm-commons");
19
- const _create = () => __awaiter(void 0, void 0, void 0, function* () {
20
- const inq1 = yield trm_commons_1.Inquirer.prompt({
21
- name: 'name',
22
- message: 'Alias name',
23
- type: 'input'
24
- });
25
- yield (0, createAlias_1.createAlias)({
26
- alias: inq1.name
27
- });
28
- });
29
- const _view = (alias) => {
30
- const connection = utils_1.Context.getInstance().getConnections().find(o => o.name === alias.type);
31
- if (!connection) {
32
- throw new Error(`Unknown connection type "${alias.type}".`);
33
- }
34
- connection.setData(alias.data);
35
- if (connection.logData) {
36
- connection.logData();
37
- }
38
- else {
39
- trm_commons_1.Logger.info(`No data to show.`);
40
- }
41
- };
42
- const _check = (alias) => __awaiter(void 0, void 0, void 0, function* () {
43
- trm_commons_1.Logger.loading(`Checking connection with alias "${alias.alias}"...`);
44
- const oSystemAlias = new systemAlias_1.SystemAlias(alias.type, alias.data);
45
- try {
46
- yield oSystemAlias.getConnection().connect();
47
- trm_commons_1.Logger.success(`Connection to alias "${alias.alias}" OK.`);
48
- }
49
- catch (e) {
50
- trm_commons_1.Logger.error(`Connection failed!`);
51
- trm_commons_1.Logger.error(e.toString());
52
- }
53
- });
54
- const _edit = (alias) => __awaiter(void 0, void 0, void 0, function* () {
55
- var connectionSuccess = true;
56
- const connectionArgs = yield (0, prompts_1.connect)(Object.assign(Object.assign({}, alias.data), {
57
- type: alias.type,
58
- noSystemAlias: true,
59
- force: true
60
- }), false);
61
- const newData = connectionArgs.getData();
62
- try {
63
- systemAlias_1.SystemAlias.delete(alias.alias);
64
- yield systemAlias_1.SystemAlias.create(alias.alias, connectionArgs.name, newData).getConnection().connect();
65
- }
66
- catch (e) {
67
- connectionSuccess = false;
68
- throw e;
69
- }
70
- finally {
71
- if (connectionSuccess) {
72
- trm_commons_1.Logger.success(`Alias "${alias.alias}" updated.`);
73
- }
74
- else {
75
- trm_commons_1.Logger.error(`Alias "${alias.alias}" couldn't be updated.`);
76
- systemAlias_1.SystemAlias.delete(alias.alias);
77
- systemAlias_1.SystemAlias.create(alias.alias, alias.type, alias.data);
78
- }
79
- }
80
- });
81
- const _delete = (alias) => __awaiter(void 0, void 0, void 0, function* () {
82
- yield (0, deleteAlias_1.deleteAlias)({
83
- alias: alias.alias
84
- });
85
- });
86
- function alias(commandArgs) {
87
- return __awaiter(this, void 0, void 0, function* () {
88
- const aAlias = systemAlias_1.SystemAlias.getAll();
89
- var aliasPick = '';
90
- var inq1Choices = [];
91
- if (commandArgs.alias) {
92
- if (!aAlias.find(o => o.alias === commandArgs.alias)) {
93
- trm_commons_1.Logger.warning(`Alias "${commandArgs.alias}" not found.`);
94
- inq1Choices.push({
95
- name: `Create alias`,
96
- value: `create`
97
- });
98
- }
99
- else {
100
- aliasPick = commandArgs.alias;
101
- }
102
- }
103
- inq1Choices = inq1Choices.concat([{
104
- name: aliasPick ? `View "${aliasPick}"` : `View alias`,
105
- value: `pick_view`
106
- }, {
107
- name: aliasPick ? `Check "${aliasPick}" connection` : `Check alias connection`,
108
- value: `pick_check`
109
- }, {
110
- name: aliasPick ? `Edit "${aliasPick}"` : `Edit alias`,
111
- value: `pick_edit`
112
- }, {
113
- name: aliasPick ? `Delete "${aliasPick}"` : `Delete alias`,
114
- value: `pick_delete`
115
- }]);
116
- const inq1 = yield trm_commons_1.Inquirer.prompt({
117
- name: `action`,
118
- message: `Action`,
119
- type: `list`,
120
- choices: inq1Choices
121
- });
122
- if (inq1.action.startsWith(`pick_`) && !aliasPick) {
123
- const inq2 = yield trm_commons_1.Inquirer.prompt({
124
- name: `aliasPick`,
125
- message: `Select system alias`,
126
- type: `list`,
127
- choices: aAlias.map(o => {
128
- return {
129
- name: o.alias,
130
- value: o.alias
131
- };
132
- })
133
- });
134
- aliasPick = inq2.aliasPick;
135
- }
136
- const oAliasPick = aAlias.find(o => o.alias === aliasPick);
137
- const action = inq1.action.replace(/^pick_/gmi, '');
138
- switch (action) {
139
- case 'create':
140
- yield _create();
141
- break;
142
- case 'view':
143
- _view(oAliasPick);
144
- break;
145
- case 'check':
146
- yield _check(oAliasPick);
147
- break;
148
- case 'edit':
149
- yield _edit(oAliasPick);
150
- break;
151
- case 'delete':
152
- yield _delete(oAliasPick);
153
- break;
154
- }
155
- });
156
- }
@@ -1,5 +0,0 @@
1
- export type AddRegistryArguments = {
2
- registryName: string;
3
- endpoint?: string;
4
- authentication?: string;
5
- };
@@ -1,3 +0,0 @@
1
- export type AliasArguments = {
2
- alias?: string;
3
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- export type CheckArguments = {
2
- package: string;
3
- analysisType?: string;
4
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- export type CompareArguments = {
2
- package: string;
3
- connections?: string;
4
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +0,0 @@
1
- export type ContentArguments = {
2
- package: string;
3
- all: boolean;
4
- version?: string;
5
- r3transPath?: string;
6
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export type CreateAliasArguments = {
2
- alias: string;
3
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export type DeleteAliasArguments = {
2
- alias: string;
3
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- export type FindDependenciesArguments = {
2
- devclass: string;
3
- sapEntries: boolean;
4
- noPrompts: boolean;
5
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,19 +0,0 @@
1
- export type ImportArguments = {
2
- file: string;
3
- noPrompts: boolean;
4
- overwrite: boolean;
5
- safe: boolean;
6
- noDependencies: boolean;
7
- noObjectTypes: boolean;
8
- noSapEntries: boolean;
9
- noLanguageTransport: boolean;
10
- noCustomizingTransport: boolean;
11
- importTimeout: string;
12
- keepOriginalPackages: boolean;
13
- createInstallTransport: boolean;
14
- r3transPath?: string;
15
- integrity?: string;
16
- transportLayer?: string;
17
- packageReplacements?: string;
18
- installTransportTargetSys?: string;
19
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export type InfoArguments = {};
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,20 +0,0 @@
1
- export type InstallArguments = {
2
- package: string;
3
- version?: string;
4
- noPrompts: boolean;
5
- overwrite: boolean;
6
- safe: boolean;
7
- noDependencies: boolean;
8
- noObjectTypes: boolean;
9
- noSapEntries: boolean;
10
- noLanguageTransport: boolean;
11
- noCustomizingTransport: boolean;
12
- importTimeout: string;
13
- keepOriginalPackages: boolean;
14
- createInstallTransport: boolean;
15
- r3transPath?: string;
16
- integrity?: string;
17
- transportLayer?: string;
18
- packageReplacements?: string;
19
- installTransportTargetSys?: string;
20
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export type ListArguments = {
2
- locals: boolean;
3
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- export type LockArguments = {
2
- package: string;
3
- outputPath: string;
4
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- export type LoginArguments = {
2
- authentication?: string;
3
- force: boolean;
4
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export type LogoutArguments = {};
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,22 +0,0 @@
1
- export type PackArguments = {
2
- package: string;
3
- version?: string;
4
- outputPath?: string;
5
- noPrompts: boolean;
6
- noLanguageTransport: boolean;
7
- noDependenciesDetection: boolean;
8
- skipCustomizingTransports: boolean;
9
- releaseTimeout: string;
10
- devclass?: string;
11
- customizingTransports?: string;
12
- transportTarget?: string;
13
- backwardsCompatible: boolean;
14
- description?: string;
15
- git?: string;
16
- website?: string;
17
- license?: string;
18
- authors?: string;
19
- keywords?: string;
20
- dependencies?: string;
21
- sapEntries?: string;
22
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export type PingArguments = {};
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,24 +0,0 @@
1
- export type PublishArguments = {
2
- package: string;
3
- version?: string;
4
- noPrompts: boolean;
5
- private: boolean;
6
- keepLatestReleaseManifestValues: boolean;
7
- noLanguageTransport: boolean;
8
- noDependenciesDetection: boolean;
9
- skipCustomizingTransports: boolean;
10
- releaseTimeout: string;
11
- devclass?: string;
12
- customizingTransports?: string;
13
- readme?: string;
14
- transportTarget?: string;
15
- backwardsCompatible: boolean;
16
- description?: string;
17
- git?: string;
18
- website?: string;
19
- license?: string;
20
- authors?: string;
21
- keywords?: string;
22
- dependencies?: string;
23
- sapEntries?: string;
24
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- export type RemoveRegistryArguments = {
2
- registryName: string;
3
- force: boolean;
4
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export type SettingsArguments = {
2
- set?: string;
3
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- export type UnpublishArguments = {
2
- package: string;
3
- version: string;
4
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- import { InstallArguments } from "./InstallArguments";
2
- export type UpdateArguments = InstallArguments;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export type ViewArguments = {
2
- package: string;
3
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export type WhoAmIArguments = {};
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,24 +0,0 @@
1
- export * from "./PublishArguments";
2
- export * from "./CreateAliasArguments";
3
- export * from "./ConnectArguments";
4
- export * from "./AddRegistryArguments";
5
- export * from "./DeleteAliasArguments";
6
- export * from "./LoginArguments";
7
- export * from "./WhoAmIArguments";
8
- export * from "./LogoutArguments";
9
- export * from "./AliasArguments";
10
- export * from "./ViewArguments";
11
- export * from "./CompareArguments";
12
- export * from "./InstallArguments";
13
- export * from "./ListArguments";
14
- export * from "./PingArguments";
15
- export * from "./InfoArguments";
16
- export * from "./CheckArguments";
17
- export * from "./UnpublishArguments";
18
- export * from "./RemoveRegistryArguments";
19
- export * from "./FindDependenciesArguments";
20
- export * from "./SettingsArgument";
21
- export * from "./UpdateArguments";
22
- export * from "./ContentArguments";
23
- export * from "./PackArguments";
24
- export * from "./LockArguments";
@@ -1,40 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./PublishArguments"), exports);
18
- __exportStar(require("./CreateAliasArguments"), exports);
19
- __exportStar(require("./ConnectArguments"), exports);
20
- __exportStar(require("./AddRegistryArguments"), exports);
21
- __exportStar(require("./DeleteAliasArguments"), exports);
22
- __exportStar(require("./LoginArguments"), exports);
23
- __exportStar(require("./WhoAmIArguments"), exports);
24
- __exportStar(require("./LogoutArguments"), exports);
25
- __exportStar(require("./AliasArguments"), exports);
26
- __exportStar(require("./ViewArguments"), exports);
27
- __exportStar(require("./CompareArguments"), exports);
28
- __exportStar(require("./InstallArguments"), exports);
29
- __exportStar(require("./ListArguments"), exports);
30
- __exportStar(require("./PingArguments"), exports);
31
- __exportStar(require("./InfoArguments"), exports);
32
- __exportStar(require("./CheckArguments"), exports);
33
- __exportStar(require("./UnpublishArguments"), exports);
34
- __exportStar(require("./RemoveRegistryArguments"), exports);
35
- __exportStar(require("./FindDependenciesArguments"), exports);
36
- __exportStar(require("./SettingsArgument"), exports);
37
- __exportStar(require("./UpdateArguments"), exports);
38
- __exportStar(require("./ContentArguments"), exports);
39
- __exportStar(require("./PackArguments"), exports);
40
- __exportStar(require("./LockArguments"), exports);
@@ -1,2 +0,0 @@
1
- import { CheckArguments } from "./arguments";
2
- export declare function check(commandArgs: CheckArguments): Promise<void>;