Skip to content

Commit 752fa6a

Browse files
authored
Merge pull request #1734 from commercetools/cleanup_deps
2 parents 9f7f0e7 + 1385e5a commit 752fa6a

36 files changed

Lines changed: 1808 additions & 2321 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
"@commercetools/integration-tests": patch
3+
"@commercetools/category-exporter": patch
4+
"@commercetools/csv-parser-discount-code": patch
5+
"@commercetools/csv-parser-orders": patch
6+
"@commercetools/csv-parser-price": patch
7+
"@commercetools/csv-parser-state": patch
8+
"@commercetools/custom-objects-exporter": patch
9+
"@commercetools/customer-groups-exporter": patch
10+
"@commercetools/discount-code-exporter": patch
11+
"@commercetools/discount-code-generator": patch
12+
"@commercetools/inventories-exporter": patch
13+
"@commercetools/personal-data-erasure": patch
14+
"@commercetools/price-exporter": patch
15+
"@commercetools/product-exporter": patch
16+
---
17+
18+
Cleanup & update dependencies

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@ We'd love to have your helping hand on this ecosystem! Please see [CONTRIBUTING.
7373
[sdk-middleware-user-agent-icon]: https://img.shields.io/npm/v/@commercetools/sdk-middleware-user-agent.svg?style=flat-square
7474
[sdk-middleware-user-agent-dependencies]: https://david-dm.org/commercetools/nodejs?path=packages/sdk-middleware-user-agent
7575
[sdk-middleware-user-agent-dependencies-icon]: https://img.shields.io/david/commercetools/nodejs.svg?path=packages/sdk-middleware-user-agent&style=flat-square
76-
[typescript-sdk-version]: https://www.npmjs.com/package/@commercetools/typescript-sdk
77-
[typescript-sdk-icon]: https://img.shields.io/npm/v/@commercetools/typescript-sdk.svg?style=flat-square
78-
[typescript-sdk-dependencies]: https://david-dm.org/commercetools/nodejs?path=packages/typescript-sdk
79-
[typescript-sdk-dependencies-icon]: https://img.shields.io/david/commercetools/nodejs.svg?path=packages/typescript-sdk&style=flat-square
8076

8177
### CLI tools
8278

integration-tests/cli/__snapshots__/category-exporter.it.js.snap

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@ Usage: category-exporter [options]
66
Exports categories from the commercetools platform.
77
88
Options:
9-
--help Show help [boolean]
10-
--version Show version number [boolean]
11-
--output, -o Path to output file. [default: \\"stdout\\"]
12-
--apiUrl The host URL of the HTTP API service.
9+
--help Show help [boolean]
10+
--version Show version number [boolean]
11+
-o, --output Path to output file. [default: \\"stdout\\"]
12+
--apiUrl The host URL of the HTTP API service.
1313
[default: \\"https://api.europe-west1.gcp.commercetools.com\\"]
14-
--authUrl The host URL of the OAuth API service.
14+
--authUrl The host URL of the OAuth API service.
1515
[default: \\"https://auth.europe-west1.gcp.commercetools.com\\"]
16-
--accessToken CTP client access token
17-
Required scopes: ['view_products', 'manage_products']
18-
--projectKey, -p API project key. [required]
19-
--where, -w Specify where predicate.
20-
--logLevel Logging level: error, warn, info or debug. [default: \\"info\\"]
21-
--prettyLogs Pretty print logs to the terminal [boolean]
22-
--logFile Path to where to save logs file.
16+
--accessToken CTP client access token
17+
Required scopes: ['view_products', 'manage_products']
18+
-p, --projectKey API project key. [required]
19+
-w, --where Specify where predicate.
20+
--logLevel Logging level: error, warn, info or debug.[default: \\"info\\"]
21+
--prettyLogs Pretty print logs to the terminal [boolean]
22+
--logFile Path to where to save logs file.
2323
[default: \\"category-exporter.log\\"]
2424
"
2525
`;

integration-tests/cli/__snapshots__/csv-parser-orders.it.js.snap

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ Usage: csvparserorder [options]
77
Convert commercetools order CSV data to JSON.
88
99
Options:
10-
--help Show help [boolean]
11-
--version Show version number [boolean]
12-
--type, -t Predefined type of csv.
10+
--help Show help [boolean]
11+
--version Show version number [boolean]
12+
-t, --type Predefined type of csv.
1313
[required] [choices: \\"lineitemstate\\", \\"returninfo\\", \\"deliveries\\"]
14-
--inputFile, -i Path to input CSV file. [default: \\"stdin\\"]
15-
--outputFile, -o Path to output JSON file. [default: \\"stdout\\"]
16-
--batchSize, -b Number of CSV rows to handle simultaneously. [default: 100]
17-
--delimiter, -d Used CSV delimiter. [default: \\",\\"]
18-
--encoding, -e Used CSV encoding. [default: \\"utf8\\"]
19-
--strictMode, -s Parse CSV strictly. [default: true]
20-
--logLevel, -l Logging level: error, warn, info or verbose.
14+
-i, --inputFile Path to input CSV file. [default: \\"stdin\\"]
15+
-o, --outputFile Path to output JSON file. [default: \\"stdout\\"]
16+
-b, --batchSize Number of CSV rows to handle simultaneously. [default: 100]
17+
-d, --delimiter Used CSV delimiter. [default: \\",\\"]
18+
-e, --encoding Used CSV encoding. [default: \\"utf8\\"]
19+
-s, --strictMode Parse CSV strictly. [default: true]
20+
-l, --logLevel Logging level: error, warn, info or verbose.
2121
[default: \\"info\\"]
22-
--logFile Path to file where to save logs.
22+
--logFile Path to file where to save logs.
2323
[default: \\"csvparserorder.log\\"]
2424
"
2525
`;

