@eui/tools 5.2.4 → 5.2.5

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
- 5.2.4
1
+ 5.2.5
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 5.2.5 (2022-05-12)
2
+
3
+ ##### Bug Fixes
4
+
5
+ * **eui-tools:**
6
+ * sub-package build issue - EUI-5961 [EUI-5961](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-5961) ([8dcb702b](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/8dcb702b8f59ccee550c10177bdd3cab6f50b5a9))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 5.2.4 (2022-05-05)
2
11
 
3
12
  ##### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "5.2.4",
3
+ "version": "5.2.5",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -1340,7 +1340,7 @@ module.exports.registerAngularPackageSubEntry = (subEntryName, subEntryPath) =>
1340
1340
 
1341
1341
  let projectDef = JSON.stringify(angularPackageSubEntryDef);
1342
1342
 
1343
- let replacePath = tools.replaceAll(projectDef, '@subEntry.path@', subEntryPath)
1343
+ let replacePath = tools.replaceAll(projectDef, '@subEntry.path@', subEntryName)
1344
1344
  replacePath = tools.replaceAll(replacePath, '@subEntry.package.name@', 'ng-package.json');
1345
1345
 
1346
1346
  jsonFile['projects'][subEntryName] = JSON.parse(replacePath);
@@ -412,7 +412,7 @@ function getFiles(parentPath) {
412
412
 
413
413
  function getFilesGlob(from, fileGlob) {
414
414
  return new Promise((resolve, reject) => {
415
- glob(fileGlob, { cwd: from, nodir: true, follow: true, dot: true }, (err, files) => {
415
+ glob(fileGlob, { ignore: ['dist/**'], cwd: from, nodir: true, follow: true, dot: true }, (err, files) => {
416
416
  if (err) {
417
417
  logError(err);
418
418
  reject(err);