@eui/tools 6.12.7 → 6.12.9
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/.version.properties +1 -1
- package/CHANGELOG.md +18 -0
- package/package.json +1 -1
- package/scripts/csdr/audit/styles.js +5 -5
- package/scripts/csdr/init/global.js +0 -11
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.12.
|
|
1
|
+
6.12.9
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.12.9 (2023-06-19)
|
|
2
|
+
|
|
3
|
+
##### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* material indices counter - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([548cba0e](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/548cba0e73baed5dad282577306dca2658fb6d8d))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.12.8 (2023-06-19)
|
|
11
|
+
|
|
12
|
+
##### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* remove browserlist injection for remote - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([1c7c5098](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/1c7c5098298b9b80bab40b1908321738ebb01523))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.12.7 (2023-06-19)
|
|
2
20
|
|
|
3
21
|
##### Bug Fixes
|
package/package.json
CHANGED
|
@@ -33,6 +33,9 @@ const runStylesAudit = module.exports.runStylesAudit = (pkg, customPath) => {
|
|
|
33
33
|
if (indiceContent.indexOf(exclusion) > -1) {
|
|
34
34
|
excluded = true;
|
|
35
35
|
}
|
|
36
|
+
if (indiceContent === '') {
|
|
37
|
+
excluded = true;
|
|
38
|
+
}
|
|
36
39
|
})
|
|
37
40
|
|
|
38
41
|
if (!excluded) {
|
|
@@ -52,9 +55,7 @@ const runStylesAudit = module.exports.runStylesAudit = (pkg, customPath) => {
|
|
|
52
55
|
|
|
53
56
|
if (indicesContent && indicesContent.length !== 0) {
|
|
54
57
|
indicesContent.forEach((ic) => {
|
|
55
|
-
|
|
56
|
-
count++;
|
|
57
|
-
});
|
|
58
|
+
count++;
|
|
58
59
|
});
|
|
59
60
|
}
|
|
60
61
|
|
|
@@ -317,7 +318,7 @@ const runStylesAudit = module.exports.runStylesAudit = (pkg, customPath) => {
|
|
|
317
318
|
);
|
|
318
319
|
|
|
319
320
|
report.material.count += recalculateIndicesCount(indicesContent);
|
|
320
|
-
report.material.indices = [...report.material.indices, indicesContent];
|
|
321
|
+
report.material.indices = [...report.material.indices, ...indicesContent];
|
|
321
322
|
|
|
322
323
|
let allModulesIndices = [];
|
|
323
324
|
regex = /EuiAllModule/gi;
|
|
@@ -662,4 +663,3 @@ module.exports.audit = (pkg) => {
|
|
|
662
663
|
})
|
|
663
664
|
|
|
664
665
|
}
|
|
665
|
-
|
|
@@ -127,17 +127,6 @@ module.exports.initRemoteFilesAndResolutions = (packageJsonPath, euiVersion) =>
|
|
|
127
127
|
tools.logInfo('euiVersion not found skippint yarn.lock replacement');
|
|
128
128
|
|
|
129
129
|
} else {
|
|
130
|
-
tools.logInfo(`Processing .browserlistrc replacement for eUI version found : ${euiVersion}`);
|
|
131
|
-
|
|
132
|
-
const blResourcesFile = path.join(__dirname, 'resources', euiVersion, 'browserslistrc');
|
|
133
|
-
const blDestFile = path.join(packageJsonPath, '.browserslistrc');
|
|
134
|
-
|
|
135
|
-
if (tools.isFileExists(blResourcesFile)) {
|
|
136
|
-
tools.copy(blResourcesFile, blDestFile);
|
|
137
|
-
} else {
|
|
138
|
-
tools.logInfo('Not found...skipping');
|
|
139
|
-
}
|
|
140
|
-
|
|
141
130
|
tools.logInfo(`Processing yarn.lock replacement for eUI version found : ${euiVersion}`);
|
|
142
131
|
|
|
143
132
|
if (registry) {
|