@warpgogol/repo-extract 1.2.3 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/extract.js +6 -0
- package/package.json +1 -1
package/dist/extract.js
CHANGED
|
@@ -376,6 +376,12 @@ async function exportStandalonePackage(root, dest, config, logger, emit) {
|
|
|
376
376
|
logger.log("Generating stub shims...");
|
|
377
377
|
await generateStubShims(root, dest, config, logger);
|
|
378
378
|
}
|
|
379
|
+
// 4c-c. Run post-process rules (copy, patch, delete) before lockfile generation
|
|
380
|
+
if (config.postProcess && config.postProcess.length > 0) {
|
|
381
|
+
logger.log("Running post-process rules...");
|
|
382
|
+
const ctx = { root, dest, config, packageDirs: [] };
|
|
383
|
+
await runPostProcess(ctx, config.postProcess, emit, logger);
|
|
384
|
+
}
|
|
379
385
|
// 4d. Generate lockfile
|
|
380
386
|
logger.log(`Generating ${pm} lockfile...`);
|
|
381
387
|
const installBin = pm === "pnpm" ? "pnpm" : pm === "yarn" ? "yarn" : "npm";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warpgogol/repo-extract",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"description": "Extract apps and packages from a TurboRepo monorepo into standalone public repositories",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Andrii Syrokomskyi <andrii@syrokomskyi.com> (https://syrokomskyi.com)",
|