trm-core 7.4.5 → 7.4.6
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 +35 -35
- package/changelog.txt +148 -144
- package/dist/actions/publish/setManifestValues.js +24 -31
- package/package.json +97 -97
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,35 +1,35 @@
|
|
|
1
|
-
# <a href="https://docs.trmregistry.com/"><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-core)
|
|
5
|
-
[](https://www.npmjs.com/package/trm-core)
|
|
6
|
-
[](https://www.npmjs.com/package/trm-core)
|
|
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 module contains the core functionalities of [TRM (Transport Request Manager)](https://trmregistry.com/).
|
|
14
|
-
|
|
15
|
-
TRM is a software designed to make transports between SAP ECC/S4 systems easy.
|
|
16
|
-
|
|
17
|
-
# Requirements
|
|
18
|
-
|
|
19
|
-
- [Node >=22.12.0](https://github.com/nodejs/node/releases/tag/v22.12.0)
|
|
20
|
-
|
|
21
|
-
# Documentation <!-- {docsify-remove} -->
|
|
22
|
-
|
|
23
|
-
Full documentation can be seen at [https://docs.trmregistry.com/](https://docs.trmregistry.com).
|
|
24
|
-
|
|
25
|
-
# Contributing <!-- {docsify-remove} -->
|
|
26
|
-
|
|
27
|
-
Like every other TRM open-source projects, contributions are always welcomed ❤️.
|
|
28
|
-
|
|
29
|
-
Make sure to open an issue first.
|
|
30
|
-
|
|
31
|
-
Contributions will be merged upon approval.
|
|
32
|
-
|
|
33
|
-
[Click here](https://docs.trmregistry.com/#/CONTRIBUTING) for the full list of TRM contribution guidelines.
|
|
34
|
-
|
|
35
|
-
[<img src="https://trmregistry.com/public/contributors?image=true">](https://docs.trmregistry.com/#/?id=contributors)
|
|
1
|
+
# <a href="https://docs.trmregistry.com/"><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-core)
|
|
5
|
+
[](https://www.npmjs.com/package/trm-core)
|
|
6
|
+
[](https://www.npmjs.com/package/trm-core)
|
|
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 module contains the core functionalities of [TRM (Transport Request Manager)](https://trmregistry.com/).
|
|
14
|
+
|
|
15
|
+
TRM is a software designed to make transports between SAP ECC/S4 systems easy.
|
|
16
|
+
|
|
17
|
+
# Requirements
|
|
18
|
+
|
|
19
|
+
- [Node >=22.12.0](https://github.com/nodejs/node/releases/tag/v22.12.0)
|
|
20
|
+
|
|
21
|
+
# Documentation <!-- {docsify-remove} -->
|
|
22
|
+
|
|
23
|
+
Full documentation can be seen at [https://docs.trmregistry.com/](https://docs.trmregistry.com).
|
|
24
|
+
|
|
25
|
+
# Contributing <!-- {docsify-remove} -->
|
|
26
|
+
|
|
27
|
+
Like every other TRM open-source projects, contributions are always welcomed ❤️.
|
|
28
|
+
|
|
29
|
+
Make sure to open an issue first.
|
|
30
|
+
|
|
31
|
+
Contributions will be merged upon approval.
|
|
32
|
+
|
|
33
|
+
[Click here](https://docs.trmregistry.com/#/CONTRIBUTING) for the full list of TRM contribution guidelines.
|
|
34
|
+
|
|
35
|
+
[<img src="https://trmregistry.com/public/contributors?image=true">](https://docs.trmregistry.com/#/?id=contributors)
|
package/changelog.txt
CHANGED
|
@@ -1,145 +1,149 @@
|
|
|
1
|
-
trm-core changelog
|
|
2
|
-
=================
|
|
3
|
-
|
|
4
|
-
Legend
|
|
5
|
-
------
|
|
6
|
-
* : fixed
|
|
7
|
-
! : changed
|
|
8
|
-
+ : added
|
|
9
|
-
- : removed
|
|
10
|
-
|
|
11
|
-
2025-08-
|
|
12
|
-
-------------------
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
2025-07-30 v7.4.
|
|
21
|
-
-------------------
|
|
22
|
-
!
|
|
23
|
-
|
|
24
|
-
2025-07-
|
|
25
|
-
-------------------
|
|
26
|
-
!
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
!
|
|
32
|
-
|
|
33
|
-
2025-07-29 7.4.
|
|
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
|
-
2025-06-03 v7.
|
|
59
|
-
-------------------
|
|
60
|
-
*
|
|
61
|
-
|
|
62
|
-
2025-06-03 v7.
|
|
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
|
-
2025-05-
|
|
90
|
-
-------------------
|
|
91
|
-
! trm-server
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
*
|
|
97
|
-
+
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
!
|
|
109
|
-
|
|
110
|
-
2025-05-
|
|
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
|
-
+ add
|
|
143
|
-
+
|
|
144
|
-
|
|
1
|
+
trm-core changelog
|
|
2
|
+
=================
|
|
3
|
+
|
|
4
|
+
Legend
|
|
5
|
+
------
|
|
6
|
+
* : fixed
|
|
7
|
+
! : changed
|
|
8
|
+
+ : added
|
|
9
|
+
- : removed
|
|
10
|
+
|
|
11
|
+
2025-08-27 v7.4.6
|
|
12
|
+
-------------------
|
|
13
|
+
* template manifest values
|
|
14
|
+
|
|
15
|
+
2025-08-17 v7.4.5
|
|
16
|
+
-------------------
|
|
17
|
+
! node-r3trans ^2.0.1
|
|
18
|
+
* r3trans options in getContent method
|
|
19
|
+
|
|
20
|
+
2025-07-30 v7.4.4
|
|
21
|
+
-------------------
|
|
22
|
+
! node-r3trans ^2.0.0
|
|
23
|
+
|
|
24
|
+
2025-07-30 v7.4.3
|
|
25
|
+
-------------------
|
|
26
|
+
! trm-commons ^2.0.0 as peer dependency
|
|
27
|
+
|
|
28
|
+
2025-07-29 v7.4.2
|
|
29
|
+
-------------------
|
|
30
|
+
! enforce node engine >=22.12.0 with post install script
|
|
31
|
+
! protocol-registry ^2.0.0
|
|
32
|
+
|
|
33
|
+
2025-07-29 7.4.1
|
|
34
|
+
-------------------
|
|
35
|
+
! trm-commons ^2.0.0
|
|
36
|
+
|
|
37
|
+
2025-07-29 7.4.0
|
|
38
|
+
-------------------
|
|
39
|
+
- dependency install doesn't ask for cust/lang/package replacements anymore if not needed
|
|
40
|
+
! install asks for cust/lang/package replacements when not provided by default parameter
|
|
41
|
+
! import logger shows package name
|
|
42
|
+
! trm-commons ^1.1.0
|
|
43
|
+
! trm-server ^5.0.0
|
|
44
|
+
! set/overwrite dependencies with or without automatic detection
|
|
45
|
+
+ manifest template for post activities, trm dependency and sap entries
|
|
46
|
+
* local package install
|
|
47
|
+
|
|
48
|
+
2025-07-08 v7.3.0
|
|
49
|
+
-------------------
|
|
50
|
+
+ enforce node engine ^22.12.0 with post install script
|
|
51
|
+
* install package hierarchy
|
|
52
|
+
|
|
53
|
+
2025-06-04 v7.2.1
|
|
54
|
+
-------------------
|
|
55
|
+
* inquirer/logger prefix on install dependency
|
|
56
|
+
+ removed useless wb transport find on package first install
|
|
57
|
+
|
|
58
|
+
2025-06-03 v7.2.0
|
|
59
|
+
-------------------
|
|
60
|
+
* find dependency with custom object not found without devc reference
|
|
61
|
+
|
|
62
|
+
2025-06-03 v7.1.0
|
|
63
|
+
-------------------
|
|
64
|
+
* change tr owner on install tr update
|
|
65
|
+
|
|
66
|
+
2025-06-03 v7.0.0
|
|
67
|
+
-------------------
|
|
68
|
+
! trm-server ^4.0.0
|
|
69
|
+
+ change tr owner on install tr update
|
|
70
|
+
|
|
71
|
+
2025-05-29 v6.9.1
|
|
72
|
+
-------------------
|
|
73
|
+
* remote function for updating server
|
|
74
|
+
+ confirm if objects exists but no root sap package found
|
|
75
|
+
|
|
76
|
+
2025-05-29 v6.9.0
|
|
77
|
+
-------------------
|
|
78
|
+
! check server api auth before install and publish
|
|
79
|
+
! trm-server ^3.1.0
|
|
80
|
+
! read wb transport from package
|
|
81
|
+
|
|
82
|
+
2025-05-27 v6.8.0
|
|
83
|
+
-------------------
|
|
84
|
+
! on install transport update, check tasks before add object attempt
|
|
85
|
+
* commit before post activity run on RFC
|
|
86
|
+
* post activity error log
|
|
87
|
+
+ node-rfc #327 -> device or resource busy, added workaround
|
|
88
|
+
|
|
89
|
+
2025-05-20 v6.7.1
|
|
90
|
+
-------------------
|
|
91
|
+
! get installed packages from backend with trm-server version check
|
|
92
|
+
|
|
93
|
+
2025-05-14 v6.7.0
|
|
94
|
+
-------------------
|
|
95
|
+
! trm-server ^3.0.0
|
|
96
|
+
* abapgit ignored objects
|
|
97
|
+
+ post activity pre check
|
|
98
|
+
+ get installed packages from backend where possible
|
|
99
|
+
+ regen SAPLZTRM before post activity
|
|
100
|
+
* rest sap-client
|
|
101
|
+
+ keep track of post activities based on latest release
|
|
102
|
+
|
|
103
|
+
2025-05-08 v6.6.0
|
|
104
|
+
-------------------
|
|
105
|
+
* no integrity with trm-server/trm-rest dependency allowed
|
|
106
|
+
! REST Client and RFC Client error generic -> specific
|
|
107
|
+
! REST Client error xml body parsing with title as message
|
|
108
|
+
! trm-server ^2.2.2
|
|
109
|
+
|
|
110
|
+
2025-05-08 v6.5.1
|
|
111
|
+
-------------------
|
|
112
|
+
! rest error handling
|
|
113
|
+
|
|
114
|
+
2025-05-05 v6.5.0
|
|
115
|
+
-------------------
|
|
116
|
+
! trm-commons ^1.0.0
|
|
117
|
+
* upgrade trm-server fixes
|
|
118
|
+
* core package.json location find
|
|
119
|
+
|
|
120
|
+
2025-04-28 v6.4.1
|
|
121
|
+
-------------------
|
|
122
|
+
|
|
123
|
+
! node-r3trans ^1.5.0
|
|
124
|
+
|
|
125
|
+
2025-04-28 v6.4.0
|
|
126
|
+
-------------------
|
|
127
|
+
|
|
128
|
+
+ post activities in abap manifest
|
|
129
|
+
* return exception type for REST client
|
|
130
|
+
|
|
131
|
+
2025-02-06 v6.3.0
|
|
132
|
+
-------------------
|
|
133
|
+
|
|
134
|
+
* upgrading package remove previous ZTRM comments in workbench (import) transport
|
|
135
|
+
+ fetch package remote content
|
|
136
|
+
* fix translation transport generation
|
|
137
|
+
+ move trm package dependencies to core
|
|
138
|
+
+ transport migration on overwrite
|
|
139
|
+
! DEVC, CUST and LANG are now TRM relevant
|
|
140
|
+
* root superpackage on devc tr import blank
|
|
141
|
+
+ clear state on package install (remove from skipped transports)
|
|
142
|
+
+ add abapgit source code to TRM artifact
|
|
143
|
+
+ skip ignored objects listed in .abapgit.xml
|
|
144
|
+
+ add namespace in manifest
|
|
145
|
+
! abstract registry for custom implementation
|
|
146
|
+
+ add file system registry for local publish and install
|
|
147
|
+
+ add post activities
|
|
148
|
+
! cache transports in dependency detection for performance issues on big packages
|
|
145
149
|
* check object existance before install
|
|
@@ -277,19 +277,7 @@ exports.setManifestValues = {
|
|
|
277
277
|
context.runtime.trmPackage.manifest.registry = context.rawInput.packageData.registry.endpoint;
|
|
278
278
|
}
|
|
279
279
|
if (!context.rawInput.contextData.noInquirer) {
|
|
280
|
-
|
|
281
|
-
if (inqDefault1.length === 0) {
|
|
282
|
-
inqDefault1.push({
|
|
283
|
-
name: '<<class name>>',
|
|
284
|
-
parameters: [{
|
|
285
|
-
name: '<<parameter1>>',
|
|
286
|
-
value: '<<value1>>'
|
|
287
|
-
}, {
|
|
288
|
-
name: '<<parameter2>>',
|
|
289
|
-
value: '<<value2>>'
|
|
290
|
-
}]
|
|
291
|
-
});
|
|
292
|
-
}
|
|
280
|
+
const inqDefault1 = context.runtime.trmPackage.manifest.postActivities || [];
|
|
293
281
|
const inq = yield trm_commons_1.Inquirer.prompt([{
|
|
294
282
|
message: context.runtime.trmPackage.manifest.postActivities.length > 0 ? `Do you want to edit ${context.runtime.trmPackage.manifest.postActivities.length} post activities?` : `Do you want to add post activities?`,
|
|
295
283
|
type: 'confirm',
|
|
@@ -303,7 +291,16 @@ exports.setManifestValues = {
|
|
|
303
291
|
when: (hash) => {
|
|
304
292
|
return hash.editPostActivities;
|
|
305
293
|
},
|
|
306
|
-
default: JSON.stringify(inqDefault1
|
|
294
|
+
default: JSON.stringify(inqDefault1.length === 0 ? [{
|
|
295
|
+
name: '<<class name>>',
|
|
296
|
+
parameters: [{
|
|
297
|
+
name: '<<parameter1>>',
|
|
298
|
+
value: '<<value1>>'
|
|
299
|
+
}, {
|
|
300
|
+
name: '<<parameter2>>',
|
|
301
|
+
value: '<<value2>>'
|
|
302
|
+
}]
|
|
303
|
+
}] : inqDefault1, null, 2),
|
|
307
304
|
validate: (input) => {
|
|
308
305
|
try {
|
|
309
306
|
const parsedInput = JSON.parse(input);
|
|
@@ -350,14 +347,7 @@ exports.setManifestValues = {
|
|
|
350
347
|
});
|
|
351
348
|
}
|
|
352
349
|
if (!context.rawInput.contextData.noInquirer) {
|
|
353
|
-
|
|
354
|
-
if (inqDefault2.length === 0) {
|
|
355
|
-
inqDefault2.push({
|
|
356
|
-
name: '<<name>>',
|
|
357
|
-
version: '<<version>>',
|
|
358
|
-
registry: '<<registry?>>'
|
|
359
|
-
});
|
|
360
|
-
}
|
|
350
|
+
const inqDefault2 = context.runtime.trmPackage.manifest.dependencies || [];
|
|
361
351
|
const inq = yield trm_commons_1.Inquirer.prompt([{
|
|
362
352
|
message: `Do you want to manually edit dependencies?`,
|
|
363
353
|
type: 'confirm',
|
|
@@ -371,7 +361,11 @@ exports.setManifestValues = {
|
|
|
371
361
|
when: (hash) => {
|
|
372
362
|
return hash.editDependencies;
|
|
373
363
|
},
|
|
374
|
-
default: JSON.stringify(inqDefault2
|
|
364
|
+
default: JSON.stringify(inqDefault2.length === 0 ? [{
|
|
365
|
+
name: '<<name>>',
|
|
366
|
+
version: '<<version>>',
|
|
367
|
+
registry: '<<registry?>>'
|
|
368
|
+
}] : inqDefault2, null, 2),
|
|
375
369
|
validate: (input) => {
|
|
376
370
|
try {
|
|
377
371
|
const parsedInput = JSON.parse(input);
|
|
@@ -393,13 +387,7 @@ exports.setManifestValues = {
|
|
|
393
387
|
}
|
|
394
388
|
}
|
|
395
389
|
if (!context.rawInput.contextData.noInquirer) {
|
|
396
|
-
|
|
397
|
-
if (Object.keys(inqDefault3).length === 0) {
|
|
398
|
-
inqDefault3['<<table>>'] = [{
|
|
399
|
-
'<<field1>>': '<<value1>>',
|
|
400
|
-
'<<field2>>': '<<value2>>'
|
|
401
|
-
}];
|
|
402
|
-
}
|
|
390
|
+
const inqDefault3 = context.runtime.trmPackage.manifest.sapEntries || {};
|
|
403
391
|
const inq = yield trm_commons_1.Inquirer.prompt([{
|
|
404
392
|
message: `Do you want to manually required SAP objects?`,
|
|
405
393
|
type: 'confirm',
|
|
@@ -413,7 +401,12 @@ exports.setManifestValues = {
|
|
|
413
401
|
when: (hash) => {
|
|
414
402
|
return hash.editSapEntries;
|
|
415
403
|
},
|
|
416
|
-
default: JSON.stringify(inqDefault3
|
|
404
|
+
default: JSON.stringify(Object.keys(inqDefault3).length === 0 ? {
|
|
405
|
+
'<<table>>': [{
|
|
406
|
+
'<<field1>>': '<<value1>>',
|
|
407
|
+
'<<field2>>': '<<value2>>'
|
|
408
|
+
}]
|
|
409
|
+
} : inqDefault3, null, 2),
|
|
417
410
|
validate: (input) => {
|
|
418
411
|
try {
|
|
419
412
|
const parsedInput = JSON.parse(input);
|
package/package.json
CHANGED
|
@@ -1,97 +1,97 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "trm-core",
|
|
3
|
-
"version": "7.4.
|
|
4
|
-
"description": "TRM (Transport Request Manager) Core",
|
|
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
|
-
"scripts": {
|
|
17
|
-
"cleanBuild": "rimraf dist/",
|
|
18
|
-
"build": "npm run cleanBuild && tsc --sourceMap false",
|
|
19
|
-
"test": "jest",
|
|
20
|
-
"prepublishOnly": "npm run build",
|
|
21
|
-
"postinstall": "node dist/scripts/checkEngine.js"
|
|
22
|
-
},
|
|
23
|
-
"keywords": [
|
|
24
|
-
"trm",
|
|
25
|
-
"abap"
|
|
26
|
-
],
|
|
27
|
-
"homepage": "https://www.trmregistry.com",
|
|
28
|
-
"repository": {
|
|
29
|
-
"type": "git",
|
|
30
|
-
"url": "git+https://github.com/RegestaItalia/trm-core.git"
|
|
31
|
-
},
|
|
32
|
-
"author": {
|
|
33
|
-
"name": "Simone Gaffurini",
|
|
34
|
-
"email": "simone.gaffurini@regestaitalia.it"
|
|
35
|
-
},
|
|
36
|
-
"license": "MIT",
|
|
37
|
-
"trmDependencies": {
|
|
38
|
-
"trm-server": "^5.0.0"
|
|
39
|
-
},
|
|
40
|
-
"dependencies": {
|
|
41
|
-
"@esm2cjs/normalize-url": "^8.0.0",
|
|
42
|
-
"@inquirer/prompts": "^7.8.1",
|
|
43
|
-
"@simonegaffurini/sammarksworkflow": "^1.3.2-fork",
|
|
44
|
-
"@xmldom/xmldom": "^0.9.8",
|
|
45
|
-
"adm-zip": "^0.5.10",
|
|
46
|
-
"axios": "^1.7.9",
|
|
47
|
-
"chalk": "^4.1.2",
|
|
48
|
-
"cli-progress": "^3.12.0",
|
|
49
|
-
"dotenv": "^16.3.1",
|
|
50
|
-
"email-validator": "^2.0.4",
|
|
51
|
-
"express": "^4.18.2",
|
|
52
|
-
"get-root-path": "^3.0.1",
|
|
53
|
-
"get-stack-trace": "^3.1.1",
|
|
54
|
-
"lodash": "^4.17.21",
|
|
55
|
-
"minimatch": "^10.0.1",
|
|
56
|
-
"node-html-parser": "^7.0.1",
|
|
57
|
-
"node-r3trans": "^2.0.1",
|
|
58
|
-
"object-keys-normalizer": "^1.0.1",
|
|
59
|
-
"opener": "^1.5.2",
|
|
60
|
-
"parse-multipart-data": "^1.5.0",
|
|
61
|
-
"protocol-registry": "^2.0.0",
|
|
62
|
-
"semver": "^7.5.4",
|
|
63
|
-
"semver-sort": "^1.0.0",
|
|
64
|
-
"spdx-license-ids": "^3.0.13",
|
|
65
|
-
"trm-registry-types": "^1.1.1",
|
|
66
|
-
"uuid": "^9.0.1",
|
|
67
|
-
"xml-beautify": "^1.2.3",
|
|
68
|
-
"xml-js": "^1.6.11"
|
|
69
|
-
},
|
|
70
|
-
"peerDependencies": {
|
|
71
|
-
"trm-commons": "^2.0.0"
|
|
72
|
-
},
|
|
73
|
-
"devDependencies": {
|
|
74
|
-
"@types/adm-zip": "^0.5.0",
|
|
75
|
-
"@types/cli-progress": "^3.11.3",
|
|
76
|
-
"@types/debug": "^4.1.12",
|
|
77
|
-
"@types/express": "^4.17.17",
|
|
78
|
-
"@types/inquirer": "^9.0.3",
|
|
79
|
-
"@types/jest": "^29.5.12",
|
|
80
|
-
"@types/lodash": "^4.14.202",
|
|
81
|
-
"@types/node": "^20.4.4",
|
|
82
|
-
"@types/opener": "^1.4.0",
|
|
83
|
-
"@types/semver": "^7.5.0",
|
|
84
|
-
"@types/semver-sort": "^0.0.1",
|
|
85
|
-
"@types/stack-trace": "^0.0.33",
|
|
86
|
-
"@types/uuid": "^9.0.8",
|
|
87
|
-
"jest": "^29.7.0",
|
|
88
|
-
"rimraf": "^6.0.1",
|
|
89
|
-
"trm-commons": "^2.0.0",
|
|
90
|
-
"ts-jest": "^29.1.2",
|
|
91
|
-
"ts-node": "^10.9.2",
|
|
92
|
-
"typescript": "^5.8.2"
|
|
93
|
-
},
|
|
94
|
-
"engines": {
|
|
95
|
-
"node": ">=22.12.0"
|
|
96
|
-
}
|
|
97
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "trm-core",
|
|
3
|
+
"version": "7.4.6",
|
|
4
|
+
"description": "TRM (Transport Request Manager) Core",
|
|
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
|
+
"scripts": {
|
|
17
|
+
"cleanBuild": "rimraf dist/",
|
|
18
|
+
"build": "npm run cleanBuild && tsc --sourceMap false",
|
|
19
|
+
"test": "jest",
|
|
20
|
+
"prepublishOnly": "npm run build",
|
|
21
|
+
"postinstall": "node dist/scripts/checkEngine.js"
|
|
22
|
+
},
|
|
23
|
+
"keywords": [
|
|
24
|
+
"trm",
|
|
25
|
+
"abap"
|
|
26
|
+
],
|
|
27
|
+
"homepage": "https://www.trmregistry.com",
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "git+https://github.com/RegestaItalia/trm-core.git"
|
|
31
|
+
},
|
|
32
|
+
"author": {
|
|
33
|
+
"name": "Simone Gaffurini",
|
|
34
|
+
"email": "simone.gaffurini@regestaitalia.it"
|
|
35
|
+
},
|
|
36
|
+
"license": "MIT",
|
|
37
|
+
"trmDependencies": {
|
|
38
|
+
"trm-server": "^5.0.0"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@esm2cjs/normalize-url": "^8.0.0",
|
|
42
|
+
"@inquirer/prompts": "^7.8.1",
|
|
43
|
+
"@simonegaffurini/sammarksworkflow": "^1.3.2-fork",
|
|
44
|
+
"@xmldom/xmldom": "^0.9.8",
|
|
45
|
+
"adm-zip": "^0.5.10",
|
|
46
|
+
"axios": "^1.7.9",
|
|
47
|
+
"chalk": "^4.1.2",
|
|
48
|
+
"cli-progress": "^3.12.0",
|
|
49
|
+
"dotenv": "^16.3.1",
|
|
50
|
+
"email-validator": "^2.0.4",
|
|
51
|
+
"express": "^4.18.2",
|
|
52
|
+
"get-root-path": "^3.0.1",
|
|
53
|
+
"get-stack-trace": "^3.1.1",
|
|
54
|
+
"lodash": "^4.17.21",
|
|
55
|
+
"minimatch": "^10.0.1",
|
|
56
|
+
"node-html-parser": "^7.0.1",
|
|
57
|
+
"node-r3trans": "^2.0.1",
|
|
58
|
+
"object-keys-normalizer": "^1.0.1",
|
|
59
|
+
"opener": "^1.5.2",
|
|
60
|
+
"parse-multipart-data": "^1.5.0",
|
|
61
|
+
"protocol-registry": "^2.0.0",
|
|
62
|
+
"semver": "^7.5.4",
|
|
63
|
+
"semver-sort": "^1.0.0",
|
|
64
|
+
"spdx-license-ids": "^3.0.13",
|
|
65
|
+
"trm-registry-types": "^1.1.1",
|
|
66
|
+
"uuid": "^9.0.1",
|
|
67
|
+
"xml-beautify": "^1.2.3",
|
|
68
|
+
"xml-js": "^1.6.11"
|
|
69
|
+
},
|
|
70
|
+
"peerDependencies": {
|
|
71
|
+
"trm-commons": "^2.0.0"
|
|
72
|
+
},
|
|
73
|
+
"devDependencies": {
|
|
74
|
+
"@types/adm-zip": "^0.5.0",
|
|
75
|
+
"@types/cli-progress": "^3.11.3",
|
|
76
|
+
"@types/debug": "^4.1.12",
|
|
77
|
+
"@types/express": "^4.17.17",
|
|
78
|
+
"@types/inquirer": "^9.0.3",
|
|
79
|
+
"@types/jest": "^29.5.12",
|
|
80
|
+
"@types/lodash": "^4.14.202",
|
|
81
|
+
"@types/node": "^20.4.4",
|
|
82
|
+
"@types/opener": "^1.4.0",
|
|
83
|
+
"@types/semver": "^7.5.0",
|
|
84
|
+
"@types/semver-sort": "^0.0.1",
|
|
85
|
+
"@types/stack-trace": "^0.0.33",
|
|
86
|
+
"@types/uuid": "^9.0.8",
|
|
87
|
+
"jest": "^29.7.0",
|
|
88
|
+
"rimraf": "^6.0.1",
|
|
89
|
+
"trm-commons": "^2.0.0",
|
|
90
|
+
"ts-jest": "^29.1.2",
|
|
91
|
+
"ts-node": "^10.9.2",
|
|
92
|
+
"typescript": "^5.8.2"
|
|
93
|
+
},
|
|
94
|
+
"engines": {
|
|
95
|
+
"node": ">=22.12.0"
|
|
96
|
+
}
|
|
97
|
+
}
|