trm-client 6.1.1 → 7.0.1

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 (186) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +65 -65
  3. package/changelog.txt +184 -165
  4. package/dist/command/AbstractCommand.d.ts +42 -0
  5. package/dist/command/AbstractCommand.js +433 -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 +2 -4
  70. package/dist/utils/index.js +2 -4
  71. package/dist/utils/isDockerRunning.d.ts +1 -0
  72. package/dist/utils/isDockerRunning.js +16 -0
  73. package/package.json +67 -65
  74. package/dist/commands/addRegistry.d.ts +0 -2
  75. package/dist/commands/addRegistry.js +0 -66
  76. package/dist/commands/alias.d.ts +0 -2
  77. package/dist/commands/alias.js +0 -156
  78. package/dist/commands/arguments/AddRegistryArguments.d.ts +0 -5
  79. package/dist/commands/arguments/AliasArguments.d.ts +0 -3
  80. package/dist/commands/arguments/AliasArguments.js +0 -2
  81. package/dist/commands/arguments/CheckArguments.d.ts +0 -4
  82. package/dist/commands/arguments/CheckArguments.js +0 -2
  83. package/dist/commands/arguments/CompareArguments.d.ts +0 -4
  84. package/dist/commands/arguments/CompareArguments.js +0 -2
  85. package/dist/commands/arguments/ConnectArguments.js +0 -2
  86. package/dist/commands/arguments/ContentArguments.d.ts +0 -6
  87. package/dist/commands/arguments/ContentArguments.js +0 -2
  88. package/dist/commands/arguments/CreateAliasArguments.d.ts +0 -3
  89. package/dist/commands/arguments/CreateAliasArguments.js +0 -2
  90. package/dist/commands/arguments/DeleteAliasArguments.d.ts +0 -3
  91. package/dist/commands/arguments/DeleteAliasArguments.js +0 -2
  92. package/dist/commands/arguments/FindDependenciesArguments.d.ts +0 -5
  93. package/dist/commands/arguments/FindDependenciesArguments.js +0 -2
  94. package/dist/commands/arguments/ImportArguments.d.ts +0 -19
  95. package/dist/commands/arguments/ImportArguments.js +0 -2
  96. package/dist/commands/arguments/InfoArguments.d.ts +0 -1
  97. package/dist/commands/arguments/InfoArguments.js +0 -2
  98. package/dist/commands/arguments/InstallArguments.d.ts +0 -20
  99. package/dist/commands/arguments/InstallArguments.js +0 -2
  100. package/dist/commands/arguments/ListArguments.d.ts +0 -3
  101. package/dist/commands/arguments/ListArguments.js +0 -2
  102. package/dist/commands/arguments/LockArguments.d.ts +0 -4
  103. package/dist/commands/arguments/LockArguments.js +0 -2
  104. package/dist/commands/arguments/LoginArguments.d.ts +0 -4
  105. package/dist/commands/arguments/LoginArguments.js +0 -2
  106. package/dist/commands/arguments/LogoutArguments.d.ts +0 -1
  107. package/dist/commands/arguments/LogoutArguments.js +0 -2
  108. package/dist/commands/arguments/PackArguments.d.ts +0 -22
  109. package/dist/commands/arguments/PackArguments.js +0 -2
  110. package/dist/commands/arguments/PingArguments.d.ts +0 -1
  111. package/dist/commands/arguments/PingArguments.js +0 -2
  112. package/dist/commands/arguments/PublishArguments.d.ts +0 -24
  113. package/dist/commands/arguments/PublishArguments.js +0 -2
  114. package/dist/commands/arguments/RemoveRegistryArguments.d.ts +0 -4
  115. package/dist/commands/arguments/RemoveRegistryArguments.js +0 -2
  116. package/dist/commands/arguments/SettingsArgument.d.ts +0 -3
  117. package/dist/commands/arguments/SettingsArgument.js +0 -2
  118. package/dist/commands/arguments/UnpublishArguments.d.ts +0 -4
  119. package/dist/commands/arguments/UnpublishArguments.js +0 -2
  120. package/dist/commands/arguments/UpdateArguments.d.ts +0 -2
  121. package/dist/commands/arguments/UpdateArguments.js +0 -2
  122. package/dist/commands/arguments/ViewArguments.d.ts +0 -3
  123. package/dist/commands/arguments/ViewArguments.js +0 -2
  124. package/dist/commands/arguments/WhoAmIArguments.d.ts +0 -1
  125. package/dist/commands/arguments/WhoAmIArguments.js +0 -2
  126. package/dist/commands/arguments/index.d.ts +0 -24
  127. package/dist/commands/arguments/index.js +0 -40
  128. package/dist/commands/check.d.ts +0 -2
  129. package/dist/commands/check.js +0 -87
  130. package/dist/commands/commons/CommandContext.d.ts +0 -9
  131. package/dist/commands/commons/CommandContext.js +0 -41
  132. package/dist/commands/commons/index.d.ts +0 -2
  133. package/dist/commands/commons/viewRegistryPackage.d.ts +0 -2
  134. package/dist/commands/commons/viewRegistryPackage.js +0 -48
  135. package/dist/commands/compare.d.ts +0 -2
  136. package/dist/commands/compare.js +0 -167
  137. package/dist/commands/content.d.ts +0 -2
  138. package/dist/commands/content.js +0 -182
  139. package/dist/commands/createAlias.d.ts +0 -2
  140. package/dist/commands/deleteAlias.d.ts +0 -2
  141. package/dist/commands/findDependencies.d.ts +0 -2
  142. package/dist/commands/import.d.ts +0 -2
  143. package/dist/commands/import.js +0 -84
  144. package/dist/commands/index.d.ts +0 -27
  145. package/dist/commands/index.js +0 -43
  146. package/dist/commands/info.d.ts +0 -2
  147. package/dist/commands/info.js +0 -233
  148. package/dist/commands/install.d.ts +0 -2
  149. package/dist/commands/install.js +0 -85
  150. package/dist/commands/list.d.ts +0 -2
  151. package/dist/commands/list.js +0 -70
  152. package/dist/commands/lock.d.ts +0 -2
  153. package/dist/commands/lock.js +0 -64
  154. package/dist/commands/login.d.ts +0 -2
  155. package/dist/commands/login.js +0 -59
  156. package/dist/commands/logout.d.ts +0 -2
  157. package/dist/commands/logout.js +0 -27
  158. package/dist/commands/pack.d.ts +0 -2
  159. package/dist/commands/pack.js +0 -95
  160. package/dist/commands/ping.d.ts +0 -2
  161. package/dist/commands/ping.js +0 -21
  162. package/dist/commands/prompts/connect.d.ts +0 -3
  163. package/dist/commands/prompts/index.d.ts +0 -2
  164. package/dist/commands/publish.d.ts +0 -2
  165. package/dist/commands/publish.js +0 -128
  166. package/dist/commands/removeRegistry.d.ts +0 -2
  167. package/dist/commands/removeRegistry.js +0 -36
  168. package/dist/commands/selfUpdate.d.ts +0 -1
  169. package/dist/commands/selfUpdate.js +0 -77
  170. package/dist/commands/settings.d.ts +0 -2
  171. package/dist/commands/settings.js +0 -32
  172. package/dist/commands/unpublish.d.ts +0 -2
  173. package/dist/commands/unpublish.js +0 -61
  174. package/dist/commands/update.d.ts +0 -2
  175. package/dist/commands/update.js +0 -20
  176. package/dist/commands/view.d.ts +0 -2
  177. package/dist/commands/view.js +0 -219
  178. package/dist/commands/whoami.d.ts +0 -2
  179. package/dist/commands/whoami.js +0 -34
  180. package/dist/utils/checkTrmDependencies.d.ts +0 -1
  181. package/dist/utils/checkTrmDependencies.js +0 -43
  182. package/dist/utils/executeCommand.js +0 -213
  183. package/dist/utils/registerCommand.js +0 -93
  184. /package/dist/{commands/arguments/AddRegistryArguments.js → command/RegisterCommandOpts.js} +0 -0
  185. /package/dist/{commands → command}/prompts/pickRegistry.d.ts +0 -0
  186. /package/dist/{commands → command}/prompts/pickRegistry.js +0 -0
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2023 RegestaItalia
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
1
+ MIT License
2
+
3
+ Copyright (c) 2023 RegestaItalia
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
21
  SOFTWARE.
