@shoper/cli 0.5.1-2 → 0.5.1-3

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 @@ import { SHOPER_THEME_METADATA_DIR } from '../../constants/directory_contstants.
25
25
  import { THEME_FILES_STRUCTURE_FILE_NAME } from '../../features/theme/theme_constants.js';
26
26
  import { ThemeError } from '../ui/theme_error.js';
27
27
  import { ThemeUnpermittedActionsError } from './ui/theme_unpermitted_actions_error.js';
28
- import { promptConfirmation } from '../../../ui/prompts/prompt_confirmation.js';
29
28
  export class ThemePushCommand extends BaseThemeCommand {
30
29
  static summary = 'Uploads your local theme files to the store and overwrites the current version of the theme in your store.';
31
30
  static description = 'Check your local changes before pushing.\n\nYou must run this command from a specific theme directory (ID not needed).';
@@ -103,12 +102,10 @@ export class ThemePushCommand extends BaseThemeCommand {
103
102
  themeFilesUploadApi
104
103
  });
105
104
  spinner.stop();
106
- await promptConfirmation('jolo');
107
105
  renderOnce(React.createElement(ThemePushedSuccess, { themeName: await ThemeInfoUtils.getThemeName(executionContext.themeRootDir) }));
108
106
  }
109
107
  catch (err) {
110
108
  spinner?.stop();
111
- await promptConfirmation('jolo');
112
109
  renderOnce(React.createElement(ThemeError, { err: err, executionContext: executionContext }));
113
110
  }
114
111
  }
@@ -60,7 +60,6 @@ export class ThemeFilesStructureUtils {
60
60
  /*
61
61
  * Brzydki fix, poprawione w partial push na ładniej
62
62
  */
63
- console.log('mappedFilesRecords', mappedFilesRecords);
64
63
  if (!mappedFilesRecords['settings/thumbnail.jpg']) {
65
64
  mappedFilesRecords['settings/thumbnail.jpg'] = null;
66
65
  }
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.5.1-2",
5
+ "version": "0.5.1-3",
6
6
  "description": "CLI tool for Shoper",
7
7
  "author": "Joanna Firek",
8
8
  "license": "MIT",