@eui/tools 6.12.25 → 6.12.26

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.12.25
1
+ 6.12.26
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 6.12.26 (2023-07-12)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * add exclusions for ux-dyn-forms component to styles audit for v16 pkgs - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([de7e6e10](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/de7e6e104b5327a48b50f43510d2a8d68d1ed21b))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 6.12.25 (2023-06-27)
2
11
 
3
12
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.12.25",
3
+ "version": "6.12.26",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -151,7 +151,7 @@ const runStylesAudit = (module.exports.runStylesAudit = (pkg, customPath) => {
151
151
  },
152
152
  uxCmp: {
153
153
  count: 0,
154
- // indices: []
154
+ indices: []
155
155
  },
156
156
  finalReport: {},
157
157
  };
@@ -271,8 +271,12 @@ const runStylesAudit = (module.exports.runStylesAudit = (pkg, customPath) => {
271
271
  while ((result = regex.exec(fileContent))) {
272
272
  uxCmpIndices.push(result.index);
273
273
  }
274
- report.uxCmp.count += uxCmpIndices.length;
275
- // report.uxCmp.indices = [...report.uxCmp.indices, ...generateIndicesContent(uxCmpIndices, file, fileContent)];
274
+ const indicesContent = generateIndicesContent(uxCmpIndices, file, fileContent, [
275
+ 'ux-dyn-forms',
276
+ ]);
277
+
278
+ report.uxCmp.count += recalculateIndicesCount(indicesContent);
279
+ report.uxCmp.indices = [...report.uxCmp.indices, ...indicesContent];
276
280
  });
277
281
 
278
282
  files = glob.sync('**/*.ts', { cwd: srcPath, nodir: true, follow: true, dot: true });