storyblok 4.0.1 → 4.0.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.
- package/dist/index.mjs +11 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -4012,12 +4012,18 @@ typesCommand.command("generate").description("Generate types d.ts for your compo
|
|
|
4012
4012
|
path
|
|
4013
4013
|
});
|
|
4014
4014
|
await generateStoryblokTypes({
|
|
4015
|
-
|
|
4016
|
-
path
|
|
4015
|
+
...options,
|
|
4016
|
+
path
|
|
4017
|
+
});
|
|
4018
|
+
const typedefString = await generateTypes(spaceData, {
|
|
4019
|
+
...options,
|
|
4020
|
+
path
|
|
4017
4021
|
});
|
|
4018
|
-
const typedefString = await generateTypes(spaceData, options);
|
|
4019
4022
|
if (typedefString) {
|
|
4020
|
-
await saveTypesToFile(space, typedefString,
|
|
4023
|
+
await saveTypesToFile(space, typedefString, {
|
|
4024
|
+
...options,
|
|
4025
|
+
path
|
|
4026
|
+
});
|
|
4021
4027
|
}
|
|
4022
4028
|
spinner.succeed();
|
|
4023
4029
|
konsola.ok(`Successfully generated types for space ${space}`, true);
|
|
@@ -4029,7 +4035,7 @@ typesCommand.command("generate").description("Generate types d.ts for your compo
|
|
|
4029
4035
|
}
|
|
4030
4036
|
});
|
|
4031
4037
|
|
|
4032
|
-
const version = "4.0.
|
|
4038
|
+
const version = "4.0.2";
|
|
4033
4039
|
const pkg = {
|
|
4034
4040
|
version: version};
|
|
4035
4041
|
|