@contentstack/cli-cm-bulk-publish 1.7.0 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -470,7 +470,7 @@ FLAGS
470
470
  selected)
471
471
  -a, --alias=<value> Alias(name) for the management token
472
472
  -c, --config=<value> Path to the config file
473
- -k, --stack-api-key=<value> Stack api key to be used
473
+ -k, --stack-api-key=<value> Stack API key to be used
474
474
  -y, --yes Agree to process the command with the current configuration
475
475
  --api-version=<value> API version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
476
476
  --bulk-publish=<value> [default: true] Set this flag to use Contentstack’s Bulk Publish APIs. It is true, by
@@ -856,7 +856,7 @@ FLAGS
856
856
  -a, --alias=<value> Alias(name) for the management token
857
857
  -c, --config=<value> Path to the config file
858
858
  -e, --environment=<value> Source Environment
859
- -k, --stack-api-key=<value> Stack api key to be used
859
+ -k, --stack-api-key=<value> Stack API key to be used
860
860
  -l, --locale=<value> Locale filter
861
861
  -y, --yes Agree to process the command with the current configuration
862
862
  --api-version=<value> API version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
@@ -1705,7 +1705,7 @@ FLAGS
1705
1705
  -a, --alias=<value> Alias(name) for the management token
1706
1706
  -c, --config=<value> Path to the config file
1707
1707
  -e, --environment=<value> Source Environment
1708
- -k, --stack-api-key=<value> Stack api key to be used
1708
+ -k, --stack-api-key=<value> Stack API key to be used
1709
1709
  -l, --locale=<value> Locale filter
1710
1710
  -y, --yes Agree to process the command with the current configuration
1711
1711
  --api-version=<value> API version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@contentstack/cli-cm-bulk-publish",
3
3
  "description": "Contentstack CLI plugin for bulk publish actions",
4
- "version": "1.7.0",
4
+ "version": "1.7.1",
5
5
  "author": "Contentstack",
6
6
  "bugs": "https://github.com/contentstack/cli/issues",
7
7
  "dependencies": {
@@ -9,15 +9,15 @@
9
9
  "@contentstack/cli-utilities": "~1.8.0",
10
10
  "bluebird": "^3.7.2",
11
11
  "chalk": "^4.1.2",
12
- "dotenv": "^16.4.5",
12
+ "dotenv": "^16.4.7",
13
13
  "inquirer": "8.2.6",
14
14
  "lodash": "^4.17.21",
15
15
  "mkdirp": "^1.0.4",
16
- "nock": "^13.5.5",
17
- "winston": "^3.16.0"
16
+ "nock": "^13.5.6",
17
+ "winston": "^3.17.0"
18
18
  },
19
19
  "devDependencies": {
20
- "@oclif/test": "^4.1.0",
20
+ "@oclif/test": "^4.1.3",
21
21
  "chai": "^4.5.0",
22
22
  "eslint": "^8.57.1",
23
23
  "eslint-config-oclif": "^4.0.0",
@@ -174,7 +174,7 @@ CrossPublishCommand.flags = {
174
174
  alias: flags.string({ char: 'a', description: 'Alias(name) for the management token' }),
175
175
  'stack-api-key': flags.string({
176
176
  char: 'k',
177
- description: 'Stack api key to be used',
177
+ description: 'Stack API key to be used',
178
178
  required: false,
179
179
  }),
180
180
  retryFailed: flags.string({
@@ -169,7 +169,7 @@ UnpublishCommand.flags = {
169
169
  }),
170
170
  'stack-api-key': flags.string({
171
171
  char: 'k',
172
- description: 'Stack api key to be used',
172
+ description: 'Stack API key to be used',
173
173
  }),
174
174
  environment: flags.string({
175
175
  char: 'e',
@@ -213,6 +213,9 @@ async function getSyncEntries(
213
213
  if (queryParamsObj.type) {
214
214
  syncData['type'] = queryParamsObj.type;
215
215
  }
216
+ if(queryParamsObj.content_type_uid) {
217
+ syncData['content_type_uid'] = queryParamsObj.content_type_uid;
218
+ }
216
219
 
217
220
  const entriesResponse = await Stack.sync(syncData);
218
221
  if (entriesResponse.items.length > 0) {