From f9fd520dd5fb0db5cb53c6893e9f0988f6b331d3 Mon Sep 17 00:00:00 2001 From: ninadhatkar Date: Fri, 26 Mar 2021 17:35:28 +0530 Subject: [PATCH] updates auto generated readme while npm publish --- packages/contentstack-clone/README.md | 4 ---- packages/contentstack-clone/package.json | 3 --- packages/contentstack-export/README.md | 2 +- packages/contentstack-import/README.md | 4 +++- packages/contentstack-plugins/README.md | 2 +- packages/contentstack/README.md | 12 +++++------- 6 files changed, 10 insertions(+), 17 deletions(-) diff --git a/packages/contentstack-clone/README.md b/packages/contentstack-clone/README.md index 2a730498f9..9ba5272ec7 100644 --- a/packages/contentstack-clone/README.md +++ b/packages/contentstack-clone/README.md @@ -3,10 +3,6 @@ It is Contentstack’s CLI plugin to clone a stack. Using this command, you can export a stack’s content/schema to a new or existing stack. Refer to the [Clone a Stack](https://www.contentstack.com/docs/developers/cli/clone-a-stack/) documentation to learn more. -[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io) -[![Version](https://img.shields.io/npm/v/@contentstack/cli-cm-clone.svg)](https://npmjs.org/package/@contentstack/cli-cm-clone) -[![Downloads/week](https://img.shields.io/npm/dw/@contentstack/cli-cm-clone.svg)](https://npmjs.org/package/@contentstack/cli-cm-clone) -[![License](https://img.shields.io/npm/l/@contentstack/cli-cm-clone.svg)](https://github.com/rohitmishra209/cli-cm-clone/blob/master/package.json) * [Usage](#usage) diff --git a/packages/contentstack-clone/package.json b/packages/contentstack-clone/package.json index efb9f75a5a..07081c33ab 100644 --- a/packages/contentstack-clone/package.json +++ b/packages/contentstack-clone/package.json @@ -59,8 +59,5 @@ "scripts": { "test": "nyc --reporter=html mocha \"test/**/*.test.js\"", "version": "oclif-dev readme && git add README.md" - }, - "publishConfig": { - "registry": "https://npm.pkg.github.com/" } } diff --git a/packages/contentstack-export/README.md b/packages/contentstack-export/README.md index 815e4f8730..4b5e495dfc 100755 --- a/packages/contentstack-export/README.md +++ b/packages/contentstack-export/README.md @@ -16,7 +16,7 @@ $ npm install -g @contentstack/cli-cm-export $ csdx COMMAND running command... $ csdx (-v|--version|version) -@contentstack/cli-cm-export/0.1.1-beta.3 linux-x64 node-v12.13.1 +@contentstack/cli-cm-export/0.1.1-beta.3 darwin-x64 node-v13.14.0 $ csdx --help [COMMAND] USAGE $ csdx COMMAND diff --git a/packages/contentstack-import/README.md b/packages/contentstack-import/README.md index d4a9bc73f7..2e3309def3 100644 --- a/packages/contentstack-import/README.md +++ b/packages/contentstack-import/README.md @@ -16,7 +16,7 @@ $ npm install -g @contentstack/cli-cm-import $ csdx COMMAND running command... $ csdx (-v|--version|version) -@contentstack/cli-cm-import/0.1.1-beta.4 linux-x64 node-v12.13.1 +@contentstack/cli-cm-import/0.1.1-beta.4 darwin-x64 node-v13.14.0 $ csdx --help [COMMAND] USAGE $ csdx COMMAND @@ -29,6 +29,8 @@ USAGE ## `csdx cm:import` +Import script for importing the content into new stack + ``` USAGE $ csdx cm:import diff --git a/packages/contentstack-plugins/README.md b/packages/contentstack-plugins/README.md index 38e48de757..c71134ca84 100644 --- a/packages/contentstack-plugins/README.md +++ b/packages/contentstack-plugins/README.md @@ -1,7 +1,7 @@ @contentstack/cli-plugins-plugin ======= -Contentstack allows developers to write plugins and add custom commands to the CLI to perform additional tasks using CLI. Refer to the [Plugins](https://www.contentstack.com/docs/developers/cli/create-custom-plugins-using-cli/) documentation to learn more. +Contentstack allows developers to write plugins and add custom commands to the CLI to perform additional tasks using CLI. [![License](https://img.shields.io/npm/l/@contentstack/cli)](https://github.com/contentstack/cli/blob/main/LICENSE) diff --git a/packages/contentstack/README.md b/packages/contentstack/README.md index 2bf48fee76..66c84a5bb1 100644 --- a/packages/contentstack/README.md +++ b/packages/contentstack/README.md @@ -893,11 +893,10 @@ _See code: [@contentstack/cli-cm-import](https://github.com/contentstack/cli/blo ## `csdx cm:stack-clone` -This command allows you to migrate data (structure or content or both) from one stack to another stack (either new or existing) +Clone data (structure or content or both) of a stack into another stack ``` -This command allows you to migrate data (structure or content or both) from one stack to another stack (either new or existing) -... +Clone data (structure or content or both) of a stack into another stack Use this plugin to automate the process of cloning a stack in a few steps. @@ -905,14 +904,13 @@ USAGE $ csdx cm:stack-clone DESCRIPTION - ... Use this plugin to automate the process of cloning a stack in a few steps. EXAMPLE csdx cm:stack-clone ``` -_See code: [@contentstack/cli-cm-clone](https://github.com/contentstack/cli/blob/v0.1.0-beta-1/src/commands/cm/stack-clone.js)_ +_See code: [@contentstack/cli-cm-clone](https://github.com/contentstack/cli/blob/v0.1.0-beta/src/commands/cm/stack-clone.js)_ ## `csdx config:get:region` @@ -1000,10 +998,10 @@ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/ ## `csdx plugins:create` -Generate plugin starter code +generate plugin starter code ``` -Generate plugin starter code +generate plugin starter code USAGE