@eui/tools 6.16.16 → 6.16.18
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
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.16.
|
|
1
|
+
6.16.18
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
## 6.16.18 (2024-05-13)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* add i18n-ecl for arachne issue - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([ca9ee3c9](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/ca9ee3c9146e8e584039fc2919066d34d554e122))
|
|
7
|
+
* adapted v17 remote config for assets glob - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([a40cec03](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/a40cec03057d4a5235a2d0d65872297718cc6e0c))
|
|
8
|
+
|
|
9
|
+
* * *
|
|
10
|
+
* * *
|
|
11
|
+
## 6.16.17 (2024-05-07)
|
|
12
|
+
|
|
13
|
+
##### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **audit:**
|
|
16
|
+
* adapted regex for px in style detection - MWP-10831 [MWP-10831](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-10831) ([f3e5b38e](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/f3e5b38e7f68f59b1899c65c446f30a21c4b6ceb))
|
|
17
|
+
|
|
18
|
+
* * *
|
|
19
|
+
* * *
|
|
1
20
|
## 6.16.16 (2024-04-30)
|
|
2
21
|
|
|
3
22
|
##### Chores
|
package/package.json
CHANGED
|
@@ -311,7 +311,7 @@ const runStylesAudit = (module.exports.runStylesAudit = (pkg, customPath) => {
|
|
|
311
311
|
}
|
|
312
312
|
|
|
313
313
|
let sizesIndices = [];
|
|
314
|
-
regex = /px
|
|
314
|
+
regex = /px |px;/gi;
|
|
315
315
|
while ((result = regex.exec(fileContent))) {
|
|
316
316
|
sizesIndices.push(result.index);
|
|
317
317
|
}
|
|
@@ -38,6 +38,16 @@
|
|
|
38
38
|
"glob": "**/*",
|
|
39
39
|
"input": "node_modules/@eui/styles-base/dist/assets/",
|
|
40
40
|
"output": "./assets"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"glob": "**/*",
|
|
44
|
+
"input": "node_modules/@eui/styles-base/dist/assets/ecl",
|
|
45
|
+
"output": "./assets/images/ecl"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"glob": "**/*",
|
|
49
|
+
"input": "node_modules/@eui/ecl/assets/",
|
|
50
|
+
"output": "./assets"
|
|
41
51
|
}
|
|
42
52
|
],
|
|
43
53
|
"styles": [
|
|
@@ -92,13 +92,32 @@ module.exports.generate = (inputScopes = '', inputPkg) => {
|
|
|
92
92
|
let baseI18nPath = 'i18n';
|
|
93
93
|
if (pkgDeps.scope === '@eui') {
|
|
94
94
|
baseI18nPath = 'i18n-eui';
|
|
95
|
-
}
|
|
96
|
-
processTranslationsFolder(pkgDeps, baseI18nPath, lang);
|
|
97
95
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
96
|
+
processTranslationsFolder(pkgDeps, baseI18nPath, lang);
|
|
97
|
+
|
|
98
|
+
// process additional translation folders if set as option in config
|
|
99
|
+
if (pkg.build && pkg.build.translationAdditionalFolders) {
|
|
100
|
+
processTranslationsFolder(pkgDeps, pkg.build.translationAdditionalFolders, lang);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
baseI18nPath = 'i18n-ecl';
|
|
104
|
+
|
|
105
|
+
processTranslationsFolder(pkgDeps, baseI18nPath, lang);
|
|
106
|
+
|
|
107
|
+
// process additional translation folders if set as option in config
|
|
108
|
+
if (pkg.build && pkg.build.translationAdditionalFolders) {
|
|
109
|
+
processTranslationsFolder(pkgDeps, pkg.build.translationAdditionalFolders, lang);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
} else {
|
|
113
|
+
processTranslationsFolder(pkgDeps, baseI18nPath, lang);
|
|
114
|
+
|
|
115
|
+
// process additional translation folders if set as option in config
|
|
116
|
+
if (pkg.build && pkg.build.translationAdditionalFolders) {
|
|
117
|
+
processTranslationsFolder(pkgDeps, pkg.build.translationAdditionalFolders, lang);
|
|
118
|
+
}
|
|
101
119
|
}
|
|
120
|
+
|
|
102
121
|
});
|
|
103
122
|
|
|
104
123
|
// Write final file
|