@hkdigital/lib-core 0.4.36 → 0.4.37
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.
|
@@ -382,17 +382,17 @@ export class ConsoleAdapter {
|
|
|
382
382
|
);
|
|
383
383
|
|
|
384
384
|
// Clean up pnpm paths - convert complex pnpm paths to simple package names
|
|
385
|
-
// Before: node_modules/.pnpm
|
|
386
|
-
// After: @
|
|
385
|
+
// Before: functionName@node_modules/.pnpm/package+name@version_deps.../node_modules/package/dist/...
|
|
386
|
+
// After: functionName@package/dist/...
|
|
387
387
|
cleaned = cleaned.replace(
|
|
388
|
-
/node_modules\/\.pnpm\/
|
|
389
|
-
'$
|
|
388
|
+
/node_modules\/\.pnpm\/[^\/]+@[^_]+[^\/]*\/node_modules\/(@[^\/]+\/[^\/]+|[^\/]+)\//g,
|
|
389
|
+
'$1/'
|
|
390
390
|
);
|
|
391
391
|
|
|
392
|
-
// Clean up regular node_modules paths
|
|
392
|
+
// Clean up regular node_modules paths - convert to simple package names
|
|
393
393
|
cleaned = cleaned.replace(
|
|
394
|
-
/node_modules
|
|
395
|
-
'
|
|
394
|
+
/node_modules\/(@[^\/]+\/[^\/]+|[^\/]+)\//g,
|
|
395
|
+
'$1/'
|
|
396
396
|
);
|
|
397
397
|
|
|
398
398
|
// Clean up query parameters on source files
|