@shoper/cli 0.2.1-0 → 0.2.1-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.
@@ -25,7 +25,6 @@ export class ThemeDeleteCommand extends BaseThemeCommand {
25
25
  command: '<%= config.bin %> <%= command.id %> 123'
26
26
  }
27
27
  ];
28
- static hidden = true;
29
28
  static args = {
30
29
  id: Args.string({
31
30
  description: 'Theme id',
@@ -74,11 +74,9 @@ export class ThemeVerifyCommand extends BaseThemeCommand {
74
74
  massages: messages
75
75
  }, executionContext: executionContext }));
76
76
  }
77
- // await promptConfirmation('jolo');
78
77
  }
79
78
  catch (err) {
80
79
  spinner?.stop();
81
- // await promptConfirmation('jolo');
82
80
  renderOnce(React.createElement(ThemeError, { err: err, executionContext: executionContext }));
83
81
  }
84
82
  }
@@ -72,8 +72,7 @@ export class ThemePushService {
72
72
  const { uploadedImageData, rejectedImageData } = await themeFilesUploadApi.uploadFiles(filesToUpload);
73
73
  if (uploadedImageData.length)
74
74
  await ThemeImagesUtils.removeUploadedOriginalFiles(themeRootDir, uploadedImageData);
75
- if (rejectedImageData.length)
76
- await this._removeUploadedThemeFiles(rejectedImageData, themeRootDir);
75
+ // if (rejectedImageData.length) await this._removeUploadedThemeFiles(rejectedImageData, themeRootDir);
77
76
  return {
78
77
  localFileNameToUploaded: uploadedImageData.reduce((acc, { originalFilename, uploadedFilename }) => {
79
78
  return {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@shoper/cli",
3
3
  "packageManager": "yarn@3.2.0",
4
4
  "sideEffects": false,
5
- "version": "0.2.1-0",
5
+ "version": "0.2.1-2",
6
6
  "description": "CLI tool for Shoper",
7
7
  "author": "Joanna Firek",
8
8
  "license": "MIT",
@@ -18,7 +18,7 @@
18
18
  "type": "module",
19
19
  "module": "build/index.js",
20
20
  "engines": {
21
- "node": ">=18.20.8",
21
+ "node": ">=21.19.5",
22
22
  "npm": ">=10.8.2"
23
23
  },
24
24
  "scripts": {