closer-cli 2.57.0 → 2.58.0
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/CHANGELOG.md +22 -0
- package/cmds/importData.js +8 -0
- package/helpers.js +2 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [2.58.0](https://code.hfarm.dev/closer/closer/compare/v2.57.1...v2.58.0) (2023-06-01)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **PJX-777:** Import ordini: implementare nuova funzionalità ([41de31a](https://code.hfarm.dev/closer/closer/commits/41de31aacd918bdea7223441f7f3670170432b8c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [2.57.1](https://code.hfarm.dev/closer/closer/compare/v2.57.0...v2.57.1) (2023-05-15)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **PJX-792:** Problema con import di un csv vuoto ([cd3f68a](https://code.hfarm.dev/closer/closer/commits/cd3f68a5ff391ce5a8146dead63e4b8796f3709b))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
# [2.57.0](https://code.hfarm.dev/closer/closer/compare/v2.56.0...v2.57.0) (2023-05-12)
|
|
7
29
|
|
|
8
30
|
|
package/cmds/importData.js
CHANGED
|
@@ -260,6 +260,14 @@ export async function handler(argv) {
|
|
|
260
260
|
console.error(error.response.data.message)
|
|
261
261
|
}
|
|
262
262
|
console.error(error.message)
|
|
263
|
+
|
|
264
|
+
if (!argv.keepFiles) {
|
|
265
|
+
await deleteAsync(
|
|
266
|
+
data.files.map(file => file.file),
|
|
267
|
+
{ force: true }
|
|
268
|
+
)
|
|
269
|
+
}
|
|
270
|
+
|
|
263
271
|
process.exit(1)
|
|
264
272
|
}
|
|
265
273
|
|
package/helpers.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "closer-cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.58.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"exports": "./index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"ws": "^8.0.0",
|
|
25
25
|
"yargs": "^17.0.1"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "3d7e9d551cc276d2ea679fb183adc7559d183ecc"
|
|
28
28
|
}
|