integration-tests/cli/__snapshots__/csv-parser-price.it.js.snap

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ Usage: csvparserprice [options]
77
Converts commercetools states from CSV to JSON
88
99
Options:
10-
--help Show help [boolean]
11-
--version Show version number [boolean]
12-
--inputFile, -i Path to input CSV file. [default: \\"stdin\\"]
13-
--outputFile, -o Path to output JSON file. [default: \\"stdout\\"]
14-
--apiUrl The host URL of the HTTP API service.
10+
--help Show help [boolean]
11+
--version Show version number [boolean]
12+
-i, --inputFile Path to input CSV file. [default: \\"stdin\\"]
13+
-o, --outputFile Path to output JSON file. [default: \\"stdout\\"]
14+
--apiUrl The host URL of the HTTP API service.
1515
[default: \\"https://api.europe-west1.gcp.commercetools.com\\"]
16-
--authUrl The host URL of the OAuth API service.
16+
--authUrl The host URL of the OAuth API service.
1717
[default: \\"https://auth.europe-west1.gcp.commercetools.com\\"]
18-
--batchSize, -b Number of CSV rows to handle simultaneously. [default: 100]
19-
--delimiter, -d Used CSV delimiter. [default: \\",\\"]
20-
--accessToken CTP client access token
21-
--projectKey, -p API project key. [required]
22-
--logLevel Logging level: error, warn, info or verbose.
18+
-b, --batchSize Number of CSV rows to handle simultaneously. [default: 100]
19+
-d, --delimiter Used CSV delimiter. [default: \\",\\"]
20+
--accessToken CTP client access token
21+
-p, --projectKey API project key. [required]
22+
--logLevel Logging level: error, warn, info or verbose.
2323
[default: \\"info\\"]
24-
--logFile Path to file where to save logs.
24+
--logFile Path to file where to save logs.
2525
[default: \\"csvparserprice.log\\"]
2626
"
2727
`;

integration-tests/cli/__snapshots__/csv-parser-state.it.js.snap

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,27 @@ Usage: csv-parser-state [options]
66
Package to parse states from CSV to JSON
77
88
Options:
9-
--help Show help [boolean]
10-
--version Show version number [boolean]
11-
--projectKey, -p API project key [string]
12-
--apiUrl The host URL of the HTTP API service
9+
--help Show help [boolean]
10+
--version Show version number [boolean]
11+
-p, --projectKey API project key [string]
12+
--apiUrl The host URL of the HTTP API service
1313
[string] [default: \\"https://api.commercetools.com\\"]
14-
--authUrl The host URL of the OAuth API service
14+
--authUrl The host URL of the OAuth API service
1515
[string] [default: \\"https://auth.commercetools.com\\"]
16-
--accessToken CTP client access token
16+
--accessToken CTP client access token
1717
Required scopes: ['view_orders'] [string]
18-
--input, -i Path to CSV file. [default: \\"stdin\\"]
19-
--output, -o Path to output JSON file
18+
-i, --input Path to CSV file. [default: \\"stdin\\"]
19+
-o, --output Path to output JSON file
2020
[string] [default: \\"stdout\\"]
21-
--delimiter, -d Used CSV delimiter. [default: \\",\\"]
22-
--multiValueDelimiter, -m Used CSV delimiter in multiValue fields.
21+
-d, --delimiter Used CSV delimiter. [default: \\",\\"]
22+
-m, --multiValueDelimiter Used CSV delimiter in multiValue fields.
2323
[default: \\";\\"]
24-
--continueOnProblems, -c Flag if parsing should continue if module
24+
-c, --continueOnProblems Flag if parsing should continue if module
2525
encounters an error. [boolean] [default: false]
26-
--logLevel Logging level: error, warn, info or debug
26+
--logLevel Logging level: error, warn, info or debug
2727
[string] [default: \\"info\\"]
28-
--prettyLogs Pretty print logs to the terminal [boolean]
29-
--logFile Path to file where logs should be saved
28+
--prettyLogs Pretty print logs to the terminal [boolean]
29+
--logFile Path to file where logs should be saved
3030
[string] [default: \\"csv-parser-state.log\\"]
3131
"
3232
`;

