@squiz/dxp-cli-next 2.4.0 → 2.5.0-develop.2

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.
Files changed (2) hide show
  1. package/lib/td/deploy.js +2 -1
  2. package/package.json +3 -3
package/lib/td/deploy.js CHANGED
@@ -31,9 +31,10 @@ const deployCommand = new commander_1.Command()
31
31
  .addOption(new commander_1.Option('-f, --force', 'Optional: Do a force deployment. This will attempt to bypass whatever validation it can').default(false, 'default is false'))
32
32
  .addOption(new commander_1.Option('--no-watch', 'Optional: disabling polling for a result. The deployment ID will be returned and return.').default(true))
33
33
  .addOption(new commander_1.Option('--dry-run', 'Optional: Perform validation on the local template and do not upload package').default(false))
34
+ .addOption(new commander_1.Option('--ignore-sort-order', 'Optional: Ignore the asset link sort order validation check').default(false, 'default is false'))
34
35
  .action((source, destination, options, self) => __awaiter(void 0, void 0, void 0, function* () {
35
36
  try {
36
- return yield (0, deployment_service_lib_1.CliUpload)(options.matrixApiUrl, options.matrixApiKey, options.templateDeploymentUrl, source, destination, options.watch, options.force, options.dryRun);
37
+ return yield (0, deployment_service_lib_1.CliUpload)(options.matrixApiUrl, options.matrixApiKey, options.templateDeploymentUrl, source, destination, options.watch, options.force, options.dryRun, options.ignoreSortOrder);
37
38
  }
38
39
  catch (error) {
39
40
  if (error.message) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squiz/dxp-cli-next",
3
- "version": "2.4.0",
3
+ "version": "2.5.0-develop.2",
4
4
  "repository": {
5
5
  "url": "https://gitlab.squiz.net/developer-experience/dxp-cli-next"
6
6
  },
@@ -39,8 +39,8 @@
39
39
  "codecov"
40
40
  ],
41
41
  "dependencies": {
42
- "@squiz/deployment-service-lib": "1.1.5-alpha.76",
43
- "@squiz/component-cli-lib": "1.2.1-alpha.55",
42
+ "@squiz/deployment-service-lib": "1.1.5-alpha.77",
43
+ "@squiz/component-cli-lib": "1.2.1-alpha.59",
44
44
  "cli-color": "^2.0.1",
45
45
  "commander": "^9.0.0",
46
46
  "update-notifier": "^5.1.0"