@eui/tools 6.12.3 → 6.12.5
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/sandbox.js +3 -11
- package/scripts/csdr/audit/styles.js +5 -1
- package/scripts/utils/build/package/angular.js +8 -9
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.12.
|
|
1
|
+
6.12.5
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.12.5 (2023-06-19)
|
|
2
|
+
|
|
3
|
+
##### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* execute styles audit before test execution - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([11e78175](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/11e78175bbc9ea853d29862277cd12905ef23cdf))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.12.4 (2023-06-18)
|
|
11
|
+
|
|
12
|
+
##### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* styles audit report for non src packages type - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([ba1e5276](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/ba1e52764fedb2d867bdf50238ed8a61d8e0f3cb))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.12.3 (2023-06-14)
|
|
2
20
|
|
|
3
21
|
##### Chores
|
package/package.json
CHANGED
package/sandbox.js
CHANGED
|
@@ -1252,18 +1252,10 @@ const versionUtils = require('./scripts/csdr/version/version-utils');
|
|
|
1252
1252
|
Promise.resolve()
|
|
1253
1253
|
.then(() => {
|
|
1254
1254
|
// old package without gates forced
|
|
1255
|
-
const pkg = configUtils.packages.getPackage('
|
|
1256
|
-
console.log(
|
|
1255
|
+
const pkg = configUtils.packages.getPackage('cc-task-manager-ui', true);
|
|
1256
|
+
console.log(pkg);
|
|
1257
1257
|
|
|
1258
|
-
|
|
1259
|
-
const pkg2 = configUtils.packages.getPackage('mapar-administration-ui', true);
|
|
1260
|
-
console.log(metadataUtils.package.isNewPackageBuild(pkg2));
|
|
1261
|
-
|
|
1262
|
-
// newly created pkg
|
|
1263
|
-
const pkg3 = configUtils.packages.getPackage('coli-management-ui', true);
|
|
1264
|
-
console.log(metadataUtils.package.isNewPackageBuild(pkg3));
|
|
1265
|
-
|
|
1266
|
-
return auditUtils.styles.audit(pkg2);
|
|
1258
|
+
return auditUtils.styles.audit(pkg);
|
|
1267
1259
|
})
|
|
1268
1260
|
.then((report) => {
|
|
1269
1261
|
console.log(report);
|
|
@@ -55,7 +55,11 @@ const runStylesAudit = module.exports.runStylesAudit = (pkg, customPath) => {
|
|
|
55
55
|
srcPath = customPath;
|
|
56
56
|
tools.logTitle(`Auditing : ${customPath}`);
|
|
57
57
|
} else {
|
|
58
|
-
|
|
58
|
+
if (pkg.build && pkg.build.srcRootDefault === false) {
|
|
59
|
+
srcPath = pkg.paths.root;
|
|
60
|
+
} else {
|
|
61
|
+
srcPath = pkg.paths.src;
|
|
62
|
+
}
|
|
59
63
|
tools.logTitle(`Auditing : ${pkg.name}`);
|
|
60
64
|
}
|
|
61
65
|
|
|
@@ -69,6 +69,14 @@ module.exports.build = (pkg, isMaster) => {
|
|
|
69
69
|
if (!skipLint) {
|
|
70
70
|
tools.logSuccess();
|
|
71
71
|
}
|
|
72
|
+
if (!skipAudit) {
|
|
73
|
+
return auditUtils.styles.audit(pkg);
|
|
74
|
+
}
|
|
75
|
+
})
|
|
76
|
+
.then((report) => {
|
|
77
|
+
if (report) {
|
|
78
|
+
auditStylesReport = report;
|
|
79
|
+
}
|
|
72
80
|
|
|
73
81
|
if (!skipTest) {
|
|
74
82
|
tools.logInfo('Testing...');
|
|
@@ -90,15 +98,6 @@ module.exports.build = (pkg, isMaster) => {
|
|
|
90
98
|
tools.logSuccess();
|
|
91
99
|
}
|
|
92
100
|
|
|
93
|
-
if (!skipAudit) {
|
|
94
|
-
return auditUtils.styles.audit(pkg);
|
|
95
|
-
}
|
|
96
|
-
})
|
|
97
|
-
.then((report) => {
|
|
98
|
-
if (report) {
|
|
99
|
-
auditStylesReport = report;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
101
|
if (!skipCompile) {
|
|
103
102
|
tools.logInfo('Bundling package...');
|
|
104
103
|
let args = ['--max_old_space_size=8096', ng, 'build', pkg.name];
|