package/README.md CHANGED
@@ -1,65 +1,65 @@
1
- # <a href="https://docs.trmregistry.com/#/server/README"><img src="https://docs.trmregistry.com/_media/logo.png" height="40" alt="TRM"></a>
2
-
3
- [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-1.3.0-4baaaa.svg)](https://github.com/RegestaItalia/trm-docs/blob/main/CODE_OF_CONDUCT.md)
4
- [![trm-client License](https://img.shields.io/github/license/RegestaItalia/trm-client)](https://github.com/RegestaItalia/trm-client)
5
- [![trm-client Latest version](https://img.shields.io/npm/v/trm-client)](https://www.npmjs.com/package/trm-client)
6
- [![trm-client Installs](https://img.shields.io/npm/dt/trm-client)](https://www.npmjs.com/package/trm-client)
7
-
8
- | 🚀 This project is funded and maintained by 🏦 | 🔗 |
9
- |-------------------------------------------------|----------------------------------------------------------------|
10
- | Regesta S.p.A. | [https://www.regestaitalia.eu/](https://www.regestaitalia.eu/) |
11
- | Clarex S.r.l. | [https://www.clarex.it/](https://www.clarex.it/) |
12
-
13
- This is the official CLI implementation of the core functionalities of TRM.
14
-
15
- TRM is a software designed to make transports between SAP ECC/S4 systems easy.
16
-
17
- To find out more about TRM, visit its full [documentation](https://docs.trmregistry.com).
18
-
19
- # Documentation <!-- {docsify-remove} -->
20
-
21
- Full documentation can be seen at [https://docs.trmregistry.com](https://docs.trmregistry.com).
22
-
23
- <!-- START TABLE_OF_CONTENTS.md -->
24
- - [Setup](/docs/setup.md)
25
- - [Commands](/docs/commands.md)
26
- - [Installing your first package](/docs/examples/install.md)
27
- - [Publishing your first package](/docs/examples/publish.md)
28
- - [Integrate with abapGit & Github Actions](/docs/examples/githubActions.md)
29
- <!-- END TABLE_OF_CONTENTS.md -->
30
-
31
- ## Install <!-- {docsify-remove} -->
32
-
33
- First, make sure you have all the [requirements installed](/docs/setup.md#trm-client-requirements).
34
-
35
- You can then install the CLI via npm:
36
-
37
- `npm install trm-client -g`
38
-
39
- ## Commands <!-- {docsify-remove} -->
40
-
41
- List of all commands is available [here](/docs/commands.md).
42
-
43
- ### Demo publish <!-- {docsify-remove} -->
44
-
45
- <p align="center">
46
-   <img src="https://docs.trmregistry.com/_media/publish.gif" />
47
- </p>
48
-
49
- ### Demo install <!-- {docsify-remove} -->
50
-
51
- <p align="center">
52
-   <img src="https://docs.trmregistry.com/_media/install.gif" />
53
- </p>
54
-
55
- # Contributing <!-- {docsify-remove} -->
56
-
57
- Like every other TRM open-source projects, contributions are always welcomed ❤️.
58
-
59
- Make sure to open an issue first.
60
-
61
- Contributions will be merged upon approval.
62
-
63
- [Click here](https://docs.trmregistry.com/#/CONTRIBUTING) for the full list of TRM contribution guidelines.
64
-
65
- [<img src="https://trmregistry.com/public/contributors?image=true">](https://docs.trmregistry.com/#/?id=contributors)
1
+ # <a href="https://docs.trmregistry.com/#/server/README"><img src="https://docs.trmregistry.com/_media/logo.png" height="40" alt="TRM"></a>
2
+
3
+ [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-1.3.0-4baaaa.svg)](https://github.com/RegestaItalia/trm-docs/blob/main/CODE_OF_CONDUCT.md)
4
+ [![trm-client License](https://img.shields.io/github/license/RegestaItalia/trm-client)](https://github.com/RegestaItalia/trm-client)
5
+ [![trm-client Latest version](https://img.shields.io/npm/v/trm-client)](https://www.npmjs.com/package/trm-client)
6
+ [![trm-client Installs](https://img.shields.io/npm/dt/trm-client)](https://www.npmjs.com/package/trm-client)
7
+
8
+ | 🚀 This project is funded and maintained by 🏦 | 🔗 |
9
+ |-------------------------------------------------|----------------------------------------------------------------|
10
+ | Regesta S.p.A. | [https://www.regestaitalia.eu/](https://www.regestaitalia.eu/) |
11
+ | Clarex S.r.l. | [https://www.clarex.it/](https://www.clarex.it/) |
12
+
13
+ This is the official CLI implementation of the core functionalities of TRM.
14
+
15
+ TRM is a software designed to make transports between SAP ECC/S4 systems easy.
16
+
17
+ To find out more about TRM, visit its full [documentation](https://docs.trmregistry.com).
18
+
19
+ # Documentation <!-- {docsify-remove} -->
20
+
21
+ Full documentation can be seen at [https://docs.trmregistry.com](https://docs.trmregistry.com).
22
+
23
+ <!-- START TABLE_OF_CONTENTS.md -->
24
+ - [Setup](/docs/setup.md)
25
+ - [Commands](/docs/commands.md)
26
+ - [Installing your first package](/docs/examples/install.md)
27
+ - [Publishing your first package](/docs/examples/publish.md)
28
+ - [Integrate with abapGit & Github Actions](/docs/examples/githubActions.md)
29
+ <!-- END TABLE_OF_CONTENTS.md -->
30
+
31
+ ## Install <!-- {docsify-remove} -->
32
+
33
+ First, make sure you have all the [requirements installed](/docs/setup.md#trm-client-requirements).
34
+
35
+ You can then install the CLI via npm:
36
+
37
+ `npm install trm-client -g`
38
+
39
+ ## Commands <!-- {docsify-remove} -->
40
+
41
+ List of all commands is available [here](/docs/commands.md).
42
+
43
+ ### Demo publish <!-- {docsify-remove} -->
44
+
45
+ <p align="center">
46
+   <img src="https://docs.trmregistry.com/_media/publish.gif" />
47
+ </p>
48
+
49
+ ### Demo install <!-- {docsify-remove} -->
50
+
51
+ <p align="center">
52
+   <img src="https://docs.trmregistry.com/_media/install.gif" />
53
+ </p>
54
+
55
+ # Contributing <!-- {docsify-remove} -->
56
+
57
+ Like every other TRM open-source projects, contributions are always welcomed ❤️.
58
+
59
+ Make sure to open an issue first.
60
+
61
+ Contributions will be merged upon approval.
62
+
63
+ [Click here](https://docs.trmregistry.com/#/CONTRIBUTING) for the full list of TRM contribution guidelines.
64
+
65
+ [<img src="https://trmregistry.com/public/contributors?image=true">](https://docs.trmregistry.com/#/?id=contributors)
package/changelog.txt CHANGED
@@ -1,166 +1,185 @@
1
- trm-client changelog
2
- =================
3
-
4
- Legend
5
- ------
6
- * : fixed
7
- ! : changed
8
- + : added
9
- - : removed
10
-
11
- 2025-10-29 v6.1.1
12
- -------------------
13
- * fallback to this._data for backward compatibility
14
-
15
- 2025-10-26 v6.1.0
16
- -------------------
17
- + lock command
18
-
19
- 2025-10-21 v6.0.1
20
- -------------------
21
- * dotenv output
22
-
23
- 2025-10-21 v6.0.0
24
- -------------------
25
- ! migrate to registry v2
26
- ! trm-registry-types ^2.0.0
27
- ! trm-core ^8.0.1
28
-
29
- 2025-10-15 v5.2.1
30
- -------------------
31
- * system alias connection data
32
- * typo in update message
33
-
34
- 2025-10-01 v5.2.0
35
- -------------------
36
-
37
- ! trm-core ^7.5.5
38
- ! trm-commons ^3.4.2
39
- * connection data problems
40
- + cache time consuming data
41
- + on after login update alias on changes
42
-
43
- 2025-09-25 v5.1.1
44
- -------------------
45
-
46
- * create alias command
47
- * keep original abap packages name selection
48
-
49
- 2025-09-24 v5.1.0
50
- -------------------
51
-
52
- * alias command view/edit
53
- ! npm global path in settings
54
- ! sap landscape in settings
55
- * sap landscape for mac
56
- + add plugins in info command
57
- ! trm-commons ^3.3.2
58
- ! trm-core ^7.5.3
59
-
60
- 2025-09-09 v5.0.2
61
- -------------------
62
-
63
- * fix no connection
64
- + fallback text for node-rfc and node-r3trans not found in info command
65
- + update command now self updates the client if ran without arguments
66
-
67
- 2025-09-03 v5.0.1
68
- -------------------
69
-
70
- + plugin loadCommons
71
-
72
- 2025-09-03 v5.0.0
73
- -------------------
74
-
75
- ! trm-core ^7.5.1
76
- ! trm-commons ^3.2.0
77
- ! moved settings to context
78
- + plugin calls
79
- + gracefully close connection
80
- ! moved connection prompts to commons
81
-
82
- 2025-08-13 v4.10.0
83
- -------------------
84
-
85
- ! trm-core ^7.4.5
86
- + support for darwin os
87
- + support for r3trans dockerized
88
-
89
- 2025-07-30 v4.9.2
90
- -------------------
91
-
92
- ! trm-commons ^2.0.0 as peer dependency and dependency
93
-
94
- 2025-07-29 v4.9.1
95
- -------------------
96
-
97
- ! trm-core ^7.4.1
98
- ! trm-commons ^2.0.0
99
-
100
- 2025-07-29 v4.9.0
101
- -------------------
102
-
103
- + handle registry unauthorized error
104
- ! trm-core ^7.4.0
105
- ! trm-commons ^1.1.0
106
-
107
- 2025-06-04 v4.8.0
108
- -------------------
109
-
110
- ! trm-core ^7.2.1
111
- ! overwrite flag in install/update ignores existing objects replace
112
-
113
- 2025-06-03 v4.7.0
114
- -------------------
115
-
116
- ! trm-core ^7.0.0
117
-
118
- 2025-05-29 v4.6.1
119
- -------------------
120
-
121
- ! logging error changes
122
- ! trm-core ^6.9.0
123
- + landscape transport to list and view command
124
-
125
- 2025-05-08 v4.6.0
126
- -------------------
127
-
128
- ! trm-core ^6.8.0
129
- * saprouter in alias
130
-
131
- 2025-05-08 v4.5.0
132
- -------------------
133
-
134
- ! trm-core ^6.7.0
135
- ! error handling
136
- * alias command/saprouter alias save
137
- * fix connection validators
138
-
139
- 2025-04-28 v4.4.1
140
- -------------------
141
-
142
- * node-r3trans version read
143
-
144
- 2025-04-28 v4.4.0
145
- -------------------
146
-
147
- ! trm-core ^6.5.0
148
- ! trm-commons ^1.0.0
149
-
150
- 2025-04-28 v4.3.0
151
- -------------------
152
-
153
- ! trm-core ^6.4.1
154
-
155
- 2025-04-23 v4.2.1
156
- -------------------
157
-
158
- * node-r3trans version read
159
-
160
- 2025-02-26 v4.2.0
161
- -------------------
162
-
163
- ! connect to registry via option
164
- - trm dependencies on client
165
- + content command
1
+ trm-client changelog
2
+ =================
3
+
4
+ Legend
5
+ ------
6
+ * : fixed
7
+ ! : changed
8
+ + : added
9
+ - : removed
10
+
11
+ 2025-11-07 v7.0.1
12
+ -------------------
13
+ + docker running check in darwin os
14
+ * hide loading packages with dummy connector
15
+
16
+ 2025-11-07 v7.0.0
17
+ -------------------
18
+ ! trm-core ^8.1.3
19
+ ! command handler
20
+ ! commands arguments
21
+ + deprecate command
22
+ ! createAlias/deleteAlias -> alias create/alias delete
23
+ ! addRegistry/removeRegistry -> registry add/registry rm
24
+
25
+ 2025-11-04 v6.2.0
26
+ -------------------
27
+ ! trm-core ^8.1.1
28
+ + dist-tag commands
29
+
30
+ 2025-10-29 v6.1.1
31
+ -------------------
32
+ * fallback to this._data for backward compatibility
33
+
34
+ 2025-10-26 v6.1.0
35
+ -------------------
36
+ + lock command
37
+
38
+ 2025-10-21 v6.0.1
39
+ -------------------
40
+ * dotenv output
41
+
42
+ 2025-10-21 v6.0.0
43
+ -------------------
44
+ ! migrate to registry v2
45
+ ! trm-registry-types ^2.0.0
46
+ ! trm-core ^8.0.1
47
+
48
+ 2025-10-15 v5.2.1
49
+ -------------------
50
+ * system alias connection data
51
+ * typo in update message
52
+
53
+ 2025-10-01 v5.2.0
54
+ -------------------
55
+
56
+ ! trm-core ^7.5.5
57
+ ! trm-commons ^3.4.2
58
+ * connection data problems
59
+ + cache time consuming data
60
+ + on after login update alias on changes
61
+
62
+ 2025-09-25 v5.1.1
63
+ -------------------
64
+
65
+ * create alias command
66
+ * keep original abap packages name selection
67
+
68
+ 2025-09-24 v5.1.0
69
+ -------------------
70
+
71
+ * alias command view/edit
72
+ ! npm global path in settings
73
+ ! sap landscape in settings
74
+ * sap landscape for mac
75
+ + add plugins in info command
76
+ ! trm-commons ^3.3.2
77
+ ! trm-core ^7.5.3
78
+
79
+ 2025-09-09 v5.0.2
80
+ -------------------
81
+
82
+ * fix no connection
83
+ + fallback text for node-rfc and node-r3trans not found in info command
84
+ + update command now self updates the client if ran without arguments
85
+
86
+ 2025-09-03 v5.0.1
87
+ -------------------
88
+
89
+ + plugin loadCommons
90
+
91
+ 2025-09-03 v5.0.0
92
+ -------------------
93
+
94
+ ! trm-core ^7.5.1
95
+ ! trm-commons ^3.2.0
96
+ ! moved settings to context
97
+ + plugin calls
98
+ + gracefully close connection
99
+ ! moved connection prompts to commons
100
+
101
+ 2025-08-13 v4.10.0
102
+ -------------------
103
+
104
+ ! trm-core ^7.4.5
105
+ + support for darwin os
106
+ + support for r3trans dockerized
107
+
108
+ 2025-07-30 v4.9.2
109
+ -------------------
110
+
111
+ ! trm-commons ^2.0.0 as peer dependency and dependency
112
+
113
+ 2025-07-29 v4.9.1
114
+ -------------------
115
+
116
+ ! trm-core ^7.4.1
117
+ ! trm-commons ^2.0.0
118
+
119
+ 2025-07-29 v4.9.0
120
+ -------------------
121
+
122
+ + handle registry unauthorized error
123
+ ! trm-core ^7.4.0
124
+ ! trm-commons ^1.1.0
125
+
126
+ 2025-06-04 v4.8.0
127
+ -------------------
128
+
129
+ ! trm-core ^7.2.1
130
+ ! overwrite flag in install/update ignores existing objects replace
131
+
132
+ 2025-06-03 v4.7.0
133
+ -------------------
134
+
135
+ ! trm-core ^7.0.0
136
+
137
+ 2025-05-29 v4.6.1
138
+ -------------------
139
+
140
+ ! logging error changes
141
+ ! trm-core ^6.9.0
142
+ + landscape transport to list and view command
143
+
144
+ 2025-05-08 v4.6.0
145
+ -------------------
146
+
147
+ ! trm-core ^6.8.0
148
+ * saprouter in alias
149
+
150
+ 2025-05-08 v4.5.0
151
+ -------------------
152
+
153
+ ! trm-core ^6.7.0
154
+ ! error handling
155
+ * alias command/saprouter alias save
156
+ * fix connection validators
157
+
158
+ 2025-04-28 v4.4.1
159
+ -------------------
160
+
161
+ * node-r3trans version read
162
+
163
+ 2025-04-28 v4.4.0
164
+ -------------------
165
+
166
+ ! trm-core ^6.5.0
167
+ ! trm-commons ^1.0.0
168
+
169
+ 2025-04-28 v4.3.0
170
+ -------------------
171
+
172
+ ! trm-core ^6.4.1
173
+
174
+ 2025-04-23 v4.2.1
175
+ -------------------
176
+
177
+ * node-r3trans version read
178
+
179
+ 2025-02-26 v4.2.0
180
+ -------------------
181
+
182
+ ! connect to registry via option
183
+ - trm dependencies on client
184
+ + content command
166
185
  + pack/import command
@@ -0,0 +1,42 @@
1
+ import { Command } from "commander";
2
+ import { RegisterCommandOpts } from "./RegisterCommandOpts";
3
+ import { CliVersionStatus } from "../utils";
4
+ import * as Core from "trm-core";
5
+ import { Package } from "trm-registry-types";
6
+ export declare abstract class AbstractCommand {
7
+ protected readonly name: string;
8
+ protected readonly aliases?: string[];
9
+ protected command: Command;
10
+ protected registerOpts: RegisterCommandOpts;
11
+ protected args: any;
12
+ private cliVersionStatus;
13
+ private registry;
14
+ private registryAuthData;
15
+ private registryAuthFailed;
16
+ private systemPackages;
17
+ private trmDependenciesCheck;
18
+ constructor(program: Command, name: string, aliases?: string[]);
19
+ getCliVersionStatus(): Promise<CliVersionStatus>;
20
+ getRegistry(): Core.AbstractRegistry;
21
+ hasRegistryAuthData(): boolean;
22
+ getRegistryAuthError(): Error;
23
+ registryWhoAmI(): Promise<void>;
24
+ viewRegistryPackage(packageName: string, print?: boolean): Promise<Package>;
25
+ getSystemPackages(): Promise<Core.TrmPackage[]>;
26
+ getTrmDependenciesCheck(): Promise<Core.CheckTrmDependencies>;
27
+ protected abstract init(): void;
28
+ protected abstract handler(): Promise<void>;
29
+ register(): void;
30
+ private getLogger;
31
+ private getInquirer;
32
+ private parseCommandArgs;
33
+ protected onArgs(): void;
34
+ protected onTrmDepMissing(dependency: string): boolean;
35
+ protected onTrmDepVersionNotSatisfied(trmPackage: Core.TrmPackage): boolean;
36
+ private checkTrmDependencies;
37
+ parseTextArg(name: string): string;
38
+ parseJsonArg(name: string): any;
39
+ parseArrayArg(name: string): string[];
40
+ parseNumberArg(name: string): number;
41
+ private execute;
42
+ }