@shoper/cli 0.1.0-23 → 0.1.0-24

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.
@@ -19,7 +19,12 @@ export class ThemeMetaDataUtils {
19
19
  }
20
20
  static async updateThemeMetadata(themeDirectory, data) {
21
21
  const filePath = this.getThemeMetadataFilePath(themeDirectory);
22
- await writeJSONFile(filePath, data);
22
+ const newData = {
23
+ ...data,
24
+ skin_id: data.themeId
25
+ };
26
+ delete data.themeId;
27
+ await writeJSONFile(filePath, newData);
23
28
  }
24
29
  static async getThemeWorkUrl(themeDirectory) {
25
30
  const metadataFilePath = this.getThemeMetadataFilePath(themeDirectory);
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.1.0-23",
5
+ "version": "0.1.0-24",
6
6
  "description": "CLI tool for Shoper",
7
7
  "author": "Joanna Firek",
8
8
  "license": "MIT",