@catladder/cli 0.0.0-next-6134233f → 0.0.0-next-f2ee1f3d
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 -32
- package/dist/bundles/cli/index.js +10 -32
- package/dist/pipeline/src/build/cache/createJobCache.js +5 -1
- package/dist/pipeline/src/build/cache/createJobCache.js.map +1 -1
- package/dist/pipeline/src/build/cache/getAllCacheConfigsFromConfig.js +2 -0
- package/dist/pipeline/src/build/cache/getAllCacheConfigsFromConfig.js.map +1 -1
- package/dist/pipeline/src/utils/writeFiles.js +1 -5
- package/dist/pipeline/src/utils/writeFiles.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/pipeline/src/packageInfos.d.ts +0 -4
- package/dist/pipeline/src/packageInfos.js +0 -17
- package/dist/pipeline/src/packageInfos.js.map +0 -1
|
@@ -1299,14 +1299,18 @@ exports.componentContextNeedsBuildTimeDotEnv = componentContextNeedsBuildTimeDot
|
|
|
1299
1299
|
/***/ }),
|
|
1300
1300
|
|
|
1301
1301
|
/***/ 340:
|
|
1302
|
-
/***/ ((__unused_webpack_module, exports, __nccwpck_require__)
|
|
1302
|
+
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
1303
1303
|
|
|
1304
1304
|
"use strict";
|
|
1305
1305
|
|
|
1306
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
1307
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
1308
|
+
};
|
|
1306
1309
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1307
1310
|
exports.createJobCacheFromConfig = exports.createJobCacheFromCacheConfigs = void 0;
|
|
1308
1311
|
const path_1 = __nccwpck_require__(1017);
|
|
1309
1312
|
const getAllCacheConfigsFromConfig_1 = __nccwpck_require__(673);
|
|
1313
|
+
const slugify_1 = __importDefault(__nccwpck_require__(4035));
|
|
1310
1314
|
const createJobCacheFromCacheConfigs = (context, caches) => {
|
|
1311
1315
|
if (caches.length === 0)
|
|
1312
1316
|
return undefined;
|
|
@@ -1335,7 +1339,7 @@ const createJobCacheFromCacheConfigs = (context, caches) => {
|
|
|
1335
1339
|
? key
|
|
1336
1340
|
: typeof key === "string"
|
|
1337
1341
|
? (scope === "buildDir" // really edge case...
|
|
1338
|
-
? baseDir
|
|
1342
|
+
? (0, slugify_1.default)(baseDir)
|
|
1339
1343
|
: context.name) +
|
|
1340
1344
|
"-" +
|
|
1341
1345
|
key
|
|
@@ -1379,6 +1383,8 @@ const getAllCacheConfigsFromConfig = (context, configWithCache) => {
|
|
|
1379
1383
|
...(0, index_1.ensureArray)(configWithCache.cache),
|
|
1380
1384
|
...(context.type === "workspace"
|
|
1381
1385
|
? // also add cache configs of the components of that workspace
|
|
1386
|
+
// FIXNME: this only works currently for the build config
|
|
1387
|
+
// we would probably need to introduce a path to the right config property (build-->test or so)
|
|
1382
1388
|
context.components.flatMap((componentContext) => {
|
|
1383
1389
|
var _a;
|
|
1384
1390
|
return (_a = (0, index_1.ensureArray)(componentContext.build.config.cache).map((c) => ({
|
|
@@ -5241,30 +5247,6 @@ __exportStar(__nccwpck_require__(2228), exports);
|
|
|
5241
5247
|
|
|
5242
5248
|
/***/ }),
|
|
5243
5249
|
|
|
5244
|
-
/***/ 1792:
|
|
5245
|
-
/***/ ((__unused_webpack_module, exports) => {
|
|
5246
|
-
|
|
5247
|
-
"use strict";
|
|
5248
|
-
|
|
5249
|
-
var _a;
|
|
5250
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5251
|
-
// we can't import the package.json directly, because the bundling process will inline it
|
|
5252
|
-
// but the version is only set during deployement, when its already bundled
|
|
5253
|
-
// instead we need to use require.main.path to get the path of the main module, which is actually the file in the bin
|
|
5254
|
-
// this will point to the root package.json
|
|
5255
|
-
let ownPkg = { version: "0.0.0" };
|
|
5256
|
-
try {
|
|
5257
|
-
const path = ((_a = require.main) === null || _a === void 0 ? void 0 : _a.path) + "/../package.json";
|
|
5258
|
-
ownPkg = require(path);
|
|
5259
|
-
}
|
|
5260
|
-
catch (e) {
|
|
5261
|
-
// ignore, currently in the gitlab-includes, this doesn't work
|
|
5262
|
-
}
|
|
5263
|
-
exports["default"] = ownPkg;
|
|
5264
|
-
//# sourceMappingURL=packageInfos.js.map
|
|
5265
|
-
|
|
5266
|
-
/***/ }),
|
|
5267
|
-
|
|
5268
5250
|
/***/ 3579:
|
|
5269
5251
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
5270
5252
|
|
|
@@ -6498,22 +6480,18 @@ exports.removeUndefined = removeUndefined;
|
|
|
6498
6480
|
/***/ }),
|
|
6499
6481
|
|
|
6500
6482
|
/***/ 2228:
|
|
6501
|
-
/***/ (
|
|
6483
|
+
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
6502
6484
|
|
|
6503
6485
|
"use strict";
|
|
6504
6486
|
|
|
6505
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6506
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
6507
|
-
};
|
|
6508
6487
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6509
6488
|
exports.writeYamlfile = exports.yamlStringifyOptions = exports.writeGeneratedFile = exports.getAutoGeneratedHeader = void 0;
|
|
6510
6489
|
const promises_1 = __nccwpck_require__(3292);
|
|
6511
6490
|
const yaml_1 = __nccwpck_require__(8033);
|
|
6512
|
-
const packageInfos_1 = __importDefault(__nccwpck_require__(1792));
|
|
6513
6491
|
const getAutoGeneratedHeader = (commentChar) => {
|
|
6514
6492
|
return [
|
|
6515
6493
|
"-------------------------------------------------",
|
|
6516
|
-
`🐱 🔨 This file is generated by catladder
|
|
6494
|
+
`🐱 🔨 This file is generated by catladder`,
|
|
6517
6495
|
`🚨 Do not edit this file manually 🚨`,
|
|
6518
6496
|
"-------------------------------------------------",
|
|
6519
6497
|
]
|
|
@@ -4465,14 +4465,18 @@ exports.componentContextNeedsBuildTimeDotEnv = componentContextNeedsBuildTimeDot
|
|
|
4465
4465
|
/***/ }),
|
|
4466
4466
|
|
|
4467
4467
|
/***/ 10340:
|
|
4468
|
-
/***/ ((__unused_webpack_module, exports, __nccwpck_require__)
|
|
4468
|
+
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
4469
4469
|
|
|
4470
4470
|
"use strict";
|
|
4471
4471
|
|
|
4472
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4473
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4474
|
+
};
|
|
4472
4475
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4473
4476
|
exports.createJobCacheFromConfig = exports.createJobCacheFromCacheConfigs = void 0;
|
|
4474
4477
|
const path_1 = __nccwpck_require__(71017);
|
|
4475
4478
|
const getAllCacheConfigsFromConfig_1 = __nccwpck_require__(30673);
|
|
4479
|
+
const slugify_1 = __importDefault(__nccwpck_require__(44035));
|
|
4476
4480
|
const createJobCacheFromCacheConfigs = (context, caches) => {
|
|
4477
4481
|
if (caches.length === 0)
|
|
4478
4482
|
return undefined;
|
|
@@ -4501,7 +4505,7 @@ const createJobCacheFromCacheConfigs = (context, caches) => {
|
|
|
4501
4505
|
? key
|
|
4502
4506
|
: typeof key === "string"
|
|
4503
4507
|
? (scope === "buildDir" // really edge case...
|
|
4504
|
-
? baseDir
|
|
4508
|
+
? (0, slugify_1.default)(baseDir)
|
|
4505
4509
|
: context.name) +
|
|
4506
4510
|
"-" +
|
|
4507
4511
|
key
|
|
@@ -4545,6 +4549,8 @@ const getAllCacheConfigsFromConfig = (context, configWithCache) => {
|
|
|
4545
4549
|
...(0, index_1.ensureArray)(configWithCache.cache),
|
|
4546
4550
|
...(context.type === "workspace"
|
|
4547
4551
|
? // also add cache configs of the components of that workspace
|
|
4552
|
+
// FIXNME: this only works currently for the build config
|
|
4553
|
+
// we would probably need to introduce a path to the right config property (build-->test or so)
|
|
4548
4554
|
context.components.flatMap((componentContext) => {
|
|
4549
4555
|
var _a;
|
|
4550
4556
|
return (_a = (0, index_1.ensureArray)(componentContext.build.config.cache).map((c) => ({
|
|
@@ -8407,30 +8413,6 @@ __exportStar(__nccwpck_require__(92228), exports);
|
|
|
8407
8413
|
|
|
8408
8414
|
/***/ }),
|
|
8409
8415
|
|
|
8410
|
-
/***/ 1792:
|
|
8411
|
-
/***/ ((__unused_webpack_module, exports) => {
|
|
8412
|
-
|
|
8413
|
-
"use strict";
|
|
8414
|
-
|
|
8415
|
-
var _a;
|
|
8416
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8417
|
-
// we can't import the package.json directly, because the bundling process will inline it
|
|
8418
|
-
// but the version is only set during deployement, when its already bundled
|
|
8419
|
-
// instead we need to use require.main.path to get the path of the main module, which is actually the file in the bin
|
|
8420
|
-
// this will point to the root package.json
|
|
8421
|
-
let ownPkg = { version: "0.0.0" };
|
|
8422
|
-
try {
|
|
8423
|
-
const path = ((_a = require.main) === null || _a === void 0 ? void 0 : _a.path) + "/../package.json";
|
|
8424
|
-
ownPkg = require(path);
|
|
8425
|
-
}
|
|
8426
|
-
catch (e) {
|
|
8427
|
-
// ignore, currently in the gitlab-includes, this doesn't work
|
|
8428
|
-
}
|
|
8429
|
-
exports["default"] = ownPkg;
|
|
8430
|
-
//# sourceMappingURL=packageInfos.js.map
|
|
8431
|
-
|
|
8432
|
-
/***/ }),
|
|
8433
|
-
|
|
8434
8416
|
/***/ 73579:
|
|
8435
8417
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
8436
8418
|
|
|
@@ -9664,22 +9646,18 @@ exports.removeUndefined = removeUndefined;
|
|
|
9664
9646
|
/***/ }),
|
|
9665
9647
|
|
|
9666
9648
|
/***/ 92228:
|
|
9667
|
-
/***/ (
|
|
9649
|
+
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
9668
9650
|
|
|
9669
9651
|
"use strict";
|
|
9670
9652
|
|
|
9671
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9672
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9673
|
-
};
|
|
9674
9653
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9675
9654
|
exports.writeYamlfile = exports.yamlStringifyOptions = exports.writeGeneratedFile = exports.getAutoGeneratedHeader = void 0;
|
|
9676
9655
|
const promises_1 = __nccwpck_require__(73292);
|
|
9677
9656
|
const yaml_1 = __nccwpck_require__(68033);
|
|
9678
|
-
const packageInfos_1 = __importDefault(__nccwpck_require__(1792));
|
|
9679
9657
|
const getAutoGeneratedHeader = (commentChar) => {
|
|
9680
9658
|
return [
|
|
9681
9659
|
"-------------------------------------------------",
|
|
9682
|
-
`🐱 🔨 This file is generated by catladder
|
|
9660
|
+
`🐱 🔨 This file is generated by catladder`,
|
|
9683
9661
|
`🚨 Do not edit this file manually 🚨`,
|
|
9684
9662
|
"-------------------------------------------------",
|
|
9685
9663
|
]
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
exports.createJobCacheFromConfig = exports.createJobCacheFromCacheConfigs = void 0;
|
|
4
7
|
const path_1 = require("path");
|
|
5
8
|
const getAllCacheConfigsFromConfig_1 = require("./getAllCacheConfigsFromConfig");
|
|
9
|
+
const slugify_1 = __importDefault(require("slugify"));
|
|
6
10
|
const createJobCacheFromCacheConfigs = (context, caches) => {
|
|
7
11
|
if (caches.length === 0)
|
|
8
12
|
return undefined;
|
|
@@ -31,7 +35,7 @@ const createJobCacheFromCacheConfigs = (context, caches) => {
|
|
|
31
35
|
? key
|
|
32
36
|
: typeof key === "string"
|
|
33
37
|
? (scope === "buildDir" // really edge case...
|
|
34
|
-
? baseDir
|
|
38
|
+
? (0, slugify_1.default)(baseDir)
|
|
35
39
|
: context.name) +
|
|
36
40
|
"-" +
|
|
37
41
|
key
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createJobCache.js","sourceRoot":"","sources":["../../../../../../pipeline/src/build/cache/createJobCache.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"createJobCache.js","sourceRoot":"","sources":["../../../../../../pipeline/src/build/cache/createJobCache.ts"],"names":[],"mappings":"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"}
|
|
@@ -11,6 +11,8 @@ const getAllCacheConfigsFromConfig = (context, configWithCache) => {
|
|
|
11
11
|
...(0, index_1.ensureArray)(configWithCache.cache),
|
|
12
12
|
...(context.type === "workspace"
|
|
13
13
|
? // also add cache configs of the components of that workspace
|
|
14
|
+
// FIXNME: this only works currently for the build config
|
|
15
|
+
// we would probably need to introduce a path to the right config property (build-->test or so)
|
|
14
16
|
context.components.flatMap((componentContext) => {
|
|
15
17
|
var _a;
|
|
16
18
|
return (_a = (0, index_1.ensureArray)(componentContext.build.config.cache).map((c) => ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAllCacheConfigsFromConfig.js","sourceRoot":"","sources":["../../../../../../pipeline/src/build/cache/getAllCacheConfigsFromConfig.ts"],"names":[],"mappings":";;;AACA,6CAAgD;AAEhD,uEAAoE;AAE7D,MAAM,4BAA4B,GAAG,CAC1C,OAAgB,EAChB,eAAgC,EACjB,EAAE;IACjB,OAAO;QACL,GAAG,CAAC,UAAU,IAAI,eAAe;YAC/B,CAAC,CAAC,IAAA,iDAAuB,EAAC,eAAe,CAAC,QAAQ,CAAC;YACnD,CAAC,CAAC,EAAE,CAAC;QACP,GAAG,IAAA,mBAAW,EAAC,eAAe,CAAC,KAAK,CAAC;QACrC,GAAG,CAAC,OAAO,CAAC,IAAI,KAAK,WAAW;YAC9B,CAAC,CAAC,6DAA6D;gBAC7D,OAAO,CAAC,UAAU,CAAC,OAAO,CACxB,CAAC,gBAAgB,EAAE,EAAE;;oBACnB,OAAA,MAAA,IAAA,mBAAW,EAAC,gBAAgB,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;wBAC3D,GAAG,CAAC;wBACJ,OAAO,EAAE,gBAAgB,CAAC,KAAK,CAAC,GAAG;qBACpC,CAAC,CAAC,mCAAI,EAAE,CAAA;iBAAA,CACZ;YACH,CAAC,CAAC,EAAE,CAAC;KACR,CAAC;AACJ,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"getAllCacheConfigsFromConfig.js","sourceRoot":"","sources":["../../../../../../pipeline/src/build/cache/getAllCacheConfigsFromConfig.ts"],"names":[],"mappings":";;;AACA,6CAAgD;AAEhD,uEAAoE;AAE7D,MAAM,4BAA4B,GAAG,CAC1C,OAAgB,EAChB,eAAgC,EACjB,EAAE;IACjB,OAAO;QACL,GAAG,CAAC,UAAU,IAAI,eAAe;YAC/B,CAAC,CAAC,IAAA,iDAAuB,EAAC,eAAe,CAAC,QAAQ,CAAC;YACnD,CAAC,CAAC,EAAE,CAAC;QACP,GAAG,IAAA,mBAAW,EAAC,eAAe,CAAC,KAAK,CAAC;QACrC,GAAG,CAAC,OAAO,CAAC,IAAI,KAAK,WAAW;YAC9B,CAAC,CAAC,6DAA6D;gBAC7D,yDAAyD;gBACzD,+FAA+F;gBAC/F,OAAO,CAAC,UAAU,CAAC,OAAO,CACxB,CAAC,gBAAgB,EAAE,EAAE;;oBACnB,OAAA,MAAA,IAAA,mBAAW,EAAC,gBAAgB,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;wBAC3D,GAAG,CAAC;wBACJ,OAAO,EAAE,gBAAgB,CAAC,KAAK,CAAC,GAAG;qBACpC,CAAC,CAAC,mCAAI,EAAE,CAAA;iBAAA,CACZ;YACH,CAAC,CAAC,EAAE,CAAC;KACR,CAAC;AACJ,CAAC,CAAC;AAtBW,QAAA,4BAA4B,gCAsBvC"}
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.writeYamlfile = exports.yamlStringifyOptions = exports.writeGeneratedFile = exports.getAutoGeneratedHeader = void 0;
|
|
7
4
|
const promises_1 = require("fs/promises");
|
|
8
5
|
const yaml_1 = require("yaml");
|
|
9
|
-
const packageInfos_1 = __importDefault(require("../packageInfos"));
|
|
10
6
|
const getAutoGeneratedHeader = (commentChar) => {
|
|
11
7
|
return [
|
|
12
8
|
"-------------------------------------------------",
|
|
13
|
-
`🐱 🔨 This file is generated by catladder
|
|
9
|
+
`🐱 🔨 This file is generated by catladder`,
|
|
14
10
|
`🚨 Do not edit this file manually 🚨`,
|
|
15
11
|
"-------------------------------------------------",
|
|
16
12
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"writeFiles.js","sourceRoot":"","sources":["../../../../../pipeline/src/utils/writeFiles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"writeFiles.js","sourceRoot":"","sources":["../../../../../pipeline/src/utils/writeFiles.ts"],"names":[],"mappings":";;;AAAA,0CAAwC;AACxC,+BAAiC;AAE1B,MAAM,sBAAsB,GAAG,CAAC,WAAmB,EAAE,EAAE;IAC5D,OAAO;QACL,mDAAmD;QACnD,2CAA2C;QAC3C,sCAAsC;QACtC,mDAAmD;KACpD;SACE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,GAAG,WAAW,IAAI,IAAI,EAAE,CAAC;SACvC,IAAI,CAAC,IAAI,CAAC;SACV,MAAM,CAAC,IAAI,CAAC,CAAC;AAClB,CAAC,CAAC;AAVW,QAAA,sBAAsB,0BAUjC;AAEK,MAAM,kBAAkB,GAAG,KAAK,EACrC,IAAY,EACZ,OAAe,EACf,EACE,WAAW,GAGZ,EACD,EAAE;IACF,MAAM,IAAA,oBAAS,EACb,IAAI;IACJ,0CAA0C;IAC1C,CAAC,IAAA,8BAAsB,EAAC,WAAW,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EACzD;QACE,QAAQ,EAAE,OAAO;KAClB,CACF,CAAC;AACJ,CAAC,CAAC;AAjBW,QAAA,kBAAkB,sBAiB7B;AAMW,QAAA,oBAAoB,GAAqB;IACpD,iEAAiE;IACjE,SAAS,EAAE,CAAC;IACZ,4DAA4D;IAC5D,kBAAkB,EAAE,IAAI;IACxB,qEAAqE;IACrE,WAAW,EAAE,IAAI;CAClB,CAAC;AAEK,MAAM,aAAa,GAAG,KAAK,EAAE,IAAY,EAAE,IAAS,EAAE,EAAE;IAC7D,MAAM,IAAA,0BAAkB,EAAC,IAAI,EAAE,IAAA,gBAAS,EAAC,IAAI,EAAE,4BAAoB,CAAC,EAAE;QACpE,WAAW,EAAE,GAAG;KACjB,CAAC,CAAC;AACL,CAAC,CAAC;AAJW,QAAA,aAAa,iBAIxB"}
|