@reliverse/pathkit 1.3.3 → 1.3.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/bin/mod.js +0 -7
- package/package.json +2 -2
package/bin/mod.js
CHANGED
|
@@ -583,12 +583,6 @@ async function convertImportsAliasToRelative({
|
|
|
583
583
|
displayLogs = false
|
|
584
584
|
}) {
|
|
585
585
|
const normalizedAlias = aliasToReplace.endsWith("/*") ? aliasToReplace : `${aliasToReplace}/*`;
|
|
586
|
-
regularLogger(
|
|
587
|
-
`Converting aliased imports starting with '${aliasToReplace}' to relative paths in "${targetDir}"...`
|
|
588
|
-
);
|
|
589
|
-
regularLogger(
|
|
590
|
-
` (Assuming "${normalizedAlias}" resolves relative to "${targetDir}")`
|
|
591
|
-
);
|
|
592
586
|
const results = await processAllFiles({
|
|
593
587
|
srcDir: targetDir,
|
|
594
588
|
aliasToReplace: normalizedAlias,
|
|
@@ -607,7 +601,6 @@ async function convertImportsAliasToRelative({
|
|
|
607
601
|
}
|
|
608
602
|
}
|
|
609
603
|
}
|
|
610
|
-
regularLogger("Import/export path conversion process complete.");
|
|
611
604
|
return results;
|
|
612
605
|
}
|
|
613
606
|
async function convertImportsExt({
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"@reliverse/cfg": "^1.7.
|
|
3
|
+
"@reliverse/cfg": "^1.7.40"
|
|
4
4
|
},
|
|
5
5
|
"description": "@reliverse/pathkit is a slash‑consistent, cross‑platform path manipulation, with POSIX forward slash, drop‑in for node:path and unjs/pathe. This library extends the node:path module with a set of functions for manipulating file paths.",
|
|
6
6
|
"homepage": "https://docs.reliverse.org",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"name": "@reliverse/pathkit",
|
|
9
9
|
"type": "module",
|
|
10
|
-
"version": "1.3.
|
|
10
|
+
"version": "1.3.4",
|
|
11
11
|
"devDependencies": {},
|
|
12
12
|
"exports": {
|
|
13
13
|
".": "./bin/mod.js"
|