@commercelayer/cli-plugin-resources
Advanced tools
Comparing version 6.0.0-rc.4 to 6.0.0-rc.5
import Command from '../../base'; | ||
import { type CommerceLayerClient } from '@commercelayer/sdk'; | ||
import type { CommerceLayerClient } from '@commercelayer/sdk'; | ||
export default class ResourcesAll extends Command { | ||
@@ -4,0 +4,0 @@ static description: string; |
@@ -9,3 +9,3 @@ "use strict"; | ||
const maxItemsWarning = 20000; | ||
const maxPageItems = 25; | ||
const maxPageItems = cli_core_1.clConfig.api.page_max_size; | ||
const securityInterval = 2; | ||
@@ -178,2 +178,4 @@ const requestTimeout = { min: 1000, max: 15000 }; | ||
params.sort = { created_at: 'asc' }; // query order issue | ||
if (!params.sort.id) | ||
params.sort.id = 'asc'; | ||
params.pageSize = maxPageItems; | ||
@@ -180,0 +182,0 @@ const resources = []; |
@@ -81,3 +81,3 @@ "use strict"; | ||
delimiter = '\t'; | ||
(0, json_2_csv_1.json2csvAsync)(output, { | ||
await (0, json_2_csv_1.json2csvAsync)(output, { | ||
excelBOM: true, | ||
@@ -84,0 +84,0 @@ expandArrayObjects: true, |
{ | ||
"name": "@commercelayer/cli-plugin-resources", | ||
"description": "Commerce Layer CLI Resources plugin", | ||
"version": "6.0.0-rc.4", | ||
"version": "6.0.0-rc.5", | ||
"author": "Pierluigi Viti <pierluigi@commercelayer.io>", | ||
@@ -61,6 +61,6 @@ "homepage": "https://github.com/commercelayer/commercelayer-cli-plugin-resources", | ||
"devDependencies": { | ||
"@commercelayer/cli-dev": "^3.0.2", | ||
"@commercelayer/cli-dev": "^3.0.3", | ||
"@commercelayer/eslint-config-ts": "^1.4.5", | ||
"@oclif/plugin-help": "^6.0.21", | ||
"@oclif/test": "^3.2.10", | ||
"@oclif/test": "^3.2.11", | ||
"@semantic-release/changelog": "^6.0.3", | ||
@@ -78,3 +78,3 @@ "@semantic-release/git": "^10.0.1", | ||
"nyc": "^15.1.0", | ||
"oclif": "^4.8.5", | ||
"oclif": "^4.8.8", | ||
"semantic-release": "^23.0.8", | ||
@@ -86,4 +86,4 @@ "tsx": "^4.7.2", | ||
"@commercelayer/cli-core": "^5.0.0", | ||
"@commercelayer/sdk": "6.0.0-rc.2", | ||
"@oclif/core": "^3.26.3", | ||
"@commercelayer/sdk": "6.0.0-rc.3", | ||
"@oclif/core": "^3.26.4", | ||
"inquirer": "^8.2.6", | ||
@@ -90,0 +90,0 @@ "json-2-csv": "^3.20.0", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
287446
6643
+ Added@commercelayer/sdk@6.0.0-rc.3(transitive)
- Removed@commercelayer/sdk@6.0.0-rc.2(transitive)
Updated@oclif/core@^3.26.4