@sprucelabs/resolve-path-aliases 2.0.42 → 2.0.44
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/build/index.js +1 -2
- package/build/posixPath.js +1 -1
- package/package.json +3 -3
package/build/index.js
CHANGED
|
@@ -3,11 +3,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.resolvePathAliases =
|
|
6
|
+
exports.resolvePathAliases = resolvePathAliases;
|
|
7
7
|
const globby_1 = __importDefault(require("@sprucelabs/globby"));
|
|
8
8
|
const PathResolver_1 = require("./PathResolver");
|
|
9
9
|
function resolvePathAliases(destination, options = {}, globUtil = globby_1.default) {
|
|
10
10
|
const resolver = PathResolver_1.PathResolver.Resolver(globUtil);
|
|
11
11
|
return resolver.resolvePathAliases(destination, options);
|
|
12
12
|
}
|
|
13
|
-
exports.resolvePathAliases = resolvePathAliases;
|
package/build/posixPath.js
CHANGED
|
@@ -3,8 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.default = posixPath;
|
|
6
7
|
const path_1 = __importDefault(require("path"));
|
|
7
8
|
function posixPath(path) {
|
|
8
9
|
return path.split(path_1.default.sep).join(path_1.default.posix.sep);
|
|
9
10
|
}
|
|
10
|
-
exports.default = posixPath;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sprucelabs/resolve-path-aliases",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.44",
|
|
4
4
|
"description": "Script that resolves paths from your tsconfig",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"repository": "git@github.com:sprucelabsai-community/resolve-path-aliases.git",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"watch.tsc": "tsc -w"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@sprucelabs/globby": "^2.0.
|
|
59
|
+
"@sprucelabs/globby": "^2.0.22",
|
|
60
60
|
"chalk": "^4.1.2",
|
|
61
61
|
"tsconfig-paths": "^4.2.0",
|
|
62
62
|
"yargs": "^17.7.2"
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"rimraf": "^5.0.7",
|
|
75
75
|
"ts-node": "^10.9.2",
|
|
76
76
|
"tsc-watch": "^6.2.0",
|
|
77
|
-
"typescript": "^5.
|
|
77
|
+
"typescript": "^5.5.2"
|
|
78
78
|
},
|
|
79
79
|
"jest": {
|
|
80
80
|
"maxWorkers": 4,
|