diff --git a/@types/lib/Builder.d.ts b/@types/lib/Builder.d.ts index cbff71ba7..ff729b2c0 100644 --- a/@types/lib/Builder.d.ts +++ b/@types/lib/Builder.d.ts @@ -46,9 +46,10 @@ declare class Builder { * @param {string} selectedType supported metadata type * @param {string[]} nameArr name of the metadata * @param {string[]} marketArr market localizations + * @param {boolean} [isPurgeDeployFolder] whether to purge the deploy folder * @returns {Promise.} - */ - static buildDefinition(businessUnit: string, selectedType: string, nameArr: string[], marketArr: string[]): Promise; + static buildDefinition(businessUnit: string, selectedType: string, nameArr: string[], marketArr: string[], isPurgeDeployFolder?: boolean): Promise; /** * Build a specific metadata file based on a template using a list of bu-market combos * diff --git a/@types/lib/Builder.d.ts.map b/@types/lib/Builder.d.ts.map index 2057fca31..93655b2e1 100644 --- a/@types/lib/Builder.d.ts.map +++ b/@types/lib/Builder.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Builder.d.ts","sourceRoot":"","sources":["../../lib/Builder.js"],"names":[],"mappings":";uBAUa,OAAO,qBAAqB,EAAE,QAAQ;0BACtC,OAAO,qBAAqB,EAAE,WAAW;8BACzC,OAAO,qBAAqB,EAAE,eAAe;sBAC7C,OAAO,qBAAqB,EAAE,OAAO;+BACrC,OAAO,qBAAqB,EAAE,gBAAgB;mCAC9C,OAAO,qBAAqB,EAAE,oBAAoB;kCAClD,OAAO,qBAAqB,EAAE,mBAAmB;8BACjD,OAAO,qBAAqB,EAAE,eAAe;iCAC7C,OAAO,qBAAqB,EAAE,kBAAkB;oCAChD,OAAO,qBAAqB,EAAE,qBAAqB;gCACnD,OAAO,qBAAqB,EAAE,iBAAiB;0BAC/C,OAAO,qBAAqB,EAAE,WAAW;AAZtD;;;;;;;;;;;;;GAaG;AAEH;;GAEG;AACH;IAuEI;;;;;;;;OAQG;IACH,mCANW,MAAM,gBACN,MAAM,UACN,MAAM,EAAE,aACR,MAAM,EAAE,GACN,OAAO,CAAE,qBAAqB,CAAC,CA+B3C;IA2CD;;;;;;;;OAQG;IACH,qCANW,MAAM,gBACN,MAAM,WACN,MAAM,EAAE,aACR,MAAM,EAAE,GACN,OAAO,CAAE,qBAAqB,CAAC,CA+B3C;IAED;;;;;;;OAOG;IACH,qCALW,MAAM,QACN,MAAM,WACN,MAAM,EAAE,GACN,OAAO,CAAE,MAAM,CAAC,CAuD5B;IA5PD;;;;;;OAMG;IACH,wBAJW,OAAO,YAEP,QAAQ,EAyBlB;IAtBG,kDAA4B;IAC5B,oBAAkD;IAClD,oBAIE;IACF,iDAAwB;IAMxB,oBAGC;IAED;;OAEG;IACH,UAFU,qBAAqB,CAEb;IAGtB;;;;;;;OAOG;IACH,+BALW,MAAM,WACN,MAAM,EAAE,qBACR,WAAW,GACT,OAAO,CAAE,qBAAqB,CAAC,CA8B3C;IA0CD;;;;;;;OAOG;IACH,6BALW,MAAM,UACN,MAAM,EAAE,qBACR,WAAW,GACT,OAAO,CAAE,qBAAqB,CAAC,CAiC3C;CAwGJ"} \ No newline at end of file +{"version":3,"file":"Builder.d.ts","sourceRoot":"","sources":["../../lib/Builder.js"],"names":[],"mappings":";uBAUa,OAAO,qBAAqB,EAAE,QAAQ;0BACtC,OAAO,qBAAqB,EAAE,WAAW;8BACzC,OAAO,qBAAqB,EAAE,eAAe;sBAC7C,OAAO,qBAAqB,EAAE,OAAO;+BACrC,OAAO,qBAAqB,EAAE,gBAAgB;mCAC9C,OAAO,qBAAqB,EAAE,oBAAoB;kCAClD,OAAO,qBAAqB,EAAE,mBAAmB;8BACjD,OAAO,qBAAqB,EAAE,eAAe;iCAC7C,OAAO,qBAAqB,EAAE,kBAAkB;oCAChD,OAAO,qBAAqB,EAAE,qBAAqB;gCACnD,OAAO,qBAAqB,EAAE,iBAAiB;0BAC/C,OAAO,qBAAqB,EAAE,WAAW;AAZtD;;;;;;;;;;;;;GAaG;AAEH;;GAEG;AACH;IA0EI;;;;;;;;OAQG;IACH,mCANW,MAAM,gBACN,MAAM,UACN,MAAM,EAAE,aACR,MAAM,EAAE,GACN,OAAO,CAAE,qBAAqB,CAAC,CA+B3C;IA2CD;;;;;;;;;OASG;IACH,qCAPW,MAAM,gBACN,MAAM,WACN,MAAM,EAAE,aACR,MAAM,EAAE,wBACR,OAAO,GACL,OAAO,CAAE,qBAAqB,CAAC,CAuD3C;IAED;;;;;;;OAOG;IACH,qCALW,MAAM,QACN,MAAM,WACN,MAAM,EAAE,GACN,OAAO,CAAE,MAAM,CAAC,CAuD5B;IAxRD;;;;;;OAMG;IACH,wBAJW,OAAO,YAEP,QAAQ,EA4BlB;IAzBG,kDAA4B;IAC5B,oBAAkD;IAClD,oBAIE;IACF,iDAAwB;IAMxB,oBAMC;IAED;;OAEG;IACH,UAFU,qBAAqB,CAEb;IAGtB;;;;;;;OAOG;IACH,+BALW,MAAM,WACN,MAAM,EAAE,qBACR,WAAW,GACT,OAAO,CAAE,qBAAqB,CAAC,CA8B3C;IA0CD;;;;;;;OAOG;IACH,6BALW,MAAM,UACN,MAAM,EAAE,qBACR,WAAW,GACT,OAAO,CAAE,qBAAqB,CAAC,CAiC3C;CAiIJ"} \ No newline at end of file diff --git a/@types/lib/index.d.ts b/@types/lib/index.d.ts index 6588c09c4..40b22d751 100644 --- a/@types/lib/index.d.ts +++ b/@types/lib/index.d.ts @@ -273,9 +273,10 @@ declare class Mcdev { * @param {string | TypeKeyCombo} selectedTypes limit retrieval to given metadata type * @param {string[] | undefined} nameArr name of the metadata * @param {string[]} marketArr market localizations + * @param {boolean} [isPurgeDeployFolder] whether to purge the deploy folder * @returns {Promise.} - */ - static buildDefinition(businessUnit: string, selectedTypes: string | TypeKeyCombo, nameArr: string[] | undefined, marketArr: string[]): Promise; + static buildDefinition(businessUnit: string, selectedTypes: string | TypeKeyCombo, nameArr: string[] | undefined, marketArr: string[], isPurgeDeployFolder?: boolean): Promise; /** * Build a specific metadata file based on a template using a list of bu-market combos * diff --git a/@types/lib/index.d.ts.map b/@types/lib/index.d.ts.map index 7d60d5028..386507ba8 100644 --- a/@types/lib/index.d.ts.map +++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;OAQG;IACH,qCANW,SAAS,GAAC,OAAO,GAAC,MAAM,GAAC,SAAS,GAAC,SAAS,GAAC,oBAAoB,gBACjE,MAAM,kBACN,MAAM,EAAE,GAAG,YAAY,SACvB,MAAM,EAAE,GACN,OAAO,CAAE;YAAQ,MAAM,GAAE;gBAAQ,MAAM,GAAE,MAAM,EAAE;SAAC;KAAC,CAAC,CA0MhE;IAED;;;;;;;;;OASG;IACH,mCAPW,SAAS,GAAC,OAAO,GAAC,MAAM,GAAC,SAAS,GAAC,SAAS,GAAC,oBAAoB,QACjE,MAAM,MACN,MAAM,SACN,MAAM,WACN,MAAM,EAAE,GACN,OAAO,CAAE,MAAM,EAAE,CAAC,CAuD9B;IAED;;;;;;OAMG;IACH,kDAJW,MAAM,YACN,QAAQ,GACN,OAAO,CAAE,MAAM,EAAE,CAAC,CA0D9B;IAED;;;;;;;;OAQG;IACH,6BANW,MAAM,MACN,MAAM,QACN,MAAM,WACN,MAAM,EAAE,GACN,OAAO,CAAE,MAAM,EAAE,CAAC,CA0E9B;IAED;;;;;;;;OAQG;IACH,wCANW,MAAM,MACN,MAAM,QACN,MAAM,WACN,MAAM,EAAE,GACN,OAAO,CAAE,MAAM,EAAE,CAAC,CAyE9B;IAED;;;;;;;OAOG;IACH,yCALW,MAAM,GAAC,MAAM,EAAE,GAAC,SAAS,uBACzB,MAAM,EAAE,cACR,OAAO,GACL,YAAY,CA2ExB;CACJ"} \ No newline at end of file +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/index.js"],"names":[],"mappings":";uBAwBa,OAAO,qBAAqB,EAAE,QAAQ;0BACtC,OAAO,qBAAqB,EAAE,WAAW;8BACzC,OAAO,qBAAqB,EAAE,eAAe;2BAC7C,OAAO,qBAAqB,EAAE,YAAY;sBAC1C,OAAO,qBAAqB,EAAE,OAAO;+BACrC,OAAO,qBAAqB,EAAE,gBAAgB;mCAC9C,OAAO,qBAAqB,EAAE,oBAAoB;kCAClD,OAAO,qBAAqB,EAAE,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,MAAM,SACN,MAAM,WACN,MAAM,EAAE,GACN,OAAO,CAAE,MAAM,EAAE,CAAC,CAuD9B;IAED;;;;;;OAMG;IACH,kDAJW,MAAM,YACN,QAAQ,GACN,OAAO,CAAE,MAAM,EAAE,CAAC,CA0D9B;IAED;;;;;;;;OAQG;IACH,6BANW,MAAM,MACN,MAAM,QACN,MAAM,WACN,MAAM,EAAE,GACN,OAAO,CAAE,MAAM,EAAE,CAAC,CA0E9B;IAED;;;;;;;;OAQG;IACH,wCANW,MAAM,MACN,MAAM,QACN,MAAM,WACN,MAAM,EAAE,GACN,OAAO,CAAE,MAAM,EAAE,CAAC,CAyE9B;IAED;;;;;;;OAOG;IACH,yCALW,MAAM,GAAC,MAAM,EAAE,GAAC,SAAS,uBACzB,MAAM,EAAE,cACR,OAAO,GACL,YAAY,CA2ExB;CACJ"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/MetadataType.d.ts.map b/@types/lib/metadataTypes/MetadataType.d.ts.map index ee22f51ec..ffa6bc025 100644 --- a/@types/lib/metadataTypes/MetadataType.d.ts.map +++ b/@types/lib/metadataTypes/MetadataType.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"MetadataType.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/MetadataType.js"],"names":[],"mappings":";uBAmBa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;sBAChD,OAAO,wBAAwB,EAAE,OAAO;+BACxC,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;oCACnD,OAAO,wBAAwB,EAAE,qBAAqB;gCACtD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;2BAC5C,OAA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Y,gBACZ,OAAO,GACL,OAAO,CAAE,YAAY,CAAC,CAoHlC;IAED;;;;;OAKG;IACH,4CAHW,MAAM,yBACN,YAAY,QAE8C;IAErE;;;;;;;OAOG;IACH,2BALW,gBAAgB,aAChB,MAAM,iBACN,MAAM,GACJ,CAAC,MAAM,CAAC,EAAE,CAUtB;IAED;;;;;;;OAOG;IACH,iCALW,GAAG,kBACH,MAAM,EAAE,iBACR,MAAM,GACJ,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAkBjC;IAED;;;;OAIG;IACH,qCAHW,eAAe,GACb,MAAM,EAAE,CAwDpB;IAED;;;;;;;OAOG;IACH,4BALW,MAAM,gBACN,gBAAgB,gBAChB,MAAM,GACJ,MAAM,CAelB;IAED;;OAEG;IACH;;;;;OAKG;IAEH;;;;;;;OAOG;IACH,0BALW,UAAU,GAAC,iBAAiB,GAAC,QAAQ,QACrC,gBAAgB,GAAG,eAAe,aAClC,MAAM,GACJ,OAAO,CAAE,gBAAgB,GAAG,eAAe,CAAC,CA+DxD;CACJ;;;;;;;;;;;;gBAaS,GAAG;oBAIH,OAAO;iBAIP,MAAM;kBAIN,QAAQ"} \ No newline at end of file +{"version":3,"file":"MetadataType.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/MetadataType.js"],"names":[],"mappings":";uBAmBa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;sBAChD,OAAO,wBAAwB,EAAE,OAAO;+BACxC,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;oCACnD,OAAO,wBAAwB,EAAE,qBAAqB;gCACtD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,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,qBACR,YAAY,iBACZ,YAAY,gBACZ,OAAO,GACL,OAAO,CAAE,YAAY,CAAC,CAoHlC;IAED;;;;;OAKG;IACH,4CAHW,MAAM,yBACN,YAAY,QAE8C;IAErE;;;;;;;OAOG;IACH,2BALW,gBAAgB,aAChB,MAAM,iBACN,MAAM,GACJ,CAAC,MAAM,CAAC,EAAE,CAUtB;IAED;;;;;;;OAOG;IACH,iCALW,GAAG,kBACH,MAAM,EAAE,iBACR,MAAM,GACJ,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAkBjC;IAED;;;;OAIG;IACH,qCAHW,eAAe,GACb,MAAM,EAAE,CAwDpB;IAED;;;;;;;OAOG;IACH,4BALW,MAAM,gBACN,gBAAgB,gBAChB,MAAM,GACJ,MAAM,CAelB;IAED;;OAEG;IACH;;;;;OAKG;IAEH;;;;;;;OAOG;IACH,0BALW,UAAU,GAAC,iBAAiB,GAAC,QAAQ,QACrC,gBAAgB,GAAG,eAAe,aAClC,MAAM,GACJ,OAAO,CAAE,gBAAgB,GAAG,eAAe,CAAC,CA6DxD;CACJ;;;;;;;;;;;;gBAaS,GAAG;oBAIH,OAAO;iBAIP,MAAM;kBAIN,QAAQ"} \ No newline at end of file diff --git a/@types/lib/util/validations.d.ts.map b/@types/lib/util/validations.d.ts.map index 9e1b833fa..9808d8f56 100644 --- a/@types/lib/util/validations.d.ts.map +++ b/@types/lib/util/validations.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"validations.d.ts","sourceRoot":"","sources":["../../../lib/util/validations.js"],"names":[],"mappings":"AAkBA;;;;;;;GAOG;AACH,+CANW,GAAG,QACH,GAAG,aACH,MAAM,uBACN,WAAW,EAAE,GACX,OAAO,CAAE,GAAG,CAAC,CA0EzB;iCA7FY,OAAO,wBAAwB,EAAE,kBAAkB;iCACnD,OAAO,wBAAwB,EAAE,kBAAkB;0BACnD,OAAO,wBAAwB,EAAE,WAAW"} \ No newline at end of file +{"version":3,"file":"validations.d.ts","sourceRoot":"","sources":["../../../lib/util/validations.js"],"names":[],"mappings":"AAkBA;;;;;;;GAOG;AACH,+CANW,GAAG,QACH,GAAG,aACH,MAAM,uBACN,WAAW,EAAE,GACX,OAAO,CAAE,GAAG,CAAC,CAgFzB;iCAnGY,OAAO,wBAAwB,EAAE,kBAAkB;iCACnD,OAAO,wBAAwB,EAAE,kBAAkB;0BACnD,OAAO,wBAAwB,EAAE,WAAW"} \ No newline at end of file diff --git a/lib/Builder.js b/lib/Builder.js index 4637e4230..f18879d6c 100644 --- a/lib/Builder.js +++ b/lib/Builder.js @@ -47,9 +47,12 @@ saved const templateBuildsArr = Array.isArray(properties.directories.templateBuilds) ? properties.directories.templateBuilds : [properties.directories.templateBuilds]; - this.targetDir = templateBuildsArr.map( - (directoriesTemplateBuilds) => - directoriesTemplateBuilds + buObject.credential + '/' + buObject.businessUnit + this.targetDir = templateBuildsArr.map((directoriesTemplateBuilds) => + File.normalizePath([ + directoriesTemplateBuilds, + buObject.credential, + buObject.businessUnit, + ]) ); /** @@ -184,9 +187,16 @@ saved * @param {string} selectedType supported metadata type * @param {string[]} nameArr name of the metadata * @param {string[]} marketArr market localizations + * @param {boolean} [isPurgeDeployFolder] whether to purge the deploy folder * @returns {Promise.} - */ - static async buildDefinition(businessUnit, selectedType, nameArr, marketArr) { + static async buildDefinition( + businessUnit, + selectedType, + nameArr, + marketArr, + isPurgeDeployFolder + ) { const properties = await config.getProperties(); if (!(await config.checkProperties(properties))) { return null; @@ -212,7 +222,25 @@ saved } const buObject = await Cli.getCredentialObject(properties, businessUnit); if (buObject !== null) { + // standard deploy folder + const deployDir = File.normalizePath([ + properties.directories.deploy, + buObject.credential, + buObject.businessUnit, + ]); const builder = new Builder(properties, buObject); + + if (isPurgeDeployFolder && builder.targetDir.includes(deployDir)) { + // Clear output folder structure for selected sub-type + // only run this if the standard deploy folder is a target of buildDefinition (which technically could be changed) + await File.remove( + File.normalizePath([ + properties.directories.deploy, + buObject.credential, + buObject.businessUnit, + ]) + ); + } return builder._buildDefinition(selectedType, nameArr, templateVariables); } } diff --git a/lib/index.js b/lib/index.js index 8f34f91c1..4bf35a6a5 100644 --- a/lib/index.js +++ b/lib/index.js @@ -1130,9 +1130,27 @@ class Mcdev { Util.logger.info('mcdev:: Build Template & Build Definition'); await this.buildTemplate(businessUnitTemplate, typeKeyCombo, null, marketTemplate); + + let isPurgeDeployFolder; + if (!Util.skipInteraction && !bulk) { + const properties = await config.getProperties(); + // deploy folder is in targets for definition creation + // recommend to purge their content first + isPurgeDeployFolder = await confirm({ + message: `Do you want to empty the folder /${properties.directories.deploy}${businessUnitDefinition} (ensures no files from previous deployments remain)?`, + default: true, + }); + } + return bulk ? this.buildDefinitionBulk(marketDefinition[0], typeKeyCombo, null) - : this.buildDefinition(businessUnitDefinition, typeKeyCombo, null, marketDefinition); + : this.buildDefinition( + businessUnitDefinition, + typeKeyCombo, + null, + marketDefinition, + isPurgeDeployFolder + ); } /** @@ -1273,9 +1291,16 @@ class Mcdev { * @param {string | TypeKeyCombo} selectedTypes limit retrieval to given metadata type * @param {string[] | undefined} nameArr name of the metadata * @param {string[]} marketArr market localizations + * @param {boolean} [isPurgeDeployFolder] whether to purge the deploy folder * @returns {Promise.} - */ - static async buildDefinition(businessUnit, selectedTypes, nameArr, marketArr) { + static async buildDefinition( + businessUnit, + selectedTypes, + nameArr, + marketArr, + isPurgeDeployFolder + ) { this.#welcomeMessage(); Util.startLogger(); @@ -1308,7 +1333,8 @@ class Mcdev { businessUnit, type, selectedTypes[type], - marketArr + marketArr, + isPurgeDeployFolder ); returnObj[type] = result[type]; }