@eui/tools 6.16.19 → 6.16.20

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.16.19
1
+ 6.16.20
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 6.16.20 (2024-05-17)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * add option to force publish of specific source folder for styles - EUI-9014 [EUI-9014](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-9014) ([f693a57d](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/f693a57d940deaa58f15a1f499dbbff4af56e303))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 6.16.19 (2024-05-17)
2
11
 
3
12
  ##### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.16.19",
3
+ "version": "6.16.20",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -257,7 +257,18 @@ module.exports.build = (pkg) => {
257
257
  } else {
258
258
  return tools.copydir(tmpFolderStyles, distFolder, true, `**/*.map`);
259
259
  }
260
-
260
+ })
261
+ .then(() => {
262
+ if (pkg.build.publishSourceFolders) {
263
+ return pkg.build.publishSourceFolders.reduce((promise, folder) => {
264
+ return promise.then(() => (
265
+ tools.copydir(path.join(srcFolder, folder), path.join(distFolder, folder))
266
+ )).catch((e) => {
267
+ console.log(e);
268
+ throw e;
269
+ });
270
+ }, Promise.resolve());
271
+ }
261
272
  })
262
273
  .then(() => {
263
274
  console.log('Output CSS copy succeeded');