move script version to config struct

This commit is contained in:
2026-05-13 15:24:03 +02:00
parent f87b363963
commit 930fa30e2d
+3 -2
View File
@@ -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,