@eui/tools 4.16.0 → 4.16.4

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
- 4.16.0
1
+ 4.16.4
package/CHANGELOG.md CHANGED
@@ -1,3 +1,43 @@
1
+ ## 4.16.4 (2021-11-08)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * generated spec files for non-src folder - issue with sub-entries eui-components - EUI-4107 [EUI-4107](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4107) ([d72c570a](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/d72c570a42f268c6b8f8118af9988ffc18ea789a))
7
+
8
+ * * *
9
+ * * *
10
+ ## 4.16.3 (2021-11-03)
11
+
12
+ ##### Bug Fixes
13
+
14
+ * **other:**
15
+ * revert jest upgrade - failing app build - EUI-4107 [EUI-4107](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4107) ([51a13fcd](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/51a13fcd2b412fbe8620037fd3586f268f8c6cf2))
16
+
17
+ * * *
18
+ * * *
19
+ ## 4.16.2 (2021-11-03)
20
+
21
+ ##### Chores
22
+
23
+ * **other:**
24
+ * revert git clone logging - EUI-4107 [EUI-4107](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4107) ([c3d02144](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/c3d02144ee3b21103c3f3084b51dff738f88f207))
25
+ * added log for metadata cloning step ([de96e57f](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/de96e57ff8d6062aa07924102fd223b2b0c91610))
26
+ * forced re-build - testing refactoring - EUI-4107 [EUI-4107](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4107) ([69f4627b](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/69f4627bdf818d6751ce45dc5496ca657c0540e3))
27
+
28
+ * * *
29
+ * * *
30
+
31
+ ## 4.16.1 (2021-11-03)
32
+
33
+ ##### Bug Fixes
34
+
35
+ * **other:**
36
+ * adapted when no eUI version found in local packages to default resolutions - EUI-4107 [EUI-4107](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4107) ([b34365f2](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/b34365f21113717df9fec37daeb33a0be81f4a1e))
37
+ * missing import - EUI-4107 [EUI-4107](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4107) ([1706ff54](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/1706ff543f15ea4f711e868512011b9531505386))
38
+
39
+ * * *
40
+ * * *
1
41
  ## 4.16.0 (2021-11-03)
2
42
 
3
43
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "4.16.0",
3
+ "version": "4.16.4",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -28,9 +28,9 @@
28
28
  "figures": "3.2.0",
29
29
  "xml2js": "0.4.23",
30
30
  "https-proxy-agent": "2.2.3",
31
- "jest": "27.3.1",
32
- "supertest": "6.1.6",
33
- "memfs": "3.3.0",
31
+ "jest": "26.6.3",
32
+ "supertest": "4.0.2",
33
+ "memfs": "3.2.4",
34
34
  "json-server": "0.16.3",
35
35
  "faker": "5.5.3",
36
36
  "nodemon": "2.0.12",
@@ -975,8 +975,8 @@ module.exports.registerModulePaths = (pkg, isReset) => {
975
975
  jsonFileDev['compilerOptions']['paths'][`${pkg.npmPkgScope}/${pkg.npmPkgName}/*`] = [`${pathBase}/${pkg.folder || pkg.name}/*`];
976
976
  jsonFileBuild['compilerOptions']['paths'][`${pkg.npmPkgScope}/${pkg.npmPkgName}`] = [`${pathBase}/${pkg.folder || pkg.name}/dist`];
977
977
  jsonFileBuild['compilerOptions']['paths'][`${pkg.npmPkgScope}/${pkg.npmPkgName}/*`] = [`${pathBase}/${pkg.folder || pkg.name}/dist/*`];
978
- jsonFileBuildSpec['compilerOptions']['paths'][`${pkg.npmPkgScope}/${pkg.npmPkgName}`] = [`${pathBase}/${pkg.folder || pkg.name}/dist`];
979
- jsonFileBuildSpec['compilerOptions']['paths'][`${pkg.npmPkgScope}/${pkg.npmPkgName}/*`] = [`${pathBase}/${pkg.folder || pkg.name}/dist/*`];
978
+ jsonFileBuildSpec['compilerOptions']['paths'][`${pkg.npmPkgScope}/${pkg.npmPkgName}`] = [`${pathBase}/${pkg.folder || pkg.name}`];
979
+ jsonFileBuildSpec['compilerOptions']['paths'][`${pkg.npmPkgScope}/${pkg.npmPkgName}/*`] = [`${pathBase}/${pkg.folder || pkg.name}/*`];
980
980
  }
981
981
 
982
982
 
@@ -186,10 +186,12 @@ module.exports.processLocalEuiVersions = () => {
186
186
 
187
187
  const euiVersion = euiVersionsLocal[0];
188
188
 
189
- if (euiVersion === 'DEFAULT') {
190
- tools.logInfo('Default eUI version found, taking default resolutions..skipping');
189
+ if (!euiVersion || euiVersion === 'DEFAULT') {
190
+ tools.logInfo('Default eUI version found or empty, taking default resolutions..skipping');
191
191
 
192
192
  } else {
193
+ tools.logInfo(`Processing resolutions replacement for eUI version found : ${euiVersion}`);
194
+
193
195
  const rootPackageJsonFile = path.join(process.cwd(), 'package.json');
194
196
  const rootPackageJson = require(rootPackageJsonFile);
195
197
 
@@ -2,6 +2,7 @@
2
2
 
3
3
  // GLOBAL
4
4
  const path = require('path');
5
+ const glob = require('glob');
5
6
 
6
7
  // LOCAL
7
8
  const installUtils = require('../../install/install-utils');