@eui/tools 6.16.7 → 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.7
1
+ 6.16.9
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
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
+ * * *
10
+ ## 6.16.8 (2024-04-04)
11
+
12
+ ##### Chores
13
+
14
+ * **other:**
15
+ * updated showcase v18 injection sources after eui-base/core refactoring - EUI-9014 [EUI-9014](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-9014) ([6ec43cdd](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/6ec43cdd75f37b2fb962bb355565d8f9d06e7483))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.16.7 (2024-04-03)
2
20
 
3
21
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.16.7",
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');
@@ -1,4 +1,4 @@
1
- import { GlobalConfig } from '@eui/core';
1
+ import { GlobalConfig } from '@eui/base';
2
2
 
3
3
  export const GLOBAL: GlobalConfig = {
4
4
  };
@@ -1,4 +1,4 @@
1
- import { EuiAppConfig } from '@eui/core';
1
+ import { EuiAppConfig } from '@eui/base';
2
2
  import { GLOBAL } from './global';
3
3
  import { MODULES } from './modules';
4
4
 
@@ -1,4 +1,4 @@
1
- import { ModulesConfig } from '@eui/core';
1
+ import { ModulesConfig } from '@eui/base';
2
2
 
3
3
  export const MODULES: ModulesConfig = {
4
4
  };
@@ -1,4 +1,4 @@
1
- import { EuiEnvConfig } from '@eui/core';
1
+ import { EuiEnvConfig } from '@eui/base';
2
2
 
3
3
  export const environment: EuiEnvConfig = {
4
4
  production: true,
@@ -1,7 +1,7 @@
1
1
  // used by serve / when no configuration is provided on the build script
2
2
  // run npm run build
3
3
 
4
- import { EuiEnvConfig } from '@eui/core';
4
+ import { EuiEnvConfig } from '@eui/base';
5
5
 
6
6
  export const environment: EuiEnvConfig = {
7
7
  production: false,