integration-tests/cli/__snapshots__/custom-objects-export.it.js.snap

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ Usage: custom-objects-exporter [options]
66
Exports custom objects from the commercetools platform.
77
88
Options:
9-
--help Show help [boolean]
10-
--version Show version number [boolean]
11-
--output, -o Path to output file. [default: \\"stdout\\"]
12-
--apiUrl The host URL of the HTTP API service.
9+
--help Show help [boolean]
10+
--version Show version number [boolean]
11+
-o, --output Path to output file. [default: \\"stdout\\"]
12+
--apiUrl The host URL of the HTTP API service.
1313
[default: \\"https://api.europe-west1.gcp.commercetools.com\\"]
14-
--authUrl The host URL of the OAuth API service.
14+
--authUrl The host URL of the OAuth API service.
1515
[default: \\"https://auth.europe-west1.gcp.commercetools.com\\"]
16-
--accessToken CTP client access token.
17-
--projectKey, -p API project key. [required]
18-
--where, -w Specify where predicate.
19-
--logLevel Logging level: error, warn, info or debug. [default: \\"info\\"]
20-
--prettyLogs Pretty print logs to the terminal [boolean]
21-
--logFile Path to where to save logs file.
16+
--accessToken CTP client access token.
17+
-p, --projectKey API project key. [required]
18+
-w, --where Specify where predicate.
19+
--logLevel Logging level: error, warn, info or debug.[default: \\"info\\"]
20+
--prettyLogs Pretty print logs to the terminal [boolean]
21+
--logFile Path to where to save logs file.
2222
[string] [default: \\"custom-objects-export.log\\"]
2323
"
2424
`;

integration-tests/cli/__snapshots__/customer-groups-export.it.js.snap

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ Usage: customer-groups-exporter [options]
66
Exports customer groups from the commercetools platform.
77
88
Options:
9-
--help Show help [boolean]
10-
--version Show version number [boolean]
11-
--output, -o Path to output file. [default: \\"stdout\\"]
12-
--apiUrl The host URL of the HTTP API service.
9+
--help Show help [boolean]
10+
--version Show version number [boolean]
11+
-o, --output Path to output file. [default: \\"stdout\\"]
12+
--apiUrl The host URL of the HTTP API service.
1313
[default: \\"https://api.europe-west1.gcp.commercetools.com\\"]
14-
--authUrl The host URL of the OAuth API service.
14+
--authUrl The host URL of the OAuth API service.
1515
[default: \\"https://auth.europe-west1.gcp.commercetools.com\\"]
16-
--accessToken CTP client access token.
17-
--projectKey, -p API project key. [required]
18-
--where, -w Specify where predicate.
19-
--logLevel Logging level: error, warn, info or debug. [default: \\"info\\"]
20-
--prettyLogs Pretty print logs to the terminal [boolean]
21-
--logFile Path to where to save logs file.
16+
--accessToken CTP client access token.
17+
-p, --projectKey API project key. [required]
18+
-w, --where Specify where predicate.
19+
--logLevel Logging level: error, warn, info or debug.[default: \\"info\\"]
20+
--prettyLogs Pretty print logs to the terminal [boolean]
21+
--logFile Path to where to save logs file.
2222
[string] [default: \\"customer-groups-export.log\\"]
2323
"
2424
`;

