From cbbc7748e3cc06055dab66cf3a33017b724a2d78 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 4 Sep 2023 13:37:46 +0000 Subject: [PATCH 1/5] fix: upgrade axios from 1.3.4 to 1.4.0 Snyk has created this PR to upgrade axios from 1.3.4 to 1.4.0. See this package in npm: https://www.npmjs.com/package/axios See this project in Snyk: https://app.snyk.io/org/contentstack-cli/project/77ceb2bd-2183-483e-af1f-8513f14aeff8?utm_source=github&utm_medium=referral&page=upgrade-pr --- packages/contentstack-seed/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/contentstack-seed/package.json b/packages/contentstack-seed/package.json index 5a3af51d0b..4288778adb 100644 --- a/packages/contentstack-seed/package.json +++ b/packages/contentstack-seed/package.json @@ -8,7 +8,7 @@ "@contentstack/cli-cm-import": "~1.8.0", "@contentstack/cli-command": "~1.2.11", "@contentstack/cli-utilities": "~1.5.1", - "axios": "1.3.4", + "axios": "1.4.0", "inquirer": "8.2.4", "mkdirp": "^1.0.4", "tar": "^6.1.13", From 841d3e5f73bbc97ff6a1d97f034bce3b691ce173 Mon Sep 17 00:00:00 2001 From: Vikram Kalta Date: Thu, 21 Sep 2023 10:28:25 +0100 Subject: [PATCH 2/5] fix: updated version --- package-lock.json | 24 ++++++++++++++++++++++-- pnpm-lock.yaml | 14 +++++++------- 2 files changed, 29 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index ef0560fdd5..9344e33130 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24865,7 +24865,7 @@ "@contentstack/cli-cm-import": "~1.8.4", "@contentstack/cli-command": "~1.2.12", "@contentstack/cli-utilities": "~1.5.2", - "axios": "1.3.4", + "axios": "1.4.0", "inquirer": "8.2.4", "mkdirp": "^1.0.4", "tar": "^6.1.13", @@ -24894,6 +24894,16 @@ "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==", + "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", @@ -27239,7 +27249,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", @@ -27256,6 +27266,16 @@ "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==", + "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/pnpm-lock.yaml b/pnpm-lock.yaml index 9278de18f5..fe53c33ad6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -911,7 +911,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 @@ -930,7 +930,7 @@ importers: '@contentstack/cli-cm-import': link:../contentstack-import '@contentstack/cli-command': link:../contentstack-command '@contentstack/cli-utilities': link:../contentstack-utilities - axios: 1.3.4 + axios: 1.4.0 inquirer: 8.2.4 mkdirp: 1.0.4 tar: 6.1.15 @@ -4251,20 +4251,20 @@ packages: - debug dev: false - /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: From f726889ac062546cab284bc33880344ad5e51190 Mon Sep 17 00:00:00 2001 From: Vikram Kalta Date: Thu, 21 Sep 2023 10:29:00 +0100 Subject: [PATCH 3/5] fix: moved axios to dev dependencies --- packages/contentstack-seed/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/contentstack-seed/package.json b/packages/contentstack-seed/package.json index 3f2d2659dd..e45f9b8ddf 100644 --- a/packages/contentstack-seed/package.json +++ b/packages/contentstack-seed/package.json @@ -8,7 +8,6 @@ "@contentstack/cli-cm-import": "~1.8.4", "@contentstack/cli-command": "~1.2.12", "@contentstack/cli-utilities": "~1.5.2", - "axios": "1.4.0", "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", From 0dafdd56ff0d73acb5f7451b9f68c5043d3d5dc9 Mon Sep 17 00:00:00 2001 From: Vikram Kalta Date: Tue, 26 Sep 2023 10:34:37 +0100 Subject: [PATCH 4/5] fix: updated package-lock --- package-lock.json | 6 ++++-- pnpm-lock.yaml | 15 ++++----------- 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/package-lock.json b/package-lock.json index d1ac71945d..983f1e260b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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.4.0", "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", @@ -24925,6 +24925,7 @@ "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", @@ -27309,6 +27310,7 @@ "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", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a1095a164a..2a4c2e578b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -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.4.0 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,7 +4258,7 @@ 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_debug@4.3.4 @@ -4277,7 +4276,7 @@ packages: 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==} From c140179c9a63b72231ca6da23bdec4cc63da7265 Mon Sep 17 00:00:00 2001 From: Netraj Patel <--global> Date: Thu, 5 Oct 2023 11:54:30 +0530 Subject: [PATCH 5/5] Version bumped --- package-lock.json | 6 +- packages/contentstack/README.md | 171 ++++++++++++++--------------- packages/contentstack/package.json | 6 +- pnpm-lock.yaml | 2 +- 4 files changed, 90 insertions(+), 95 deletions(-) diff --git a/package-lock.json b/package-lock.json index 983f1e260b..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", @@ -26587,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", 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 2a4c2e578b..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