@eui/tools 6.2.16 → 6.2.18

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.2.16
1
+ 6.2.18
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.2.18 (2022-11-12)
2
+
3
+ ##### Bug Fixes
4
+
5
+ * **other:**
6
+ * wrong destination path post-build - MWP-9010 [MWP-9010](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-9010) ([b9b7b8ad](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/b9b7b8ad9b634c0b4421bac3deadd0440b41e609))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.2.17 (2022-11-12)
11
+
12
+ ##### Bug Fixes
13
+
14
+ * **other:**
15
+ * wrong package name on serve and build for virtual remote - MWP-9010 [MWP-9010](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-9010) ([5504acc3](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/5504acc3d6bb9ba4d412ef8c5b8ce1c363e64491))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.2.16 (2022-11-12)
2
20
 
3
21
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.2.16",
3
+ "version": "6.2.18",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -22,12 +22,7 @@ module.exports.build = (pkg, isMaster) => {
22
22
 
23
23
  const remoteEuiVersion = configUtils.packages.getRemoteEuiVersion(pkg);
24
24
 
25
- let pkgName;
26
- if (pkg.remote && pkg.virtual) {
27
- pkgName = pkg.fullName;
28
- } else {
29
- pkgName = pkg.name;
30
- }
25
+ const pkgName = pkg.name;
31
26
 
32
27
  return Promise.resolve()
33
28
 
@@ -195,7 +190,7 @@ module.exports.postBuild = (pkg, version) => {
195
190
  tools.logTitle('ELEMENT POST build');
196
191
  tools.logInfo('Copying dist to bundles folder');
197
192
  tools.mkdir(path.join(pkg.paths.dist, 'bundles'));
198
- return tools.copydir(path.join(pkg.paths.pkgBuild), path.join(pkg.paths.dist, 'bundles'));
193
+ return tools.copydir(path.join(pkg.paths.dist), path.join(pkg.paths.dist, 'bundles'));
199
194
  })
200
195
 
201
196
  .then(() => {
@@ -21,12 +21,7 @@ module.exports.serve = (remote = false) => {
21
21
  pkg = configUtils.packages.getPackage();
22
22
  }
23
23
 
24
- let pkgName;
25
- if (pkg.remote && pkg.virtual) {
26
- pkgName = pkg.fullName;
27
- } else {
28
- pkgName = pkg.name;
29
- }
24
+ const pkgName = pkg.name;
30
25
 
31
26
  const remoteEuiVersion = configUtils.packages.getRemoteEuiVersion(pkg);
32
27
  const euiVersionNumber = remoteEuiVersion.split('.')[0];