qumra-cli 2.4.9 → 2.4.10
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/cli.js +4 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -304366,7 +304366,7 @@ class SectionBuilder {
|
|
|
304366
304366
|
}
|
|
304367
304367
|
}
|
|
304368
304368
|
|
|
304369
|
-
var version$2 = "2.4.
|
|
304369
|
+
var version$2 = "2.4.10";
|
|
304370
304370
|
var pkg = {
|
|
304371
304371
|
version: version$2};
|
|
304372
304372
|
|
|
@@ -417613,7 +417613,9 @@ let ThemeBundlerService = class ThemeBundlerService {
|
|
|
417613
417613
|
if (!(qumraConfig === null || qumraConfig === void 0 ? void 0 : qumraConfig.themeName)) {
|
|
417614
417614
|
throw new Error('themeName not found in config. Run: qumra theme init');
|
|
417615
417615
|
}
|
|
417616
|
-
const zipFileName =
|
|
417616
|
+
const zipFileName = qumraConfig.version
|
|
417617
|
+
? `${qumraConfig.themeName}-v${qumraConfig.version}.zip`
|
|
417618
|
+
: `${qumraConfig.themeName}.zip`;
|
|
417617
417619
|
const zipFilePath = path__namespace.join(projectPath, zipFileName);
|
|
417618
417620
|
// Remove old zip if exists
|
|
417619
417621
|
if (fs__namespace.existsSync(zipFilePath)) {
|