integration-tests/cli/__snapshots__/inventories-exporter.it.js.snap

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,31 +17,31 @@ Usage: inventoriesexporter [options]
1717
Exports inventories from the commercetools platform.
1818
1919
Options:
20-
--help Show help [boolean]
21-
--version Show version number [boolean]
22-
--outputFile, -o Path to output file. [default: \\"stdout\\"]
23-
--apiUrl The host URL of the HTTP API service.
20+
--help Show help [boolean]
21+
--version Show version number [boolean]
22+
-o, --outputFile Path to output file. [default: \\"stdout\\"]
23+
--apiUrl The host URL of the HTTP API service.
2424
[default: \\"https://api.europe-west1.gcp.commercetools.com\\"]
25-
--authUrl The host URL of the OAuth API service.
25+
--authUrl The host URL of the OAuth API service.
2626
[default: \\"https://auth.europe-west1.gcp.commercetools.com\\"]
27-
--delimiter, -d Used CSV delimiter. [default: \\",\\"]
28-
--accessToken CTP client access token
29-
--projectKey, -p API project key. [required]
30-
--channelKey, -c Channel key to use as filter for result to export.
31-
Useful if you only have channel key but not id.
32-
Can be used with the query flag
27+
-d, --delimiter Used CSV delimiter. [default: \\",\\"]
28+
--accessToken CTP client access token
29+
-p, --projectKey API project key. [required]
30+
-c, --channelKey Channel key to use as filter for result to export.
31+
Useful if you only have channel key but not id.
32+
Can be used with the query flag
3333
34-
--query, -q Filter query for inventories:
35-
dev.commercetools.com/http-api-projects-inventory.html#quer
36-
y-inventory
37-
can be used with channelKey flag
34+
-q, --query Filter query for inventories:
35+
dev.commercetools.com/http-api-projects-inventory.html#que
36+
ry-inventory
37+
can be used with channelKey flag
3838
39-
--format, -f Format for export [choices: \\"csv\\", \\"json\\"] [default: \\"json\\"]
40-
--template, -t Path to a CSV template file with headers which should be
41-
exported.
42-
--logLevel Logging level: error, warn, info or verbose.
39+
-f, --format Format for export[choices: \\"csv\\", \\"json\\"] [default: \\"json\\"]
40+
-t, --template Path to a CSV template file with headers which should be
41+
exported.
42+
--logLevel Logging level: error, warn, info or verbose.
4343
[default: \\"info\\"]
44-
--logFile Path to file where to save logs.
44+
--logFile Path to file where to save logs.
4545
[default: \\"inventories-exporter.log\\"]
4646
"
4747
`;

integration-tests/cli/__snapshots__/personal-data-erasure.it.js.snap

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@ Usage: personal-data-erasure [options]
66
Export and delete all data related to a single customer
77
88
Options:
9-
--help Show help [boolean]
10-
--version Show version number [boolean]
11-
--output, -o Path to output file. [default: \\"stdout\\"]
12-
--customerId, -c Customer to fetch or delete. [required]
13-
--apiUrl The host URL of the HTTP API service.
9+
--help Show help [boolean]
10+
--version Show version number [boolean]
11+
-o, --output Path to output file. [default: \\"stdout\\"]
12+
-c, --customerId Customer to fetch or delete. [required]
13+
--apiUrl The host URL of the HTTP API service.
1414
[default: \\"https://api.europe-west1.gcp.commercetools.com\\"]
15-
--authUrl The host URL of the OAuth API service.
15+
--authUrl The host URL of the OAuth API service.
1616
[default: \\"https://auth.europe-west1.gcp.commercetools.com\\"]
17-
--accessToken CTP client access token.
18-
--projectKey, -p API project key. [required]
19-
--deleteAll, -D Delete all data related to customer. [boolean]
20-
--force Continue without confirmation when combined with
21-
--deleteAll. [boolean]
22-
--logLevel Logging level: error, warn, info or debug. [default: \\"info\\"]
23-
--prettyLogs Pretty print logs to the terminal [boolean]
24-
--logFile Path to where to save logs file.
17+
--accessToken CTP client access token.
18+
-p, --projectKey API project key. [required]
19+
-D, --deleteAll Delete all data related to customer. [boolean]
20+
--force Continue without confirmation when combined with
21+
--deleteAll. [boolean]
22+
--logLevel Logging level: error, warn, info or debug.[default: \\"info\\"]
23+
--prettyLogs Pretty print logs to the terminal [boolean]
24+
--logFile Path to where to save logs file.
2525
[string] [default: \\"personal-data-erasure.log\\"]
2626
"
2727
`;

0 commit comments

Comments
 (0)