@catladder/cli 0.0.0-support-esm-775c377d → 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 -5
- package/dist/bundles/cli/index.js +10 -5
- 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/.nvmrc +0 -1
|
@@ -7935,15 +7935,20 @@ __exportStar(__nccwpck_require__(2228), exports);
|
|
|
7935
7935
|
|
|
7936
7936
|
"use strict";
|
|
7937
7937
|
|
|
7938
|
+
var _a;
|
|
7939
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7938
7940
|
// we can't import the package.json directly, because the bundling process will inline it
|
|
7939
7941
|
// but the version is only set during deployement, when its already bundled
|
|
7940
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
|
|
7941
7943
|
// this will point to the root package.json
|
|
7942
|
-
var
|
|
7943
|
-
|
|
7944
|
-
var path = ((_a = require.main) === null || _a === void 0 ? void 0 : _a.path) + "/../package.json";
|
|
7945
|
-
|
|
7946
|
-
|
|
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
|
+
}
|
|
7947
7952
|
exports["default"] = ownPkg;
|
|
7948
7953
|
//# sourceMappingURL=packageInfos.js.map
|
|
7949
7954
|
|
|
@@ -15416,15 +15416,20 @@ __exportStar(__nccwpck_require__(92228), exports);
|
|
|
15416
15416
|
|
|
15417
15417
|
"use strict";
|
|
15418
15418
|
|
|
15419
|
+
var _a;
|
|
15420
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
15419
15421
|
// we can't import the package.json directly, because the bundling process will inline it
|
|
15420
15422
|
// but the version is only set during deployement, when its already bundled
|
|
15421
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
|
|
15422
15424
|
// this will point to the root package.json
|
|
15423
|
-
var
|
|
15424
|
-
|
|
15425
|
-
var path = ((_a = require.main) === null || _a === void 0 ? void 0 : _a.path) + "/../package.json";
|
|
15426
|
-
|
|
15427
|
-
|
|
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
|
+
}
|
|
15428
15433
|
exports["default"] = ownPkg;
|
|
15429
15434
|
//# sourceMappingURL=packageInfos.js.map
|
|
15430
15435
|
|
|
@@ -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"}
|