Skip to content

Commit

Permalink
fix core
Browse files Browse the repository at this point in the history
  • Loading branch information
Shafeeq PP authored and Shafeeq PP committed Apr 4, 2023
1 parent 61ed745 commit a220a0a
Show file tree
Hide file tree
Showing 13 changed files with 240 additions and 12 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"private": true,
"scripts": {
"cache:clear": "pnpm store prune",
"bootstrap": "pnpm install --no-frozen-lockfile",
"clean": "pnpm --filter './packages/*' -w clean",
"bootstrap": "pnpm install --no-frozen-lockfile",
"prepack": "pnpm --filter \"./packages/*\" -w prepack",
"package-lock-only": "npm i --package-lock-only --workspaces",
"setup-repo": "npm i && pnpm package-lock-only && pnpm clean && pnpm install --no-frozen-lockfile && pnpm prepack"
Expand All @@ -20,4 +20,4 @@
"workspaces": [
"packages/*"
]
}
}
2 changes: 1 addition & 1 deletion packages/contentstack-auth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli-auth
$ csdx COMMAND
running command...
$ csdx (--version)
@contentstack/cli-auth/1.2.1 darwin-arm64 node-v16.19.1
@contentstack/cli-auth/1.2.1 darwin-arm64 node-v18.11.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-bootstrap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ $ npm install -g @contentstack/cli-cm-bootstrap
$ csdx COMMAND
running command...
$ csdx (--version)
@contentstack/cli-cm-bootstrap/1.3.1 darwin-arm64 node-v16.19.1
@contentstack/cli-cm-bootstrap/1.3.1 darwin-arm64 node-v18.11.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-bulk-publish/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli-cm-bulk-publish
$ csdx COMMAND
running command...
$ csdx (--version)
@contentstack/cli-cm-bulk-publish/1.2.1 darwin-arm64 node-v16.19.1
@contentstack/cli-cm-bulk-publish/1.2.1 darwin-arm64 node-v18.11.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-clone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ $ npm install -g @contentstack/cli-cm-clone
$ csdx COMMAND
running command...
$ csdx (--version)
@contentstack/cli-cm-clone/1.3.1 darwin-arm64 node-v16.19.1
@contentstack/cli-cm-clone/1.3.1 darwin-arm64 node-v18.11.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $ npm install -g @contentstack/cli-config
$ csdx COMMAND
running command...
$ csdx (--version)
@contentstack/cli-config/1.2.1 darwin-arm64 node-v16.19.1
@contentstack/cli-config/1.2.1 darwin-arm64 node-v18.11.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-export/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ $ npm install -g @contentstack/cli-cm-export
$ csdx COMMAND
running command...
$ csdx (--version)
@contentstack/cli-cm-export/1.4.1 darwin-arm64 node-v16.19.1
@contentstack/cli-cm-export/1.4.1 darwin-arm64 node-v18.11.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-import/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $ npm install -g @contentstack/cli-cm-import
$ csdx COMMAND
running command...
$ csdx (--version)
@contentstack/cli-cm-import/1.4.1 darwin-arm64 node-v16.19.1
@contentstack/cli-cm-import/1.4.1 darwin-arm64 node-v18.11.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-migrate-rte/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $ npm install -g @contentstack/cli-cm-migrate-rte
$ csdx COMMAND
running command...
$ csdx (--version)
@contentstack/cli-cm-migrate-rte/1.3.1 darwin-arm64 node-v16.19.1
@contentstack/cli-cm-migrate-rte/1.3.1 darwin-arm64 node-v18.11.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-migration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ $ npm install -g @contentstack/cli-migration
$ csdx COMMAND
running command...
$ csdx (--version)
@contentstack/cli-migration/1.2.1 darwin-arm64 node-v16.19.1
@contentstack/cli-migration/1.2.1 darwin-arm64 node-v18.11.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down
110 changes: 109 additions & 1 deletion packages/contentstack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli
$ csdx COMMAND
running command...
$ csdx (--version|-v)
@contentstack/cli/1.4.1 darwin-arm64 node-v16.19.1
@contentstack/cli/1.4.1 darwin-arm64 node-v18.11.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand All @@ -38,6 +38,12 @@ USAGE
* [`csdx cm:assets:publish [-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-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 [--base-branch <value>] [--stack-api-key <value>]`](#csdx-cmbranches---base-branch-value---stack-api-key-value)
* [`csdx cm:branches:config [--base-branch <value>] [--stack-api-key <value>]`](#csdx-cmbranchesconfig---base-branch-value---stack-api-key-value)
* [`csdx cm:branches:create [--base-branch <value>] [--stack-api-key <value>]`](#csdx-cmbranchescreate---base-branch-value---stack-api-key-value)
* [`csdx cm:branches:delete [--base-branch <value>] [--stack-api-key <value>]`](#csdx-cmbranchesdelete---base-branch-value---stack-api-key-value)
* [`csdx cm:branches:diff [--base-branch <value>] [--stack-api-key <value>]`](#csdx-cmbranchesdiff---base-branch-value---stack-api-key-value)
* [`csdx cm:branches:merge [--base-branch <value>] [--stack-api-key <value>]`](#csdx-cmbranchesmerge---base-branch-value---stack-api-key-value)
* [`csdx cm:bulk-publish`](#csdx-cmbulk-publish)
* [`csdx cm:entries:update-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-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 <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-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)
Expand Down Expand Up @@ -438,6 +444,108 @@ EXAMPLES

_See code: [@contentstack/cli-cm-bootstrap](https://github.com/contentstack/cli/blob/main/packages/contentstack-bootstrap/src/commands/cm/bootstrap.ts)_

## `csdx cm:branches [--base-branch <value>] [--stack-api-key <value>]`

List the branches to select

```
USAGE
$ csdx cm:branches [--base-branch <value>] [--stack-api-key <value>]
DESCRIPTION
List the branches to select
EXAMPLES
$ csdx cm:branches --base-branch main --stack-api-key bltxxxxxxxx
```

_See code: [@contentstack/cli-cm-branches](https://github.com/contentstack/cli/blob/main/packages/contentstack-export/src/commands/cm/branches/index.ts)_

## `csdx cm:branches:config [--base-branch <value>] [--stack-api-key <value>]`

Set the branch

```
USAGE
$ csdx cm:branches:config [--base-branch <value>] [--stack-api-key <value>]
DESCRIPTION
Set the branch
EXAMPLES
$ csdx cm:branches:config --base-branch main --stack-api-key bltxxxxxxxx
```

_See code: [@contentstack/cli-cm-branches](https://github.com/contentstack/cli/blob/main/packages/contentstack-export/src/commands/cm/branches/config.ts)_

## `csdx cm:branches:create [--base-branch <value>] [--stack-api-key <value>]`

Create a new branch

```
USAGE
$ csdx cm:branches:create [--base-branch <value>] [--stack-api-key <value>]
DESCRIPTION
Create a new branch
EXAMPLES
$ csdx cm:branches:create --base-branch main --stack-api-key bltxxxxxxxx
```

_See code: [@contentstack/cli-cm-branches](https://github.com/contentstack/cli/blob/main/packages/contentstack-export/src/commands/cm/branches/create.ts)_

## `csdx cm:branches:delete [--base-branch <value>] [--stack-api-key <value>]`

Delete a branch

```
USAGE
$ csdx cm:branches:delete [--base-branch <value>] [--stack-api-key <value>]
DESCRIPTION
Delete a branch
EXAMPLES
$ csdx cm:branches:delete --base-branch main --stack-api-key bltxxxxxxxx
```

_See code: [@contentstack/cli-cm-branches](https://github.com/contentstack/cli/blob/main/packages/contentstack-export/src/commands/cm/branches/delete.ts)_

## `csdx cm:branches:diff [--base-branch <value>] [--stack-api-key <value>]`

Check the difference between the branches

```
USAGE
$ csdx cm:branches:diff [--base-branch <value>] [--stack-api-key <value>]
DESCRIPTION
Check the difference between the branches
EXAMPLES
$ csdx cm:branches:diff --base-branch main --stack-api-key bltxxxxxxxx
```

_See code: [@contentstack/cli-cm-branches](https://github.com/contentstack/cli/blob/main/packages/contentstack-export/src/commands/cm/branches/diff.ts)_

## `csdx cm:branches:merge [--base-branch <value>] [--stack-api-key <value>]`

Merge a branch

```
USAGE
$ csdx cm:branches:merge [--base-branch <value>] [--stack-api-key <value>]
DESCRIPTION
Merge a branch
EXAMPLES
$ csdx cm:branches:merge --base-branch main --stack-api-key bltxxxxxxxx
```

_See code: [@contentstack/cli-cm-branches](https://github.com/contentstack/cli/blob/main/packages/contentstack-export/src/commands/cm/branches/merge.ts)_

## `csdx cm:bulk-publish`

Bulk Publish script for managing entries and assets
Expand Down
1 change: 1 addition & 0 deletions packages/contentstack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"@contentstack/cli-utilities": "^1.2.1",
"@contentstack/cli-cm-branches": "^1.0.0",
"@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",
Expand Down
Loading

0 comments on commit a220a0a

Please sign in to comment.