move script version to config struct
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user