resolve-tspaths
Advanced tools
Comparing version 0.8.19 to 0.8.22
@@ -12,3 +12,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.resolveTsPaths = void 0; | ||
exports.resolveTsPaths = resolveTsPaths; | ||
const constants_1 = require("./constants"); | ||
@@ -37,2 +37,1 @@ const loadTSConfig_1 = require("./steps/loadTSConfig"); | ||
} | ||
exports.resolveTsPaths = resolveTsPaths; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.applyChanges = void 0; | ||
exports.applyChanges = applyChanges; | ||
const fs_1 = require("fs"); | ||
@@ -15,2 +15,1 @@ /** | ||
} | ||
exports.applyChanges = applyChanges; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.computeAliases = void 0; | ||
exports.computeAliases = computeAliases; | ||
const path_1 = require("path"); | ||
@@ -24,2 +24,1 @@ const errors_1 = require("../utils/errors"); | ||
} | ||
exports.computeAliases = computeAliases; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.createProgram = void 0; | ||
exports.createProgram = createProgram; | ||
const commander_1 = require("commander"); | ||
@@ -28,2 +28,1 @@ const constants_1 = require("../constants"); | ||
} | ||
exports.createProgram = createProgram; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.aliasToRelativePath = exports.replaceAliasPathsInFile = exports.generateChanges = exports.MATCHERS = void 0; | ||
exports.MATCHERS = void 0; | ||
exports.generateChanges = generateChanges; | ||
exports.replaceAliasPathsInFile = replaceAliasPathsInFile; | ||
exports.aliasToRelativePath = aliasToRelativePath; | ||
const fs_1 = require("fs"); | ||
@@ -50,3 +53,2 @@ const path_1 = require("path"); | ||
} | ||
exports.generateChanges = generateChanges; | ||
/** | ||
@@ -83,3 +85,2 @@ * Read the file at the given path and return the text with aliased paths replaced. | ||
} | ||
exports.replaceAliasPathsInFile = replaceAliasPathsInFile; | ||
/** | ||
@@ -130,3 +131,2 @@ * Convert an aliased path to a relative path. | ||
} | ||
exports.aliasToRelativePath = aliasToRelativePath; | ||
/** | ||
@@ -133,0 +133,0 @@ * Find the file that will be imported by the given import path. |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getFilesToProcess = void 0; | ||
exports.getFilesToProcess = getFilesToProcess; | ||
const path_1 = require("path"); | ||
@@ -14,3 +14,3 @@ const fast_glob_1 = require("fast-glob"); | ||
function getFilesToProcess(outPath, extensions) { | ||
const normalizedOutPath = (0, path_2.normalizePath)(outPath); | ||
const normalizedOutPath = (0, fast_glob_1.convertPathToPattern)((0, path_2.normalizePath)(outPath)); | ||
let glob = "*"; | ||
@@ -26,2 +26,1 @@ if (extensions.length === 1) | ||
} | ||
exports.getFilesToProcess = getFilesToProcess; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.loadTSConfig = void 0; | ||
exports.loadTSConfig = loadTSConfig; | ||
const path_1 = require("path"); | ||
@@ -21,2 +21,1 @@ const typescript_1 = require("typescript"); | ||
} | ||
exports.loadTSConfig = loadTSConfig; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.resolvePaths = void 0; | ||
exports.resolvePaths = resolvePaths; | ||
const path_1 = require("path"); | ||
@@ -25,2 +25,1 @@ const errors_1 = require("../utils/errors"); | ||
} | ||
exports.resolvePaths = resolvePaths; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.normalizePath = void 0; | ||
exports.normalizePath = normalizePath; | ||
/** | ||
@@ -19,2 +19,1 @@ * Normalize paths to resolve issues with paths on Windows. | ||
} | ||
exports.normalizePath = normalizePath; |
{ | ||
"version": "0.8.19" | ||
"version": "0.8.22" | ||
} |
{ | ||
"name": "resolve-tspaths", | ||
"version": "0.8.19", | ||
"version": "0.8.22", | ||
"description": "Transform path mappings in your compiled Typescript code", | ||
@@ -13,3 +13,2 @@ "author": "Ben Yap <contact@benyap.com>", | ||
}, | ||
"packageManager": "pnpm@8.9.2", | ||
"keywords": [ | ||
@@ -36,21 +35,21 @@ "typescript", | ||
"ansi-colors": "4.1.3", | ||
"commander": "12.0.0", | ||
"commander": "12.1.0", | ||
"fast-glob": "3.3.2" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "18.0.0", | ||
"@commitlint/config-conventional": "18.0.0", | ||
"@commitlint/cli": "19.5.0", | ||
"@commitlint/config-conventional": "19.5.0", | ||
"@release-it/bumper": "6.0.1", | ||
"@release-it/conventional-changelog": "8.0.1", | ||
"@types/node": "20.12.12", | ||
"@vitest/coverage-c8": "0.33.0", | ||
"husky": "9.0.11", | ||
"prettier": "3.2.5", | ||
"release-it": "17.2.1", | ||
"rimraf": "5.0.7", | ||
"@release-it/conventional-changelog": "8.0.2", | ||
"@types/node": "22.5.5", | ||
"@vitest/coverage-v8": "2.1.1", | ||
"husky": "9.1.6", | ||
"prettier": "3.3.3", | ||
"release-it": "17.6.0", | ||
"rimraf": "6.0.1", | ||
"ts-node": "10.9.2", | ||
"tsconfig-paths": "4.2.0", | ||
"typescript": "5.4.5", | ||
"vite": "5.2.11", | ||
"vitest": "1.6.0" | ||
"typescript": "5.6.2", | ||
"vite": "5.4.6", | ||
"vitest": "2.1.1" | ||
}, | ||
@@ -57,0 +56,0 @@ "scripts": { |
@@ -219,2 +219,4 @@ # resolve-tspaths | ||
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ajsuvarna6"><img src="https://avatars.githubusercontent.com/u/15179597?v=4?s=80" width="80px;" alt="Ajay Dharnappa Poojary"/><br /><sub><b>Ajay Dharnappa Poojary</b></sub></a><br /><a href="https://github.com/benyap/resolve-tspaths/issues?q=author%3Aajsuvarna6" title="Bug reports">🐛</a></td> | ||
<td align="center" valign="top" width="14.28%"><a href="https://github.com/SleepyLeslie"><img src="https://avatars.githubusercontent.com/u/142967379?v=4?s=80" width="80px;" alt="Leslie H"/><br /><sub><b>Leslie H</b></sub></a><br /><a href="https://github.com/benyap/resolve-tspaths/issues?q=author%3ASleepyLeslie" title="Bug reports">🐛</a></td> | ||
<td align="center" valign="top" width="14.28%"><a href="https://github.com/tee-yankov"><img src="https://avatars.githubusercontent.com/u/6060324?v=4?s=80" width="80px;" alt="Theodore Yankov"/><br /><sub><b>Theodore Yankov</b></sub></a><br /><a href="https://github.com/benyap/resolve-tspaths/issues?q=author%3Atee-yankov" title="Bug reports">🐛</a></td> | ||
</tr> | ||
@@ -221,0 +223,0 @@ </tbody> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44111
238
710
+ Addedcommander@12.1.0(transitive)
- Removedcommander@12.0.0(transitive)
Updatedcommander@12.1.0