@eui/tools 6.21.13 → 6.21.15
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.
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.21.
|
|
1
|
+
6.21.15
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.21.15 (2024-12-20)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* 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))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.21.14 (2024-12-13)
|
|
11
|
+
|
|
12
|
+
##### Chores
|
|
13
|
+
|
|
14
|
+
* **project:**
|
|
15
|
+
* handle mjs eslint file in root path of project - not in default src only - EUI-10289 [EUI-10289](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-10289) ([5608e13c](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/5608e13cfdfd0a739efd265f39522f65e29deee1))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.21.13 (2024-12-12)
|
|
2
20
|
|
|
3
21
|
##### Chores
|
package/package.json
CHANGED
|
@@ -68,8 +68,12 @@ const getProjectPaths = (prj) => {
|
|
|
68
68
|
paths.tslintPath = path.join(rootPath, '.tslint.json');
|
|
69
69
|
} else if (tools.isFileExists(path.join(rootPath, 'src', '.eslintrc.json'))) {
|
|
70
70
|
paths.eslintPath = path.join(rootPath, 'src', '.eslintrc.json');
|
|
71
|
+
} else if (tools.isFileExists(path.join(rootPath, '.eslintrc.json'))) {
|
|
72
|
+
paths.eslintPath = path.join(rootPath, '.eslintrc.json');
|
|
71
73
|
} else if (tools.isFileExists(path.join(rootPath, 'src', 'eslint.config.mjs'))) {
|
|
72
74
|
paths.eslintPath = path.join(rootPath, 'src', 'eslint.config.mjs');
|
|
75
|
+
} else if (tools.isFileExists(path.join(rootPath, 'eslint.config.mjs'))) {
|
|
76
|
+
paths.eslintPath = path.join(rootPath, 'eslint.config.mjs');
|
|
73
77
|
}
|
|
74
78
|
|
|
75
79
|
return { paths: paths };
|
|
@@ -282,9 +282,13 @@ module.exports.angular = (
|
|
|
282
282
|
})
|
|
283
283
|
|
|
284
284
|
.then(() => {
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
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
|
|