trm-client 6.1.0 → 6.1.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.
- package/LICENSE +20 -20
- package/README.md +65 -65
- package/changelog.txt +165 -161
- package/dist/index.js +16 -16
- package/dist/systemAlias/SystemAlias.js +1 -1
- package/package.json +65 -65
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
|
-
[](https://github.com/RegestaItalia/trm-docs/blob/main/CODE_OF_CONDUCT.md)
|
|
4
|
-
[](https://github.com/RegestaItalia/trm-client)
|
|
5
|
-
[](https://www.npmjs.com/package/trm-client)
|
|
6
|
-
[](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
|
+
[](https://github.com/RegestaItalia/trm-docs/blob/main/CODE_OF_CONDUCT.md)
|
|
4
|
+
[](https://github.com/RegestaItalia/trm-client)
|
|
5
|
+
[](https://www.npmjs.com/package/trm-client)
|
|
6
|
+
[](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,162 +1,166 @@
|
|
|
1
|
-
trm-client changelog
|
|
2
|
-
=================
|
|
3
|
-
|
|
4
|
-
Legend
|
|
5
|
-
------
|
|
6
|
-
* : fixed
|
|
7
|
-
! : changed
|
|
8
|
-
+ : added
|
|
9
|
-
- : removed
|
|
10
|
-
|
|
11
|
-
2025-10-
|
|
12
|
-
-------------------
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
2025-10-
|
|
16
|
-
-------------------
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
2025-10-21 v6.0.
|
|
20
|
-
-------------------
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
!
|
|
54
|
-
!
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
!
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
-
|
|
161
|
-
|
|
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
|
|
162
166
|
+ pack/import command
|
package/dist/index.js
CHANGED
|
@@ -14,10 +14,10 @@ dotenv_1.default.config({
|
|
|
14
14
|
const program = new commander_1.Command();
|
|
15
15
|
program
|
|
16
16
|
.name(`trm`)
|
|
17
|
-
.description(`TRM - Transport Request Manager CLI
|
|
18
|
-
|
|
19
|
-
Full documentation available at https://docs.trmregistry.com/
|
|
20
|
-
|
|
17
|
+
.description(`TRM - Transport Request Manager CLI
|
|
18
|
+
|
|
19
|
+
Full documentation available at https://docs.trmregistry.com/
|
|
20
|
+
|
|
21
21
|
© 2025 RegestaItalia https://www.regestaitalia.eu/`)
|
|
22
22
|
.version((0, utils_1.getClientVersion)());
|
|
23
23
|
const createAlias = program.command(`createAlias`)
|
|
@@ -76,13 +76,13 @@ const publish = program.command(`publish`)
|
|
|
76
76
|
.argument(`<package>`, `Name of the package to publish.`)
|
|
77
77
|
.argument(`[version]`, `Optional: Version of the package to publish. If not specified, check help text for details.`)
|
|
78
78
|
.description(`Publish package to registry.`)
|
|
79
|
-
.addHelpText(`before`, `When no version argument is defined, it will automatically set to:
|
|
80
|
-
- When it's the first publish: 1.0.0
|
|
81
|
-
- When it's already published: the latest available release with patch increased by 1
|
|
82
|
-
When it's the first publish, full manifest definition is asked.
|
|
83
|
-
When a release is already published, the latest available manifest is used but can be overwritten.
|
|
84
|
-
Translation transport is only generated for packages that contain one or more objects with translations (unless skipped by flag).
|
|
85
|
-
Customizing transport is only generated if a valid list of customizing transports is provided (unless skipped by flag).
|
|
79
|
+
.addHelpText(`before`, `When no version argument is defined, it will automatically set to:
|
|
80
|
+
- When it's the first publish: 1.0.0
|
|
81
|
+
- When it's already published: the latest available release with patch increased by 1
|
|
82
|
+
When it's the first publish, full manifest definition is asked.
|
|
83
|
+
When a release is already published, the latest available manifest is used but can be overwritten.
|
|
84
|
+
Translation transport is only generated for packages that contain one or more objects with translations (unless skipped by flag).
|
|
85
|
+
Customizing transport is only generated if a valid list of customizing transports is provided (unless skipped by flag).
|
|
86
86
|
If a default manifest with dependencies is provided in conjunction with the automatic dependency generation, results will be merged.`)
|
|
87
87
|
.option(`-p, --private`, `Publish package with private visibility.`)
|
|
88
88
|
.option(`-np, --noPrompts`, `No prompts (will force some decisions).`, false)
|
|
@@ -113,9 +113,9 @@ const pack = program.command(`pack`)
|
|
|
113
113
|
.argument(`<package>`, `Name of the package to generate.`)
|
|
114
114
|
.argument(`[version]`, `Optional: Version of the package to generate. If not specified, check help text for details.`)
|
|
115
115
|
.description(`Save package locally.`)
|
|
116
|
-
.addHelpText(`before`, `When no version is defined, it will automatically set to 1.0.0.
|
|
117
|
-
Translation transport is only generated for packages that contain one or more objects with translations (unless skipped by flag).
|
|
118
|
-
Customizing transport is only generated if a valid list of customizing transports is provided (unless skipped by flag).
|
|
116
|
+
.addHelpText(`before`, `When no version is defined, it will automatically set to 1.0.0.
|
|
117
|
+
Translation transport is only generated for packages that contain one or more objects with translations (unless skipped by flag).
|
|
118
|
+
Customizing transport is only generated if a valid list of customizing transports is provided (unless skipped by flag).
|
|
119
119
|
If a default manifest with dependencies is provided in conjunction with the automatic dependency generation, results will be merged.`)
|
|
120
120
|
.option(`-o, --output <outputPath>`, `Output path.`)
|
|
121
121
|
.option(`-np, --noPrompts`, `No prompts (will force some decisions).`, false)
|
|
@@ -176,7 +176,7 @@ const update = program.command(`update`)
|
|
|
176
176
|
.argument(`[package]`, `Name of the package to update.`)
|
|
177
177
|
.argument(`[version]`, `Optional: Target package version to update.`)
|
|
178
178
|
.description(`Update trm-client / Update package from registry into system.`)
|
|
179
|
-
.addHelpText(`before`, `When no package name is specified, trm-client will self-update. All options are invalid, in this case.
|
|
179
|
+
.addHelpText(`before`, `When no package name is specified, trm-client will self-update. All options are invalid, in this case.
|
|
180
180
|
When no version is specified, the latest will be installed.`)
|
|
181
181
|
.option(`-np, --noPrompts`, `No prompts (will force some decisions).`, false)
|
|
182
182
|
.option(`-sf, --safe`, `Safe install (needs package integrity).`, false)
|
|
@@ -233,7 +233,7 @@ const lock = program.command(`lock`)
|
|
|
233
233
|
const view = program.command(`view`)
|
|
234
234
|
.argument(`<package>`, `Name of the package to view.`)
|
|
235
235
|
.description(`View package.`)
|
|
236
|
-
.addHelpText(`before`, `Shows package details.
|
|
236
|
+
.addHelpText(`before`, `Shows package details.
|
|
237
237
|
If the package is not found on the system, it will automatically fall back to the data provided by the registry, granted it exists.`);
|
|
238
238
|
(0, utils_1.registerCommand)(view, {
|
|
239
239
|
requiresConnection: true,
|
|
@@ -62,7 +62,7 @@ class SystemAlias {
|
|
|
62
62
|
if (!connection) {
|
|
63
63
|
throw new Error(`Unknown connection type "${this.type}". Possible values are ${utils_1.Context.getInstance().getConnections().map(k => k.name).join(', ')}.`);
|
|
64
64
|
}
|
|
65
|
-
connection.setData(this._data.data);
|
|
65
|
+
connection.setData(this._data.data || this._data);
|
|
66
66
|
return connection.getSystemConnector();
|
|
67
67
|
}
|
|
68
68
|
static generateFile(content, filePath) {
|
package/package.json
CHANGED
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "trm-client",
|
|
3
|
-
"version": "6.1.
|
|
4
|
-
"description": "TRM (Transport Request Manager) Client",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"changelog.txt",
|
|
9
|
-
"dist",
|
|
10
|
-
"!dist/test.js",
|
|
11
|
-
"!dist/test.js.map",
|
|
12
|
-
"!dist/test.d.ts",
|
|
13
|
-
"!dist/.env",
|
|
14
|
-
"!dist/dev_rfc.log"
|
|
15
|
-
],
|
|
16
|
-
"bin": {
|
|
17
|
-
"trm": "dist/index.js"
|
|
18
|
-
},
|
|
19
|
-
"scripts": {
|
|
20
|
-
"cleanBuild": "rimraf dist/",
|
|
21
|
-
"build": "npm run cleanBuild && tsc --sourceMap false",
|
|
22
|
-
"prepublishOnly": "npm run build"
|
|
23
|
-
},
|
|
24
|
-
"keywords": [
|
|
25
|
-
"trm",
|
|
26
|
-
"abap"
|
|
27
|
-
],
|
|
28
|
-
"homepage": "https://www.trmregistry.com",
|
|
29
|
-
"repository": {
|
|
30
|
-
"type": "git",
|
|
31
|
-
"url": "git+https://github.com/RegestaItalia/trm-client.git"
|
|
32
|
-
},
|
|
33
|
-
"author": {
|
|
34
|
-
"name": "Simone Gaffurini",
|
|
35
|
-
"email": "simone.gaffurini@regestaitalia.it"
|
|
36
|
-
},
|
|
37
|
-
"license": "MIT",
|
|
38
|
-
"dependencies": {
|
|
39
|
-
"@esm2cjs/normalize-url": "^8.0.0",
|
|
40
|
-
"chalk": "^4.1.2",
|
|
41
|
-
"commander": "^11.0.0",
|
|
42
|
-
"dotenv": "^17.2.2",
|
|
43
|
-
"execa": "^9.6.0",
|
|
44
|
-
"get-latest-version": "^5.1.0",
|
|
45
|
-
"get-root-path": "^2.0.2",
|
|
46
|
-
"ini": "^4.1.1",
|
|
47
|
-
"lodash": "^4.17.21",
|
|
48
|
-
"semver": "^7.5.4",
|
|
49
|
-
"trm-commons": "^3.4.2",
|
|
50
|
-
"trm-core": "^8.0.1",
|
|
51
|
-
"trm-registry-types": "^2.0.0",
|
|
52
|
-
"xml2js": "^0.6.2"
|
|
53
|
-
},
|
|
54
|
-
"peerDependencies": {
|
|
55
|
-
"trm-commons": "^3.4.2"
|
|
56
|
-
},
|
|
57
|
-
"devDependencies": {
|
|
58
|
-
"@types/ini": "^1.3.31",
|
|
59
|
-
"@types/lodash": "^4.17.20",
|
|
60
|
-
"@types/node": "^20.4.8",
|
|
61
|
-
"@types/semver": "^7.5.3",
|
|
62
|
-
"@types/xml2js": "^0.4.11",
|
|
63
|
-
"rimraf": "^6.0.1"
|
|
64
|
-
}
|
|
65
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "trm-client",
|
|
3
|
+
"version": "6.1.1",
|
|
4
|
+
"description": "TRM (Transport Request Manager) Client",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"changelog.txt",
|
|
9
|
+
"dist",
|
|
10
|
+
"!dist/test.js",
|
|
11
|
+
"!dist/test.js.map",
|
|
12
|
+
"!dist/test.d.ts",
|
|
13
|
+
"!dist/.env",
|
|
14
|
+
"!dist/dev_rfc.log"
|
|
15
|
+
],
|
|
16
|
+
"bin": {
|
|
17
|
+
"trm": "dist/index.js"
|
|
18
|
+
},
|
|
19
|
+
"scripts": {
|
|
20
|
+
"cleanBuild": "rimraf dist/",
|
|
21
|
+
"build": "npm run cleanBuild && tsc --sourceMap false",
|
|
22
|
+
"prepublishOnly": "npm run build"
|
|
23
|
+
},
|
|
24
|
+
"keywords": [
|
|
25
|
+
"trm",
|
|
26
|
+
"abap"
|
|
27
|
+
],
|
|
28
|
+
"homepage": "https://www.trmregistry.com",
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "git+https://github.com/RegestaItalia/trm-client.git"
|
|
32
|
+
},
|
|
33
|
+
"author": {
|
|
34
|
+
"name": "Simone Gaffurini",
|
|
35
|
+
"email": "simone.gaffurini@regestaitalia.it"
|
|
36
|
+
},
|
|
37
|
+
"license": "MIT",
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@esm2cjs/normalize-url": "^8.0.0",
|
|
40
|
+
"chalk": "^4.1.2",
|
|
41
|
+
"commander": "^11.0.0",
|
|
42
|
+
"dotenv": "^17.2.2",
|
|
43
|
+
"execa": "^9.6.0",
|
|
44
|
+
"get-latest-version": "^5.1.0",
|
|
45
|
+
"get-root-path": "^2.0.2",
|
|
46
|
+
"ini": "^4.1.1",
|
|
47
|
+
"lodash": "^4.17.21",
|
|
48
|
+
"semver": "^7.5.4",
|
|
49
|
+
"trm-commons": "^3.4.2",
|
|
50
|
+
"trm-core": "^8.0.1",
|
|
51
|
+
"trm-registry-types": "^2.0.0",
|
|
52
|
+
"xml2js": "^0.6.2"
|
|
53
|
+
},
|
|
54
|
+
"peerDependencies": {
|
|
55
|
+
"trm-commons": "^3.4.2"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@types/ini": "^1.3.31",
|
|
59
|
+
"@types/lodash": "^4.17.20",
|
|
60
|
+
"@types/node": "^20.4.8",
|
|
61
|
+
"@types/semver": "^7.5.3",
|
|
62
|
+
"@types/xml2js": "^0.4.11",
|
|
63
|
+
"rimraf": "^6.0.1"
|
|
64
|
+
}
|
|
65
|
+
}
|