From 2239e39a55891a92e9f36d64aa1c55538b1d36cc Mon Sep 17 00:00:00 2001 From: Vikram Kalta Date: Wed, 19 Apr 2023 12:15:39 +0100 Subject: [PATCH 01/16] fix(export): handled issue with contenttype named schema --- packages/contentstack-export/src/lib/export/content-types.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/contentstack-export/src/lib/export/content-types.js b/packages/contentstack-export/src/lib/export/content-types.js index 5b9a909d71..3bb2c11494 100644 --- a/packages/contentstack-export/src/lib/export/content-types.js +++ b/packages/contentstack-export/src/lib/export/content-types.js @@ -77,7 +77,10 @@ class ContentTypesExport { async writeContentTypes(contentTypes) { function write(contentType) { - return fileHelper.writeFile(path.join(this.contentTypesPath, contentType.uid + '.json'), contentType); + return fileHelper.writeFile( + path.join(this.contentTypesPath, + `${contentType.uid === 'schema' ? 'schema|1' : contentType.uid}.json`), + contentType); } await executeTask(contentTypes, write.bind(this), { concurrency: this.writeConcurrency }); return fileHelper.writeFile(path.join(this.contentTypesPath, 'schema.json'), contentTypes); From 77a0de4816d4118a4f65ef27525001b95e95bbb5 Mon Sep 17 00:00:00 2001 From: Aman Kumar Date: Wed, 26 Apr 2023 16:44:46 +0530 Subject: [PATCH 02/16] refactor: remove flags & oclif version update --- package-lock.json | 95 ++++----- packages/contentstack-auth/package.json | 2 +- packages/contentstack-bootstrap/package.json | 3 +- .../contentstack-bulk-publish/package.json | 5 +- packages/contentstack-clone/package.json | 3 +- packages/contentstack-command/package.json | 1 - packages/contentstack-config/package.json | 2 +- .../package.json | 1 - .../contentstack-export-to-csv/package.json | 2 +- packages/contentstack-export/package.json | 2 +- packages/contentstack-import/package.json | 2 +- .../contentstack-migrate-rte/package.json | 3 +- packages/contentstack-migration/package.json | 3 +- packages/contentstack-seed/package.json | 3 +- .../src/commands/cm/stacks/seed.ts | 6 +- packages/contentstack-utilities/package.json | 8 +- packages/contentstack/package.json | 2 +- pnpm-lock.yaml | 189 +++++++++++------- 18 files changed, 175 insertions(+), 157 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5227d4aeea..2117fe1e51 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1867,9 +1867,9 @@ "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" }, "node_modules/@oclif/core": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/@oclif/core/-/core-2.7.1.tgz", - "integrity": "sha512-HnaZ0ezNJUGok4uACOmVl05aSrCblmuq5Sqyg3Qa8aLFnTBuvHn3d67fTJKSttyAnJ5LI3zw8e5vzLD7WZuP0A==", + "version": "2.8.2", + "resolved": "https://registry.npmjs.org/@oclif/core/-/core-2.8.2.tgz", + "integrity": "sha512-g50NrCdEcFlBfuwZb9RxLmxPNQ9wIaBPOiwbxlGYRkHMnsC6LNHcvVtyDnmndU8qoXrmCOZ6ocSZenOMlG+G1w==", "dependencies": { "@types/cli-progress": "^3.11.0", "ansi-escapes": "^4.3.2", @@ -13291,12 +13291,12 @@ } }, "node_modules/oclif": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/oclif/-/oclif-3.7.2.tgz", - "integrity": "sha512-mKzQQ4GFbsuqtzvN3nHYZu2SYLDX670Sa7UItTCOFNJY3S/e65Dcj+Nx/dBPMolESWjW6fIk8I8+kuGeiGVNXw==", + "version": "3.8.1", + "resolved": "https://registry.npmjs.org/oclif/-/oclif-3.8.1.tgz", + "integrity": "sha512-1yc1rtsQrou6t21WYM6JM2fUzK3GKhGboB/A6ZeTFyC3VJb39fUWcRrQYE1JEoNlBHk5Z5hok8PEq09Vhm4ZZA==", "dev": true, "dependencies": { - "@oclif/core": "^2.7.1", + "@oclif/core": "^2.8.0", "@oclif/plugin-help": "^5.1.19", "@oclif/plugin-not-found": "^2.3.7", "@oclif/plugin-warn-if-update-available": "^2.0.14", @@ -13317,7 +13317,8 @@ "yosay": "^2.0.2" }, "bin": { - "oclif": "bin/run" + "oclif": "bin/run", + "oclif2": "bin/run" }, "engines": { "node": ">=12.0.0" @@ -17534,7 +17535,7 @@ "mocha": "^10.0.0", "nock": "^13.1.0", "nyc": "^15.1.0", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "rimraf": "^2.7.1", "shelljs": "^0.8.4", "sinon": "^15.0.1", @@ -17577,7 +17578,7 @@ "globby": "^10.0.2", "mocha": "10.1.0", "nyc": "^15.1.0", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "rimraf": "^2.7.1", "sinon": "^15.0.1", "tmp": "^0.2.1", @@ -17746,7 +17747,6 @@ "@contentstack/cli-cm-seed": "^1.4.1", "@contentstack/cli-command": "^1.2.2", "@contentstack/cli-utilities": "^1.3.1", - "@contentstack/management": "^1.6.1", "inquirer": "8.2.4", "mkdirp": "^1.0.4", "tar": "^6.1.13" @@ -17764,7 +17764,7 @@ "globby": "^10.0.2", "mocha": "^10.0.0", "nyc": "^15.1.0", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "rimraf": "^2.7.1", "tmp": "^0.2.1", "ts-node": "^8.10.2", @@ -17825,7 +17825,6 @@ "dependencies": { "@contentstack/cli-command": "^1.2.2", "@contentstack/cli-utilities": "^1.3.1", - "@contentstack/management": "^1.6.1", "bluebird": "^3.7.2", "chalk": "^4.1.2", "inquirer": "8.2.4", @@ -17841,7 +17840,7 @@ "globby": "^10.0.2", "mocha": "^10.0.0", "nyc": "^15.1.0", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "tslib": "^1.13.0" }, "engines": { @@ -17869,7 +17868,6 @@ "@contentstack/cli-cm-import": "^1.5.1", "@contentstack/cli-command": "^1.2.2", "@contentstack/cli-utilities": "^1.3.1", - "@contentstack/management": "^1.6.1", "async": "^3.2.4", "chalk": "^4.1.0", "child_process": "^1.0.2", @@ -17888,7 +17886,7 @@ "jest": "^29.4.2", "mocha": "^10.0.0", "nyc": "^15.1.0", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "sinon": "^15.0.1" }, "engines": { @@ -17927,7 +17925,6 @@ "license": "MIT", "dependencies": { "@contentstack/cli-utilities": "^1.3.1", - "@contentstack/management": "^1.6.1", "contentstack": "^3.10.1" }, "devDependencies": { @@ -18173,7 +18170,7 @@ "globby": "^10.0.2", "mocha": "10.1.0", "nyc": "^15.1.0", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "rimraf": "^2.7.1", "sinon": "^15.0.1", "tmp": "^0.2.1", @@ -18339,7 +18336,6 @@ "version": "1.2.0", "license": "MIT", "dependencies": { - "@oclif/core": "^2.3.0", "lodash": "^4.17.21" }, "devDependencies": { @@ -18414,7 +18410,7 @@ "globby": "^10.0.2", "mocha": "10.1.0", "nyc": "^15.1.0", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "sinon": "^15.0.1" }, "engines": { @@ -18443,7 +18439,7 @@ "globby": "^10.0.2", "mocha": "^10.0.0", "nyc": "^15.1.0", - "oclif": "^3.1.2" + "oclif": "^3.8.1" }, "engines": { "node": ">=14.0.0" @@ -18638,7 +18634,7 @@ "globby": "^10.0.2", "mocha": "^10.0.0", "nyc": "^15.1.0", - "oclif": "^3.1.2" + "oclif": "^3.8.1" }, "engines": { "node": ">=14.0.0" @@ -18664,7 +18660,6 @@ "@contentstack/cli-command": "^1.2.2", "@contentstack/cli-utilities": "^1.3.1", "@contentstack/json-rte-serializer": "^2.0.2", - "@contentstack/management": "^1.6.1", "chalk": "^4.1.2", "collapse-whitespace": "^1.1.7", "jsdom": "^20.0.3", @@ -18683,7 +18678,7 @@ "globby": "^10.0.2", "mocha": "^10.0.0", "nyc": "^15.1.0", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "tslib": "^1.13.0" }, "engines": { @@ -18697,7 +18692,6 @@ "dependencies": { "@contentstack/cli-command": "^1.2.2", "@contentstack/cli-utilities": "^1.3.1", - "@contentstack/management": "^1.6.1", "@oclif/command": "^1.8.16", "@oclif/config": "^1.18.3", "async": "^3.2.4", @@ -18721,7 +18715,7 @@ "mocha": "^10.0.0", "nock": "^13.1.1", "nyc": "^15.1.0", - "oclif": "^3.1.2" + "oclif": "^3.8.1" }, "engines": { "node": ">=8.3.0" @@ -18735,7 +18729,6 @@ "@contentstack/cli-cm-import": "^1.5.1", "@contentstack/cli-command": "^1.2.2", "@contentstack/cli-utilities": "^1.3.1", - "@contentstack/management": "^1.6.1", "@oclif/core": "^2.3.0", "axios": "1.3.4", "inquirer": "8.2.4", @@ -18757,7 +18750,7 @@ "eslint-config-oclif-typescript": "^0.1.0", "globby": "^10.0.2", "jest": "^29.4.2", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "ts-jest": "^29.0.5", "ts-node": "^8.10.2", "typescript": "^4.9.3" @@ -20424,7 +20417,7 @@ "nock": "^13.1.0", "node-machine-id": "^1.1.12", "nyc": "^15.1.0", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "rimraf": "^2.7.1", "shelljs": "^0.8.4", "short-uuid": "^4.2.2", @@ -20461,7 +20454,7 @@ "inquirer": "8.2.4", "mocha": "10.1.0", "nyc": "^15.1.0", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "open": "^8.4.0", "rimraf": "^2.7.1", "sinon": "^15.0.1", @@ -20599,7 +20592,6 @@ "@contentstack/cli-cm-seed": "^1.4.1", "@contentstack/cli-command": "^1.2.2", "@contentstack/cli-utilities": "^1.3.1", - "@contentstack/management": "^1.6.1", "@oclif/test": "^2.2.10", "@types/inquirer": "^9.0.3", "@types/mkdirp": "^1.0.1", @@ -20614,7 +20606,7 @@ "mkdirp": "^1.0.4", "mocha": "^10.0.0", "nyc": "^15.1.0", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "rimraf": "^2.7.1", "tar": "^6.1.13", "tmp": "^0.2.1", @@ -20658,7 +20650,6 @@ "requires": { "@contentstack/cli-command": "^1.2.2", "@contentstack/cli-utilities": "^1.3.1", - "@contentstack/management": "^1.6.1", "@oclif/test": "^1.2.6", "bluebird": "^3.7.2", "chai": "^4.2.0", @@ -20671,7 +20662,7 @@ "mocha": "^10.0.0", "nock": "^13.0.2", "nyc": "^15.1.0", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "tslib": "^1.13.0", "winston": "^3.7.2" }, @@ -20694,7 +20685,6 @@ "@contentstack/cli-cm-import": "^1.5.1", "@contentstack/cli-command": "^1.2.2", "@contentstack/cli-utilities": "^1.3.1", - "@contentstack/management": "^1.6.1", "@oclif/test": "^1.2.7", "async": "^3.2.4", "chai": "^4.2.0", @@ -20708,7 +20698,7 @@ "jest": "^29.4.2", "mocha": "^10.0.0", "nyc": "^15.1.0", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "ora": "^5.1.0", "rimraf": "^3.0.2", "sinon": "^15.0.1", @@ -20762,7 +20752,7 @@ "mkdirp": "^1.0.4", "mocha": "10.1.0", "nyc": "^15.1.0", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "path": "^0.12.7", "progress-stream": "^2.0.0", "promise-limit": "^2.7.0", @@ -20920,7 +20910,7 @@ "mkdirp": "^1.0.4", "mocha": "^10.0.0", "nyc": "^15.1.0", - "oclif": "^3.1.2" + "oclif": "^3.8.1" } }, "@contentstack/cli-cm-import": { @@ -20944,7 +20934,7 @@ "mocha": "^10.0.0", "ncp": "^2.0.0", "nyc": "^15.1.0", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "promise-limit": "^2.7.0", "winston": "^3.7.2" }, @@ -20966,7 +20956,6 @@ "@contentstack/cli-command": "^1.2.2", "@contentstack/cli-utilities": "^1.3.1", "@contentstack/json-rte-serializer": "^2.0.2", - "@contentstack/management": "^1.6.1", "@oclif/test": "^2.2.10", "chai": "^4.3.4", "chalk": "^4.1.2", @@ -20980,7 +20969,7 @@ "mocha": "^10.0.0", "nock": "^13.1.0", "nyc": "^15.1.0", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "omit-deep-lodash": "^1.1.5", "sinon": "^15.0.1", "tslib": "^1.13.0", @@ -20993,7 +20982,6 @@ "@contentstack/cli-cm-import": "^1.5.1", "@contentstack/cli-command": "^1.2.2", "@contentstack/cli-utilities": "^1.3.1", - "@contentstack/management": "^1.6.1", "@oclif/core": "^2.3.0", "@oclif/plugin-help": "^5.1.19", "@types/inquirer": "^9.0.3", @@ -21010,7 +20998,7 @@ "inquirer": "8.2.4", "jest": "^29.4.2", "mkdirp": "^1.0.4", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "tar": "^6.1.13", "tmp": "^0.2.1", "ts-jest": "^29.0.5", @@ -21059,7 +21047,6 @@ "version": "file:packages/contentstack-command", "requires": { "@contentstack/cli-utilities": "^1.3.1", - "@contentstack/management": "^1.6.1", "@oclif/test": "^2.2.10", "@types/chai": "^4.2.18", "@types/mkdirp": "^1.0.1", @@ -21254,7 +21241,7 @@ "inquirer": "8.2.4", "mocha": "10.1.0", "nyc": "^15.1.0", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "rimraf": "^2.7.1", "sinon": "^15.0.1", "tmp": "^0.2.1", @@ -21388,7 +21375,6 @@ "@contentstack/cli-dev-dependencies": { "version": "file:packages/contentstack-dev-dependencies", "requires": { - "@oclif/core": "^2.3.0", "@types/node": "^14.14.32", "eslint": "^8.18.0", "fancy-test": "^2.0.0", @@ -21428,7 +21414,6 @@ "requires": { "@contentstack/cli-command": "^1.2.2", "@contentstack/cli-utilities": "^1.3.1", - "@contentstack/management": "^1.6.1", "@oclif/command": "^1.8.16", "@oclif/config": "^1.18.3", "@oclif/test": "^2.2.10", @@ -21449,7 +21434,7 @@ "mocha": "^10.0.0", "nock": "^13.1.1", "nyc": "^15.1.0", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "winston": "^3.7.2" } }, @@ -23225,9 +23210,9 @@ } }, "@oclif/core": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/@oclif/core/-/core-2.7.1.tgz", - "integrity": "sha512-HnaZ0ezNJUGok4uACOmVl05aSrCblmuq5Sqyg3Qa8aLFnTBuvHn3d67fTJKSttyAnJ5LI3zw8e5vzLD7WZuP0A==", + "version": "2.8.2", + "resolved": "https://registry.npmjs.org/@oclif/core/-/core-2.8.2.tgz", + "integrity": "sha512-g50NrCdEcFlBfuwZb9RxLmxPNQ9wIaBPOiwbxlGYRkHMnsC6LNHcvVtyDnmndU8qoXrmCOZ6ocSZenOMlG+G1w==", "requires": { "@types/cli-progress": "^3.11.0", "ansi-escapes": "^4.3.2", @@ -32092,12 +32077,12 @@ "integrity": "sha512-EFVjAYfzWqWsBMRHPMAXLCDIJnpMhdWAqR7xG6M6a2cs6PMFpl/+Z20w9zDW4vkxOFfddegBKq9Rehd0bxWE7A==" }, "oclif": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/oclif/-/oclif-3.7.2.tgz", - "integrity": "sha512-mKzQQ4GFbsuqtzvN3nHYZu2SYLDX670Sa7UItTCOFNJY3S/e65Dcj+Nx/dBPMolESWjW6fIk8I8+kuGeiGVNXw==", + "version": "3.8.1", + "resolved": "https://registry.npmjs.org/oclif/-/oclif-3.8.1.tgz", + "integrity": "sha512-1yc1rtsQrou6t21WYM6JM2fUzK3GKhGboB/A6ZeTFyC3VJb39fUWcRrQYE1JEoNlBHk5Z5hok8PEq09Vhm4ZZA==", "dev": true, "requires": { - "@oclif/core": "^2.7.1", + "@oclif/core": "^2.8.0", "@oclif/plugin-help": "^5.1.19", "@oclif/plugin-not-found": "^2.3.7", "@oclif/plugin-warn-if-update-available": "^2.0.14", diff --git a/packages/contentstack-auth/package.json b/packages/contentstack-auth/package.json index 24e7f8df07..bdb4854c7d 100644 --- a/packages/contentstack-auth/package.json +++ b/packages/contentstack-auth/package.json @@ -47,7 +47,7 @@ "globby": "^10.0.2", "mocha": "10.1.0", "nyc": "^15.1.0", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "rimraf": "^2.7.1", "sinon": "^15.0.1", "tmp": "^0.2.1", diff --git a/packages/contentstack-bootstrap/package.json b/packages/contentstack-bootstrap/package.json index fc08c94bd8..d4c562ef33 100644 --- a/packages/contentstack-bootstrap/package.json +++ b/packages/contentstack-bootstrap/package.json @@ -20,7 +20,6 @@ "@contentstack/cli-cm-seed": "^1.4.1", "@contentstack/cli-command": "^1.2.2", "@contentstack/cli-utilities": "^1.3.1", - "@contentstack/management": "^1.6.1", "inquirer": "8.2.4", "mkdirp": "^1.0.4", "tar": "^6.1.13" @@ -38,7 +37,7 @@ "globby": "^10.0.2", "mocha": "^10.0.0", "nyc": "^15.1.0", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "rimraf": "^2.7.1", "tmp": "^0.2.1", "ts-node": "^8.10.2", diff --git a/packages/contentstack-bulk-publish/package.json b/packages/contentstack-bulk-publish/package.json index 6ab38e2071..979ea6a705 100644 --- a/packages/contentstack-bulk-publish/package.json +++ b/packages/contentstack-bulk-publish/package.json @@ -7,7 +7,6 @@ "dependencies": { "@contentstack/cli-command": "^1.2.2", "@contentstack/cli-utilities": "^1.3.1", - "@contentstack/management": "^1.6.1", "bluebird": "^3.7.2", "chalk": "^4.1.2", "inquirer": "8.2.4", @@ -23,8 +22,8 @@ "globby": "^10.0.2", "mocha": "^10.0.0", "nyc": "^15.1.0", - "tslib": "^1.13.0", - "oclif": "^3.1.2" + "oclif": "^3.8.1", + "tslib": "^1.13.0" }, "engines": { "node": ">=14.0.0" diff --git a/packages/contentstack-clone/package.json b/packages/contentstack-clone/package.json index df3c245e11..8a4b7c5e45 100644 --- a/packages/contentstack-clone/package.json +++ b/packages/contentstack-clone/package.json @@ -9,7 +9,6 @@ "@contentstack/cli-cm-import": "^1.5.1", "@contentstack/cli-command": "^1.2.2", "@contentstack/cli-utilities": "^1.3.1", - "@contentstack/management": "^1.6.1", "async": "^3.2.4", "chalk": "^4.1.0", "child_process": "^1.0.2", @@ -28,7 +27,7 @@ "jest": "^29.4.2", "mocha": "^10.0.0", "nyc": "^15.1.0", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "sinon": "^15.0.1" }, "engines": { diff --git a/packages/contentstack-command/package.json b/packages/contentstack-command/package.json index 3b3d788f63..3e8aa6f5f0 100644 --- a/packages/contentstack-command/package.json +++ b/packages/contentstack-command/package.json @@ -18,7 +18,6 @@ }, "dependencies": { "@contentstack/cli-utilities": "^1.3.1", - "@contentstack/management": "^1.6.1", "contentstack": "^3.10.1" }, "devDependencies": { diff --git a/packages/contentstack-config/package.json b/packages/contentstack-config/package.json index f88b038b22..c52e0ce0c6 100644 --- a/packages/contentstack-config/package.json +++ b/packages/contentstack-config/package.json @@ -42,7 +42,7 @@ "globby": "^10.0.2", "mocha": "10.1.0", "nyc": "^15.1.0", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "rimraf": "^2.7.1", "sinon": "^15.0.1", "tmp": "^0.2.1", diff --git a/packages/contentstack-dev-dependencies/package.json b/packages/contentstack-dev-dependencies/package.json index 741a26eda1..3b7abb2a81 100644 --- a/packages/contentstack-dev-dependencies/package.json +++ b/packages/contentstack-dev-dependencies/package.json @@ -21,7 +21,6 @@ "author": "contentstack", "license": "MIT", "dependencies": { - "@oclif/core": "^2.3.0", "lodash": "^4.17.21" }, "devDependencies": { diff --git a/packages/contentstack-export-to-csv/package.json b/packages/contentstack-export-to-csv/package.json index 0d29cb9749..ea3ec31f7f 100644 --- a/packages/contentstack-export-to-csv/package.json +++ b/packages/contentstack-export-to-csv/package.json @@ -22,7 +22,7 @@ "globby": "^10.0.2", "mocha": "^10.0.0", "nyc": "^15.1.0", - "oclif": "^3.1.2" + "oclif": "^3.8.1" }, "engines": { "node": ">=14.0.0" diff --git a/packages/contentstack-export/package.json b/packages/contentstack-export/package.json index 5923806197..fed2069c63 100644 --- a/packages/contentstack-export/package.json +++ b/packages/contentstack-export/package.json @@ -38,7 +38,7 @@ "mocha": "10.1.0", "nyc": "^15.1.0", "sinon": "^15.0.1", - "oclif": "^3.1.2" + "oclif": "^3.8.1" }, "engines": { "node": ">=14.0.0" diff --git a/packages/contentstack-import/package.json b/packages/contentstack-import/package.json index f819174abe..aae218ea2c 100644 --- a/packages/contentstack-import/package.json +++ b/packages/contentstack-import/package.json @@ -27,7 +27,7 @@ "globby": "^10.0.2", "mocha": "^10.0.0", "nyc": "^15.1.0", - "oclif": "^3.1.2" + "oclif": "^3.8.1" }, "engines": { "node": ">=14.0.0" diff --git a/packages/contentstack-migrate-rte/package.json b/packages/contentstack-migrate-rte/package.json index acf84e3d3b..c00bca8b21 100644 --- a/packages/contentstack-migrate-rte/package.json +++ b/packages/contentstack-migrate-rte/package.json @@ -8,7 +8,6 @@ "@contentstack/cli-command": "^1.2.2", "@contentstack/cli-utilities": "^1.3.1", "@contentstack/json-rte-serializer": "^2.0.2", - "@contentstack/management": "^1.6.1", "collapse-whitespace": "^1.1.7", "chalk": "^4.1.2", "jsdom": "^20.0.3", @@ -27,7 +26,7 @@ "globby": "^10.0.2", "mocha": "^10.0.0", "nyc": "^15.1.0", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "tslib": "^1.13.0" }, "engines": { diff --git a/packages/contentstack-migration/package.json b/packages/contentstack-migration/package.json index d3e0a12140..807fac5030 100644 --- a/packages/contentstack-migration/package.json +++ b/packages/contentstack-migration/package.json @@ -6,7 +6,6 @@ "dependencies": { "@contentstack/cli-command": "^1.2.2", "@contentstack/cli-utilities": "^1.3.1", - "@contentstack/management": "^1.6.1", "@oclif/command": "^1.8.16", "@oclif/config": "^1.18.3", "async": "^3.2.4", @@ -30,7 +29,7 @@ "mocha": "^10.0.0", "nock": "^13.1.1", "nyc": "^15.1.0", - "oclif": "^3.1.2" + "oclif": "^3.8.1" }, "engines": { "node": ">=8.3.0" diff --git a/packages/contentstack-seed/package.json b/packages/contentstack-seed/package.json index b675130c1c..024c7fc698 100644 --- a/packages/contentstack-seed/package.json +++ b/packages/contentstack-seed/package.json @@ -8,7 +8,6 @@ "@contentstack/cli-cm-import": "^1.5.1", "@contentstack/cli-command": "^1.2.2", "@contentstack/cli-utilities": "^1.3.1", - "@contentstack/management": "^1.6.1", "@oclif/core": "^2.3.0", "axios": "1.3.4", "inquirer": "8.2.4", @@ -30,7 +29,7 @@ "eslint-config-oclif-typescript": "^0.1.0", "globby": "^10.0.2", "jest": "^29.4.2", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "ts-jest": "^29.0.5", "ts-node": "^8.10.2", "typescript": "^4.9.3" diff --git a/packages/contentstack-seed/src/commands/cm/stacks/seed.ts b/packages/contentstack-seed/src/commands/cm/stacks/seed.ts index a529616ad4..0a85da215f 100644 --- a/packages/contentstack-seed/src/commands/cm/stacks/seed.ts +++ b/packages/contentstack-seed/src/commands/cm/stacks/seed.ts @@ -1,7 +1,5 @@ -// @ts-ignore -import { Flags } from '@oclif/core'; import { Command } from '@contentstack/cli-command'; -import { printFlagDeprecation, flags, isAuthenticated } from '@contentstack/cli-utilities'; +import { printFlagDeprecation, flags, isAuthenticated, FlagInput } from '@contentstack/cli-utilities'; import ContentModelSeeder, { ContentModelSeederOptions } from '../../../seed'; export default class SeedCommand extends Command { @@ -17,7 +15,7 @@ export default class SeedCommand extends Command { static usage = 'cm:stacks:seed [--repo ] [--org ] [-k ] [-n ] [-y ] [-s ]'; - static flags = { + static flags: FlagInput = { repo: flags.string({ char: 'r', description: 'GitHub account or GitHub account/repository', diff --git a/packages/contentstack-utilities/package.json b/packages/contentstack-utilities/package.json index 338678b20f..95a1d4e18e 100644 --- a/packages/contentstack-utilities/package.json +++ b/packages/contentstack-utilities/package.json @@ -32,7 +32,7 @@ "license": "MIT", "dependencies": { "@contentstack/management": "^1.6.1", - "@oclif/core": "^2.3.0", + "@oclif/core": "^2.8.2", "axios": "1.3.4", "chalk": "^4.0.0", "conf": "^10.1.2", @@ -68,7 +68,7 @@ "sinon": "^15.0.1", "tmp": "^0.2.1", "ts-node": "^10.9.1", - "typescript": "^4.9.3", - "tslib": "^1.13.0" + "tslib": "^1.13.0", + "typescript": "^4.9.3" } -} \ No newline at end of file +} diff --git a/packages/contentstack/package.json b/packages/contentstack/package.json index ec4dd17bed..78d5afe99f 100755 --- a/packages/contentstack/package.json +++ b/packages/contentstack/package.json @@ -64,7 +64,7 @@ "mocha": "^10.0.0", "nock": "^13.1.0", "nyc": "^15.1.0", - "oclif": "^3.1.2", + "oclif": "^3.8.1", "rimraf": "^2.7.1", "shelljs": "^0.8.4", "sinon": "^15.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5f997c5f2f..6c48372eb3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -48,7 +48,7 @@ importers: nock: ^13.1.0 node-machine-id: ^1.1.12 nyc: ^15.1.0 - oclif: ^3.1.2 + oclif: ^3.8.1 rimraf: ^2.7.1 shelljs: ^0.8.4 short-uuid: ^4.2.2 @@ -101,7 +101,7 @@ importers: mocha: 10.1.0 nock: 13.3.0 nyc: 15.1.0 - oclif: 3.7.0_6cnmuszcetnto3gtv64ajxyacy + oclif: 3.8.1_6cnmuszcetnto3gtv64ajxyacy rimraf: 2.7.1 shelljs: 0.8.5 sinon: 15.0.1 @@ -133,7 +133,7 @@ importers: inquirer: 8.2.4 mocha: 10.1.0 nyc: ^15.1.0 - oclif: ^3.1.2 + oclif: ^3.8.1 open: ^8.4.0 rimraf: ^2.7.1 sinon: ^15.0.1 @@ -167,7 +167,7 @@ importers: globby: 10.0.2 mocha: 10.1.0 nyc: 15.1.0 - oclif: 3.7.0_6cnmuszcetnto3gtv64ajxyacy + oclif: 3.8.1_6cnmuszcetnto3gtv64ajxyacy rimraf: 2.7.1 sinon: 15.0.1 tmp: 0.2.1 @@ -179,7 +179,6 @@ importers: '@contentstack/cli-cm-seed': ^1.4.1 '@contentstack/cli-command': ^1.2.2 '@contentstack/cli-utilities': ^1.3.1 - '@contentstack/management': ^1.6.1 '@oclif/test': ^2.2.10 '@types/inquirer': ^9.0.3 '@types/mkdirp': ^1.0.1 @@ -194,7 +193,7 @@ importers: mkdirp: ^1.0.4 mocha: ^10.0.0 nyc: ^15.1.0 - oclif: ^3.1.2 + oclif: ^3.8.1 rimraf: ^2.7.1 tar: ^6.1.13 tmp: ^0.2.1 @@ -204,7 +203,6 @@ importers: '@contentstack/cli-cm-seed': link:../contentstack-seed '@contentstack/cli-command': link:../contentstack-command '@contentstack/cli-utilities': link:../contentstack-utilities - '@contentstack/management': 1.6.1 inquirer: 8.2.4 mkdirp: 1.0.4 tar: 6.1.13 @@ -221,7 +219,7 @@ importers: globby: 10.0.2 mocha: 10.1.0 nyc: 15.1.0 - oclif: 3.7.0_6cnmuszcetnto3gtv64ajxyacy + oclif: 3.8.1_6cnmuszcetnto3gtv64ajxyacy rimraf: 2.7.1 tmp: 0.2.1 ts-node: 8.10.2_typescript@4.9.5 @@ -231,7 +229,6 @@ importers: specifiers: '@contentstack/cli-command': ^1.2.2 '@contentstack/cli-utilities': ^1.3.1 - '@contentstack/management': ^1.6.1 '@oclif/test': ^1.2.6 bluebird: ^3.7.2 chai: ^4.2.0 @@ -244,13 +241,12 @@ importers: mocha: ^10.0.0 nock: ^13.0.2 nyc: ^15.1.0 - oclif: ^3.1.2 + oclif: ^3.8.1 tslib: ^1.13.0 winston: ^3.7.2 dependencies: '@contentstack/cli-command': link:../contentstack-command '@contentstack/cli-utilities': link:../contentstack-utilities - '@contentstack/management': 1.6.1 bluebird: 3.7.2 chalk: 4.1.2 inquirer: 8.2.4 @@ -265,7 +261,7 @@ importers: globby: 10.0.2 mocha: 10.1.0 nyc: 15.1.0 - oclif: 3.7.0_bluebird@3.7.2 + oclif: 3.8.1_bluebird@3.7.2 tslib: 1.14.1 packages/contentstack-clone: @@ -274,7 +270,6 @@ importers: '@contentstack/cli-cm-import': ^1.5.1 '@contentstack/cli-command': ^1.2.2 '@contentstack/cli-utilities': ^1.3.1 - '@contentstack/management': ^1.6.1 '@oclif/test': ^1.2.7 async: ^3.2.4 chai: ^4.2.0 @@ -288,7 +283,7 @@ importers: jest: ^29.4.2 mocha: ^10.0.0 nyc: ^15.1.0 - oclif: ^3.1.2 + oclif: ^3.8.1 ora: ^5.1.0 rimraf: ^3.0.2 sinon: ^15.0.1 @@ -298,7 +293,6 @@ importers: '@contentstack/cli-cm-import': link:../contentstack-import '@contentstack/cli-command': link:../contentstack-command '@contentstack/cli-utilities': link:../contentstack-utilities - '@contentstack/management': 1.6.1 async: 3.2.4 chalk: 4.1.2 child_process: 1.0.2 @@ -316,13 +310,12 @@ importers: jest: 29.5.0 mocha: 10.1.0 nyc: 15.1.0 - oclif: 3.7.0 + oclif: 3.8.1 sinon: 15.0.1 packages/contentstack-command: specifiers: '@contentstack/cli-utilities': ^1.3.1 - '@contentstack/management': ^1.6.1 '@oclif/test': ^2.2.10 '@types/chai': ^4.2.18 '@types/mkdirp': ^1.0.1 @@ -342,7 +335,6 @@ importers: typescript: ^4.9.3 dependencies: '@contentstack/cli-utilities': link:../contentstack-utilities - '@contentstack/management': 1.6.1 contentstack: 3.16.1 devDependencies: '@oclif/test': 2.3.10_6cnmuszcetnto3gtv64ajxyacy @@ -383,7 +375,7 @@ importers: inquirer: 8.2.4 mocha: 10.1.0 nyc: ^15.1.0 - oclif: ^3.1.2 + oclif: ^3.8.1 rimraf: ^2.7.1 sinon: ^15.0.1 tmp: ^0.2.1 @@ -412,7 +404,7 @@ importers: globby: 10.0.2 mocha: 10.1.0 nyc: 15.1.0 - oclif: 3.7.0_6cnmuszcetnto3gtv64ajxyacy + oclif: 3.8.1_6cnmuszcetnto3gtv64ajxyacy rimraf: 2.7.1 sinon: 15.0.1 tmp: 0.2.1 @@ -421,7 +413,6 @@ importers: packages/contentstack-dev-dependencies: specifiers: - '@oclif/core': ^2.3.0 '@types/node': ^14.14.32 eslint: ^8.18.0 fancy-test: ^2.0.0 @@ -431,7 +422,6 @@ importers: tslib: ^2.5.0 typescript: ^4.9.3 dependencies: - '@oclif/core': 2.6.2_6cnmuszcetnto3gtv64ajxyacy lodash: 4.17.21 devDependencies: '@types/node': 14.18.37 @@ -469,7 +459,7 @@ importers: mkdirp: ^1.0.4 mocha: 10.1.0 nyc: ^15.1.0 - oclif: ^3.1.2 + oclif: ^3.8.1 path: ^0.12.7 progress-stream: ^2.0.0 promise-limit: ^2.7.0 @@ -508,7 +498,7 @@ importers: globby: 10.0.2 mocha: 10.1.0 nyc: 15.1.0 - oclif: 3.7.0_bluebird@3.7.2 + oclif: 3.8.1_bluebird@3.7.2 sinon: 15.0.1 packages/contentstack-export-to-csv: @@ -528,7 +518,7 @@ importers: mkdirp: ^1.0.4 mocha: ^10.0.0 nyc: ^15.1.0 - oclif: ^3.1.2 + oclif: ^3.8.1 dependencies: '@contentstack/cli-command': link:../contentstack-command '@contentstack/cli-utilities': link:../contentstack-utilities @@ -546,7 +536,7 @@ importers: globby: 10.0.2 mocha: 10.1.0 nyc: 15.1.0 - oclif: 3.7.0 + oclif: 3.8.1 packages/contentstack-import: specifiers: @@ -568,7 +558,7 @@ importers: mocha: ^10.0.0 ncp: ^2.0.0 nyc: ^15.1.0 - oclif: ^3.1.2 + oclif: ^3.8.1 promise-limit: ^2.7.0 winston: ^3.7.2 dependencies: @@ -593,14 +583,13 @@ importers: globby: 10.0.2 mocha: 10.1.0 nyc: 15.1.0 - oclif: 3.7.0_bluebird@3.7.2 + oclif: 3.8.1_bluebird@3.7.2 packages/contentstack-migrate-rte: specifiers: '@contentstack/cli-command': ^1.2.2 '@contentstack/cli-utilities': ^1.3.1 '@contentstack/json-rte-serializer': ^2.0.2 - '@contentstack/management': ^1.6.1 '@oclif/test': ^2.2.10 chai: ^4.3.4 chalk: ^4.1.2 @@ -614,7 +603,7 @@ importers: mocha: ^10.0.0 nock: ^13.1.0 nyc: ^15.1.0 - oclif: ^3.1.2 + oclif: ^3.8.1 omit-deep-lodash: ^1.1.5 sinon: ^15.0.1 tslib: ^1.13.0 @@ -623,7 +612,6 @@ importers: '@contentstack/cli-command': link:../contentstack-command '@contentstack/cli-utilities': link:../contentstack-utilities '@contentstack/json-rte-serializer': 2.0.2 - '@contentstack/management': 1.6.1 chalk: 4.1.2 collapse-whitespace: 1.1.7 jsdom: 20.0.3 @@ -641,14 +629,13 @@ importers: globby: 10.0.2 mocha: 10.1.0 nyc: 15.1.0 - oclif: 3.7.0 + oclif: 3.8.1 tslib: 1.14.1 packages/contentstack-migration: specifiers: '@contentstack/cli-command': ^1.2.2 '@contentstack/cli-utilities': ^1.3.1 - '@contentstack/management': ^1.6.1 '@oclif/command': ^1.8.16 '@oclif/config': ^1.18.3 '@oclif/test': ^2.2.10 @@ -669,12 +656,11 @@ importers: mocha: ^10.0.0 nock: ^13.1.1 nyc: ^15.1.0 - oclif: ^3.1.2 + oclif: ^3.8.1 winston: ^3.7.2 dependencies: '@contentstack/cli-command': link:../contentstack-command '@contentstack/cli-utilities': link:../contentstack-utilities - '@contentstack/management': 1.6.1 '@oclif/command': 1.8.22_@oclif+config@1.18.8 '@oclif/config': 1.18.8 async: 3.2.4 @@ -697,14 +683,13 @@ importers: mocha: 10.1.0 nock: 13.3.0 nyc: 15.1.0 - oclif: 3.7.0 + oclif: 3.8.1 packages/contentstack-seed: specifiers: '@contentstack/cli-cm-import': ^1.5.1 '@contentstack/cli-command': ^1.2.2 '@contentstack/cli-utilities': ^1.3.1 - '@contentstack/management': ^1.6.1 '@oclif/core': ^2.3.0 '@oclif/plugin-help': ^5.1.19 '@types/inquirer': ^9.0.3 @@ -721,7 +706,7 @@ importers: inquirer: 8.2.4 jest: ^29.4.2 mkdirp: ^1.0.4 - oclif: ^3.1.2 + oclif: ^3.8.1 tar: ^6.1.13 tmp: ^0.2.1 ts-jest: ^29.0.5 @@ -732,7 +717,6 @@ importers: '@contentstack/cli-cm-import': link:../contentstack-import '@contentstack/cli-command': link:../contentstack-command '@contentstack/cli-utilities': link:../contentstack-utilities - '@contentstack/management': 1.6.1 '@oclif/core': 2.6.2_6cnmuszcetnto3gtv64ajxyacy axios: 1.3.4 inquirer: 8.2.4 @@ -753,7 +737,7 @@ importers: eslint-config-oclif-typescript: 0.1.0_ycpbpc6yetojsgtrx3mwntkhsu globby: 10.0.2 jest: 29.5.0_pbcwchyhdxujbowxkamvmmypfy - oclif: 3.7.0_6cnmuszcetnto3gtv64ajxyacy + oclif: 3.8.1_6cnmuszcetnto3gtv64ajxyacy ts-jest: 29.0.5_doipufordlnvh5g4adbwayvyvy ts-node: 8.10.2_typescript@4.9.5 typescript: 4.9.5 @@ -1210,18 +1194,6 @@ packages: uuid: 8.3.2 dev: false - /@contentstack/management/1.6.1: - resolution: {integrity: sha512-Ztz7QqxpW2znnu+uzuluZlRENQDEUdru10t4ZauYja7iUIJvJuVNulqTJkNj1Ge1IHx59EbPW7Bw5nVX6DI2uw==} - engines: {node: '>=8.0.0'} - dependencies: - axios: 0.27.2 - form-data: 3.0.1 - lodash: 4.17.21 - qs: 6.11.1 - transitivePeerDependencies: - - debug - dev: false - /@contentstack/management/1.6.1_debug@4.3.4: resolution: {integrity: sha512-Ztz7QqxpW2znnu+uzuluZlRENQDEUdru10t4ZauYja7iUIJvJuVNulqTJkNj1Ge1IHx59EbPW7Bw5nVX6DI2uw==} engines: {node: '>=8.0.0'} @@ -2054,6 +2026,86 @@ packages: - '@types/node' - typescript + /@oclif/core/2.8.2: + resolution: {integrity: sha512-g50NrCdEcFlBfuwZb9RxLmxPNQ9wIaBPOiwbxlGYRkHMnsC6LNHcvVtyDnmndU8qoXrmCOZ6ocSZenOMlG+G1w==} + engines: {node: '>=14.0.0'} + dependencies: + '@types/cli-progress': 3.11.0 + ansi-escapes: 4.3.2 + ansi-styles: 4.3.0 + cardinal: 2.1.1 + chalk: 4.1.2 + clean-stack: 3.0.1 + cli-progress: 3.12.0 + debug: 4.3.4_supports-color@8.1.1 + ejs: 3.1.8 + fs-extra: 9.1.0 + get-package-type: 0.1.0 + globby: 11.1.0 + hyperlinker: 1.0.0 + indent-string: 4.0.0 + is-wsl: 2.2.0 + js-yaml: 3.14.1 + natural-orderby: 2.0.3 + object-treeify: 1.1.33 + password-prompt: 1.1.2 + semver: 7.3.8 + string-width: 4.2.3 + strip-ansi: 6.0.1 + supports-color: 8.1.1 + supports-hyperlinks: 2.3.0 + ts-node: 10.9.1 + tslib: 2.5.0 + widest-line: 3.1.0 + wordwrap: 1.0.0 + wrap-ansi: 7.0.0 + transitivePeerDependencies: + - '@swc/core' + - '@swc/wasm' + - '@types/node' + - typescript + dev: true + + /@oclif/core/2.8.2_6cnmuszcetnto3gtv64ajxyacy: + resolution: {integrity: sha512-g50NrCdEcFlBfuwZb9RxLmxPNQ9wIaBPOiwbxlGYRkHMnsC6LNHcvVtyDnmndU8qoXrmCOZ6ocSZenOMlG+G1w==} + engines: {node: '>=14.0.0'} + dependencies: + '@types/cli-progress': 3.11.0 + ansi-escapes: 4.3.2 + ansi-styles: 4.3.0 + cardinal: 2.1.1 + chalk: 4.1.2 + clean-stack: 3.0.1 + cli-progress: 3.12.0 + debug: 4.3.4_supports-color@8.1.1 + ejs: 3.1.8 + fs-extra: 9.1.0 + get-package-type: 0.1.0 + globby: 11.1.0 + hyperlinker: 1.0.0 + indent-string: 4.0.0 + is-wsl: 2.2.0 + js-yaml: 3.14.1 + natural-orderby: 2.0.3 + object-treeify: 1.1.33 + password-prompt: 1.1.2 + semver: 7.3.8 + string-width: 4.2.3 + strip-ansi: 6.0.1 + supports-color: 8.1.1 + supports-hyperlinks: 2.3.0 + ts-node: 10.9.1_6cnmuszcetnto3gtv64ajxyacy + tslib: 2.5.0 + widest-line: 3.1.0 + wordwrap: 1.0.0 + wrap-ansi: 7.0.0 + transitivePeerDependencies: + - '@swc/core' + - '@swc/wasm' + - '@types/node' + - typescript + dev: true + /@oclif/errors/1.3.6: resolution: {integrity: sha512-fYaU4aDceETd89KXP+3cLyg9EHZsLD3RxF2IU9yxahhBpspWjkWi3Dy3bTgcwZ3V47BgxQaGapzJWDM33XIVDQ==} engines: {node: '>=8.0.0'} @@ -2175,7 +2227,7 @@ packages: resolution: {integrity: sha512-CjLuqT1Jcuv2GG6s0nYukSo66U7N0UUGAzVB4LeGiGQHOJkeLxTBErfsPAjBNOTGss/cC3VAkCHBlHKovB5S6A==} engines: {node: '>=12.0.0'} dependencies: - '@oclif/core': 2.6.2 + '@oclif/core': 2.8.2 chalk: 4.1.2 debug: 4.3.4 fs-extra: 9.1.0 @@ -2194,7 +2246,7 @@ packages: resolution: {integrity: sha512-CjLuqT1Jcuv2GG6s0nYukSo66U7N0UUGAzVB4LeGiGQHOJkeLxTBErfsPAjBNOTGss/cC3VAkCHBlHKovB5S6A==} engines: {node: '>=12.0.0'} dependencies: - '@oclif/core': 2.6.2_6cnmuszcetnto3gtv64ajxyacy + '@oclif/core': 2.8.2_6cnmuszcetnto3gtv64ajxyacy chalk: 4.1.2 debug: 4.3.4 fs-extra: 9.1.0 @@ -3069,15 +3121,6 @@ packages: xml2js: 0.4.19 dev: true - /axios/0.27.2: - resolution: {integrity: sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==} - dependencies: - follow-redirects: 1.15.2 - form-data: 4.0.0 - transitivePeerDependencies: - - debug - dev: false - /axios/0.27.2_debug@4.3.4: resolution: {integrity: sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==} dependencies: @@ -3289,7 +3332,7 @@ packages: resolution: {integrity: sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==} dependencies: base64-js: 1.5.1 - ieee754: 1.1.13 + ieee754: 1.2.1 isarray: 1.0.0 dev: true @@ -7875,12 +7918,12 @@ packages: resolution: {integrity: sha512-EFVjAYfzWqWsBMRHPMAXLCDIJnpMhdWAqR7xG6M6a2cs6PMFpl/+Z20w9zDW4vkxOFfddegBKq9Rehd0bxWE7A==} engines: {node: '>= 10'} - /oclif/3.7.0: - resolution: {integrity: sha512-LtLc7/3lOQ0d6/JKGj8QriIK/MiIcjZXVX3WoynbXUswG/X8oIsSr1+F6Q69VVbXnjbYlbfiP+uYASr36Mrjzg==} + /oclif/3.8.1: + resolution: {integrity: sha512-1yc1rtsQrou6t21WYM6JM2fUzK3GKhGboB/A6ZeTFyC3VJb39fUWcRrQYE1JEoNlBHk5Z5hok8PEq09Vhm4ZZA==} engines: {node: '>=12.0.0'} hasBin: true dependencies: - '@oclif/core': 2.6.2 + '@oclif/core': 2.8.2 '@oclif/plugin-help': 5.2.7 '@oclif/plugin-not-found': 2.3.21 '@oclif/plugin-warn-if-update-available': 2.0.30 @@ -7910,12 +7953,12 @@ packages: - typescript dev: true - /oclif/3.7.0_6cnmuszcetnto3gtv64ajxyacy: - resolution: {integrity: sha512-LtLc7/3lOQ0d6/JKGj8QriIK/MiIcjZXVX3WoynbXUswG/X8oIsSr1+F6Q69VVbXnjbYlbfiP+uYASr36Mrjzg==} + /oclif/3.8.1_6cnmuszcetnto3gtv64ajxyacy: + resolution: {integrity: sha512-1yc1rtsQrou6t21WYM6JM2fUzK3GKhGboB/A6ZeTFyC3VJb39fUWcRrQYE1JEoNlBHk5Z5hok8PEq09Vhm4ZZA==} engines: {node: '>=12.0.0'} hasBin: true dependencies: - '@oclif/core': 2.6.2_6cnmuszcetnto3gtv64ajxyacy + '@oclif/core': 2.8.2_6cnmuszcetnto3gtv64ajxyacy '@oclif/plugin-help': 5.2.7_6cnmuszcetnto3gtv64ajxyacy '@oclif/plugin-not-found': 2.3.21_6cnmuszcetnto3gtv64ajxyacy '@oclif/plugin-warn-if-update-available': 2.0.30_6cnmuszcetnto3gtv64ajxyacy @@ -7945,12 +7988,12 @@ packages: - typescript dev: true - /oclif/3.7.0_bluebird@3.7.2: - resolution: {integrity: sha512-LtLc7/3lOQ0d6/JKGj8QriIK/MiIcjZXVX3WoynbXUswG/X8oIsSr1+F6Q69VVbXnjbYlbfiP+uYASr36Mrjzg==} + /oclif/3.8.1_bluebird@3.7.2: + resolution: {integrity: sha512-1yc1rtsQrou6t21WYM6JM2fUzK3GKhGboB/A6ZeTFyC3VJb39fUWcRrQYE1JEoNlBHk5Z5hok8PEq09Vhm4ZZA==} engines: {node: '>=12.0.0'} hasBin: true dependencies: - '@oclif/core': 2.6.2 + '@oclif/core': 2.8.2 '@oclif/plugin-help': 5.2.7 '@oclif/plugin-not-found': 2.3.21 '@oclif/plugin-warn-if-update-available': 2.0.30 From a4b7a571d66c1e7eaef2085bbc4c035ce640491e Mon Sep 17 00:00:00 2001 From: Aman Kumar Date: Thu, 27 Apr 2023 10:57:20 +0530 Subject: [PATCH 03/16] refactor: bin file --- package-lock.json | 8 +++----- packages/contentstack-auth/bin/dev | 20 ++++---------------- packages/contentstack-auth/bin/run | 7 ++++--- packages/contentstack-bootstrap/bin/run | 7 ++++--- packages/contentstack-bulk-publish/bin/run | 7 ++++--- packages/contentstack-clone/bin/run | 7 ++++--- packages/contentstack-config/bin/run | 7 ++++--- packages/contentstack-export-to-csv/bin/run | 7 ++++--- packages/contentstack-export/bin/run | 7 ++++--- packages/contentstack-import/bin/run | 7 ++++--- packages/contentstack-migrate-rte/bin/run | 7 ++++--- packages/contentstack-migration/bin/run | 7 ++++--- packages/contentstack-seed/bin/run | 7 ++++--- packages/contentstack/bin/dev | 4 ++-- packages/contentstack/bin/run | 4 ++-- packages/contentstack/package.json | 1 - pnpm-lock.yaml | 9 +++------ 17 files changed, 58 insertions(+), 65 deletions(-) diff --git a/package-lock.json b/package-lock.json index d7180ccfa4..ccca55cdc6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17513,7 +17513,6 @@ "@contentstack/cli-migration": "^1.3.1", "@contentstack/cli-utilities": "^1.3.2", "@contentstack/management": "^1.6.1", - "@oclif/core": "^2.3.0", "@oclif/plugin-help": "^5", "@oclif/plugin-not-found": "^2.3.9", "@oclif/plugin-plugins": "^2.1.7", @@ -18824,7 +18823,7 @@ "license": "MIT", "dependencies": { "@contentstack/management": "^1.6.1", - "@oclif/core": "^2.3.0", + "@oclif/core": "^2.8.2", "axios": "1.3.4", "chalk": "^4.0.0", "conf": "^10.1.2", @@ -20391,7 +20390,6 @@ "@contentstack/cli-migration": "^1.3.1", "@contentstack/cli-utilities": "^1.3.2", "@contentstack/management": "^1.6.1", - "@oclif/core": "^2.3.0", "@oclif/plugin-help": "^5", "@oclif/plugin-not-found": "^2.3.9", "@oclif/plugin-plugins": "^2.1.7", @@ -20416,6 +20414,7 @@ "node-machine-id": "^1.1.12", "nyc": "^15.1.0", "oclif": "^3.8.1", + "open": "^8.4.2", "rimraf": "^2.7.1", "shelljs": "^0.8.4", "short-uuid": "^4.2.2", @@ -20453,7 +20452,6 @@ "mocha": "10.1.0", "nyc": "^15.1.0", "oclif": "^3.8.1", - "open": "^8.4.0", "rimraf": "^2.7.1", "sinon": "^15.0.1", "tmp": "^0.2.1", @@ -21440,7 +21438,7 @@ "version": "file:packages/contentstack-utilities", "requires": { "@contentstack/management": "^1.6.1", - "@oclif/core": "^2.3.0", + "@oclif/core": "^2.8.2", "@oclif/test": "^2.2.10", "@types/chai": "^4.2.18", "@types/inquirer": "^9.0.3", diff --git a/packages/contentstack-auth/bin/dev b/packages/contentstack-auth/bin/dev index 9d2b2a4248..f003f9d180 100644 --- a/packages/contentstack-auth/bin/dev +++ b/packages/contentstack-auth/bin/dev @@ -1,18 +1,6 @@ #!/usr/bin/env node -const oclif = require('@oclif/core') - -const path = require('path') -const project = path.join(__dirname, '..', 'tsconfig.json') - -// In dev mode -> use ts-node and dev plugins -process.env.NODE_ENV = 'development' - -require('ts-node').register({project}) - -// In dev mode, always show stack traces -oclif.settings.debug = true; - - -// Start the CLI -oclif.run().then(oclif.flush).catch(oclif.Errors.handle) \ No newline at end of file +(async () => { + const { execute } = require('@contentstack/cli-utilities'); + await execute({ type: 'cjs', development: true, dir: __dirname }); +})(); \ No newline at end of file diff --git a/packages/contentstack-auth/bin/run b/packages/contentstack-auth/bin/run index a7635de86e..1fe6e50a4b 100755 --- a/packages/contentstack-auth/bin/run +++ b/packages/contentstack-auth/bin/run @@ -1,5 +1,6 @@ #!/usr/bin/env node -const oclif = require('@oclif/core') - -oclif.run().then(require('@oclif/core/flush')).catch(require('@oclif/core/handle')) +(async () => { + const { execute } = require('@contentstack/cli-utilities'); + await execute({ type: 'cjs', dir: __dirname }); +})(); \ No newline at end of file diff --git a/packages/contentstack-bootstrap/bin/run b/packages/contentstack-bootstrap/bin/run index a7635de86e..1fe6e50a4b 100755 --- a/packages/contentstack-bootstrap/bin/run +++ b/packages/contentstack-bootstrap/bin/run @@ -1,5 +1,6 @@ #!/usr/bin/env node -const oclif = require('@oclif/core') - -oclif.run().then(require('@oclif/core/flush')).catch(require('@oclif/core/handle')) +(async () => { + const { execute } = require('@contentstack/cli-utilities'); + await execute({ type: 'cjs', dir: __dirname }); +})(); \ No newline at end of file diff --git a/packages/contentstack-bulk-publish/bin/run b/packages/contentstack-bulk-publish/bin/run index a7635de86e..1fe6e50a4b 100755 --- a/packages/contentstack-bulk-publish/bin/run +++ b/packages/contentstack-bulk-publish/bin/run @@ -1,5 +1,6 @@ #!/usr/bin/env node -const oclif = require('@oclif/core') - -oclif.run().then(require('@oclif/core/flush')).catch(require('@oclif/core/handle')) +(async () => { + const { execute } = require('@contentstack/cli-utilities'); + await execute({ type: 'cjs', dir: __dirname }); +})(); \ No newline at end of file diff --git a/packages/contentstack-clone/bin/run b/packages/contentstack-clone/bin/run index a7635de86e..1fe6e50a4b 100755 --- a/packages/contentstack-clone/bin/run +++ b/packages/contentstack-clone/bin/run @@ -1,5 +1,6 @@ #!/usr/bin/env node -const oclif = require('@oclif/core') - -oclif.run().then(require('@oclif/core/flush')).catch(require('@oclif/core/handle')) +(async () => { + const { execute } = require('@contentstack/cli-utilities'); + await execute({ type: 'cjs', dir: __dirname }); +})(); \ No newline at end of file diff --git a/packages/contentstack-config/bin/run b/packages/contentstack-config/bin/run index a7635de86e..1fe6e50a4b 100755 --- a/packages/contentstack-config/bin/run +++ b/packages/contentstack-config/bin/run @@ -1,5 +1,6 @@ #!/usr/bin/env node -const oclif = require('@oclif/core') - -oclif.run().then(require('@oclif/core/flush')).catch(require('@oclif/core/handle')) +(async () => { + const { execute } = require('@contentstack/cli-utilities'); + await execute({ type: 'cjs', dir: __dirname }); +})(); \ No newline at end of file diff --git a/packages/contentstack-export-to-csv/bin/run b/packages/contentstack-export-to-csv/bin/run index a7635de86e..1fe6e50a4b 100755 --- a/packages/contentstack-export-to-csv/bin/run +++ b/packages/contentstack-export-to-csv/bin/run @@ -1,5 +1,6 @@ #!/usr/bin/env node -const oclif = require('@oclif/core') - -oclif.run().then(require('@oclif/core/flush')).catch(require('@oclif/core/handle')) +(async () => { + const { execute } = require('@contentstack/cli-utilities'); + await execute({ type: 'cjs', dir: __dirname }); +})(); \ No newline at end of file diff --git a/packages/contentstack-export/bin/run b/packages/contentstack-export/bin/run index a7635de86e..1fe6e50a4b 100755 --- a/packages/contentstack-export/bin/run +++ b/packages/contentstack-export/bin/run @@ -1,5 +1,6 @@ #!/usr/bin/env node -const oclif = require('@oclif/core') - -oclif.run().then(require('@oclif/core/flush')).catch(require('@oclif/core/handle')) +(async () => { + const { execute } = require('@contentstack/cli-utilities'); + await execute({ type: 'cjs', dir: __dirname }); +})(); \ No newline at end of file diff --git a/packages/contentstack-import/bin/run b/packages/contentstack-import/bin/run index a7635de86e..1fe6e50a4b 100755 --- a/packages/contentstack-import/bin/run +++ b/packages/contentstack-import/bin/run @@ -1,5 +1,6 @@ #!/usr/bin/env node -const oclif = require('@oclif/core') - -oclif.run().then(require('@oclif/core/flush')).catch(require('@oclif/core/handle')) +(async () => { + const { execute } = require('@contentstack/cli-utilities'); + await execute({ type: 'cjs', dir: __dirname }); +})(); \ No newline at end of file diff --git a/packages/contentstack-migrate-rte/bin/run b/packages/contentstack-migrate-rte/bin/run index a7635de86e..1fe6e50a4b 100755 --- a/packages/contentstack-migrate-rte/bin/run +++ b/packages/contentstack-migrate-rte/bin/run @@ -1,5 +1,6 @@ #!/usr/bin/env node -const oclif = require('@oclif/core') - -oclif.run().then(require('@oclif/core/flush')).catch(require('@oclif/core/handle')) +(async () => { + const { execute } = require('@contentstack/cli-utilities'); + await execute({ type: 'cjs', dir: __dirname }); +})(); \ No newline at end of file diff --git a/packages/contentstack-migration/bin/run b/packages/contentstack-migration/bin/run index a7635de86e..1fe6e50a4b 100755 --- a/packages/contentstack-migration/bin/run +++ b/packages/contentstack-migration/bin/run @@ -1,5 +1,6 @@ #!/usr/bin/env node -const oclif = require('@oclif/core') - -oclif.run().then(require('@oclif/core/flush')).catch(require('@oclif/core/handle')) +(async () => { + const { execute } = require('@contentstack/cli-utilities'); + await execute({ type: 'cjs', dir: __dirname }); +})(); \ No newline at end of file diff --git a/packages/contentstack-seed/bin/run b/packages/contentstack-seed/bin/run index a7635de86e..1fe6e50a4b 100755 --- a/packages/contentstack-seed/bin/run +++ b/packages/contentstack-seed/bin/run @@ -1,5 +1,6 @@ #!/usr/bin/env node -const oclif = require('@oclif/core') - -oclif.run().then(require('@oclif/core/flush')).catch(require('@oclif/core/handle')) +(async () => { + const { execute } = require('@contentstack/cli-utilities'); + await execute({ type: 'cjs', dir: __dirname }); +})(); \ No newline at end of file diff --git a/packages/contentstack/bin/dev b/packages/contentstack/bin/dev index d09a564a02..987ed18fd2 100755 --- a/packages/contentstack/bin/dev +++ b/packages/contentstack/bin/dev @@ -1,6 +1,6 @@ #!/usr/bin/env node require('dotenv').config({ path: './.env' }); (async () => { - const oclif = require('@oclif/core'); - await oclif.execute({ type: 'cjs', development: true, dir: __dirname }); + const { execute } = require('@contentstack/cli-utilities'); + await execute({ type: 'cjs', development: true, dir: __dirname }); })(); diff --git a/packages/contentstack/bin/run b/packages/contentstack/bin/run index fe3d8d51b9..3529ed1b39 100755 --- a/packages/contentstack/bin/run +++ b/packages/contentstack/bin/run @@ -1,5 +1,5 @@ #!/usr/bin/env node (async () => { - const oclif = require('@oclif/core'); - await oclif.execute({ type: 'cjs', dir: __dirname }); + const { execute } = require('@contentstack/cli-utilities'); + await execute({ type: 'cjs', dir: __dirname }); })(); diff --git a/packages/contentstack/package.json b/packages/contentstack/package.json index c3d4df8022..00ddd28d2e 100755 --- a/packages/contentstack/package.json +++ b/packages/contentstack/package.json @@ -35,7 +35,6 @@ "@contentstack/cli-migration": "^1.3.1", "@contentstack/cli-utilities": "^1.3.2", "@contentstack/management": "^1.6.1", - "@oclif/core": "^2.3.0", "@oclif/plugin-help": "^5", "@oclif/plugin-not-found": "^2.3.9", "@oclif/plugin-plugins": "^2.1.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d72311bfa4..27a48c9c93 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -24,7 +24,6 @@ importers: '@contentstack/cli-migration': ^1.3.1 '@contentstack/cli-utilities': ^1.3.2 '@contentstack/management': ^1.6.1 - '@oclif/core': ^2.3.0 '@oclif/plugin-help': ^5 '@oclif/plugin-not-found': ^2.3.9 '@oclif/plugin-plugins': ^2.1.7 @@ -49,6 +48,7 @@ importers: node-machine-id: ^1.1.12 nyc: ^15.1.0 oclif: ^3.8.1 + open: ^8.4.2 rimraf: ^2.7.1 shelljs: ^0.8.4 short-uuid: ^4.2.2 @@ -73,7 +73,6 @@ importers: '@contentstack/cli-migration': link:../contentstack-migration '@contentstack/cli-utilities': link:../contentstack-utilities '@contentstack/management': 1.6.1_debug@4.3.4 - '@oclif/core': 2.6.2_6cnmuszcetnto3gtv64ajxyacy '@oclif/plugin-help': 5.2.7_6cnmuszcetnto3gtv64ajxyacy '@oclif/plugin-not-found': 2.3.21_6cnmuszcetnto3gtv64ajxyacy '@oclif/plugin-plugins': 2.4.0_6cnmuszcetnto3gtv64ajxyacy @@ -135,7 +134,6 @@ importers: mocha: 10.1.0 nyc: ^15.1.0 oclif: ^3.8.1 - open: ^8.4.0 rimraf: ^2.7.1 sinon: ^15.0.1 tmp: ^0.2.1 @@ -745,7 +743,7 @@ importers: packages/contentstack-utilities: specifiers: '@contentstack/management': ^1.6.1 - '@oclif/core': ^2.3.0 + '@oclif/core': ^2.8.2 '@oclif/test': ^2.2.10 '@types/chai': ^4.2.18 '@types/inquirer': ^9.0.3 @@ -784,7 +782,7 @@ importers: xdg-basedir: ^4.0.0 dependencies: '@contentstack/management': 1.6.1_debug@4.3.4 - '@oclif/core': 2.6.2_6cnmuszcetnto3gtv64ajxyacy + '@oclif/core': 2.8.2_6cnmuszcetnto3gtv64ajxyacy axios: 1.3.4_debug@4.3.4 chalk: 4.1.2 conf: 10.2.0 @@ -2106,7 +2104,6 @@ packages: - '@swc/wasm' - '@types/node' - typescript - dev: true /@oclif/errors/1.3.6: resolution: {integrity: sha512-fYaU4aDceETd89KXP+3cLyg9EHZsLD3RxF2IU9yxahhBpspWjkWi3Dy3bTgcwZ3V47BgxQaGapzJWDM33XIVDQ==} From c6045532b78530b591a63971b38dd7fea3ffd1e2 Mon Sep 17 00:00:00 2001 From: Aman Kumar Date: Fri, 28 Apr 2023 15:58:50 +0530 Subject: [PATCH 04/16] version bump --- package-lock.json | 188 +- packages/contentstack-auth/README.md | 2 +- packages/contentstack-auth/package.json | 6 +- packages/contentstack-bootstrap/README.md | 2 +- packages/contentstack-bootstrap/package.json | 8 +- packages/contentstack-bulk-publish/README.md | 2 +- .../contentstack-bulk-publish/package.json | 6 +- packages/contentstack-clone/README.md | 2 +- packages/contentstack-clone/package.json | 10 +- packages/contentstack-command/package.json | 4 +- packages/contentstack-config/README.md | 2 +- packages/contentstack-config/package.json | 6 +- .../package.json | 2 +- .../contentstack-export-to-csv/package.json | 6 +- packages/contentstack-export/README.md | 2 +- packages/contentstack-export/package.json | 6 +- packages/contentstack-import/README.md | 2 +- packages/contentstack-import/package.json | 6 +- packages/contentstack-launch/README.md | 4 +- packages/contentstack-migrate-rte/README.md | 2 +- .../contentstack-migrate-rte/package.json | 6 +- packages/contentstack-migration/README.md | 6 +- packages/contentstack-migration/package.json | 6 +- packages/contentstack-seed/package.json | 8 +- packages/contentstack-utilities/package.json | 2 +- packages/contentstack/README.md | 238 ++- packages/contentstack/package.json | 26 +- pnpm-lock.yaml | 1660 ++++++++--------- 28 files changed, 1169 insertions(+), 1051 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6686f4b956..66a784c79b 100755 --- a/package-lock.json +++ b/package-lock.json @@ -18494,20 +18494,20 @@ "version": "1.6.0", "license": "MIT", "dependencies": { - "@contentstack/cli-auth": "^1.3.1", - "@contentstack/cli-cm-bootstrap": "^1.4.1", - "@contentstack/cli-cm-bulk-publish": "^1.3.1", - "@contentstack/cli-cm-clone": "^1.4.1", - "@contentstack/cli-cm-export": "^1.5.1", - "@contentstack/cli-cm-export-to-csv": "^1.3.1", - "@contentstack/cli-cm-import": "^1.5.1", - "@contentstack/cli-cm-migrate-rte": "^1.4.1", - "@contentstack/cli-cm-seed": "^1.4.1", - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-config": "^1.3.1", + "@contentstack/cli-auth": "^1.3.2", + "@contentstack/cli-cm-bootstrap": "^1.4.2", + "@contentstack/cli-cm-bulk-publish": "^1.3.2", + "@contentstack/cli-cm-clone": "^1.4.2", + "@contentstack/cli-cm-export": "^1.5.2", + "@contentstack/cli-cm-export-to-csv": "^1.3.2", + "@contentstack/cli-cm-import": "^1.5.2", + "@contentstack/cli-cm-migrate-rte": "^1.4.2", + "@contentstack/cli-cm-seed": "^1.4.2", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-config": "^1.3.2", "@contentstack/cli-launch": "^1.0.0", - "@contentstack/cli-migration": "^1.3.1", - "@contentstack/cli-utilities": "^1.3.2", + "@contentstack/cli-migration": "^1.3.2", + "@contentstack/cli-utilities": "^1.3.3", "@contentstack/management": "^1.6.1", "@oclif/plugin-help": "^5", "@oclif/plugin-not-found": "^2.3.9", @@ -18555,11 +18555,11 @@ }, "packages/contentstack-auth": { "name": "@contentstack/cli-auth", - "version": "1.3.1", + "version": "1.3.2", "license": "MIT", "dependencies": { - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "chalk": "^4.0.0", "debug": "^4.1.1", "inquirer": "8.2.4", @@ -18746,12 +18746,12 @@ }, "packages/contentstack-bootstrap": { "name": "@contentstack/cli-cm-bootstrap", - "version": "1.4.1", + "version": "1.4.2", "license": "MIT", "dependencies": { - "@contentstack/cli-cm-seed": "^1.4.1", - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-cm-seed": "^1.4.2", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "inquirer": "8.2.4", "mkdirp": "^1.0.4", "tar": "^6.1.13" @@ -18825,11 +18825,11 @@ }, "packages/contentstack-bulk-publish": { "name": "@contentstack/cli-cm-bulk-publish", - "version": "1.3.1", + "version": "1.3.2", "license": "MIT", "dependencies": { - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "bluebird": "^3.7.2", "chalk": "^4.1.2", "inquirer": "8.2.4", @@ -18866,13 +18866,13 @@ }, "packages/contentstack-clone": { "name": "@contentstack/cli-cm-clone", - "version": "1.4.1", + "version": "1.4.2", "license": "MIT", "dependencies": { - "@contentstack/cli-cm-export": "^1.5.1", - "@contentstack/cli-cm-import": "^1.5.1", - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-cm-export": "^1.5.2", + "@contentstack/cli-cm-import": "^1.5.2", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "async": "^3.2.4", "chalk": "^4.1.0", "child_process": "^1.0.2", @@ -18926,10 +18926,10 @@ }, "packages/contentstack-command": { "name": "@contentstack/cli-command", - "version": "1.2.2", + "version": "1.2.3", "license": "MIT", "dependencies": { - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-utilities": "^1.3.3", "contentstack": "^3.10.1" }, "devDependencies": { @@ -19150,11 +19150,11 @@ }, "packages/contentstack-config": { "name": "@contentstack/cli-config", - "version": "1.3.1", + "version": "1.3.2", "license": "MIT", "dependencies": { - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "chalk": "^4.0.0", "debug": "^4.1.1", "inquirer": "8.2.4", @@ -19338,7 +19338,7 @@ }, "packages/contentstack-dev-dependencies": { "name": "@contentstack/cli-dev-dependencies", - "version": "1.2.0", + "version": "1.2.1", "license": "MIT", "dependencies": { "lodash": "^4.17.21" @@ -19380,11 +19380,11 @@ }, "packages/contentstack-export": { "name": "@contentstack/cli-cm-export", - "version": "1.5.1", + "version": "1.5.2", "license": "MIT", "dependencies": { - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "@oclif/command": "^1.8.16", "@oclif/config": "^1.18.3", "async": "^3.2.4", @@ -19424,11 +19424,11 @@ }, "packages/contentstack-export-to-csv": { "name": "@contentstack/cli-cm-export-to-csv", - "version": "1.3.1", + "version": "1.3.2", "license": "MIT", "dependencies": { - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "chalk": "^4.1.0", "fast-csv": "^4.3.6", "inquirer": "8.2.4", @@ -19614,11 +19614,11 @@ }, "packages/contentstack-import": { "name": "@contentstack/cli-cm-import", - "version": "1.5.1", + "version": "1.5.2", "license": "MIT", "dependencies": { - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "@oclif/config": "^1.18.3", "big-json": "^3.2.0", "bluebird": "^3.7.2", @@ -20265,11 +20265,11 @@ }, "packages/contentstack-migrate-rte": { "name": "@contentstack/cli-cm-migrate-rte", - "version": "1.4.1", + "version": "1.4.2", "license": "MIT", "dependencies": { - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "@contentstack/json-rte-serializer": "^2.0.2", "chalk": "^4.1.2", "collapse-whitespace": "^1.1.7", @@ -20298,11 +20298,11 @@ }, "packages/contentstack-migration": { "name": "@contentstack/cli-migration", - "version": "1.3.1", + "version": "1.3.2", "license": "MIT", "dependencies": { - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "@oclif/command": "^1.8.16", "@oclif/config": "^1.18.3", "async": "^3.2.4", @@ -20334,12 +20334,12 @@ }, "packages/contentstack-seed": { "name": "@contentstack/cli-cm-seed", - "version": "1.4.1", + "version": "1.4.2", "license": "MIT", "dependencies": { - "@contentstack/cli-cm-import": "^1.5.1", - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-cm-import": "^1.5.2", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "@oclif/core": "^2.3.0", "axios": "1.3.4", "inquirer": "8.2.4", @@ -20421,7 +20421,7 @@ }, "packages/contentstack-utilities": { "name": "@contentstack/cli-utilities", - "version": "1.3.2", + "version": "1.3.3", "license": "MIT", "dependencies": { "@contentstack/management": "^1.6.1", @@ -22010,20 +22010,20 @@ "@contentstack/cli": { "version": "file:packages/contentstack", "requires": { - "@contentstack/cli-auth": "^1.3.1", - "@contentstack/cli-cm-bootstrap": "^1.4.1", - "@contentstack/cli-cm-bulk-publish": "^1.3.1", - "@contentstack/cli-cm-clone": "^1.4.1", - "@contentstack/cli-cm-export": "^1.5.1", - "@contentstack/cli-cm-export-to-csv": "^1.3.1", - "@contentstack/cli-cm-import": "^1.5.1", - "@contentstack/cli-cm-migrate-rte": "^1.4.1", - "@contentstack/cli-cm-seed": "^1.4.1", - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-config": "^1.3.1", + "@contentstack/cli-auth": "^1.3.2", + "@contentstack/cli-cm-bootstrap": "^1.4.2", + "@contentstack/cli-cm-bulk-publish": "^1.3.2", + "@contentstack/cli-cm-clone": "^1.4.2", + "@contentstack/cli-cm-export": "^1.5.2", + "@contentstack/cli-cm-export-to-csv": "^1.3.2", + "@contentstack/cli-cm-import": "^1.5.2", + "@contentstack/cli-cm-migrate-rte": "^1.4.2", + "@contentstack/cli-cm-seed": "^1.4.2", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-config": "^1.3.2", "@contentstack/cli-launch": "^1.0.0", - "@contentstack/cli-migration": "^1.3.1", - "@contentstack/cli-utilities": "^1.3.2", + "@contentstack/cli-migration": "^1.3.2", + "@contentstack/cli-utilities": "^1.3.3", "@contentstack/management": "^1.6.1", "@oclif/plugin-help": "^5", "@oclif/plugin-not-found": "^2.3.9", @@ -22064,8 +22064,8 @@ "@contentstack/cli-auth": { "version": "file:packages/contentstack-auth", "requires": { - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "@fancy-test/nock": "^0.1.1", "@oclif/plugin-help": "^5.1.19", "@oclif/test": "^2.2.10", @@ -22220,9 +22220,9 @@ "@contentstack/cli-cm-bootstrap": { "version": "file:packages/contentstack-bootstrap", "requires": { - "@contentstack/cli-cm-seed": "^1.4.1", - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-cm-seed": "^1.4.2", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "@oclif/test": "^2.2.10", "@types/inquirer": "^9.0.3", "@types/mkdirp": "^1.0.1", @@ -22279,8 +22279,8 @@ "@contentstack/cli-cm-bulk-publish": { "version": "file:packages/contentstack-bulk-publish", "requires": { - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "@oclif/test": "^1.2.6", "bluebird": "^3.7.2", "chai": "^4.2.0", @@ -22312,10 +22312,10 @@ "@contentstack/cli-cm-clone": { "version": "file:packages/contentstack-clone", "requires": { - "@contentstack/cli-cm-export": "^1.5.1", - "@contentstack/cli-cm-import": "^1.5.1", - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-cm-export": "^1.5.2", + "@contentstack/cli-cm-import": "^1.5.2", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "@oclif/test": "^1.2.7", "async": "^3.2.4", "chai": "^4.2.0", @@ -22359,10 +22359,10 @@ "version": "file:packages/contentstack-export", "requires": { "@contentstack/cli-auth": "^1.3.1", - "@contentstack/cli-command": "^1.2.2", + "@contentstack/cli-command": "^1.2.3", "@contentstack/cli-config": "^1.3.1", "@contentstack/cli-dev-dependencies": "^1.2.0", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-utilities": "^1.3.3", "@oclif/command": "^1.8.16", "@oclif/config": "^1.18.3", "@oclif/plugin-help": "^5.1.19", @@ -22526,8 +22526,8 @@ "@contentstack/cli-cm-export-to-csv": { "version": "file:packages/contentstack-export-to-csv", "requires": { - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "@oclif/test": "^2.2.10", "chai": "^4.2.0", "chalk": "^4.1.0", @@ -22547,8 +22547,8 @@ "@contentstack/cli-cm-import": { "version": "file:packages/contentstack-import", "requires": { - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "@oclif/config": "^1.18.3", "@oclif/test": "^1.2.6", "big-json": "^3.2.0", @@ -22584,8 +22584,8 @@ "@contentstack/cli-cm-migrate-rte": { "version": "file:packages/contentstack-migrate-rte", "requires": { - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "@contentstack/json-rte-serializer": "^2.0.2", "@oclif/test": "^2.2.10", "chai": "^4.3.4", @@ -22610,9 +22610,9 @@ "@contentstack/cli-cm-seed": { "version": "file:packages/contentstack-seed", "requires": { - "@contentstack/cli-cm-import": "^1.5.1", - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-cm-import": "^1.5.2", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "@oclif/core": "^2.3.0", "@oclif/plugin-help": "^5.1.19", "@types/inquirer": "^9.0.3", @@ -22677,7 +22677,7 @@ "@contentstack/cli-command": { "version": "file:packages/contentstack-command", "requires": { - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-utilities": "^1.3.3", "@oclif/test": "^2.2.10", "@types/chai": "^4.2.18", "@types/mkdirp": "^1.0.1", @@ -22853,8 +22853,8 @@ "@contentstack/cli-config": { "version": "file:packages/contentstack-config", "requires": { - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "@oclif/test": "^2.2.10", "@types/chai": "^4.2.18", "@types/inquirer": "^9.0.3", @@ -23476,8 +23476,8 @@ "@contentstack/cli-migration": { "version": "file:packages/contentstack-migration", "requires": { - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "@oclif/command": "^1.8.16", "@oclif/config": "^1.18.3", "@oclif/test": "^2.2.10", diff --git a/packages/contentstack-auth/README.md b/packages/contentstack-auth/README.md index 3c88348301..98df06f56b 100644 --- a/packages/contentstack-auth/README.md +++ b/packages/contentstack-auth/README.md @@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli-auth $ csdx COMMAND running command... $ csdx (--version) -@contentstack/cli-auth/1.3.1 darwin-x64 node-v18.12.1 +@contentstack/cli-auth/1.3.2 darwin-arm64 node-v18.14.2 $ csdx --help [COMMAND] USAGE $ csdx COMMAND diff --git a/packages/contentstack-auth/package.json b/packages/contentstack-auth/package.json index cee59ccc2e..4d4c685c20 100644 --- a/packages/contentstack-auth/package.json +++ b/packages/contentstack-auth/package.json @@ -1,7 +1,7 @@ { "name": "@contentstack/cli-auth", "description": "Contentstack CLI plugin for authentication activities", - "version": "1.3.1", + "version": "1.3.2", "author": "Contentstack", "bugs": "https://github.com/contentstack/cli/issues", "scripts": { @@ -21,8 +21,8 @@ "test:unit": "mocha --forbid-only \"test/unit/*.test.ts\"" }, "dependencies": { - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "chalk": "^4.0.0", "debug": "^4.1.1", "inquirer": "8.2.4", diff --git a/packages/contentstack-bootstrap/README.md b/packages/contentstack-bootstrap/README.md index e1c672b81c..6bf691d7f3 100644 --- a/packages/contentstack-bootstrap/README.md +++ b/packages/contentstack-bootstrap/README.md @@ -15,7 +15,7 @@ $ npm install -g @contentstack/cli-cm-bootstrap $ csdx COMMAND running command... $ csdx (--version) -@contentstack/cli-cm-bootstrap/1.4.1 darwin-arm64 node-v18.15.0 +@contentstack/cli-cm-bootstrap/1.4.2 darwin-arm64 node-v18.14.2 $ csdx --help [COMMAND] USAGE $ csdx COMMAND diff --git a/packages/contentstack-bootstrap/package.json b/packages/contentstack-bootstrap/package.json index d4c562ef33..69cd8c433e 100644 --- a/packages/contentstack-bootstrap/package.json +++ b/packages/contentstack-bootstrap/package.json @@ -1,7 +1,7 @@ { "name": "@contentstack/cli-cm-bootstrap", "description": "Bootstrap contentstack apps", - "version": "1.4.1", + "version": "1.4.2", "author": "Contentstack", "bugs": "https://github.com/contentstack/cli/issues", "scripts": { @@ -17,9 +17,9 @@ "test:report": "nyc --reporter=lcov mocha \"test/**/*.test.js\"" }, "dependencies": { - "@contentstack/cli-cm-seed": "^1.4.1", - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-cm-seed": "^1.4.2", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "inquirer": "8.2.4", "mkdirp": "^1.0.4", "tar": "^6.1.13" diff --git a/packages/contentstack-bulk-publish/README.md b/packages/contentstack-bulk-publish/README.md index 70176beef8..2a02672b5b 100644 --- a/packages/contentstack-bulk-publish/README.md +++ b/packages/contentstack-bulk-publish/README.md @@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli-cm-bulk-publish $ csdx COMMAND running command... $ csdx (--version) -@contentstack/cli-cm-bulk-publish/1.3.1 darwin-arm64 node-v18.15.0 +@contentstack/cli-cm-bulk-publish/1.3.2 darwin-arm64 node-v18.14.2 $ csdx --help [COMMAND] USAGE $ csdx COMMAND diff --git a/packages/contentstack-bulk-publish/package.json b/packages/contentstack-bulk-publish/package.json index 979ea6a705..23be0932c9 100644 --- a/packages/contentstack-bulk-publish/package.json +++ b/packages/contentstack-bulk-publish/package.json @@ -1,12 +1,12 @@ { "name": "@contentstack/cli-cm-bulk-publish", "description": "Contentstack CLI plugin for bulk publish actions", - "version": "1.3.1", + "version": "1.3.2", "author": "Contentstack", "bugs": "https://github.com/contentstack/cli/issues", "dependencies": { - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "bluebird": "^3.7.2", "chalk": "^4.1.2", "inquirer": "8.2.4", diff --git a/packages/contentstack-clone/README.md b/packages/contentstack-clone/README.md index 9028ea161f..14c6829441 100644 --- a/packages/contentstack-clone/README.md +++ b/packages/contentstack-clone/README.md @@ -15,7 +15,7 @@ $ npm install -g @contentstack/cli-cm-clone $ csdx COMMAND running command... $ csdx (--version) -@contentstack/cli-cm-clone/1.4.1 darwin-arm64 node-v18.15.0 +@contentstack/cli-cm-clone/1.4.2 darwin-arm64 node-v18.14.2 $ csdx --help [COMMAND] USAGE $ csdx COMMAND diff --git a/packages/contentstack-clone/package.json b/packages/contentstack-clone/package.json index 8a4b7c5e45..81f494a746 100644 --- a/packages/contentstack-clone/package.json +++ b/packages/contentstack-clone/package.json @@ -1,14 +1,14 @@ { "name": "@contentstack/cli-cm-clone", "description": "Contentstack stack clone plugin", - "version": "1.4.1", + "version": "1.4.2", "author": "Contentstack", "bugs": "https://github.com/rohitmishra209/cli-cm-clone/issues", "dependencies": { - "@contentstack/cli-cm-export": "^1.5.1", - "@contentstack/cli-cm-import": "^1.5.1", - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-cm-export": "^1.5.2", + "@contentstack/cli-cm-import": "^1.5.2", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "async": "^3.2.4", "chalk": "^4.1.0", "child_process": "^1.0.2", diff --git a/packages/contentstack-command/package.json b/packages/contentstack-command/package.json index 3e8aa6f5f0..2e2096de02 100644 --- a/packages/contentstack-command/package.json +++ b/packages/contentstack-command/package.json @@ -1,7 +1,7 @@ { "name": "@contentstack/cli-command", "description": "Contentstack CLI plugin for configuration", - "version": "1.2.2", + "version": "1.2.3", "author": "Contentstack", "main": "lib/index.js", "types": "./types/index.d.ts", @@ -17,7 +17,7 @@ "format": "eslint src/**/*.ts --fix" }, "dependencies": { - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-utilities": "^1.3.3", "contentstack": "^3.10.1" }, "devDependencies": { diff --git a/packages/contentstack-config/README.md b/packages/contentstack-config/README.md index 5a80c95b8f..30b918baee 100644 --- a/packages/contentstack-config/README.md +++ b/packages/contentstack-config/README.md @@ -16,7 +16,7 @@ $ npm install -g @contentstack/cli-config $ csdx COMMAND running command... $ csdx (--version) -@contentstack/cli-config/1.3.1 darwin-x64 node-v18.12.1 +@contentstack/cli-config/1.3.2 darwin-arm64 node-v18.14.2 $ csdx --help [COMMAND] USAGE $ csdx COMMAND diff --git a/packages/contentstack-config/package.json b/packages/contentstack-config/package.json index c52e0ce0c6..c0b304718e 100644 --- a/packages/contentstack-config/package.json +++ b/packages/contentstack-config/package.json @@ -1,7 +1,7 @@ { "name": "@contentstack/cli-config", "description": "Contentstack CLI plugin for configuration", - "version": "1.3.1", + "version": "1.3.2", "author": "Contentstack", "scripts": { "build": "npm run clean && npm run compile", @@ -20,8 +20,8 @@ "test:unit": "mocha --forbid-only \"test/unit/*.test.ts\" --unit-test" }, "dependencies": { - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "chalk": "^4.0.0", "debug": "^4.1.1", "inquirer": "8.2.4", diff --git a/packages/contentstack-dev-dependencies/package.json b/packages/contentstack-dev-dependencies/package.json index 3b7abb2a81..2598644da9 100644 --- a/packages/contentstack-dev-dependencies/package.json +++ b/packages/contentstack-dev-dependencies/package.json @@ -1,6 +1,6 @@ { "name": "@contentstack/cli-dev-dependencies", - "version": "1.2.0", + "version": "1.2.1", "description": "Customized dev dependencies for ContentStack projects", "main": "lib/index.js", "types": "./types/index.d.ts", diff --git a/packages/contentstack-export-to-csv/package.json b/packages/contentstack-export-to-csv/package.json index ea3ec31f7f..3c463607da 100644 --- a/packages/contentstack-export-to-csv/package.json +++ b/packages/contentstack-export-to-csv/package.json @@ -1,12 +1,12 @@ { "name": "@contentstack/cli-cm-export-to-csv", "description": "Export entities to csv", - "version": "1.3.1", + "version": "1.3.2", "author": "Abhinav Gupta @abhinav-from-contentstack", "bugs": "https://github.com/contentstack/cli/issues", "dependencies": { - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "chalk": "^4.1.0", "fast-csv": "^4.3.6", "inquirer": "8.2.4", diff --git a/packages/contentstack-export/README.md b/packages/contentstack-export/README.md index b415789cb3..62b79b43cf 100755 --- a/packages/contentstack-export/README.md +++ b/packages/contentstack-export/README.md @@ -38,7 +38,7 @@ $ npm install -g @contentstack/cli-cm-export $ csdx COMMAND running command... $ csdx (--version) -@contentstack/cli-cm-export/1.5.1 darwin-arm64 node-v18.15.0 +@contentstack/cli-cm-export/1.5.2 darwin-arm64 node-v18.14.2 $ csdx --help [COMMAND] USAGE $ csdx COMMAND diff --git a/packages/contentstack-export/package.json b/packages/contentstack-export/package.json index fed2069c63..2957a67a62 100644 --- a/packages/contentstack-export/package.json +++ b/packages/contentstack-export/package.json @@ -1,12 +1,12 @@ { "name": "@contentstack/cli-cm-export", "description": "Contentstack CLI plugin to export content from stack", - "version": "1.5.1", + "version": "1.5.2", "author": "Contentstack", "bugs": "https://github.com/contentstack/cli/issues", "dependencies": { - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "@oclif/command": "^1.8.16", "@oclif/config": "^1.18.3", "async": "^3.2.4", diff --git a/packages/contentstack-import/README.md b/packages/contentstack-import/README.md index 5b4921215d..8032b41e1c 100644 --- a/packages/contentstack-import/README.md +++ b/packages/contentstack-import/README.md @@ -37,7 +37,7 @@ $ npm install -g @contentstack/cli-cm-import $ csdx COMMAND running command... $ csdx (--version) -@contentstack/cli-cm-import/1.5.1 darwin-arm64 node-v18.15.0 +@contentstack/cli-cm-import/1.5.2 darwin-arm64 node-v18.14.2 $ csdx --help [COMMAND] USAGE $ csdx COMMAND diff --git a/packages/contentstack-import/package.json b/packages/contentstack-import/package.json index aae218ea2c..cc24bf1ffb 100644 --- a/packages/contentstack-import/package.json +++ b/packages/contentstack-import/package.json @@ -1,12 +1,12 @@ { "name": "@contentstack/cli-cm-import", "description": "Contentstack CLI plugin to import content into stack", - "version": "1.5.1", + "version": "1.5.2", "author": "Contentstack", "bugs": "https://github.com/contentstack/cli/issues", "dependencies": { - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "@oclif/config": "^1.18.3", "big-json": "^3.2.0", "bluebird": "^3.7.2", diff --git a/packages/contentstack-launch/README.md b/packages/contentstack-launch/README.md index 15225ce3de..c40c08e39f 100755 --- a/packages/contentstack-launch/README.md +++ b/packages/contentstack-launch/README.md @@ -13,11 +13,11 @@ With Launch CLI, you can interact with the Contentstack Launch platform using th # Usage ```sh-session -$ npm install -g @contentstack/launch-cli +$ npm install -g @contentstack/cli-launch $ csdx COMMAND running command... $ csdx (--version|-v) -@contentstack/launch-cli/1.0.0-alpha-1 darwin-arm64 node-v16.17.0 +@contentstack/cli-launch/1.0.0 darwin-arm64 node-v18.14.2 $ csdx --help [COMMAND] USAGE $ csdx COMMAND diff --git a/packages/contentstack-migrate-rte/README.md b/packages/contentstack-migrate-rte/README.md index 6b6fa993c4..957b44f374 100644 --- a/packages/contentstack-migrate-rte/README.md +++ b/packages/contentstack-migrate-rte/README.md @@ -16,7 +16,7 @@ $ npm install -g @contentstack/cli-cm-migrate-rte $ csdx COMMAND running command... $ csdx (--version) -@contentstack/cli-cm-migrate-rte/1.4.1 darwin-arm64 node-v18.15.0 +@contentstack/cli-cm-migrate-rte/1.4.2 darwin-arm64 node-v18.14.2 $ csdx --help [COMMAND] USAGE $ csdx COMMAND diff --git a/packages/contentstack-migrate-rte/package.json b/packages/contentstack-migrate-rte/package.json index c00bca8b21..36bd9c9c89 100644 --- a/packages/contentstack-migrate-rte/package.json +++ b/packages/contentstack-migrate-rte/package.json @@ -1,12 +1,12 @@ { "name": "@contentstack/cli-cm-migrate-rte", "description": "Contentstack CLI plugin to migrate HTML RTE to JSON RTE", - "version": "1.4.1", + "version": "1.4.2", "author": "contentstack", "bugs": "https://github.com/contentstack/cli/issues", "dependencies": { - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "@contentstack/json-rte-serializer": "^2.0.2", "collapse-whitespace": "^1.1.7", "chalk": "^4.1.2", diff --git a/packages/contentstack-migration/README.md b/packages/contentstack-migration/README.md index 7a02951b9a..7cc37ba1b9 100644 --- a/packages/contentstack-migration/README.md +++ b/packages/contentstack-migration/README.md @@ -21,7 +21,7 @@ $ npm install -g @contentstack/cli-migration $ csdx COMMAND running command... $ csdx (--version) -@contentstack/cli-migration/1.3.1 darwin-arm64 node-v18.15.0 +@contentstack/cli-migration/1.3.2 darwin-arm64 node-v18.14.2 $ csdx --help [COMMAND] USAGE $ csdx COMMAND @@ -69,7 +69,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 ``` @@ -108,7 +108,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 ``` diff --git a/packages/contentstack-migration/package.json b/packages/contentstack-migration/package.json index 807fac5030..f83dd0a4ae 100644 --- a/packages/contentstack-migration/package.json +++ b/packages/contentstack-migration/package.json @@ -1,11 +1,11 @@ { "name": "@contentstack/cli-migration", - "version": "1.3.1", + "version": "1.3.2", "author": "@contentstack", "bugs": "https://github.com/contentstack/cli/issues", "dependencies": { - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "@oclif/command": "^1.8.16", "@oclif/config": "^1.18.3", "async": "^3.2.4", diff --git a/packages/contentstack-seed/package.json b/packages/contentstack-seed/package.json index 024c7fc698..6f9acf106e 100644 --- a/packages/contentstack-seed/package.json +++ b/packages/contentstack-seed/package.json @@ -1,13 +1,13 @@ { "name": "@contentstack/cli-cm-seed", "description": "create a Stack from existing content types, entries, assets, etc.", - "version": "1.4.1", + "version": "1.4.2", "author": "Contentstack", "bugs": "https://github.com/contentstack/cli/issues", "dependencies": { - "@contentstack/cli-cm-import": "^1.5.1", - "@contentstack/cli-command": "^1.2.2", - "@contentstack/cli-utilities": "^1.3.1", + "@contentstack/cli-cm-import": "^1.5.2", + "@contentstack/cli-command": "^1.2.3", + "@contentstack/cli-utilities": "^1.3.3", "@oclif/core": "^2.3.0", "axios": "1.3.4", "inquirer": "8.2.4", diff --git a/packages/contentstack-utilities/package.json b/packages/contentstack-utilities/package.json index b30b5ad02c..bed8be2e98 100644 --- a/packages/contentstack-utilities/package.json +++ b/packages/contentstack-utilities/package.json @@ -1,6 +1,6 @@ { "name": "@contentstack/cli-utilities", - "version": "1.3.2", + "version": "1.3.3", "description": "Utilities for contentstack projects", "main": "lib/index.js", "types": "./types/index.d.ts", diff --git a/packages/contentstack/README.md b/packages/contentstack/README.md index 9b6ad87e1d..c42c05b814 100644 --- a/packages/contentstack/README.md +++ b/packages/contentstack/README.md @@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli $ csdx COMMAND running command... $ csdx (--version|-v) -@contentstack/cli/1.5.1 darwin-x64 node-v18.12.1 +@contentstack/cli/1.6.0 darwin-arm64 node-v18.14.2 $ csdx --help [COMMAND] USAGE $ csdx COMMAND @@ -77,6 +77,12 @@ USAGE * [`csdx config:get:region`](#csdx-configgetregion) * [`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) @@ -2407,7 +2413,223 @@ DESCRIPTION Display help for csdx. ``` -_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.2.7/src/commands/help.ts)_ +_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.2.9/src/commands/help.ts)_ + +## `csdx launch` + +Launch related operations + +``` +USAGE + $ csdx launch [-d ] [-c ] [--type GitHub|FileUpload] [--framework Gatsby|NextJs|Other] + [--org ] [-n ] [-e ] [--branch ] [--build-command ] [--out-dir ] [--init] + +FLAGS + -c, --config= Path to the local '.cs-launch.json' file + -d, --data-dir= Current working directory + -e, --environment= [Optional] Environment name for the Launch project + -n, --name= [Optional] Name of the project + --branch= [Optional] GitHub branch name + --build-command= [Optional] Build Command + --framework=