Skip to content

Commit

Permalink
Merge pull request #1703 from contentstack/staging
Browse files Browse the repository at this point in the history
DX | 11-12-2024 | Release
  • Loading branch information
cs-raj authored Dec 12, 2024
2 parents 83410d1 + b1ab24e commit b51eeae
Show file tree
Hide file tree
Showing 99 changed files with 4,087 additions and 2,074 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,23 @@ jobs:
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-clone/package.json
- name: Installing dependencies of import-setup
id: import-setup-installation
if: ${{env.release_releaseAll == 'true' || env.release_plugins_import_setup == 'true'}}
working-directory: ./packages/contentstack-import-setup
run: npm install
- name: Compiling import-setup
if: ${{ steps.import-setup-installation.conclusion == 'success' }}
working-directory: ./packages/contentstack-import-setup
run: npm run prepack
- name: Publishing import-setup
uses: JS-DevTools/[email protected]
if: ${{ steps.import-setup-installation.conclusion == 'success' }}
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-import-setup/package.json
access: public
tag: beta
- name: Installing dependencies of export to csv
id: export-to-csv-installation
if: ${{env.release_releaseAll == 'true' || env.release_plugins_export-to-csv == 'true'}}
Expand Down
1,631 changes: 582 additions & 1,049 deletions package-lock.json

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions packages/contentstack-audit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $ npm install -g @contentstack/cli-audit
$ csdx COMMAND
running command...
$ csdx (--version|-v)
@contentstack/cli-audit/1.7.3 darwin-arm64 node-v22.8.0
@contentstack/cli-audit/1.7.3 darwin-arm64 node-v22.2.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down Expand Up @@ -269,7 +269,7 @@ EXAMPLES
$ csdx plugins
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.17/src/commands/plugins/index.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.22/src/commands/plugins/index.ts)_

## `csdx plugins:add PLUGIN`

Expand Down Expand Up @@ -343,7 +343,7 @@ EXAMPLES
$ csdx plugins:inspect myplugin
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.17/src/commands/plugins/inspect.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.22/src/commands/plugins/inspect.ts)_

## `csdx plugins:install PLUGIN`

Expand Down Expand Up @@ -392,7 +392,7 @@ EXAMPLES
$ csdx plugins:install someuser/someplugin
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.17/src/commands/plugins/install.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.22/src/commands/plugins/install.ts)_

## `csdx plugins:link PATH`

Expand Down Expand Up @@ -423,7 +423,7 @@ EXAMPLES
$ csdx plugins:link myplugin
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.17/src/commands/plugins/link.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.22/src/commands/plugins/link.ts)_

## `csdx plugins:remove [PLUGIN]`

Expand Down Expand Up @@ -464,7 +464,7 @@ FLAGS
--reinstall Reinstall all plugins after uninstalling.
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.17/src/commands/plugins/reset.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.22/src/commands/plugins/reset.ts)_

## `csdx plugins:uninstall [PLUGIN]`

Expand Down Expand Up @@ -492,7 +492,7 @@ EXAMPLES
$ csdx plugins:uninstall myplugin
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.17/src/commands/plugins/uninstall.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.22/src/commands/plugins/uninstall.ts)_

## `csdx plugins:unlink [PLUGIN]`

