diff --git a/package-lock.json b/package-lock.json index 8ac7a4dd98..9837fb1a53 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23142,7 +23142,7 @@ }, "packages/contentstack": { "name": "@contentstack/cli", - "version": "1.9.0", + "version": "1.9.1", "license": "MIT", "dependencies": { "@contentstack/cli-auth": "~1.3.13", @@ -23154,7 +23154,7 @@ "@contentstack/cli-cm-export-to-csv": "~1.4.2", "@contentstack/cli-cm-import": "~1.9.0", "@contentstack/cli-cm-migrate-rte": "~1.4.11", - "@contentstack/cli-cm-seed": "~1.5.0", + "@contentstack/cli-cm-seed": "~1.5.1", "@contentstack/cli-command": "~1.2.12", "@contentstack/cli-config": "~1.4.11", "@contentstack/cli-launch": "~1.0.12", @@ -24886,13 +24886,12 @@ }, "packages/contentstack-seed": { "name": "@contentstack/cli-cm-seed", - "version": "1.5.0", + "version": "1.5.1", "license": "MIT", "dependencies": { "@contentstack/cli-cm-import": "~1.9.0", "@contentstack/cli-command": "~1.2.12", "@contentstack/cli-utilities": "~1.5.2", - "axios": "1.3.4", "inquirer": "8.2.4", "mkdirp": "^1.0.4", "tar": "^6.1.13", @@ -24907,6 +24906,7 @@ "@types/node": "^14.14.32", "@types/tar": "^6.1.3", "@types/tmp": "^0.2.0", + "axios": "1.4.0", "eslint": "^8.18.0", "eslint-config-oclif": "^4.0.0", "eslint-config-oclif-typescript": "^0.1.0", @@ -24921,6 +24921,17 @@ "node": ">=14.0.0" } }, + "packages/contentstack-seed/node_modules/axios": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.4.0.tgz", + "integrity": "sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==", + "dev": true, + "dependencies": { + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, "packages/contentstack-seed/node_modules/diff": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", @@ -26576,7 +26587,7 @@ "@contentstack/cli-cm-export-to-csv": "~1.4.2", "@contentstack/cli-cm-import": "~1.9.0", "@contentstack/cli-cm-migrate-rte": "~1.4.11", - "@contentstack/cli-cm-seed": "~1.5.0", + "@contentstack/cli-cm-seed": "~1.5.1", "@contentstack/cli-command": "~1.2.12", "@contentstack/cli-config": "~1.4.11", "@contentstack/cli-launch": "~1.0.12", @@ -27278,7 +27289,7 @@ "@types/node": "^14.14.32", "@types/tar": "^6.1.3", "@types/tmp": "^0.2.0", - "axios": "1.3.4", + "axios": "1.4.0", "eslint": "^8.18.0", "eslint-config-oclif": "^4.0.0", "eslint-config-oclif-typescript": "^0.1.0", @@ -27295,6 +27306,17 @@ "typescript": "^4.9.3" }, "dependencies": { + "axios": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.4.0.tgz", + "integrity": "sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==", + "dev": true, + "requires": { + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, "diff": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", diff --git a/packages/contentstack-seed/package.json b/packages/contentstack-seed/package.json index e30c9efcb0..801e3dd3cb 100644 --- a/packages/contentstack-seed/package.json +++ b/packages/contentstack-seed/package.json @@ -1,14 +1,13 @@ { "name": "@contentstack/cli-cm-seed", "description": "create a Stack from existing content types, entries, assets, etc.", - "version": "1.5.0", + "version": "1.5.1", "author": "Contentstack", "bugs": "https://github.com/contentstack/cli/issues", "dependencies": { "@contentstack/cli-cm-import": "~1.9.0", "@contentstack/cli-command": "~1.2.12", "@contentstack/cli-utilities": "~1.5.2", - "axios": "1.3.4", "inquirer": "8.2.4", "mkdirp": "^1.0.4", "tar": "^6.1.13", @@ -23,6 +22,7 @@ "@types/node": "^14.14.32", "@types/tar": "^6.1.3", "@types/tmp": "^0.2.0", + "axios": "1.4.0", "eslint": "^8.18.0", "eslint-config-oclif": "^4.0.0", "eslint-config-oclif-typescript": "^0.1.0", diff --git a/packages/contentstack/README.md b/packages/contentstack/README.md index 23ba588070..ff3121f788 100644 --- a/packages/contentstack/README.md +++ b/packages/contentstack/README.md @@ -5,109 +5,105 @@ Use Contentstack Command-line Interface to command Contentstack for executing a [![License](https://img.shields.io/npm/l/@contentstack/cli)](https://github.com/contentstack/cli/blob/main/LICENSE) - -- [@contentstack/cli](#contentstackcli) -- [Usage](#usage) -- [Commands](#commands) +* [@contentstack/cli](#contentstackcli) +* [Usage](#usage) +* [Commands](#commands) # Usage - ```sh-session $ npm install -g @contentstack/cli $ csdx COMMAND running command... $ csdx (--version|-v) -@contentstack/cli/1.9.0 darwin-arm64 node-v20.7.0 +@contentstack/cli/1.9.1 darwin-x64 node-v20.8.0 $ csdx --help [COMMAND] USAGE $ csdx COMMAND ... ``` - # Commands - -- [`csdx auth:login`](#csdx-authlogin) -- [`csdx auth:logout`](#csdx-authlogout) -- [`csdx auth:tokens`](#csdx-authtokens) -- [`csdx auth:tokens:add [-a ] [--delivery] [--management] [-e ] [-k ] [-y] [--token ]`](#csdx-authtokensadd--a-value---delivery---management--e-value--k-value--y---token-value) -- [`csdx auth:tokens:remove`](#csdx-authtokensremove) -- [`csdx auth:whoami`](#csdx-authwhoami) -- [`csdx cm:assets:publish [-a ] [--retry-failed ] [-e ] [--folder-uid ] [--bulk-publish ] [-c ] [-y] [--locales ] [--branch ] [--delivery-token ] [--source-env ]`](#csdx-cmassetspublish--a-value---retry-failed-value--e-value---folder-uid-value---bulk-publish-value--c-value--y---locales-value---branch-value---delivery-token-value---source-env-value) -- [`csdx cm:assets:unpublish`](#csdx-cmassetsunpublish) -- [`csdx cm:bootstrap`](#csdx-cmbootstrap) -- [`csdx cm:branches`](#csdx-cmbranches) -- [`csdx cm:branches:create`](#csdx-cmbranchescreate) -- [`csdx cm:branches:delete [-uid ] [-k ]`](#csdx-cmbranchesdelete--uid-value--k-value) -- [`csdx cm:branches:diff [--base-branch ] [--compare-branch ] [-k ][--module ]`](#csdx-cmbranchesdiff---base-branch-value---compare-branch-value--k-value--module-value) -- [`csdx cm:branches:merge [-k ][--compare-branch ] [--no-revert] [--export-summary-path ] [--use-merge-summary ] [--comment ] [--base-branch ]`](#csdx-cmbranchesmerge--k-value--compare-branch-value---no-revert---export-summary-path-value---use-merge-summary-value---comment-value---base-branch-value) -- [`csdx cm:bulk-publish`](#csdx-cmbulk-publish) -- [`csdx cm:entries:update-and-publish [-a ] [--retry-failed ] [--bulk-publish ] [--content-types ] [-t ] [-e ] [-c ] [-y] [--locales ] [--branch ]`](#csdx-cmentriesupdate-and-publish--a-value---retry-failed-value---bulk-publish-value---content-types-value--t-value--e-value--c-value--y---locales-value---branch-value) -- [`csdx cm:assets:publish [-a ] [--retry-failed ] [-e ] [--folder-uid ] [--bulk-publish ] [-c ] [-y] [--locales ] [--branch ] [--delivery-token ] [--source-env ]`](#csdx-cmassetspublish--a-value---retry-failed-value--e-value---folder-uid-value---bulk-publish-value--c-value--y---locales-value---branch-value---delivery-token-value---source-env-value-1) -- [`csdx cm:bulk-publish:clear`](#csdx-cmbulk-publishclear) -- [`csdx cm:bulk-publish:configure`](#csdx-cmbulk-publishconfigure) -- [`csdx cm:bulk-publish:cross-publish [-a ] [--retry-failed ] [--bulk-publish ] [--content-type ] [--locales ] [--source-env ] [--environments ] [--delivery-token ] [-c ] [-y] [--branch ] [--onlyAssets] [--onlyEntries]`](#csdx-cmbulk-publishcross-publish--a-value---retry-failed-value---bulk-publish-value---content-type-value---locales-value---source-env-value---environments-value---delivery-token-value--c-value--y---branch-value---onlyassets---onlyentries) -- [`csdx cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ] [--delivery-token ] [--source-env ]`](#csdx-cmentriespublish--a-value---retry-failed-value---bulk-publish-value---publish-all-content-types---content-types-value---locales-value--e-value--c-value--y---branch-value---delivery-token-value---source-env-value) -- [`csdx cm:entries:publish-modified [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-modified--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value---locales-value--e-value--c-value--y---branch-value) -- [`csdx cm:entries:publish-non-localized-fields [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-non-localized-fields--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value--e-value--c-value--y---branch-value) -- [`csdx cm:bulk-publish:revert`](#csdx-cmbulk-publishrevert) -- [`csdx csdx cm:stacks:unpublish [-a ] [-e ] [-c ] [-y] [--locale ] [--branch ] [--retry-failed ] [--bulk-unpublish ] [--content-type ] [--delivery-token ] [--only-assets] [--only-entries]`](#csdx-csdx-cmstacksunpublish--a-value--e-value--c-value--y---locale-value---branch-value---retry-failed-value---bulk-unpublish-value---content-type-value---delivery-token-value---only-assets---only-entries) -- [`csdx cm:entries:publish-only-unpublished [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-only-unpublished--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value---locales-value--e-value--c-value--y---branch-value) -- [`csdx cm:entries:migrate-html-rte`](#csdx-cmentriesmigrate-html-rte) -- [`csdx cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ] [--delivery-token ] [--source-env ]`](#csdx-cmentriespublish--a-value---retry-failed-value---bulk-publish-value---publish-all-content-types---content-types-value---locales-value--e-value--c-value--y---branch-value---delivery-token-value---source-env-value-1) -- [`csdx cm:entries:publish-modified [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-modified--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value---locales-value--e-value--c-value--y---branch-value-1) -- [`csdx cm:entries:publish-non-localized-fields [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-non-localized-fields--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value--e-value--c-value--y---branch-value-1) -- [`csdx cm:entries:publish-only-unpublished [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-only-unpublished--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value---locales-value--e-value--c-value--y---branch-value-1) -- [`csdx cm:entries:unpublish`](#csdx-cmentriesunpublish) -- [`csdx cm:entries:update-and-publish [-a ] [--retry-failed ] [--bulk-publish ] [--content-types ] [-t ] [-e ] [-c ] [-y] [--locales ] [--branch ]`](#csdx-cmentriesupdate-and-publish--a-value---retry-failed-value---bulk-publish-value---content-types-value--t-value--e-value--c-value--y---locales-value---branch-value-1) -- [`csdx cm:stacks:export [-c ] [-k ] [-d ] [-a ] [--module ] [--content-types ] [--branch ] [--secured-assets]`](#csdx-cmstacksexport--c-value--k-value--d-value--a-value---module-value---content-types-value---branch-value---secured-assets) -- [`csdx cm:export-to-csv`](#csdx-cmexport-to-csv) -- [`csdx cm:stacks:import [-c ] [-k ] [-d ] [-a ] [--module ] [--backup-dir ] [--branch ] [--import-webhook-status disable|current]`](#csdx-cmstacksimport--c-value--k-value--d-value--a-value---module-value---backup-dir-value---branch-value---import-webhook-status-disablecurrent) -- [`csdx cm:migrate-rte`](#csdx-cmmigrate-rte) -- [`csdx cm:stacks:migration [-k ] [-a ] [--file-path ] [--branch ] [--config-file ] [--config ] [--multiple]`](#csdx-cmstacksmigration--k-value--a-value---file-path-value---branch-value---config-file-value---config-value---multiple) -- [`csdx cm:stacks:seed [--repo ] [--org ] [-k ] [-n ] [-y ] [-s ]`](#csdx-cmstacksseed---repo-value---org-value--k-value--n-value--y-value--s-value) -- [`csdx cm:stacks:clone [--source-branch ] [--target-branch ] [--source-management-token-alias ] [--destination-management-token-alias ] [-n ] [--type a|b] [--source-stack-api-key ] [--destination-stack-api-key ] [--import-webhook-status disable|current]`](#csdx-cmstacksclone---source-branch-value---target-branch-value---source-management-token-alias-value---destination-management-token-alias-value--n-value---type-ab---source-stack-api-key-value---destination-stack-api-key-value---import-webhook-status-disablecurrent) -- [`csdx cm:stacks:clone [--source-branch ] [--target-branch ] [--source-management-token-alias ] [--destination-management-token-alias ] [-n ] [--type a|b] [--source-stack-api-key ] [--destination-stack-api-key ] [--import-webhook-status disable|current]`](#csdx-cmstacksclone---source-branch-value---target-branch-value---source-management-token-alias-value---destination-management-token-alias-value--n-value---type-ab---source-stack-api-key-value---destination-stack-api-key-value---import-webhook-status-disablecurrent-1) -- [`csdx cm:stacks:export [-c ] [-k ] [-d ] [-a ] [--module ] [--content-types ] [--branch ] [--secured-assets]`](#csdx-cmstacksexport--c-value--k-value--d-value--a-value---module-value---content-types-value---branch-value---secured-assets-1) -- [`csdx cm:stacks:import [-c ] [-k ] [-d ] [-a ] [--module ] [--backup-dir ] [--branch ] [--import-webhook-status disable|current]`](#csdx-cmstacksimport--c-value--k-value--d-value--a-value---module-value---backup-dir-value---branch-value---import-webhook-status-disablecurrent-1) -- [`csdx cm:stacks:migration [-k ] [-a ] [--file-path ] [--branch ] [--config-file ] [--config ] [--multiple]`](#csdx-cmstacksmigration--k-value--a-value---file-path-value---branch-value---config-file-value---config-value---multiple-1) -- [`csdx cm:stacks:publish`](#csdx-cmstackspublish) -- [`csdx cm:stacks:publish-clear-logs`](#csdx-cmstackspublish-clear-logs) -- [`csdx cm:stacks:publish-configure`](#csdx-cmstackspublish-configure) -- [`csdx cm:stacks:publish-revert`](#csdx-cmstackspublish-revert) -- [`csdx cm:stacks:seed [--repo ] [--org ] [-k ] [-n ] [-y ] [-s ]`](#csdx-cmstacksseed---repo-value---org-value--k-value--n-value--y-value--s-value-1) -- [`csdx csdx cm:stacks:unpublish [-a ] [-e ] [-c ] [-y] [--locale ] [--branch ] [--retry-failed ] [--bulk-unpublish ] [--content-type ] [--delivery-token ] [--only-assets] [--only-entries]`](#csdx-csdx-cmstacksunpublish--a-value--e-value--c-value--y---locale-value---branch-value---retry-failed-value---bulk-unpublish-value---content-type-value---delivery-token-value---only-assets---only-entries-1) -- [`csdx config:get:base-branch`](#csdx-configgetbase-branch) -- [`csdx config:get:region`](#csdx-configgetregion) -- [`csdx config:remove:base-branch`](#csdx-configremovebase-branch) -- [`csdx config:set:base-branch`](#csdx-configsetbase-branch) -- [`csdx config:set:region [REGION]`](#csdx-configsetregion-region) -- [`csdx help [COMMANDS]`](#csdx-help-commands) -- [`csdx launch`](#csdx-launch) -- [`csdx launch:deployments`](#csdx-launchdeployments) -- [`csdx launch:environments`](#csdx-launchenvironments) -- [`csdx launch:functions`](#csdx-launchfunctions) -- [`csdx launch:logs`](#csdx-launchlogs) -- [`csdx launch:open`](#csdx-launchopen) -- [`csdx login`](#csdx-login) -- [`csdx logout`](#csdx-logout) -- [`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 tokens`](#csdx-tokens) -- [`csdx whoami`](#csdx-whoami) +* [`csdx auth:login`](#csdx-authlogin) +* [`csdx auth:logout`](#csdx-authlogout) +* [`csdx auth:tokens`](#csdx-authtokens) +* [`csdx auth:tokens:add [-a ] [--delivery] [--management] [-e ] [-k ] [-y] [--token ]`](#csdx-authtokensadd--a-value---delivery---management--e-value--k-value--y---token-value) +* [`csdx auth:tokens:remove`](#csdx-authtokensremove) +* [`csdx auth:whoami`](#csdx-authwhoami) +* [`csdx cm:assets:publish [-a ] [--retry-failed ] [-e ] [--folder-uid ] [--bulk-publish ] [-c ] [-y] [--locales ] [--branch ] [--delivery-token ] [--source-env ]`](#csdx-cmassetspublish--a-value---retry-failed-value--e-value---folder-uid-value---bulk-publish-value--c-value--y---locales-value---branch-value---delivery-token-value---source-env-value) +* [`csdx cm:assets:unpublish`](#csdx-cmassetsunpublish) +* [`csdx cm:bootstrap`](#csdx-cmbootstrap) +* [`csdx cm:branches`](#csdx-cmbranches) +* [`csdx cm:branches:create`](#csdx-cmbranchescreate) +* [`csdx cm:branches:delete [-uid ] [-k ]`](#csdx-cmbranchesdelete--uid-value--k-value) +* [`csdx cm:branches:diff [--base-branch ] [--compare-branch ] [-k ][--module ]`](#csdx-cmbranchesdiff---base-branch-value---compare-branch-value--k-value--module-value) +* [`csdx cm:branches:merge [-k ][--compare-branch ] [--no-revert] [--export-summary-path ] [--use-merge-summary ] [--comment ] [--base-branch ]`](#csdx-cmbranchesmerge--k-value--compare-branch-value---no-revert---export-summary-path-value---use-merge-summary-value---comment-value---base-branch-value) +* [`csdx cm:bulk-publish`](#csdx-cmbulk-publish) +* [`csdx cm:entries:update-and-publish [-a ] [--retry-failed ] [--bulk-publish ] [--content-types ] [-t ] [-e ] [-c ] [-y] [--locales ] [--branch ]`](#csdx-cmentriesupdate-and-publish--a-value---retry-failed-value---bulk-publish-value---content-types-value--t-value--e-value--c-value--y---locales-value---branch-value) +* [`csdx cm:assets:publish [-a ] [--retry-failed ] [-e ] [--folder-uid ] [--bulk-publish ] [-c ] [-y] [--locales ] [--branch ] [--delivery-token ] [--source-env ]`](#csdx-cmassetspublish--a-value---retry-failed-value--e-value---folder-uid-value---bulk-publish-value--c-value--y---locales-value---branch-value---delivery-token-value---source-env-value-1) +* [`csdx cm:bulk-publish:clear`](#csdx-cmbulk-publishclear) +* [`csdx cm:bulk-publish:configure`](#csdx-cmbulk-publishconfigure) +* [`csdx cm:bulk-publish:cross-publish [-a ] [--retry-failed ] [--bulk-publish ] [--content-type ] [--locales ] [--source-env ] [--environments ] [--delivery-token ] [-c ] [-y] [--branch ] [--onlyAssets] [--onlyEntries]`](#csdx-cmbulk-publishcross-publish--a-value---retry-failed-value---bulk-publish-value---content-type-value---locales-value---source-env-value---environments-value---delivery-token-value--c-value--y---branch-value---onlyassets---onlyentries) +* [`csdx cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ] [--delivery-token ] [--source-env ]`](#csdx-cmentriespublish--a-value---retry-failed-value---bulk-publish-value---publish-all-content-types---content-types-value---locales-value--e-value--c-value--y---branch-value---delivery-token-value---source-env-value) +* [`csdx cm:entries:publish-modified [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-modified--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value---locales-value--e-value--c-value--y---branch-value) +* [`csdx cm:entries:publish-non-localized-fields [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-non-localized-fields--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value--e-value--c-value--y---branch-value) +* [`csdx cm:bulk-publish:revert`](#csdx-cmbulk-publishrevert) +* [`csdx csdx cm:stacks:unpublish [-a ] [-e ] [-c ] [-y] [--locale ] [--branch ] [--retry-failed ] [--bulk-unpublish ] [--content-type ] [--delivery-token ] [--only-assets] [--only-entries]`](#csdx-csdx-cmstacksunpublish--a-value--e-value--c-value--y---locale-value---branch-value---retry-failed-value---bulk-unpublish-value---content-type-value---delivery-token-value---only-assets---only-entries) +* [`csdx cm:entries:publish-only-unpublished [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-only-unpublished--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value---locales-value--e-value--c-value--y---branch-value) +* [`csdx cm:entries:migrate-html-rte`](#csdx-cmentriesmigrate-html-rte) +* [`csdx cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ] [--delivery-token ] [--source-env ]`](#csdx-cmentriespublish--a-value---retry-failed-value---bulk-publish-value---publish-all-content-types---content-types-value---locales-value--e-value--c-value--y---branch-value---delivery-token-value---source-env-value-1) +* [`csdx cm:entries:publish-modified [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-modified--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value---locales-value--e-value--c-value--y---branch-value-1) +* [`csdx cm:entries:publish-non-localized-fields [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-non-localized-fields--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value--e-value--c-value--y---branch-value-1) +* [`csdx cm:entries:publish-only-unpublished [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-only-unpublished--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value---locales-value--e-value--c-value--y---branch-value-1) +* [`csdx cm:entries:unpublish`](#csdx-cmentriesunpublish) +* [`csdx cm:entries:update-and-publish [-a ] [--retry-failed ] [--bulk-publish ] [--content-types ] [-t ] [-e ] [-c ] [-y] [--locales ] [--branch ]`](#csdx-cmentriesupdate-and-publish--a-value---retry-failed-value---bulk-publish-value---content-types-value--t-value--e-value--c-value--y---locales-value---branch-value-1) +* [`csdx cm:stacks:export [-c ] [-k ] [-d ] [-a ] [--module ] [--content-types ] [--branch ] [--secured-assets]`](#csdx-cmstacksexport--c-value--k-value--d-value--a-value---module-value---content-types-value---branch-value---secured-assets) +* [`csdx cm:export-to-csv`](#csdx-cmexport-to-csv) +* [`csdx cm:stacks:import [-c ] [-k ] [-d ] [-a ] [--module ] [--backup-dir ] [--branch ] [--import-webhook-status disable|current]`](#csdx-cmstacksimport--c-value--k-value--d-value--a-value---module-value---backup-dir-value---branch-value---import-webhook-status-disablecurrent) +* [`csdx cm:migrate-rte`](#csdx-cmmigrate-rte) +* [`csdx cm:stacks:migration [-k ] [-a ] [--file-path ] [--branch ] [--config-file ] [--config ] [--multiple]`](#csdx-cmstacksmigration--k-value--a-value---file-path-value---branch-value---config-file-value---config-value---multiple) +* [`csdx cm:stacks:seed [--repo ] [--org ] [-k ] [-n ] [-y ] [-s ]`](#csdx-cmstacksseed---repo-value---org-value--k-value--n-value--y-value--s-value) +* [`csdx cm:stacks:clone [--source-branch ] [--target-branch ] [--source-management-token-alias ] [--destination-management-token-alias ] [-n ] [--type a|b] [--source-stack-api-key ] [--destination-stack-api-key ] [--import-webhook-status disable|current]`](#csdx-cmstacksclone---source-branch-value---target-branch-value---source-management-token-alias-value---destination-management-token-alias-value--n-value---type-ab---source-stack-api-key-value---destination-stack-api-key-value---import-webhook-status-disablecurrent) +* [`csdx cm:stacks:clone [--source-branch ] [--target-branch ] [--source-management-token-alias ] [--destination-management-token-alias ] [-n ] [--type a|b] [--source-stack-api-key ] [--destination-stack-api-key ] [--import-webhook-status disable|current]`](#csdx-cmstacksclone---source-branch-value---target-branch-value---source-management-token-alias-value---destination-management-token-alias-value--n-value---type-ab---source-stack-api-key-value---destination-stack-api-key-value---import-webhook-status-disablecurrent-1) +* [`csdx cm:stacks:export [-c ] [-k ] [-d ] [-a ] [--module ] [--content-types ] [--branch ] [--secured-assets]`](#csdx-cmstacksexport--c-value--k-value--d-value--a-value---module-value---content-types-value---branch-value---secured-assets-1) +* [`csdx cm:stacks:import [-c ] [-k ] [-d ] [-a ] [--module ] [--backup-dir ] [--branch ] [--import-webhook-status disable|current]`](#csdx-cmstacksimport--c-value--k-value--d-value--a-value---module-value---backup-dir-value---branch-value---import-webhook-status-disablecurrent-1) +* [`csdx cm:stacks:migration [-k ] [-a ] [--file-path ] [--branch ] [--config-file ] [--config ] [--multiple]`](#csdx-cmstacksmigration--k-value--a-value---file-path-value---branch-value---config-file-value---config-value---multiple-1) +* [`csdx cm:stacks:publish`](#csdx-cmstackspublish) +* [`csdx cm:stacks:publish-clear-logs`](#csdx-cmstackspublish-clear-logs) +* [`csdx cm:stacks:publish-configure`](#csdx-cmstackspublish-configure) +* [`csdx cm:stacks:publish-revert`](#csdx-cmstackspublish-revert) +* [`csdx cm:stacks:seed [--repo ] [--org ] [-k ] [-n ] [-y ] [-s ]`](#csdx-cmstacksseed---repo-value---org-value--k-value--n-value--y-value--s-value-1) +* [`csdx csdx cm:stacks:unpublish [-a ] [-e ] [-c ] [-y] [--locale ] [--branch ] [--retry-failed ] [--bulk-unpublish ] [--content-type ] [--delivery-token ] [--only-assets] [--only-entries]`](#csdx-csdx-cmstacksunpublish--a-value--e-value--c-value--y---locale-value---branch-value---retry-failed-value---bulk-unpublish-value---content-type-value---delivery-token-value---only-assets---only-entries-1) +* [`csdx config:get:base-branch`](#csdx-configgetbase-branch) +* [`csdx config:get:region`](#csdx-configgetregion) +* [`csdx config:remove:base-branch`](#csdx-configremovebase-branch) +* [`csdx config:set:base-branch`](#csdx-configsetbase-branch) +* [`csdx config:set:region [REGION]`](#csdx-configsetregion-region) +* [`csdx help [COMMANDS]`](#csdx-help-commands) +* [`csdx launch`](#csdx-launch) +* [`csdx launch:deployments`](#csdx-launchdeployments) +* [`csdx launch:environments`](#csdx-launchenvironments) +* [`csdx launch:functions`](#csdx-launchfunctions) +* [`csdx launch:logs`](#csdx-launchlogs) +* [`csdx launch:open`](#csdx-launchopen) +* [`csdx login`](#csdx-login) +* [`csdx logout`](#csdx-logout) +* [`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 tokens`](#csdx-tokens) +* [`csdx whoami`](#csdx-whoami) ## `csdx auth:login` @@ -2120,7 +2116,7 @@ EXAMPLES $ csdx cm:migration --config-file --file-path - $ csdx cm:migration --multiple --file-path + $ csdx cm:migration --multiple --file-path $ csdx cm:migration --alias --file-path -k ``` @@ -2385,7 +2381,7 @@ EXAMPLES $ csdx cm:migration --config-file --file-path - $ csdx cm:migration --multiple --file-path + $ csdx cm:migration --multiple --file-path $ csdx cm:migration --alias --file-path -k ``` @@ -3142,7 +3138,7 @@ ALIASES $ csdx plugins:add EXAMPLES - $ csdx plugins:install myplugin + $ csdx plugins:install myplugin $ csdx plugins:install https://github.com/someuser/someplugin @@ -3207,7 +3203,7 @@ ALIASES $ csdx plugins:add EXAMPLES - $ csdx plugins:install myplugin + $ csdx plugins:install myplugin $ csdx plugins:install https://github.com/someuser/someplugin @@ -3381,7 +3377,6 @@ ALIASES EXAMPLES $ csdx auth:whoami ``` - ``` diff --git a/packages/contentstack/package.json b/packages/contentstack/package.json index c4cd0eac61..a31cc8931d 100755 --- a/packages/contentstack/package.json +++ b/packages/contentstack/package.json @@ -1,7 +1,7 @@ { "name": "@contentstack/cli", "description": "Command-line tool (CLI) to interact with Contentstack", - "version": "1.9.0", + "version": "1.9.1", "author": "Contentstack", "bin": { "csdx": "./bin/run" @@ -30,7 +30,7 @@ "@contentstack/cli-cm-import": "~1.9.0", "@contentstack/cli-cm-export-to-csv": "~1.4.2", "@contentstack/cli-cm-migrate-rte": "~1.4.11", - "@contentstack/cli-cm-seed": "~1.5.0", + "@contentstack/cli-cm-seed": "~1.5.1", "@contentstack/cli-command": "~1.2.12", "@contentstack/cli-config": "~1.4.11", "@contentstack/cli-launch": "~1.0.12", @@ -158,4 +158,4 @@ } }, "repository": "https://github.com/contentstack/cli" -} \ No newline at end of file +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 71c060cd31..f4e09b3d25 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -19,7 +19,7 @@ importers: '@contentstack/cli-cm-export-to-csv': ~1.4.2 '@contentstack/cli-cm-import': ~1.9.0 '@contentstack/cli-cm-migrate-rte': ~1.4.11 - '@contentstack/cli-cm-seed': ~1.5.0 + '@contentstack/cli-cm-seed': ~1.5.1 '@contentstack/cli-command': ~1.2.12 '@contentstack/cli-config': ~1.4.11 '@contentstack/cli-launch': ~1.0.12 @@ -915,7 +915,7 @@ importers: '@types/node': ^14.14.32 '@types/tar': ^6.1.3 '@types/tmp': ^0.2.0 - axios: 1.3.4 + axios: 1.4.0 eslint: ^8.18.0 eslint-config-oclif: ^4.0.0 eslint-config-oclif-typescript: ^0.1.0 @@ -934,7 +934,6 @@ importers: '@contentstack/cli-cm-import': link:../contentstack-import '@contentstack/cli-command': link:../contentstack-command '@contentstack/cli-utilities': link:../contentstack-utilities - axios: 1.3.4 inquirer: 8.2.4 mkdirp: 1.0.4 tar: 6.1.15 @@ -948,6 +947,7 @@ importers: '@types/node': 14.18.53 '@types/tar': 6.1.5 '@types/tmp': 0.2.3 + axios: 1.4.0 eslint: 8.45.0 eslint-config-oclif: 4.0.0_eslint@8.45.0 eslint-config-oclif-typescript: 0.1.0_mhvizudgavq6jzvqzwcqcv4nnm @@ -4227,7 +4227,6 @@ packages: /asynckit/0.4.0: resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} - dev: false /at-least-node/1.0.0: resolution: {integrity: sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==} @@ -4259,25 +4258,25 @@ packages: xml2js: 0.5.0 dev: true - /axios/1.3.4: + /axios/1.3.4_debug@4.3.4: resolution: {integrity: sha512-toYm+Bsyl6VC5wSkfkbbNB6ROv7KY93PEBBL6xyDczaIHasAiv4wPqQ/c4RjoQzipxRD2W5g21cOqQulZ7rHwQ==} dependencies: - follow-redirects: 1.15.2 + follow-redirects: 1.15.2_debug@4.3.4 form-data: 4.0.0 proxy-from-env: 1.1.0 transitivePeerDependencies: - debug dev: false - /axios/1.3.4_debug@4.3.4: - resolution: {integrity: sha512-toYm+Bsyl6VC5wSkfkbbNB6ROv7KY93PEBBL6xyDczaIHasAiv4wPqQ/c4RjoQzipxRD2W5g21cOqQulZ7rHwQ==} + /axios/1.4.0: + resolution: {integrity: sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==} dependencies: - follow-redirects: 1.15.2_debug@4.3.4 + follow-redirects: 1.15.2 form-data: 4.0.0 proxy-from-env: 1.1.0 transitivePeerDependencies: - debug - dev: false + dev: true /axios/1.5.0_debug@4.3.4: resolution: {integrity: sha512-D4DdjDo5CY50Qms0qGQTTw6Q44jl7zRwY7bthds06pUGfChBCTcQs+N743eFWGEd6pRTMd6A+I87aWyFV5wiZQ==} @@ -5022,7 +5021,6 @@ packages: engines: {node: '>= 0.8'} dependencies: delayed-stream: 1.0.0 - dev: false /command-line-args/5.2.1: resolution: {integrity: sha512-H4UfQhZyakIjC74I9d34fGYDwk3XpSr17QhEd0Q3I9Xq1CETHo4Hcuo87WyWHpAF1aSLjLRf5lD9ZGX2qStUvg==} @@ -5380,7 +5378,6 @@ packages: /delayed-stream/1.0.0: resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} engines: {node: '>=0.4.0'} - dev: false /delegates/1.0.0: resolution: {integrity: sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==} @@ -6594,7 +6591,7 @@ packages: peerDependenciesMeta: debug: optional: true - dev: false + dev: true /follow-redirects/1.15.2_debug@4.3.4: resolution: {integrity: sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==} @@ -6646,7 +6643,6 @@ packages: asynckit: 0.4.0 combined-stream: 1.0.8 mime-types: 2.1.35 - dev: false /forwarded/0.2.0: resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==} @@ -9086,14 +9082,12 @@ packages: /mime-db/1.52.0: resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} engines: {node: '>= 0.6'} - dev: false /mime-types/2.1.35: resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} engines: {node: '>= 0.6'} dependencies: mime-db: 1.52.0 - dev: false /mime/1.6.0: resolution: {integrity: sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==} @@ -10686,7 +10680,6 @@ packages: /proxy-from-env/1.1.0: resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} - dev: false /proxyquire/2.1.3: resolution: {integrity: sha512-BQWfCqYM+QINd+yawJz23tbBM40VIGXOdDw3X344KcclI/gtBbdWF6SlQ4nK/bYhF9d27KYug9WzljHC6B9Ysg==}