diff --git a/lib/bin/mrepo.js b/lib/bin/mrepo.js old mode 100644 new mode 100755 diff --git a/lib/commands/main.commands.js b/lib/commands/main.commands.js index 7b478c8..3ae8ce5 100644 --- a/lib/commands/main.commands.js +++ b/lib/commands/main.commands.js @@ -109,11 +109,11 @@ class MainCommands { } async function runBuild(packageName, useCache = true) { const exec = async (pName) => { - const hasCache = await helpers_1.hasCached(workspaceName, packageName); + const hasCache = await helpers_1.hasCached(workspaceName, pName); if (!useCache || !hasCache) { utils_1.logger.info(AvailableCommands.BUILD, `Building ${color.italic.bold(pName)}`, emoji.get(':package:')); child_process_1.execSync(`npx lerna run build --scope @${scope}/${pName}`, { stdio: 'inherit' }); - await helpers_1.saveCache(workspaceName, packageName); + await helpers_1.saveCache(workspaceName, pName); } else { utils_1.logger.info(AvailableCommands.BUILD, `Package ${color.italic.bold(pName)} has been built already`, emoji.get(':ok_hand:')); diff --git a/lib/commands/main.commands.js.map b/lib/commands/main.commands.js.map index 46a59f1..56c5daf 100644 --- a/lib/commands/main.commands.js.map +++ b/lib/commands/main.commands.js.map @@ -1 +1 @@ -{"version":3,"file":"main.commands.js","sourceRoot":"","sources":["../../src/commands/main.commands.ts"],"names":[],"mappings":";;;AAAA,wCAAqC;AACrC,+BAA+B;AAC/B,iDAAyC;AAEzC,mDAAmD;AACnD,oCAAoC;AACpC,4CAAgD;AAChD,wCAAkD;AAElD,oCAAiD;AAEjD,IAAK,iBAOJ;AAPD,WAAK,iBAAiB;IACpB,oCAAe,CAAA;IACf,oCAAe,CAAA;IACf,kCAAa,CAAA;IACb,kCAAa,CAAA;IACb,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;AACrB,CAAC,EAPI,iBAAiB,KAAjB,iBAAiB,QAOrB;AAED,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,QAAQ,CAAC,CAAC;AAC/G,MAAM,kBAAkB,GAAG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GAAG,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,sDAAsD,KAAK,CAAC,IAAI,CACnG,kBAAkB,CACnB,EAAE,CAAC;gBACJ,cAAM,CAAC,KAAK,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;gBAE1B,MAAM,IAAI,KAAK,CAAC,GAAG,CAAC,CAAC;aACtB;QACH,CAAC;QAED,SAAS,wBAAwB;YAC/B,MAAM,MAAM,GAAG,YAAY,CAAC;gBAC1B,OAAO,EAAE,OAAO,CAAC,GAAG,EAAE;aACvB,CAAC,CAAC;YAEH,IAAI,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE;gBAC5C,MAAM,GAAG,GAAG,GAAG,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,iDAAiD,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;gBAC9G,cAAM,CAAC,KAAK,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;gBAE1B,MAAM,IAAI,KAAK,CAAC,GAAG,CAAC,CAAC;aACtB;QACH,CAAC;IACH,CAAC;CACF;AA9UD,oCA8UC"} \ No newline at end of file +{"version":3,"file":"main.commands.js","sourceRoot":"","sources":["../../src/commands/main.commands.ts"],"names":[],"mappings":";;;AAAA,wCAAqC;AACrC,+BAA+B;AAC/B,iDAAyC;AAEzC,mDAAmD;AACnD,oCAAoC;AACpC,4CAAgD;AAChD,wCAAkD;AAElD,oCAAiD;AAEjD,IAAK,iBAOJ;AAPD,WAAK,iBAAiB;IACpB,oCAAe,CAAA;IACf,oCAAe,CAAA;IACf,kCAAa,CAAA;IACb,kCAAa,CAAA;IACb,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;AACrB,CAAC,EAPI,iBAAiB,KAAjB,iBAAiB,QAOrB;AAED,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE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E,cAAc,CAAC,EAAE;gBACjC,MAAM,GAAG,GAAG,GAAG,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,sDAAsD,KAAK,CAAC,IAAI,CACnG,kBAAkB,CACnB,EAAE,CAAC;gBACJ,cAAM,CAAC,KAAK,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;gBAE1B,MAAM,IAAI,KAAK,CAAC,GAAG,CAAC,CAAC;aACtB;QACH,CAAC;QAED,SAAS,wBAAwB;YAC/B,MAAM,MAAM,GAAG,YAAY,CAAC;gBAC1B,OAAO,EAAE,OAAO,CAAC,GAAG,EAAE;aACvB,CAAC,CAAC;YAEH,IAAI,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE;gBAC5C,MAAM,GAAG,GAAG,GAAG,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,iDAAiD,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;gBAC9G,cAAM,CAAC,KAAK,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;gBAE1B,MAAM,IAAI,KAAK,CAAC,GAAG,CAAC,CAAC;aACtB;QACH,CAAC;IACH,CAAC;CACF;AA9UD,oCA8UC"} \ No newline at end of file diff --git a/src/commands/main.commands.ts b/src/commands/main.commands.ts index 0382ed7..836fd8d 100644 --- a/src/commands/main.commands.ts +++ b/src/commands/main.commands.ts @@ -147,13 +147,13 @@ export class MainCommands { */ async function runBuild(packageName: string, useCache = true) { const exec = async (pName: string) => { - const hasCache = await hasCached(workspaceName, packageName); + const hasCache = await hasCached(workspaceName, pName); if (!useCache || !hasCache) { logger.info(AvailableCommands.BUILD, `Building ${color.italic.bold(pName)}`, emoji.get(':package:')); execSync(`npx lerna run build --scope @${scope}/${pName}`, { stdio: 'inherit' }); - await saveCache(workspaceName, packageName); + await saveCache(workspaceName, pName); } else { logger.info( AvailableCommands.BUILD,