@eui/tools 6.21.14 → 6.21.16

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.21.14
1
+ 6.21.16
package/CHANGELOG.md CHANGED
@@ -1,3 +1,22 @@
1
+ ## 6.21.16 (2024-12-30)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * remove force install on csdr nexus due to CSDR scope changes - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([5df2c3f5](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/5df2c3f5dccef630164e3d60c7bc19a3b9109149))
7
+ * remove force install on csdr nexus due to CSDR scope changes ([0466f15b](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/0466f15b7a95ba8202745cf88c02eb9efeb57744))
8
+
9
+ * * *
10
+ * * *
11
+ ## 6.21.15 (2024-12-20)
12
+
13
+ ##### Chores
14
+
15
+ * **other:**
16
+ * adapted skipBrowserOutputPath for non esbuild on v18 and over - EUI-9014 [EUI-9014](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-9014) ([0b7e89cc](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/0b7e89ccd66143620ede73e48ddb8585f3033ac2))
17
+
18
+ * * *
19
+ * * *
1
20
  ## 6.21.14 (2024-12-13)
2
21
 
3
22
  ##### Chores
package/README.md CHANGED
@@ -26,6 +26,7 @@ If you have several packages, if you want to test 1 package you need to have its
26
26
  eui-scripts build-deps <package-name>
27
27
  ```
28
28
 
29
+
29
30
  ### Test package
30
31
 
31
32
  ```sh
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.21.14",
3
+ "version": "6.21.16",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -19,8 +19,8 @@ const getInstallRegistry = () => {
19
19
  let installRegistry;
20
20
  if (registry) {
21
21
  installRegistry = registry;
22
- } else {
23
- installRegistry = NPM_REGISTRY_INSTALL;
22
+ // } else {
23
+ // installRegistry = NPM_REGISTRY_INSTALL;
24
24
  }
25
25
 
26
26
  return installRegistry;
@@ -138,7 +138,11 @@ const executeInstall = (module.exports.executeInstall = (cwdPath, npmRegistry) =
138
138
 
139
139
  tools.logInfo(`Install from : ${installRegistry}`);
140
140
  if (!dryRun && !skipInstall) {
141
- return execa.shellSync(`yarn --registry ${installRegistry}`, { cwd: cwdPath, stdio: 'inherit' });
141
+ if (installRegistry) {
142
+ return execa.shellSync(`yarn --registry ${installRegistry}`, { cwd: cwdPath, stdio: 'inherit' });
143
+ } else {
144
+ return execa.shellSync(`yarn`, { cwd: cwdPath, stdio: 'inherit' });
145
+ }
142
146
  } else {
143
147
  tools.logInfo(`Skipping install - Executing command : yarn --registry ${installRegistry}`);
144
148
  }
@@ -282,9 +282,13 @@ module.exports.angular = (
282
282
  })
283
283
 
284
284
  .then(() => {
285
- if (currentProject.build && currentProject.build.esbuild && currentProject.build.skipBrowserOutputPath) {
286
- tools.copydir(path.join(currentProject.paths.rootPath, 'dist', 'browser'), path.join(currentProject.paths.rootPath, 'dist'));
287
- tools.remove(path.join(currentProject.paths.rootPath, 'dist', 'browser'));
285
+ const projectVersion = parseInt(configUtils.projects.getProjectEuiVersion(currentProject));
286
+
287
+ if (currentProject.build && currentProject.build.skipBrowserOutputPath) {
288
+ if (currentProject.build.esbuild || projectVersion >= 18) {
289
+ tools.copydir(path.join(currentProject.paths.rootPath, 'dist', 'browser'), path.join(currentProject.paths.rootPath, 'dist'));
290
+ tools.remove(path.join(currentProject.paths.rootPath, 'dist', 'browser'));
291
+ }
288
292
  }
289
293
  })
290
294