From c4ca3e1f38e5dbc1c06c15acdf6b61ec0f843486 Mon Sep 17 00:00:00 2001 From: Antony Date: Thu, 5 Oct 2023 19:38:49 +0530 Subject: [PATCH] Lock file and readme updated --- package-lock.json | 25 +---- packages/contentstack-audit/README.md | 81 +++++++++------- pnpm-lock.yaml | 127 +++++++++++++++++++++++--- 3 files changed, 161 insertions(+), 72 deletions(-) diff --git a/package-lock.json b/package-lock.json index 644a28d03a..634135046b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23288,19 +23288,6 @@ "node": ">=4" } }, - "packages/contentstack-audit/node_modules/fs-extra": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz", - "integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=14.14" - } - }, "packages/contentstack-audit/node_modules/glob": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", @@ -26922,7 +26909,7 @@ "eslint": "^8.43.0", "eslint-config-oclif": "^4.0.0", "eslint-config-oclif-typescript": "^1.0.3", - "fast-csv": "*", + "fast-csv": "^4.3.6", "lodash": "^4.17.21", "mocha": "^10.2.0", "nyc": "^15.1.0", @@ -27242,16 +27229,6 @@ } } }, - "fs-extra": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz", - "integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==", - "requires": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - } - }, "glob": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", diff --git a/packages/contentstack-audit/README.md b/packages/contentstack-audit/README.md index 61998f557d..c04f0560eb 100644 --- a/packages/contentstack-audit/README.md +++ b/packages/contentstack-audit/README.md @@ -30,28 +30,24 @@ USAGE # Commands -- [@contentstack/cli-audit](#contentstackcli-audit) - - [How to install this plugin](#how-to-install-this-plugin) - - [How to use this plugin](#how-to-use-this-plugin) -- [Commands](#commands) - - [`csdx audit`](#csdx-audit) - - [`csdx audit:fix`](#csdx-auditfix) - - [`csdx cm:stacks:audit`](#csdx-cmstacksaudit) - - [`csdx cm:stacks:audit:fix`](#csdx-cmstacksauditfix) - - [`csdx help [COMMANDS]`](#csdx-help-commands) - - [`csdx plugins`](#csdx-plugins) - - [`csdx plugins:install PLUGIN...`](#csdx-pluginsinstall-plugin) - - [`csdx plugins:inspect PLUGIN...`](#csdx-pluginsinspect-plugin) - - [`csdx plugins:install PLUGIN...`](#csdx-pluginsinstall-plugin-1) - - [`csdx plugins:link PLUGIN`](#csdx-pluginslink-plugin) - - [`csdx plugins:uninstall PLUGIN...`](#csdx-pluginsuninstall-plugin) - - [`csdx plugins:uninstall PLUGIN...`](#csdx-pluginsuninstall-plugin-1) - - [`csdx plugins:uninstall PLUGIN...`](#csdx-pluginsuninstall-plugin-2) - - [`csdx plugins:update`](#csdx-pluginsupdate) +* [`csdx audit`](#csdx-audit) +* [`csdx audit:fix`](#csdx-auditfix) +* [`csdx cm:stacks:audit`](#csdx-cmstacksaudit) +* [`csdx cm:stacks:audit:fix`](#csdx-cmstacksauditfix) +* [`csdx help [COMMANDS]`](#csdx-help-commands) +* [`csdx plugins`](#csdx-plugins) +* [`csdx plugins:install PLUGIN...`](#csdx-pluginsinstall-plugin) +* [`csdx plugins:inspect PLUGIN...`](#csdx-pluginsinspect-plugin) +* [`csdx plugins:install PLUGIN...`](#csdx-pluginsinstall-plugin-1) +* [`csdx plugins:link PLUGIN`](#csdx-pluginslink-plugin) +* [`csdx plugins:uninstall PLUGIN...`](#csdx-pluginsuninstall-plugin) +* [`csdx plugins:uninstall PLUGIN...`](#csdx-pluginsuninstall-plugin-1) +* [`csdx plugins:uninstall PLUGIN...`](#csdx-pluginsuninstall-plugin-2) +* [`csdx plugins:update`](#csdx-pluginsupdate) ## `csdx audit` -Audit and find possible errors in the exported data +Perform audits and find possible errors in the exported Contentstack data ``` USAGE @@ -62,9 +58,17 @@ USAGE FLAGS -c, --config= Path of the external config. -d, --data-dir= Path where the data is stored. + --columns= only show provided columns (comma-separated) + --csv output is csv format [alias: --output=csv] + --filter= filter property by partial string matching, ex: name=foo + --modules=