@catladder/cli 0.0.0-support-esm-7fde3ab3 → 0.0.0-support-esm-41b402e4
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.
|
@@ -4136,7 +4136,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
4136
4136
|
exports.readConfig = void 0;
|
|
4137
4137
|
var fs_1 = __nccwpck_require__(7147);
|
|
4138
4138
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
4139
|
-
var
|
|
4139
|
+
var tsx = __nccwpck_require__(8186);
|
|
4140
4140
|
var yaml_1 = __nccwpck_require__(8033);
|
|
4141
4141
|
// allows us to load ts files
|
|
4142
4142
|
var fullPath = function (directory, ext) {
|
|
@@ -4159,7 +4159,8 @@ var readConfig = function () {
|
|
|
4159
4159
|
if (!found) return [3 /*break*/, 3];
|
|
4160
4160
|
filePath = fullPath(directory, found);
|
|
4161
4161
|
if (!(found === "ts" || found === "js")) return [3 /*break*/, 2];
|
|
4162
|
-
|
|
4162
|
+
console.log({ filePath: filePath, directory: directory });
|
|
4163
|
+
return [4 /*yield*/, tsx.require(filePath, directory)];
|
|
4163
4164
|
case 1:
|
|
4164
4165
|
result = _a.sent();
|
|
4165
4166
|
config = result.default.default || result.default;
|
|
@@ -43458,11 +43459,11 @@ module.exports = require("string_decoder");
|
|
|
43458
43459
|
|
|
43459
43460
|
/***/ }),
|
|
43460
43461
|
|
|
43461
|
-
/***/
|
|
43462
|
+
/***/ 8186:
|
|
43462
43463
|
/***/ ((module) => {
|
|
43463
43464
|
|
|
43464
43465
|
"use strict";
|
|
43465
|
-
module.exports = require("tsx/
|
|
43466
|
+
module.exports = require("tsx/cjs/api");
|
|
43466
43467
|
|
|
43467
43468
|
/***/ }),
|
|
43468
43469
|
|
|
@@ -11617,7 +11617,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
11617
11617
|
exports.readConfig = void 0;
|
|
11618
11618
|
var fs_1 = __nccwpck_require__(57147);
|
|
11619
11619
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
11620
|
-
var
|
|
11620
|
+
var tsx = __nccwpck_require__(39578);
|
|
11621
11621
|
var yaml_1 = __nccwpck_require__(68033);
|
|
11622
11622
|
// allows us to load ts files
|
|
11623
11623
|
var fullPath = function (directory, ext) {
|
|
@@ -11640,7 +11640,8 @@ var readConfig = function () {
|
|
|
11640
11640
|
if (!found) return [3 /*break*/, 3];
|
|
11641
11641
|
filePath = fullPath(directory, found);
|
|
11642
11642
|
if (!(found === "ts" || found === "js")) return [3 /*break*/, 2];
|
|
11643
|
-
|
|
11643
|
+
console.log({ filePath: filePath, directory: directory });
|
|
11644
|
+
return [4 /*yield*/, tsx.require(filePath, directory)];
|
|
11644
11645
|
case 1:
|
|
11645
11646
|
result = _a.sent();
|
|
11646
11647
|
config = result.default.default || result.default;
|
|
@@ -285528,11 +285529,11 @@ module.exports = require("tls");
|
|
|
285528
285529
|
|
|
285529
285530
|
/***/ }),
|
|
285530
285531
|
|
|
285531
|
-
/***/
|
|
285532
|
+
/***/ 39578:
|
|
285532
285533
|
/***/ ((module) => {
|
|
285533
285534
|
|
|
285534
285535
|
"use strict";
|
|
285535
|
-
module.exports = require("tsx/
|
|
285536
|
+
module.exports = require("tsx/cjs/api");
|
|
285536
285537
|
|
|
285537
285538
|
/***/ }),
|
|
285538
285539
|
|
|
@@ -64,7 +64,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
64
64
|
exports.readConfig = void 0;
|
|
65
65
|
var fs_1 = require("fs");
|
|
66
66
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
67
|
-
var
|
|
67
|
+
var tsx = require("tsx/cjs/api");
|
|
68
68
|
var yaml_1 = require("yaml");
|
|
69
69
|
// allows us to load ts files
|
|
70
70
|
var fullPath = function (directory, ext) {
|
|
@@ -87,7 +87,8 @@ var readConfig = function () {
|
|
|
87
87
|
if (!found) return [3 /*break*/, 3];
|
|
88
88
|
filePath = fullPath(directory, found);
|
|
89
89
|
if (!(found === "ts" || found === "js")) return [3 /*break*/, 2];
|
|
90
|
-
|
|
90
|
+
console.log({ filePath: filePath, directory: directory });
|
|
91
|
+
return [4 /*yield*/, tsx.require(filePath, directory)];
|
|
91
92
|
case 1:
|
|
92
93
|
result = _a.sent();
|
|
93
94
|
config = result.default.default || result.default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readConfig.js","sourceRoot":"","sources":["../../../../../pipeline/src/config/readConfig.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yBAA8C;
|
|
1
|
+
{"version":3,"file":"readConfig.js","sourceRoot":"","sources":["../../../../../pipeline/src/config/readConfig.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yBAA8C;AAE9C,8DAA8D;AAC9D,IAAM,GAAG,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;AAEnC,6BAA6B;AAG7B,6BAA6B;AAE7B,IAAM,QAAQ,GAAG,UAAC,SAAiB,EAAE,GAAW;IAC9C,OAAA,SAAS,GAAG,aAAa,GAAG,GAAG;AAA/B,CAA+B,CAAC;AAE3B,IAAM,UAAU,GAAG;;;;;yFACxB,SAAiC;;QAAjC,0BAAA,EAAA,YAAoB,OAAO,CAAC,GAAG,EAAE;;;;oBAE3B,KAAK,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,UAAC,SAAS;wBACvD,OAAA,IAAA,eAAU,EAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;oBAA1C,CAA0C,CAC3C,CAAC;yBAEE,KAAK,EAAL,wBAAK;oBACD,QAAQ,GAAG,QAAQ,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;y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