Expand Down Expand Up @@ -536,5 +536,5 @@ DESCRIPTION
Update installed plugins.
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.17/src/commands/plugins/update.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.22/src/commands/plugins/update.ts)_
<!-- commandsstop -->
12 changes: 6 additions & 6 deletions packages/contentstack-audit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@contentstack/cli-command": "~1.3.2",
"@contentstack/cli-utilities": "~1.8.0",
"@oclif/plugin-help": "^5.2.20",
"@oclif/plugin-plugins": "^5.4.15",
"@oclif/plugin-plugins": "^5.4.22",
"chalk": "^4.1.2",
"fast-csv": "^4.3.6",
"fs-extra": "^11.2.0",
Expand All @@ -31,16 +31,16 @@
},
"devDependencies": {
"@contentstack/cli-dev-dependencies": "^1.2.4",
"@oclif/test": "^4.1.2",
"@oclif/test": "^4.1.3",
"@types/chai": "^4.3.20",
"@types/fs-extra": "^11.0.4",
"@types/mocha": "^10.0.9",
"@types/node": "^20.17.6",
"@types/mocha": "^10.0.10",
"@types/node": "^20.17.9",
"@types/uuid": "^9.0.8",
"chai": "^4.5.0",
"eslint": "^8.57.1",
"eslint-config-oclif": "^4.0.0",
"eslint-config-oclif-typescript": "^3.1.12",
"eslint-config-oclif-typescript": "^3.1.13",
"mocha": "^10.8.2",
"nyc": "^15.1.0",
"oclif": "^3.17.2",
Expand All @@ -49,7 +49,7 @@
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
},
"oclif": {
"bin": "csdx",
Expand Down
14 changes: 7 additions & 7 deletions 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.3.22 darwin-arm64 node-v22.8.0
@contentstack/cli-auth/1.3.22 darwin-arm64 node-v22.2.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down Expand Up @@ -49,9 +49,9 @@ USAGE
$ csdx auth:login [-u <value> | --oauth] [-p <value> | ]
FLAGS
-p, --password=<value> Password of your Contentstack app
-p, --password=<value> Password of your Contentstack app.
-u, --username=<value> Email address of your Contentstack account.
--oauth Enables single sign-on (SSO) in Contentstack CLI
--oauth Enables single sign-on (SSO) in Contentstack CLI.
DESCRIPTION
User sessions login
Expand Down Expand Up @@ -82,7 +82,7 @@ USAGE
$ csdx auth:logout [-y]
FLAGS
-y, --yes Force log out by skipping the confirmation
-y, --yes Force log out by skipping the confirmation.
DESCRIPTION
User session logout
Expand Down Expand Up @@ -230,9 +230,9 @@ USAGE
$ csdx login [-u <value> | --oauth] [-p <value> | ]
FLAGS
-p, --password=<value> Password of your Contentstack app
-p, --password=<value> Password of your Contentstack app.
-u, --username=<value> Email address of your Contentstack account.
--oauth Enables single sign-on (SSO) in Contentstack CLI
--oauth Enables single sign-on (SSO) in Contentstack CLI.
DESCRIPTION
User sessions login
Expand Down Expand Up @@ -261,7 +261,7 @@ USAGE
$ csdx logout [-y]
FLAGS
-y, --yes Force log out by skipping the confirmation
-y, --yes Force log out by skipping the confirmation.
DESCRIPTION
User session logout
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-auth/messages/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"CLI_AUTH_WHOAMI_DESCRIPTION": "Display current users email address",
"CLI_AUTH_TOKENS_ADD_ASK_TOKEN_ALIAS": "Provide alias to store token",
"CLI_AUTH_TOKENS_ADD_CONFIRM_ALIAS_REPLACE": "Alias is already exists, do you want to replace?",
"CLI_AUTH_TOKENS_ADD_ENTER_API_KEY": "Enter the api key",
"CLI_AUTH_TOKENS_ADD_ENTER_API_KEY": "Enter the API key",
"CLI_AUTH_TOKENS_ADD_ENTER_TOKEN": "Enter the token",
"CLI_AUTH_TOKENS_ADD_ENTER_ENVIRONMENT": "Enter the environment name",
"CLI_AUTH_TOKENS_ADD_REPLACE_SUCCESS": "Successfully replaced the token",
Expand Down
12 changes: 6 additions & 6 deletions packages/contentstack-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,27 @@
"@contentstack/cli-command": "~1.3.2",
"@contentstack/cli-utilities": "~1.8.0",
"chalk": "^4.1.2",
"debug": "^4.3.7",
"debug": "^4.4.0",
"inquirer": "8.2.6",
"winston": "^3.17.0"
},
"devDependencies": {
"@fancy-test/nock": "^0.1.1",
"@oclif/plugin-help": "^5.2.20",
"@oclif/test": "^4.1.0",
"@oclif/test": "^4.1.3",
"@types/chai": "^4.3.20",
"@types/inquirer": "^9.0.7",
"@types/mkdirp": "^1.0.2",
"@types/mocha": "^8.2.3",
"@types/node": "^14.18.63",
"@types/sinon": "^10.0.20",
"chai": "^4.5.0",
"dotenv": "^16.4.5",
"dotenv": "^16.4.7",
"eslint": "^8.57.1",
"eslint-config-oclif": "^5.2.1",
"eslint-config-oclif-typescript": "^3.1.12",
"eslint-config-oclif": "^5.2.2",
"eslint-config-oclif-typescript": "^3.1.13",
"globby": "^10.0.2",
"mocha": "10.7.3",
"mocha": "10.8.2",
"nyc": "^15.1.0",
"oclif": "^3.17.2",
"rimraf": "^2.7.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/contentstack-auth/src/commands/auth/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ export default class LoginCommand extends BaseCommand<typeof LoginCommand> {
}),
password: flags.string({
char: 'p',
description: 'Password of your Contentstack app',
description: 'Password of your Contentstack app.',
multiple: false,
required: false,
exclusive: ['oauth'],
}),
oauth: flags.boolean({
description: 'Enables single sign-on (SSO) in Contentstack CLI',
description: 'Enables single sign-on (SSO) in Contentstack CLI.',
required: false,
default: false,
exclusive: ['username', 'password'],
Expand Down
4 changes: 2 additions & 2 deletions packages/contentstack-auth/src/commands/auth/logout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ export default class LogoutCommand extends BaseCommand<typeof LogoutCommand> {
static flags: FlagInput = {
yes: flags.boolean({
char: 'y',
description: 'Force log out by skipping the confirmation',
description: 'Force log out by skipping the confirmation.',
required: false,
default: false,
}),
force: flags.boolean({
char: 'f',
description: 'Force log out by skipping the confirmation',
description: 'Force log out by skipping the confirmation.',
required: false,
hidden: true,
default: false,
Expand Down
4 changes: 2 additions & 2 deletions 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.13.0 darwin-arm64 node-v22.8.0
@contentstack/cli-cm-bootstrap/1.13.0 darwin-arm64 node-v22.2.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down Expand Up @@ -50,7 +50,7 @@ USAGE
FLAGS
-a, --alias=<value> Alias of the management token
-k, --stack-api-key=<value> Provide stack API key to seed content
-n, --stack-name=<value> Name of a new stack that will be created.
-n, --stack-name=<value> Name of the new stack that will be created.
-y, --yes=<value> [Optional] Skip stack confirmation
--app-name=<value> App name, reactjs-starter, nextjs-starter, gatsby-starter, angular-starter, nuxt-starter,
vue-starter, stencil-starter
Expand Down
4 changes: 2 additions & 2 deletions packages/contentstack-bootstrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
"tar": "^6.2.1 "
},
"devDependencies": {
"@oclif/test": "^4.1.0",
"@oclif/test": "^4.1.3",
"@types/inquirer": "^9.0.7",
"@types/mkdirp": "^1.0.2",
"@types/node": "^14.18.63",
"@types/tar": "^6.1.13",
"chai": "^4.5.0",
"eslint": "^8.57.1",
"eslint-config-oclif": "^4.0.0",
"eslint-config-oclif-typescript": "^3.1.12",
"eslint-config-oclif-typescript": "^3.1.13",
"globby": "^10.0.2",
"mocha": "10.8.2",
"nyc": "^15.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default class BootstrapCommand extends Command {
}),
'stack-name': flags.string({
char: 'n',
description: 'Name of a new stack that will be created.',
description: 'Name of the new stack that will be created.',
multiple: false,
required: false,
exclusive: ['stack-api-key'],
Expand Down
4 changes: 2 additions & 2 deletions packages/contentstack-branches/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $ npm install -g @contentstack/cli-cm-branches
$ csdx COMMAND
running command...
$ csdx (--version)
@contentstack/cli-cm-branches/1.2.0 darwin-arm64 node-v22.8.0
@contentstack/cli-cm-branches/1.2.0 darwin-arm64 node-v22.2.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down Expand Up @@ -145,7 +145,7 @@ USAGE
$ csdx cm:branches:diff [--base-branch <value>] [--compare-branch <value>] [-k <value>][--module <value>]
FLAGS
-k, --stack-api-key=<value> [optional] Provide the Stack API key to show the difference between branches.
-k, --stack-api-key=<value> [optional] Provide the stack API key to show the difference between branches.
--base-branch=<value> [optional] Base branch (Target branch).
--compare-branch=<value> [optional] Compare branch (Source branch).
--format=<option> [default: compact-text] [default: compact-text] [optional] Type of flags to show the
Expand Down
6 changes: 3 additions & 3 deletions packages/contentstack-branches/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@
"@contentstack/cli-config": "~1.9.0",
"@contentstack/cli-dev-dependencies": "~1.2.4",
"@oclif/plugin-help": "^5.2.20",
"@oclif/test": "^4.1.0",
"@oclif/test": "^4.1.3",
"@types/flat": "^5.0.5",
"assert": "^2.1.0",
"chai": "^4.5.0",
"dotenv": "^16.4.5",
"dotenv": "^16.4.7",
"dotenv-expand": "^9.0.0",
"eslint": "^8.57.1",
"eslint-config-oclif": "^4.0.0",
"globby": "^10.0.2",
"mocha": "10.7.3",
"mocha": "10.8.2",
"nyc": "^15.1.0",
"oclif": "^3.17.2",
"sinon": "^19.0.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default class BranchDiffCommand extends Command {
}),
'stack-api-key': flags.string({
char: 'k',
description: '[optional] Provide the Stack API key to show the difference between branches.',
description: '[optional] Provide the stack API key to show the difference between branches.',
}),
format: flags.string({
default: 'compact-text',
Expand Down
8 changes: 4 additions & 4 deletions 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.7.0 darwin-arm64 node-v22.8.0
@contentstack/cli-cm-bulk-publish/1.7.0 darwin-arm64 node-v22.2.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down Expand Up @@ -470,7 +470,7 @@ FLAGS
selected)
-a, --alias=<value> Alias(name) for the management token
-c, --config=<value> Path to the config file
-k, --stack-api-key=<value> Stack api key to be used
-k, --stack-api-key=<value> Stack API key to be used
-y, --yes Agree to process the command with the current configuration
--api-version=<value> API version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
--bulk-publish=<value> [default: true] Set this flag to use Contentstack’s Bulk Publish APIs. It is true, by
Expand Down Expand Up @@ -856,7 +856,7 @@ FLAGS
-a, --alias=<value> Alias(name) for the management token
-c, --config=<value> Path to the config file
-e, --environment=<value> Source Environment
-k, --stack-api-key=<value> Stack api key to be used
-k, --stack-api-key=<value> Stack API key to be used
-l, --locale=<value> Locale filter
-y, --yes Agree to process the command with the current configuration
--api-version=<value> API version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
Expand Down Expand Up @@ -1705,7 +1705,7 @@ FLAGS
-a, --alias=<value> Alias(name) for the management token
-c, --config=<value> Path to the config file
-e, --environment=<value> Source Environment
-k, --stack-api-key=<value> Stack api key to be used
-k, --stack-api-key=<value> Stack API key to be used
-l, --locale=<value> Locale filter
-y, --yes Agree to process the command with the current configuration
--api-version=<value> API version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
Expand Down
Loading

0 comments on commit b51eeae

Please sign in to comment.