Skip to content

Commit

Permalink
Merge pull request #1734 from commercetools/cleanup_deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jenschude authored Nov 22, 2021
2 parents 9f7f0e7 + 1385e5a commit 752fa6a
Show file tree
Hide file tree
Showing 36 changed files with 1,808 additions and 2,321 deletions.
18 changes: 18 additions & 0 deletions .changeset/clever-monkeys-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
"@commercetools/integration-tests": patch
"@commercetools/category-exporter": patch
"@commercetools/csv-parser-discount-code": patch
"@commercetools/csv-parser-orders": patch
"@commercetools/csv-parser-price": patch
"@commercetools/csv-parser-state": patch
"@commercetools/custom-objects-exporter": patch
"@commercetools/customer-groups-exporter": patch
"@commercetools/discount-code-exporter": patch
"@commercetools/discount-code-generator": patch
"@commercetools/inventories-exporter": patch
"@commercetools/personal-data-erasure": patch
"@commercetools/price-exporter": patch
"@commercetools/product-exporter": patch
---

Cleanup & update dependencies
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ We'd love to have your helping hand on this ecosystem! Please see [CONTRIBUTING.
[sdk-middleware-user-agent-icon]: https://img.shields.io/npm/v/@commercetools/sdk-middleware-user-agent.svg?style=flat-square
[sdk-middleware-user-agent-dependencies]: https://david-dm.org/commercetools/nodejs?path=packages/sdk-middleware-user-agent
[sdk-middleware-user-agent-dependencies-icon]: https://img.shields.io/david/commercetools/nodejs.svg?path=packages/sdk-middleware-user-agent&style=flat-square
[typescript-sdk-version]: https://www.npmjs.com/package/@commercetools/typescript-sdk
[typescript-sdk-icon]: https://img.shields.io/npm/v/@commercetools/typescript-sdk.svg?style=flat-square
[typescript-sdk-dependencies]: https://david-dm.org/commercetools/nodejs?path=packages/typescript-sdk
[typescript-sdk-dependencies-icon]: https://img.shields.io/david/commercetools/nodejs.svg?path=packages/typescript-sdk&style=flat-square

### CLI tools

