@eui/tools 6.2.42 → 6.2.43
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 +9 -0
- package/package.json +1 -1
- package/scripts/utils/build/package/styles.js +10 -1
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.2.
|
|
1
|
+
6.2.43
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## 6.2.43 (2022-12-02)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* added post-build script execution on sub-styles package - EUI-6448 [EUI-6448](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-6448) ([9320f1f1](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/9320f1f12366b101a4c3d88ae3d6b3a941666e3b))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
1
10
|
## 6.2.42 (2022-12-01)
|
|
2
11
|
|
|
3
12
|
##### Chores
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@ const tools = require('../../tools');
|
|
|
10
10
|
const notificationUtils = require('../../notification/notification-utils');
|
|
11
11
|
|
|
12
12
|
// FETCH ARGS
|
|
13
|
-
let { skipCompile } = tools.getArgs();
|
|
13
|
+
let { skipCompile, dryRun } = tools.getArgs();
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
const compileSassFileNodeSass = (folder, filename, isNodeSassTildeImporterActive) => {
|
|
@@ -264,6 +264,15 @@ module.exports.build = (pkg) => {
|
|
|
264
264
|
package: pkg
|
|
265
265
|
})
|
|
266
266
|
})
|
|
267
|
+
.then(() => {
|
|
268
|
+
tools.logInfo('Executing post-build.js script if present in package');
|
|
269
|
+
const postbuildScript = path.join(pkg.paths.root, 'post-build.js');
|
|
270
|
+
if (!dryRun && tools.isFileExists(postbuildScript)) {
|
|
271
|
+
return tools.runScript(`node ${postbuildScript}`);
|
|
272
|
+
} else {
|
|
273
|
+
tools.logInfo('DRY-RUN OR post-build.js script not found in package root --- SKIPPING');
|
|
274
|
+
}
|
|
275
|
+
})
|
|
267
276
|
|
|
268
277
|
.catch((e) => {
|
|
269
278
|
throw e;
|