diff --git a/@types/lib/index.d.ts.map b/@types/lib/index.d.ts.map index c20c4d5b6..4fa25107b 100644 --- a/@types/lib/index.d.ts.map +++ b/@types/lib/index.d.ts.map @@ -1 +1 @@ -{"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,mBAAmB;8BACjD,OAAO,qBAAqB,EAAE,eAAe;iCAC7C,OAAO,qBAAqB,EAAE,kBAAkB;oCAChD,OAAO,qBAAqB,EAAE,qBAAqB;mCACnD,OAAO,qBAAqB,EAAE,oBAAoB;8BAClD,OAAO,qBAAqB,EAAE,eAAe;gCAC7C,OAAO,qBAAqB,EAAE,iBAAiB;0BAC/C,OAAO,qBAAqB,EAAE,WAAW;2BACzC,OAAO,qBAAqB,EAAE,YAAY;0BAC1C,OAAO,qBAAqB,EAAE,WAAW;0CACzC,OAAO,qBAAqB,EAAE,2BAA2B;AAlBtE;;;;;;;;;;;;;;;;;;;GAmBG;AAEH;;GAEG;AACH;IACI;;OAEG;IACH,kBAFa,MAAM,CAKlB;IAED;;;;;OAKG;IACH,4CAHW,eAAe,GACb,IAAI,CAIhB;IAED;;;;;;;;OAQG;IACH,6BALG;QAAuB,MAAM,GAArB,OAAO;QACQ,OAAO,GAAtB,OAAO;QACQ,KAAK,GAApB,OAAO;KACf,GAAU,IAAI,CAIhB;IAED;;;;;OAKG;IACH,wBAHW,MAAM,GACJ,IAAI,CAqDhB;IAED;;;;;;;;;;OAUG;IACH,4BAPG;QAAsB,KAAK,GAAnB,MAAM;QAEQ,MAAM,GAApB,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GAAG,YAAY,SACvB,MAAM,EAAE,GACN,OAAO,CAAE;YAAQ,MAAM,GAAE,MAAM;KAAC,CAAC,CA4E7C;IAED;;;;;;;;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,OA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;;;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 diff --git a/@types/lib/metadataTypes/Automation.d.ts.map b/@types/lib/metadataTypes/Automation.d.ts.map index 31b34e3ee..9f946999a 100644 --- a/@types/lib/metadataTypes/Automation.d.ts.map +++ b/@types/lib/metadataTypes/Automation.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Automation.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/Automation.js"],"names":[],"mappings":";uBAUa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;uBACnD,OAAO,wBAAwB,EAAE,QAAQ;gCACzC,OAAO,wBAAwB,EAAE,i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BAxxDwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/util/file.d.ts b/@types/lib/util/file.d.ts index 7ab089311..3099e6085 100644 --- a/@types/lib/util/file.d.ts +++ b/@types/lib/util/file.d.ts @@ -87,7 +87,7 @@ declare const FileFs: typeof fs & { * @param {boolean} [formatHTML] applies formatting to html and ampscript if true * @returns {Promise.} formatted code */ - beautify_beautyAmp_beautify: (content: string, formatHTML?: boolean) => Promise; + _beautify_beautyAmp_beautify: (content: string, formatHTML?: boolean) => Promise; /** * helper for {@link File.writePrettyToFile}, applying beautyAmp onto given stringified content * diff --git a/@types/lib/util/file.d.ts.map b/@types/lib/util/file.d.ts.map index 732257fc7..0903eeb12 100644 --- a/@types/lib/util/file.d.ts.map +++ b/@types/lib/util/file.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../../lib/util/file.js"],"names":[],"mappings":";yBAUa,OAAO,wBAAwB,EAAE,UAAU;uBAC3C,OAAO,wBAAwB,EAAE,QAAQ;oBACzC,OAAO,wBAAwB,EAAE,KAAK;0BACtC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;2BAChD,OAAO,wBAAwB,EAAE,YAAY;sBAC7C,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;mCACtD,OAAO,wBAAwB,EAAE,oBAAoB;gCACrD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;2BAC5C,OAAO,wBAAwB,EAAE,YAAY;AAyiB1D;;;IAvhBI;;;;;;OAMG;yBAHQ,MAAM,MACN,MAAM,GACJ,OAAO,CA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O,GACL,OAAO,CAAE,IAAI,CAAC;IAU3B;;;;;OAKG;4BAFQ,MAAM,GACJ,OAAO,CAAE,OAAO,CAAC;EAgCK;eAtlBxB,UAAU"} \ No newline at end of file diff --git a/boilerplate/config.json b/boilerplate/config.json index 00887997a..eb691e06c 100644 --- a/boilerplate/config.json +++ b/boilerplate/config.json @@ -6,6 +6,7 @@ } }, "options": { + "formatOnSave": true, "deployment": { "commitHistory": 10, "sourceTargetMapping": { diff --git a/lib/cli.js b/lib/cli.js index 9001e3904..0ee1be121 100644 --- a/lib/cli.js +++ b/lib/cli.js @@ -56,6 +56,13 @@ yargs(hideBin(process.argv)) group: 'Options for retrieve:', describe: 'allows reducing validation rules from error to warn to handle edge cases', + }) + .option('format', { + type: 'boolean', + alias: 'f', + group: 'Options for retrieve:', + describe: + 'allows overwriting options.formatOnSave from the config file. Disable formatting via --no-format', }), (argv) => { Mcdev.setOptions(argv); @@ -175,6 +182,13 @@ yargs(hideBin(process.argv)) group: 'Options for deploy:', describe: 'allows reducing validation rules from error to warn to handle edge cases', + }) + .option('format', { + type: 'boolean', + alias: 'f', + group: 'Options for deploy:', + describe: + 'allows overwriting options.formatOnSave from the config file. Disable formatting via --no-format', }), (argv) => { diff --git a/lib/index.js b/lib/index.js index ce3851a77..0e82a30af 100644 --- a/lib/index.js +++ b/lib/index.js @@ -94,6 +94,7 @@ class Mcdev { 'execute', 'filter', 'fixShared', + 'format', 'fromRetrieve', 'json', 'keySuffix', diff --git a/lib/metadataTypes/Automation.js b/lib/metadataTypes/Automation.js index 7ee48dd17..70c934d00 100644 --- a/lib/metadataTypes/Automation.js +++ b/lib/metadataTypes/Automation.js @@ -1650,11 +1650,10 @@ class Automation extends MetadataType { ? { i: stepIndex + 1 + '.' + (activityIndex + 1), key: - step.activities[activityIndex].r__type === 'wait' - ? step.activities[activityIndex].timeZone - ? `${step.activities[activityIndex].name}
${step.activities[activityIndex].timeZone}` - : step.activities[activityIndex].name - : step.activities[activityIndex].r__key, + step.activities[activityIndex].r__key || + (step.activities[activityIndex].timeZone + ? `${step.activities[activityIndex].name}
${step.activities[activityIndex].timeZone}` + : step.activities[activityIndex].name), type: step.activities[activityIndex].r__type, } : null diff --git a/lib/util/file.js b/lib/util/file.js index 23e7eeff4..6ceea7fbe 100644 --- a/lib/util/file.js +++ b/lib/util/file.js @@ -6,6 +6,7 @@ import prettier from 'prettier'; import beautyAmp from 'beauty-amp-core2'; import { Util } from './util.js'; import updateNotifier from 'update-notifier'; +import config from './config.js'; /** * @typedef {import('../../types/mcdev.d.js').AuthObject} AuthObject @@ -192,10 +193,20 @@ const File = { * @returns {Promise.} Promise */ writePrettyToFile: async function (directory, filename, filetype, content, templateVariables) { - let formatted = - filetype === 'amp' - ? await this.beautify_beautyAmp(content, false) - : await this._beautify_prettier(directory, filename, filetype, content); + let formatted; + const properties = await config.getProperties(); + if ( + (properties.options.formatOnSave && Util.OPTIONS.format === undefined) || + Util.OPTIONS.format + ) { + formatted = + filetype === 'amp' + ? await this.beautify_beautyAmp(content, false) + : await this._beautify_prettier(directory, filename, filetype, content); + } else { + // skip formatting + formatted = content; + } if (templateVariables) { formatted = Util.replaceByObject(formatted, templateVariables); } @@ -209,7 +220,7 @@ const File = { * @param {boolean} [formatHTML] applies formatting to html and ampscript if true * @returns {Promise.} formatted code */ - beautify_beautyAmp_beautify: async function (content, formatHTML = true) { + _beautify_beautyAmp_beautify: async function (content, formatHTML = true) { const response = await beautyAmp.beautify(content, formatHTML); if (typeof response == 'string') { return response.trim() + '\n'; @@ -226,15 +237,24 @@ const File = { * @returns {Promise.} original string on error; formatted string on success */ beautify_beautyAmp: async function (content, formatHTML = true) { - // logs trough console only for the moment. - const logs = { - loggerOn: false, // <= disable logging - }; - try { - beautyAmp.setup(null, null, logs); - // Note: we need to trim the result as beautyAmp adds a leading new line; but we also want to ensure there is a single new line at the end to comply with standard linting rules - return await this.beautify_beautyAmp_beautify(content, formatHTML); - } catch { + const properties = await config.getProperties(); + if ( + (properties.options.formatOnSave && Util.OPTIONS.format === undefined) || + Util.OPTIONS.format + ) { + // logs trough console only for the moment. + const logs = { + loggerOn: false, // <= disable logging + }; + try { + beautyAmp.setup(null, null, logs); + // Note: we need to trim the result as beautyAmp adds a leading new line; but we also want to ensure there is a single new line at the end to comply with standard linting rules + return await this._beautify_beautyAmp_beautify(content, formatHTML); + } catch { + return content; + } + } else { + // skip formatting return content; } }, diff --git a/test/mockRoot/.mcdevrc.json b/test/mockRoot/.mcdevrc.json index d8f05b3d5..44a4eb53a 100644 --- a/test/mockRoot/.mcdevrc.json +++ b/test/mockRoot/.mcdevrc.json @@ -9,6 +9,7 @@ } }, "options": { + "formatOnSave": true, "deployment": { "commitHistory": 10, "sourceTargetMapping": { @@ -21,16 +22,27 @@ }, "validation": { "retrieve": { + "noAmpscriptHtmlTag": "warn", "noGuidKeys": "warn", "noRootFolder": "warn" }, "buildDefinition": { + "noAmpscriptHtmlTag": "warn", "noGuidKeys": "warn", "noRootFolder": "warn" }, "deploy": { + "noAmpscriptHtmlTag": "warn", "noGuidKeys": "warn", - "noRootFolder": "warn" + "noRootFolder": "warn", + "overrides": [ + { + "type": ["journey"], + "options": { + "noGuidKeys": "warn" + } + } + ] } }, "documentType": "md",