sb-mig 5.1.2-beta.3 → 5.1.2-beta.5
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.
|
@@ -13,7 +13,8 @@ const _resolvePresets = async (res, all_presets, component, config) => {
|
|
|
13
13
|
const presetsToCreate = [];
|
|
14
14
|
for (const componentPreset of all_presets_modified) {
|
|
15
15
|
const shouldBeUpdated = allRemoteComponentPresets &&
|
|
16
|
-
allRemoteComponentPresets.find((remotePreset) => componentPreset.preset.name ===
|
|
16
|
+
allRemoteComponentPresets.find((remotePreset) => componentPreset.preset.name ===
|
|
17
|
+
remotePreset.preset.name);
|
|
17
18
|
if (shouldBeUpdated) {
|
|
18
19
|
presetsToUpdate.push({
|
|
19
20
|
...componentPreset,
|
|
@@ -28,7 +29,7 @@ const _resolvePresets = async (res, all_presets, component, config) => {
|
|
|
28
29
|
}
|
|
29
30
|
}
|
|
30
31
|
const presetsToUpdateResult = await Promise.all(presetsToUpdate.map((preset) => {
|
|
31
|
-
return updatePreset(preset, config);
|
|
32
|
+
return updatePreset({ p: preset }, config);
|
|
32
33
|
}));
|
|
33
34
|
const presetsToCreateResult = await Promise.all(presetsToCreate.map((preset) => {
|
|
34
35
|
return createPreset(preset, config);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sb-mig",
|
|
3
|
-
"version": "5.1.2-beta.
|
|
3
|
+
"version": "5.1.2-beta.5",
|
|
4
4
|
"description": "CLI to rule the world. (and handle stuff related to Storyblok CMS)",
|
|
5
5
|
"author": "Marcin Krawczyk <marckraw@icloud.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"@typescript-eslint/parser": "^6.0.0",
|
|
88
88
|
"chai": "^4.3.7",
|
|
89
89
|
"chokidar-cli": "^3.0.0",
|
|
90
|
-
"eslint": "^8.
|
|
90
|
+
"eslint": "^8.45.0",
|
|
91
91
|
"eslint-config-prettier": "^8.8.0",
|
|
92
92
|
"eslint-plugin-import": "^2.27.5",
|
|
93
93
|
"esm": "^3.2.25",
|