@eui/tools 6.20.18 → 6.20.19

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.
@@ -1 +1 @@
1
- 6.20.18
1
+ 6.20.19
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 6.20.19 (2024-08-11)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * allow standalone pkg override csdr config within repository - EUI-9788 [EUI-9788](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-9788) ([55c9856d](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/55c9856d5a95fe705a587655601a476e69d3020f))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 6.20.18 (2024-08-11)
2
11
 
3
12
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.20.18",
3
+ "version": "6.20.19",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -249,7 +249,7 @@ module.exports.getStandalonePackage = () => {
249
249
  // get package.json information (current version)
250
250
  const packageJson = require(packageJsonPath);
251
251
 
252
- const pkg = {
252
+ let pkg = {
253
253
  csdr: false,
254
254
  standalone: true,
255
255
  name: pkgName,
@@ -266,6 +266,13 @@ module.exports.getStandalonePackage = () => {
266
266
  };
267
267
  pkg.tsConfigFileName = `${path.parse(pkg.paths.tsConfig).name}.json`;
268
268
 
269
+ const pkgCsdrConfig = path.join(basePath, '.csdr-config.json');
270
+
271
+ if (tools.isFileExists(pkgCsdrConfig)) {
272
+ const pkgCsdrConfigJson = require(pkgCsdrConfig);
273
+ pkg = {...pkg, ...pkgCsdrConfigJson};
274
+ }
275
+
269
276
  return pkg;
270
277
  }
271
278
 
@@ -24,9 +24,6 @@ module.exports.run = () => {
24
24
 
25
25
  utils.tools.logBanner('Starting UI package stand-alone pipeline');
26
26
 
27
- // utils.tools.logTitle('Provided arguments : ');
28
- // console.log(utils.tools.getArgs());
29
-
30
27
  // local saved vars
31
28
  let newVersion, commitsMetadata;
32
29