Skip to content

Commit

Permalink
asset mapper, marketplace
Browse files Browse the repository at this point in the history
  • Loading branch information
shafeeqd959 committed Nov 6, 2024
1 parent baeaa9f commit 93da7af
Show file tree
Hide file tree
Showing 79 changed files with 4,544 additions and 3,078 deletions.
3,285 changes: 2,087 additions & 1,198 deletions package-lock.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions packages/contentstack-audit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ EXAMPLES
$ csdx plugins
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.14/src/commands/plugins/index.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.15/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.14/src/commands/plugins/inspect.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.15/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.14/src/commands/plugins/install.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.15/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.14/src/commands/plugins/link.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.15/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.14/src/commands/plugins/reset.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.15/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.14/src/commands/plugins/uninstall.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.15/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.14/src/commands/plugins/update.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.15/src/commands/plugins/update.ts)_
<!-- commandsstop -->
34 changes: 17 additions & 17 deletions packages/contentstack-audit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,35 +21,35 @@
"@contentstack/cli-command": "~1.3.2",
"@contentstack/cli-utilities": "~1.8.0",
"@oclif/plugin-help": "^5",
"@oclif/plugin-plugins": "^5.0.0",
"@oclif/plugin-plugins": "^5.4.15",
"chalk": "^4.1.2",
"fast-csv": "^4.3.6",
"fs-extra": "^11.1.1",
"fs-extra": "^11.2.0",
"lodash": "^4.17.21",
"uuid": "^9.0.1",
"winston": "^3.10.0"
"winston": "^3.15.0"
},
"devDependencies": {
"@contentstack/cli-dev-dependencies": "^1.2.4",
"@oclif/test": "^2.5.6",
"@types/chai": "^4.3.5",
"@types/fs-extra": "^11.0.2",
"@types/mocha": "^10.0.6",
"@types/node": "^20.3.1",
"@types/uuid": "^9.0.4",
"chai": "^4.3.7",
"eslint": "^8.43.0",
"@types/chai": "^4.3.20",
"@types/fs-extra": "^11.0.4",
"@types/mocha": "^10.0.9",
"@types/node": "^20.16.14",
"@types/uuid": "^9.0.8",
"chai": "^4.5.0",
"eslint": "^8.57.1",
"eslint-config-oclif": "^4.0.0",
"eslint-config-oclif-typescript": "^3.0.8",
"mocha": "^10.2.0",
"eslint-config-oclif-typescript": "^3.1.12",
"mocha": "^10.7.3",
"nyc": "^15.1.0",
"oclif": "^3",
"shx": "^0.3.4",
"sinon": "^19.0.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"tslib": "^2.5.3",
"typescript": "^5.1.3"
"sinon": "^19.0.2",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tslib": "^2.8.0",
"typescript": "^5.6.3"
},
"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 @@ -49,8 +49,8 @@ USAGE
$ csdx auth:login [-u <value> | --oauth] [-p <value> | ]
FLAGS
-p, --password=<value> Password
-u, --username=<value> User name
-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
DESCRIPTION
Expand Down Expand Up @@ -141,7 +141,7 @@ USAGE
$ csdx auth:tokens:add [-a <value>] [--delivery] [--management] [-e <value>] [-k <value>] [-y] [--token <value>]
FLAGS
-a, --alias=<value> Name of the token alias
-a, --alias=<value> Alias (name) you want to assign to the token
-d, --delivery Set this flag to save delivery token
-e, --environment=<value> Environment name for delivery token
-k, --stack-api-key=<value> Stack API Key
Expand Down Expand Up @@ -187,8 +187,8 @@ USAGE
$ csdx auth:tokens:remove [-a <value>] [-i]
FLAGS
-a, --alias=<value> Token alias
-i, --ignore Ignore
-a, --alias=<value> Alias (name) of the token to delete.
-i, --ignore Ignores if the token is not present.
DESCRIPTION
Removes selected tokens
Expand Down Expand Up @@ -230,8 +230,8 @@ USAGE
$ csdx login [-u <value> | --oauth] [-p <value> | ]
FLAGS
-p, --password=<value> Password
-u, --username=<value> User name
-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
DESCRIPTION
Expand Down
38 changes: 19 additions & 19 deletions packages/contentstack-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,35 +24,35 @@
"dependencies": {
"@contentstack/cli-command": "~1.3.2",
"@contentstack/cli-utilities": "~1.8.0",
"chalk": "^4.0.0",
"chalk": "^4.1.2",
"debug": "^4.1.1",
"inquirer": "8.2.4",
"winston": "^3.7.2"
"inquirer": "8.2.6",
"winston": "^3.15.0"
},
"devDependencies": {
"@fancy-test/nock": "^0.1.1",
"@oclif/plugin-help": "^5.1.19",
"@oclif/plugin-help": "^5.2.20",
"@oclif/test": "^2.5.6",
"@types/chai": "^4.2.18",
"@types/inquirer": "^9.0.3",
"@types/mkdirp": "^1.0.1",
"@types/mocha": "^8.2.2",
"@types/node": "^14.14.32",
"@types/sinon": "^10.0.2",
"chai": "^4.3.4",
"dotenv": "^16.0.3",
"eslint": "^8.18.0",
"@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",
"eslint": "^8.57.1",
"eslint-config-oclif": "^4.0.0",
"eslint-config-oclif-typescript": "^3.0.8",
"eslint-config-oclif-typescript": "^3.1.12",
"globby": "^10.0.2",
"mocha": "10.1.0",
"mocha": "10.7.3",
"nyc": "^15.1.0",
"oclif": "^3.8.1",
"oclif": "^3.17.2",
"rimraf": "^2.7.1",
"sinon": "^19.0.0",
"sinon": "^19.0.2",
"tmp": "^0.2.2",
"ts-node": "^10.9.1",
"typescript": "^4.9.3"
"ts-node": "^10.9.2",
"typescript": "^4.9.5"
},
"engines": {
"node": ">=14.0.0"
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 @@ -27,14 +27,14 @@ export default class LoginCommand extends BaseCommand<typeof LoginCommand> {
static flags: FlagInput = {
username: flags.string({
char: 'u',
description: 'User name',
description: 'Email address of your Contentstack account.',
multiple: false,
required: false,
exclusive: ['oauth'],
}),
password: flags.string({
char: 'p',
description: 'Password',
description: 'Password of your Contentstack app',
multiple: false,
required: false,
exclusive: ['oauth'],
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-auth/src/commands/auth/tokens/add.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default class TokensAddCommand extends BaseCommand<typeof TokensAddComman
];

static flags: FlagInput = {
alias: Flags.string({ char: 'a', description: 'Name of the token alias' }),
alias: Flags.string({ char: 'a', description: 'Alias (name) you want to assign to the token' }),
delivery: flags.boolean({
char: 'd',
description: 'Set this flag to save delivery token',
Expand Down
4 changes: 2 additions & 2 deletions packages/contentstack-auth/src/commands/auth/tokens/remove.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ export default class TokensRemoveCommand extends BaseCommand<typeof TokensRemove
static description = 'Removes selected tokens';
static examples = ['$ csdx auth:tokens:remove', '$ csdx auth:tokens:remove -a <alias>'];
static flags: FlagInput = {
alias: flags.string({ char: 'a', description: 'Token alias' }),
ignore: flags.boolean({ char: 'i', description: 'Ignore' }),
alias: flags.string({ char: 'a', description: 'Alias (name) of the token to delete.' }),
ignore: flags.boolean({ char: 'i', description: 'Ignores if the token is not present.' }),
};

async run(): Promise<any> {
Expand Down
24 changes: 12 additions & 12 deletions packages/contentstack-bootstrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,28 +20,28 @@
"@contentstack/cli-cm-seed": "~1.10.0",
"@contentstack/cli-command": "~1.3.2",
"@contentstack/cli-utilities": "~1.8.0",
"inquirer": "8.2.4",
"inquirer": "8.2.6",
"mkdirp": "^1.0.4",
"tar": "^6.2.1 "
},
"devDependencies": {
"@oclif/test": "^2.5.6",
"@types/inquirer": "^9.0.3",
"@types/mkdirp": "^1.0.1",
"@types/node": "^14.14.32",
"@types/tar": "^6.1.3",
"chai": "^4.3.4",
"eslint": "^8.18.0",
"@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.0.8",
"eslint-config-oclif-typescript": "^3.1.12",
"globby": "^10.0.2",
"mocha": "10.1.0",
"mocha": "10.7.3",
"nyc": "^15.1.0",
"oclif": "^3.8.1",
"oclif": "^3.17.2",
"rimraf": "^2.7.1",
"tmp": "^0.2.2",
"tmp": "^0.2.3",
"ts-node": "^8.10.2",
"typescript": "^4.9.3"
"typescript": "^4.9.5"
},
"engines": {
"node": ">=14.0.0"
Expand Down
33 changes: 17 additions & 16 deletions packages/contentstack-branches/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ USAGE
$ csdx cm:branches
FLAGS
-k, --stack-api-key=<value> Stack API Key
--verbose Verbose
-k, --stack-api-key=<value> Stack API key
--verbose Verbose, display information in detailed format.
DESCRIPTION
List the branches
Expand All @@ -91,8 +91,8 @@ USAGE
FLAGS
-k, --stack-api-key=<value> Stack API key
--source=<value> Source branch from which new branch to be created
--uid=<value> Branch UID to be created
--source=<value> Source branch from which a new branch is to be created.
--uid=<value> Branch UID (unique name) to be created.
DESCRIPTION
Create a new branch
Expand Down Expand Up @@ -145,12 +145,13 @@ USAGE
$ csdx cm:branches:diff [--base-branch <value>] [--compare-branch <value>] [-k <value>][--module <value>]
FLAGS
-k, --stack-api-key=<value> Provide Stack API key to show difference between branches
--base-branch=<value> Base branch
--compare-branch=<value> Compare branch
--format=<option> [default: compact-text] [Optional] Type of flags to show branches differences
-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
difference between two branches. <options: compact-text, detailed-text>
<options: compact-text|detailed-text>
--module=<option> Module
--module=<option> [optional] Module. <options: content-types, global-fields, all>
<options: content-types|global-fields|all>
DESCRIPTION
Expand Down Expand Up @@ -194,13 +195,13 @@ USAGE
[--use-merge-summary <value>] [--comment <value>] [--base-branch <value>]
FLAGS
-k, --stack-api-key=<value> Provide Stack API key to show difference between branches
--base-branch=<value> Base branch
--comment=<value> Merge comment
--compare-branch=<value> Compare branch name
--export-summary-path=<value> Export summary file path
--no-revert If passed, will not create the new revert branch
--use-merge-summary=<value> Path of merge summary file
-k, --stack-api-key=<value> [optional] Provide stack API key to show the difference between the branches.
--base-branch=<value> [optional] Base branch (Target branch).
--comment=<value> [optional] Pass a comment.
--compare-branch=<value> [optional] Compare branch (Source branch).
--export-summary-path=<value> [optional] Export summary file path.
--no-revert [optional] If passed, will not create the new revert branch.
--use-merge-summary=<value> [optional] Path of merge summary file.
DESCRIPTION
Merge changes from a branch
Expand Down
Loading

0 comments on commit 93da7af

Please sign in to comment.