@eui/tools 6.16.2 → 6.16.3
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 +1 -1
- package/CHANGELOG.md +9 -0
- package/package.json +1 -1
- package/scripts/utils/tools.js +2 -6
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.16.
|
|
1
|
+
6.16.3
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## 6.16.3 (2024-03-24)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* use rimraf as dependency - EUI-8913 [EUI-8913](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-8913) ([759bcf49](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/759bcf4983c5d3b2c581398193b59a8275e27288))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
1
10
|
## 6.16.2 (2024-03-24)
|
|
2
11
|
|
|
3
12
|
##### Chores
|
package/package.json
CHANGED
package/scripts/utils/tools.js
CHANGED
|
@@ -17,6 +17,7 @@ const execa = require('execa');
|
|
|
17
17
|
const replace = require('replace-in-file');
|
|
18
18
|
const xml2js = require('xml2js');
|
|
19
19
|
const moment = require('moment');
|
|
20
|
+
const { rimrafSync } = require('rimraf');
|
|
20
21
|
|
|
21
22
|
const isTestRunning = process.env._TEST;
|
|
22
23
|
|
|
@@ -206,12 +207,7 @@ function rmdir(path) {
|
|
|
206
207
|
|
|
207
208
|
function rimraf(inputPath) {
|
|
208
209
|
this.logInfo(`Removing ${inputPath}...`);
|
|
209
|
-
|
|
210
|
-
if (!isFileExists(exec)) {
|
|
211
|
-
// special location when used within eUI CLI
|
|
212
|
-
exec = path.resolve(__dirname, '../../../..', 'rimraf', 'bin.js');
|
|
213
|
-
}
|
|
214
|
-
return execa.sync('node', [exec, inputPath], { cwd: process.cwd(), stdio: 'inherit' })
|
|
210
|
+
return rimrafSync(inputPath);
|
|
215
211
|
}
|
|
216
212
|
|
|
217
213
|
function rmdirFull(dirPath, removeSelf) {
|