@eui/tools 6.16.8 → 6.16.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.
@@ -1 +1 @@
1
- 6.16.8
1
+ 6.16.9
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 6.16.9 (2024-04-07)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * adapted styles build for v18 - EUI-9014 [EUI-9014](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-9014) ([f68bee44](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/f68bee4489caa26a6b178704af887a49c3d1424b))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 6.16.8 (2024-04-04)
2
11
 
3
12
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.16.8",
3
+ "version": "6.16.9",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -39,6 +39,7 @@ module.exports.installDeps = (deps) => {
39
39
  if (dep === '@eui/deps-base') {
40
40
  deps['@eui/components'] = deps[dep];
41
41
  deps['@eui/showcase'] = deps[dep];
42
+ deps['@eui/styles'] = deps[dep];
42
43
  }
43
44
  });
44
45
  }
@@ -205,6 +205,7 @@ module.exports.build = (pkg) => {
205
205
  const srcFolder = pkg.paths.src;
206
206
  const srcOutFolder = path.join(pkg.paths.dist, 'src');
207
207
  const tmpFolder = path.join(pkg.paths.dist, 'tmp');
208
+ const tmpFolderStyles = path.join(tmpFolder, 'styles');
208
209
  const distFolder = path.join(pkg.paths.dist, 'dist');
209
210
 
210
211
  if (!skipCompile) {
@@ -223,7 +224,9 @@ module.exports.build = (pkg) => {
223
224
  console.log('Temp copy succeeded.');
224
225
  })
225
226
  .then(() => {
226
- return tools.copydir(srcFolder, srcOutFolder);
227
+ if (pkg.build.euiVersion !== '18.x') {
228
+ return tools.copydir(srcFolder, srcOutFolder);
229
+ }
227
230
  })
228
231
  .then(() => {
229
232
  console.log('Sources copy succeeded.')
@@ -242,10 +245,10 @@ module.exports.build = (pkg) => {
242
245
  }, Promise.resolve());
243
246
  }))
244
247
  .then(() => {
245
- return tools.copydir(tmpFolder, distFolder, true, `**/*.css`);
248
+ return tools.copydir(tmpFolderStyles, distFolder, true, `**/*.css`);
246
249
  })
247
250
  .then(() => {
248
- return tools.copydir(tmpFolder, distFolder, true, `**/*.map`);
251
+ return tools.copydir(tmpFolderStyles, distFolder, true, `**/*.map`);
249
252
  })
250
253
  .then(() => {
251
254
  console.log('Output CSS copy succeeded');