From 930fa30e2d39983d60dac0960dc67708e5b7c858 Mon Sep 17 00:00:00 2001 From: Pier-Paolo Mammi Date: Wed, 13 May 2026 15:24:03 +0200 Subject: [PATCH] move script version to config struct --- scripts/extract-elx/extract-elx.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/extract-elx/extract-elx.js b/scripts/extract-elx/extract-elx.js index f7c37ca..8e85d81 100644 --- a/scripts/extract-elx/extract-elx.js +++ b/scripts/extract-elx/extract-elx.js @@ -96,7 +96,8 @@ const CONFIG = { MANIFEST_FILE: '_manifest.json', INDEX_FILE: 'index', ITEM_PREFIX: 'item', - INTERNALS_SUFFIX: '_internals' + INTERNALS_SUFFIX: '_internals', + VERSION: '1.0.0' }; // ============================================================================ @@ -602,7 +603,7 @@ async function processProperty(outputPath, propertyName, value) { async function createManifest(outputPath, data, processedProperties) { const manifest = { extractedAt: new Date().toISOString(), - scriptVersion: '1.0.0', + scriptVersion: CONFIG.VERSION, properties: {}, summary: { totalProperties: processedProperties.length,