closer-cli 2.30.2 → 2.33.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 +36 -0
- package/helpers.js +4 -3
- package/package.json +4 -4
- package/closer_localhost:3000/20221018_093618/product_20221018_093712.csv +0 -319
- package/closer_localhost:3000/20221018_093618/product_errors_20221018_093712.csv +0 -0
- package/closer_localhost:3000/20221018_093618/product_skipped_20221018_093712.csv +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,42 @@
|
|
|
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.33.0](https://code.hfarm.dev/closer/closer/compare/v2.32.3...v2.33.0) (2022-10-27)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **PJX-582:** Import Team e TeamUser ([357fb6d](https://code.hfarm.dev/closer/closer/commits/357fb6d152b371ae0908341ca446a2f6496f93cc))
|
|
12
|
+
* **PJX-582:** Import Team e TeamUser ([4c8801b](https://code.hfarm.dev/closer/closer/commits/4c8801b2ae9d39c364cdb9c79d8c61ae0f42205a))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## [2.32.2](https://code.hfarm.dev/closer/closer/compare/v2.32.1...v2.32.2) (2022-10-24)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* upgrade package dependencies ([885891e](https://code.hfarm.dev/closer/closer/commits/885891ec098d0867a51ef6e15bbdbfc665346906))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
# [2.31.0](https://code.hfarm.dev/closer/closer/compare/v2.29.0...v2.31.0) (2022-10-18)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Features
|
|
33
|
+
|
|
34
|
+
* **PJX-577:** I template devono avere la stessa logica di visibilità modelli di sharing orders ([c81c166](https://code.hfarm.dev/closer/closer/commits/c81c1666af2110f52e3a7e2e51b3f5688f4da39f))
|
|
35
|
+
* **PJX-577:** I template devono avere la stessa logica di visibilità modelli di sharing orders ([876d715](https://code.hfarm.dev/closer/closer/commits/876d715a1ed502d0f67c6729d00a486cf916d51d))
|
|
36
|
+
* **PJX-577:** I template devono avere la stessa logica di visibilità modelli di sharing orders ([e7b1ece](https://code.hfarm.dev/closer/closer/commits/e7b1ecea956a3047e154e484e44c18f78a966c5e))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
6
42
|
# [2.27.0](https://code.hfarm.dev/closer/closer/compare/v2.26.0...v2.27.0) (2022-10-06)
|
|
7
43
|
|
|
8
44
|
|
package/helpers.js
CHANGED
|
@@ -6,8 +6,8 @@ const path = require('path')
|
|
|
6
6
|
const WebSocket = require('ws')
|
|
7
7
|
const chalk = require('chalk')
|
|
8
8
|
const es = require('event-stream')
|
|
9
|
-
const parse = require('csv-parse/
|
|
10
|
-
const stringify = require('csv-stringify/
|
|
9
|
+
const { parse } = require('csv-parse/sync')
|
|
10
|
+
const { stringify } = require('csv-stringify/sync')
|
|
11
11
|
const got = require('got')
|
|
12
12
|
const { createWriteStream } = require('fs')
|
|
13
13
|
const slugify = require('slugify')
|
|
@@ -36,7 +36,8 @@ exports.ALLOWED_CSV_FILES = {
|
|
|
36
36
|
fieldConfiguration: 'fieldConfigurations.csv',
|
|
37
37
|
stockAvailability: 'stockAvailability.csv',
|
|
38
38
|
configuration: 'configurations.csv',
|
|
39
|
-
userCustomer: 'userCustomers.csv'
|
|
39
|
+
userCustomer: 'userCustomers.csv',
|
|
40
|
+
team: 'teams.csv'
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
const getCsvFilesFromDir = dir =>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "closer-cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.33.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"license": "ISC",
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"chalk": "^4.1.2",
|
|
15
|
-
"csv-parse": "^
|
|
16
|
-
"csv-stringify": "^
|
|
15
|
+
"csv-parse": "^5.3.1",
|
|
16
|
+
"csv-stringify": "^6.2.0",
|
|
17
17
|
"event-stream": "^4.0.1",
|
|
18
|
-
"got": "^11.8.
|
|
18
|
+
"got": "^11.8.5",
|
|
19
19
|
"ora": "^5.4.1",
|
|
20
20
|
"prompts": "^2.4.2",
|
|
21
21
|
"require-directory": "^2.1.1",
|