@catladder/cli 0.0.0-support-esm-41b402e4 → 0.0.0-support-esm-85b52e43
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/dist/bundles/catenv/index.js +10 -6
- package/dist/bundles/cli/index.js +10 -6
- package/dist/pipeline/src/config/readConfig.js +0 -1
- package/dist/pipeline/src/config/readConfig.js.map +1 -1
- package/dist/pipeline/src/packageInfos.d.ts +3 -1
- package/dist/pipeline/src/packageInfos.js +10 -5
- package/dist/pipeline/src/packageInfos.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/scripts/bundle +3 -3
- package/.nvmrc +0 -1
|
@@ -4159,7 +4159,6 @@ 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
|
-
console.log({ filePath: filePath, directory: directory });
|
|
4163
4162
|
return [4 /*yield*/, tsx.require(filePath, directory)];
|
|
4164
4163
|
case 1:
|
|
4165
4164
|
result = _a.sent();
|
|
@@ -7936,15 +7935,20 @@ __exportStar(__nccwpck_require__(2228), exports);
|
|
|
7936
7935
|
|
|
7937
7936
|
"use strict";
|
|
7938
7937
|
|
|
7938
|
+
var _a;
|
|
7939
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7939
7940
|
// we can't import the package.json directly, because the bundling process will inline it
|
|
7940
7941
|
// but the version is only set during deployement, when its already bundled
|
|
7941
7942
|
// instead we need to use require.main.path to get the path of the main module, which is actually the file in the bin
|
|
7942
7943
|
// this will point to the root package.json
|
|
7943
|
-
var
|
|
7944
|
-
|
|
7945
|
-
var path = ((_a = require.main) === null || _a === void 0 ? void 0 : _a.path) + "/../package.json";
|
|
7946
|
-
|
|
7947
|
-
|
|
7944
|
+
var ownPkg = { version: "0.0.0" };
|
|
7945
|
+
try {
|
|
7946
|
+
var path = ((_a = require.main) === null || _a === void 0 ? void 0 : _a.path) + "/../package.json";
|
|
7947
|
+
ownPkg = require(path);
|
|
7948
|
+
}
|
|
7949
|
+
catch (e) {
|
|
7950
|
+
// ignore, currently in the gitlab-includes, this doesn't work
|
|
7951
|
+
}
|
|
7948
7952
|
exports["default"] = ownPkg;
|
|
7949
7953
|
//# sourceMappingURL=packageInfos.js.map
|
|
7950
7954
|
|
|
@@ -11640,7 +11640,6 @@ 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
|
-
console.log({ filePath: filePath, directory: directory });
|
|
11644
11643
|
return [4 /*yield*/, tsx.require(filePath, directory)];
|
|
11645
11644
|
case 1:
|
|
11646
11645
|
result = _a.sent();
|
|
@@ -15417,15 +15416,20 @@ __exportStar(__nccwpck_require__(92228), exports);
|
|
|
15417
15416
|
|
|
15418
15417
|
"use strict";
|
|
15419
15418
|
|
|
15419
|
+
var _a;
|
|
15420
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
15420
15421
|
// we can't import the package.json directly, because the bundling process will inline it
|
|
15421
15422
|
// but the version is only set during deployement, when its already bundled
|
|
15422
15423
|
// instead we need to use require.main.path to get the path of the main module, which is actually the file in the bin
|
|
15423
15424
|
// this will point to the root package.json
|
|
15424
|
-
var
|
|
15425
|
-
|
|
15426
|
-
var path = ((_a = require.main) === null || _a === void 0 ? void 0 : _a.path) + "/../package.json";
|
|
15427
|
-
|
|
15428
|
-
|
|
15425
|
+
var ownPkg = { version: "0.0.0" };
|
|
15426
|
+
try {
|
|
15427
|
+
var path = ((_a = require.main) === null || _a === void 0 ? void 0 : _a.path) + "/../package.json";
|
|
15428
|
+
ownPkg = require(path);
|
|
15429
|
+
}
|
|
15430
|
+
catch (e) {
|
|
15431
|
+
// ignore, currently in the gitlab-includes, this doesn't work
|
|
15432
|
+
}
|
|
15429
15433
|
exports["default"] = ownPkg;
|
|
15430
15434
|
//# sourceMappingURL=packageInfos.js.map
|
|
15431
15435
|
|
|
@@ -87,7 +87,6 @@ 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
|
-
console.log({ filePath: filePath, directory: directory });
|
|
91
90
|
return [4 /*yield*/, tsx.require(filePath, directory)];
|
|
92
91
|
case 1:
|
|
93
92
|
result = _a.sent();
|
|
@@ -1 +1 @@
|
|
|
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;yBACxC,CAAA,KAAK,KAAK,IAAI,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wBACd,GAAG,EAAE,KAAK;wBACV,MAAM,EAAE,IAAA,YAAK,EAAC,IAAA,iBAAY,EAAC,QAAQ,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,CAAW;qBACvE,EAAC;wBAGN,sBAAO,IAAI,EAAC;;;;CACb,CAAC;AA5BW,QAAA,UAAU,cA4BrB"}
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var _a;
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
4
|
// we can't import the package.json directly, because the bundling process will inline it
|
|
3
5
|
// but the version is only set during deployement, when its already bundled
|
|
4
6
|
// instead we need to use require.main.path to get the path of the main module, which is actually the file in the bin
|
|
5
7
|
// this will point to the root package.json
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
var path = ((_a = require.main) === null || _a === void 0 ? void 0 : _a.path) + "/../package.json";
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
var ownPkg = { version: "0.0.0" };
|
|
9
|
+
try {
|
|
10
|
+
var path = ((_a = require.main) === null || _a === void 0 ? void 0 : _a.path) + "/../package.json";
|
|
11
|
+
ownPkg = require(path);
|
|
12
|
+
}
|
|
13
|
+
catch (e) {
|
|
14
|
+
// ignore, currently in the gitlab-includes, this doesn't work
|
|
15
|
+
}
|
|
11
16
|
exports.default = ownPkg;
|
|
12
17
|
//# sourceMappingURL=packageInfos.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageInfos.js","sourceRoot":"","sources":["../../../../pipeline/src/packageInfos.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"packageInfos.js","sourceRoot":"","sources":["../../../../pipeline/src/packageInfos.ts"],"names":[],"mappings":";;;AAAA,yFAAyF;AACzF,2EAA2E;AAC3E,qHAAqH;AACrH,2CAA2C;AAC3C,IAAI,MAAM,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;AAClC,IAAI,CAAC;IACH,IAAM,IAAI,GAAG,CAAA,MAAA,OAAO,CAAC,IAAI,0CAAE,IAAI,IAAG,kBAAkB,CAAC;IAErD,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;AACzB,CAAC;AAAC,OAAO,CAAC,EAAE,CAAC;IACX,8DAA8D;AAChE,CAAC;AAED,kBAAe,MAAM,CAAC"}
|