Expand Down
24 changes: 12 additions & 12 deletions integration-tests/cli/__snapshots__/category-exporter.it.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ Usage: category-exporter [options]
Exports categories from the commercetools platform.
Options:
--help Show help [boolean]
--version Show version number [boolean]
--output, -o Path to output file. [default: \\"stdout\\"]
--apiUrl The host URL of the HTTP API service.
--help Show help [boolean]
--version Show version number [boolean]
-o, --output Path to output file. [default: \\"stdout\\"]
--apiUrl The host URL of the HTTP API service.
[default: \\"https://api.europe-west1.gcp.commercetools.com\\"]
--authUrl The host URL of the OAuth API service.
--authUrl The host URL of the OAuth API service.
[default: \\"https://auth.europe-west1.gcp.commercetools.com\\"]
--accessToken CTP client access token
Required scopes: ['view_products', 'manage_products']
--projectKey, -p API project key. [required]
--where, -w Specify where predicate.
--logLevel Logging level: error, warn, info or debug. [default: \\"info\\"]
--prettyLogs Pretty print logs to the terminal [boolean]
--logFile Path to where to save logs file.
--accessToken CTP client access token
Required scopes: ['view_products', 'manage_products']
-p, --projectKey API project key. [required]
-w, --where Specify where predicate.
--logLevel Logging level: error, warn, info or debug.[default: \\"info\\"]
--prettyLogs Pretty print logs to the terminal [boolean]
--logFile Path to where to save logs file.
[default: \\"category-exporter.log\\"]
"
`;
22 changes: 11 additions & 11 deletions integration-tests/cli/__snapshots__/csv-parser-orders.it.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ Usage: csvparserorder [options]
Convert commercetools order CSV data to JSON.
Options:
--help Show help [boolean]
--version Show version number [boolean]
--type, -t Predefined type of csv.
--help Show help [boolean]
--version Show version number [boolean]
-t, --type Predefined type of csv.
[required] [choices: \\"lineitemstate\\", \\"returninfo\\", \\"deliveries\\"]
--inputFile, -i Path to input CSV file. [default: \\"stdin\\"]
--outputFile, -o Path to output JSON file. [default: \\"stdout\\"]
--batchSize, -b Number of CSV rows to handle simultaneously. [default: 100]
--delimiter, -d Used CSV delimiter. [default: \\",\\"]
--encoding, -e Used CSV encoding. [default: \\"utf8\\"]
--strictMode, -s Parse CSV strictly. [default: true]
--logLevel, -l Logging level: error, warn, info or verbose.
-i, --inputFile Path to input CSV file. [default: \\"stdin\\"]
-o, --outputFile Path to output JSON file. [default: \\"stdout\\"]
-b, --batchSize Number of CSV rows to handle simultaneously. [default: 100]
-d, --delimiter Used CSV delimiter. [default: \\",\\"]
-e, --encoding Used CSV encoding. [default: \\"utf8\\"]
-s, --strictMode Parse CSV strictly. [default: true]
-l, --logLevel Logging level: error, warn, info or verbose.
[default: \\"info\\"]
--logFile Path to file where to save logs.
--logFile Path to file where to save logs.
[default: \\"csvparserorder.log\\"]
"
`;
Expand Down
24 changes: 12 additions & 12 deletions integration-tests/cli/__snapshots__/csv-parser-price.it.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ Usage: csvparserprice [options]
Converts commercetools states from CSV to JSON
Options:
--help Show help [boolean]
--version Show version number [boolean]
--inputFile, -i Path to input CSV file. [default: \\"stdin\\"]
--outputFile, -o Path to output JSON file. [default: \\"stdout\\"]
--apiUrl The host URL of the HTTP API service.
--help Show help [boolean]
--version Show version number [boolean]
-i, --inputFile Path to input CSV file. [default: \\"stdin\\"]
-o, --outputFile Path to output JSON file. [default: \\"stdout\\"]
--apiUrl The host URL of the HTTP API service.
[default: \\"https://api.europe-west1.gcp.commercetools.com\\"]
--authUrl The host URL of the OAuth API service.
--authUrl The host URL of the OAuth API service.
[default: \\"https://auth.europe-west1.gcp.commercetools.com\\"]
--batchSize, -b Number of CSV rows to handle simultaneously. [default: 100]
--delimiter, -d Used CSV delimiter. [default: \\",\\"]
--accessToken CTP client access token
--projectKey, -p API project key. [required]
--logLevel Logging level: error, warn, info or verbose.
-b, --batchSize Number of CSV rows to handle simultaneously. [default: 100]
-d, --delimiter Used CSV delimiter. [default: \\",\\"]
--accessToken CTP client access token
-p, --projectKey API project key. [required]
--logLevel Logging level: error, warn, info or verbose.
[default: \\"info\\"]
--logFile Path to file where to save logs.
--logFile Path to file where to save logs.
[default: \\"csvparserprice.log\\"]
"
`;
Expand Down
28 changes: 14 additions & 14 deletions integration-tests/cli/__snapshots__/csv-parser-state.it.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@ Usage: csv-parser-state [options]
Package to parse states from CSV to JSON
Options:
--help Show help [boolean]
--version Show version number [boolean]
--projectKey, -p API project key [string]
--apiUrl The host URL of the HTTP API service
--help Show help [boolean]
--version Show version number [boolean]
-p, --projectKey API project key [string]
--apiUrl The host URL of the HTTP API service
[string] [default: \\"https://api.commercetools.com\\"]
--authUrl The host URL of the OAuth API service
--authUrl The host URL of the OAuth API service
[string] [default: \\"https://auth.commercetools.com\\"]
--accessToken CTP client access token
--accessToken CTP client access token
Required scopes: ['view_orders'] [string]
--input, -i Path to CSV file. [default: \\"stdin\\"]
--output, -o Path to output JSON file
-i, --input Path to CSV file. [default: \\"stdin\\"]
-o, --output Path to output JSON file
[string] [default: \\"stdout\\"]
--delimiter, -d Used CSV delimiter. [default: \\",\\"]
--multiValueDelimiter, -m Used CSV delimiter in multiValue fields.
-d, --delimiter Used CSV delimiter. [default: \\",\\"]
-m, --multiValueDelimiter Used CSV delimiter in multiValue fields.
[default: \\";\\"]
--continueOnProblems, -c Flag if parsing should continue if module
-c, --continueOnProblems Flag if parsing should continue if module
encounters an error. [boolean] [default: false]
--logLevel Logging level: error, warn, info or debug
--logLevel Logging level: error, warn, info or debug
[string] [default: \\"info\\"]
--prettyLogs Pretty print logs to the terminal [boolean]
--logFile Path to file where logs should be saved
--prettyLogs Pretty print logs to the terminal [boolean]
--logFile Path to file where logs should be saved
[string] [default: \\"csv-parser-state.log\\"]
"
`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ Usage: custom-objects-exporter [options]
Exports custom objects from the commercetools platform.
Options:
--help Show help [boolean]
--version Show version number [boolean]
--output, -o Path to output file. [default: \\"stdout\\"]
--apiUrl The host URL of the HTTP API service.
--help Show help [boolean]
--version Show version number [boolean]
-o, --output Path to output file. [default: \\"stdout\\"]
--apiUrl The host URL of the HTTP API service.
[default: \\"https://api.europe-west1.gcp.commercetools.com\\"]
--authUrl The host URL of the OAuth API service.
--authUrl The host URL of the OAuth API service.
[default: \\"https://auth.europe-west1.gcp.commercetools.com\\"]
--accessToken CTP client access token.
--projectKey, -p API project key. [required]
--where, -w Specify where predicate.
--logLevel Logging level: error, warn, info or debug. [default: \\"info\\"]
--prettyLogs Pretty print logs to the terminal [boolean]
--logFile Path to where to save logs file.
--accessToken CTP client access token.
-p, --projectKey API project key. [required]
-w, --where Specify where predicate.
--logLevel Logging level: error, warn, info or debug.[default: \\"info\\"]
--prettyLogs Pretty print logs to the terminal [boolean]
--logFile Path to where to save logs file.
[string] [default: \\"custom-objects-export.log\\"]
"
`;
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ Usage: customer-groups-exporter [options]
Exports customer groups from the commercetools platform.
Options:
--help Show help [boolean]
--version Show version number [boolean]
--output, -o Path to output file. [default: \\"stdout\\"]
--apiUrl The host URL of the HTTP API service.
--help Show help [boolean]
--version Show version number [boolean]
-o, --output Path to output file. [default: \\"stdout\\"]
--apiUrl The host URL of the HTTP API service.
[default: \\"https://api.europe-west1.gcp.commercetools.com\\"]
--authUrl The host URL of the OAuth API service.
--authUrl The host URL of the OAuth API service.
[default: \\"https://auth.europe-west1.gcp.commercetools.com\\"]
--accessToken CTP client access token.
--projectKey, -p API project key. [required]
--where, -w Specify where predicate.
--logLevel Logging level: error, warn, info or debug. [default: \\"info\\"]
--prettyLogs Pretty print logs to the terminal [boolean]
--logFile Path to where to save logs file.
--accessToken CTP client access token.
-p, --projectKey API project key. [required]
-w, --where Specify where predicate.
--logLevel Logging level: error, warn, info or debug.[default: \\"info\\"]
--prettyLogs Pretty print logs to the terminal [boolean]
--logFile Path to where to save logs file.
[string] [default: \\"customer-groups-export.log\\"]
"
`;
40 changes: 20 additions & 20 deletions integration-tests/cli/__snapshots__/inventories-exporter.it.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,31 @@ Usage: inventoriesexporter [options]
Exports inventories from the commercetools platform.
Options:
--help Show help [boolean]
--version Show version number [boolean]
--outputFile, -o Path to output file. [default: \\"stdout\\"]
--apiUrl The host URL of the HTTP API service.
--help Show help [boolean]
--version Show version number [boolean]
-o, --outputFile Path to output file. [default: \\"stdout\\"]
--apiUrl The host URL of the HTTP API service.
[default: \\"https://api.europe-west1.gcp.commercetools.com\\"]
--authUrl The host URL of the OAuth API service.
--authUrl The host URL of the OAuth API service.
[default: \\"https://auth.europe-west1.gcp.commercetools.com\\"]
--delimiter, -d Used CSV delimiter. [default: \\",\\"]
--accessToken CTP client access token
--projectKey, -p API project key. [required]
--channelKey, -c Channel key to use as filter for result to export.
Useful if you only have channel key but not id.
Can be used with the query flag
-d, --delimiter Used CSV delimiter. [default: \\",\\"]
--accessToken CTP client access token
-p, --projectKey API project key. [required]
-c, --channelKey Channel key to use as filter for result to export.
Useful if you only have channel key but not id.
Can be used with the query flag
--query, -q Filter query for inventories:
dev.commercetools.com/http-api-projects-inventory.html#quer
y-inventory
can be used with channelKey flag
-q, --query Filter query for inventories:
dev.commercetools.com/http-api-projects-inventory.html#que
ry-inventory
can be used with channelKey flag
--format, -f Format for export [choices: \\"csv\\", \\"json\\"] [default: \\"json\\"]
--template, -t Path to a CSV template file with headers which should be
exported.
--logLevel Logging level: error, warn, info or verbose.
-f, --format Format for export[choices: \\"csv\\", \\"json\\"] [default: \\"json\\"]
-t, --template Path to a CSV template file with headers which should be
exported.
--logLevel Logging level: error, warn, info or verbose.
[default: \\"info\\"]
--logFile Path to file where to save logs.
--logFile Path to file where to save logs.
[default: \\"inventories-exporter.log\\"]
"
`;
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ Usage: personal-data-erasure [options]
Export and delete all data related to a single customer
Options:
--help Show help [boolean]
--version Show version number [boolean]
--output, -o Path to output file. [default: \\"stdout\\"]
--customerId, -c Customer to fetch or delete. [required]
--apiUrl The host URL of the HTTP API service.
--help Show help [boolean]
--version Show version number [boolean]
-o, --output Path to output file. [default: \\"stdout\\"]
-c, --customerId Customer to fetch or delete. [required]
--apiUrl The host URL of the HTTP API service.
[default: \\"https://api.europe-west1.gcp.commercetools.com\\"]
--authUrl The host URL of the OAuth API service.
--authUrl The host URL of the OAuth API service.
[default: \\"https://auth.europe-west1.gcp.commercetools.com\\"]
--accessToken CTP client access token.
--projectKey, -p API project key. [required]
--deleteAll, -D Delete all data related to customer. [boolean]
--force Continue without confirmation when combined with
--deleteAll. [boolean]
--logLevel Logging level: error, warn, info or debug. [default: \\"info\\"]
--prettyLogs Pretty print logs to the terminal [boolean]
--logFile Path to where to save logs file.
--accessToken CTP client access token.
-p, --projectKey API project key. [required]
-D, --deleteAll Delete all data related to customer. [boolean]
--force Continue without confirmation when combined with
--deleteAll. [boolean]
--logLevel Logging level: error, warn, info or debug.[default: \\"info\\"]
--prettyLogs Pretty print logs to the terminal [boolean]
--logFile Path to where to save logs file.
[string] [default: \\"personal-data-erasure.log\\"]
"
`;
Loading

0 comments on commit 752fa6a

Please sign in to comment.