trm-core 9.1.0 → 9.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/changelog.txt CHANGED
@@ -8,6 +8,10 @@ Legend
8
8
  + : added
9
9
  - : removed
10
10
 
11
+ 2026-04-22 v9.1.1
12
+ -------------------
13
+ + import devc flag when all replacements are identical
14
+
11
15
  2026-04-21 v9.1.0
12
16
  -------------------
13
17
  ! abstract registry log for downloads
@@ -134,5 +134,15 @@ exports.setInstallDevclass = {
134
134
  });
135
135
  });
136
136
  yield systemConnector_1.SystemConnector.setInstallDevc(installDevc);
137
+ var allEqual = true;
138
+ context.rawInput.installData.installDevclass.replacements.forEach(o => {
139
+ if (o.installDevclass !== o.originalDevclass) {
140
+ allEqual = false;
141
+ }
142
+ });
143
+ if (allEqual) {
144
+ trm_commons_1.Logger.log(`All packages name are identical, setting DEVC import flag to true`, true);
145
+ context.rawInput.installData.installDevclass.keepOriginal = true;
146
+ }
137
147
  })
138
148
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trm-core",
3
- "version": "9.1.0",
3
+ "version": "9.1.1",
4
4
  "description": "TRM (Transport Request Manager) Core",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",