@catladder/cli 0.0.0-main-e13689dd → 0.0.0-main-1597f81f

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.
@@ -40363,14 +40363,14 @@ var createNodeTestJobs = function (context) {
40363
40363
  }, base), {
40364
40364
  image: (_l = (_k = buildConfig.lint) === null || _k === void 0 ? void 0 : _k.jobImage) !== null && _l !== void 0 ? _l : defaultImage,
40365
40365
  cache: (0, cache_1.getNodeCache)(context),
40366
- script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(yarnInstall), false), __read((_o = (0, utils_1.ensureArray)((_m = buildConfig.lint) === null || _m === void 0 ? void 0 : _m.command)) !== null && _o !== void 0 ? _o : ["yarn lint"]), false)
40366
+ script: __spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read((0, yarn_1.ensureNodeVersion)(context)), false), ["cd ".concat(context.componentConfig.dir)], false), __read(yarnInstall), false), __read((_o = (0, utils_1.ensureArray)((_m = buildConfig.lint) === null || _m === void 0 ? void 0 : _m.command)) !== null && _o !== void 0 ? _o : ["yarn lint"]), false)
40367
40367
  }), (0, createArtifactsConfig_1.createArtifactsConfig)(context.componentConfig.dir, (_p = buildConfig.lint) === null || _p === void 0 ? void 0 : _p.artifactsReports, (_q = buildConfig.lint) === null || _q === void 0 ? void 0 : _q.artifacts)) : null;
40368
40368
  var testJob = buildConfig.test !== false ? __assign(__assign(__assign({
40369
40369
  name: "🧪 test"
40370
40370
  }, base), {
40371
40371
  image: (_s = (_r = buildConfig.test) === null || _r === void 0 ? void 0 : _r.jobImage) !== null && _s !== void 0 ? _s : (0, runner_1.getRunnerImage)("jobs-testing-chrome"),
40372
40372
  cache: (0, cache_1.getNodeCache)(context),
40373
- script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(yarnInstall), false), __read((_u = (0, utils_1.ensureArray)((_t = buildConfig.test) === null || _t === void 0 ? void 0 : _t.command)) !== null && _u !== void 0 ? _u : ["yarn test"]), false)
40373
+ script: __spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read((0, yarn_1.ensureNodeVersion)(context)), false), ["cd ".concat(context.componentConfig.dir)], false), __read(yarnInstall), false), __read((_u = (0, utils_1.ensureArray)((_t = buildConfig.test) === null || _t === void 0 ? void 0 : _t.command)) !== null && _u !== void 0 ? _u : ["yarn test"]), false)
40374
40374
  }), (0, createArtifactsConfig_1.createArtifactsConfig)(context.componentConfig.dir, (_v = buildConfig.test) === null || _v === void 0 ? void 0 : _v.artifactsReports, (_w = buildConfig.test) === null || _w === void 0 ? void 0 : _w.artifacts)) : null;
40375
40375
  return [auditJob, lintJob, testJob].filter(utils_1.notNil);
40376
40376
  };
@@ -40436,7 +40436,7 @@ exports.ensureNodeVersion = ensureNodeVersion;
40436
40436
  var getYarnInstall = function (context, options) {
40437
40437
  var _a;
40438
40438
  var postInstall = "postInstall" in context.componentConfig.build ? context.componentConfig.build.postInstall : null;
40439
- return (0, gitlab_1.collapseableSection)("yarn prepare", "Node and yarn install")(__spreadArray(__spreadArray(__spreadArray([], __read((0, exports.ensureNodeVersion)(context)), false), [getYarnInstallCommand(context)], false), __read(postInstall && !(options === null || options === void 0 ? void 0 : options.noCustomPostInstall) ? (_a = (0, utils_1.ensureArray)(postInstall)) !== null && _a !== void 0 ? _a : [] : []), false));
40439
+ return __spreadArray(__spreadArray(__spreadArray([], __read((0, exports.ensureNodeVersion)(context)), false), __read((0, gitlab_1.collapseableSection)("yarn install", "Yarn install")([getYarnInstallCommand(context)])), false), __read(postInstall && !(options === null || options === void 0 ? void 0 : options.noCustomPostInstall) ? (0, gitlab_1.collapseableSection)("post install", "Custom post install")((_a = (0, utils_1.ensureArray)(postInstall)) !== null && _a !== void 0 ? _a : []) : []), false);
40440
40440
  };
40441
40441
  exports.getYarnInstall = getYarnInstall;
40442
40442
  var DOCKER_COPY_FILES = "COPY --chown=node:node $APP_DIR .";
@@ -40925,7 +40925,7 @@ exports.readConfigSync = readConfigSync;
40925
40925
 
40926
40926
  exports.__esModule = true;
40927
40927
  exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
40928
- exports.PIPELINE_IMAGE_TAG = "main-e13689dd" || 0;
40928
+ exports.PIPELINE_IMAGE_TAG = "main-1597f81f" || 0;
40929
40929
  exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
40930
40930
 
40931
40931
  /***/ }),
@@ -354902,14 +354902,14 @@ var createNodeTestJobs = function (context) {
354902
354902
  }, base), {
354903
354903
  image: (_l = (_k = buildConfig.lint) === null || _k === void 0 ? void 0 : _k.jobImage) !== null && _l !== void 0 ? _l : defaultImage,
354904
354904
  cache: (0, cache_1.getNodeCache)(context),
354905
- script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(yarnInstall), false), __read((_o = (0, utils_1.ensureArray)((_m = buildConfig.lint) === null || _m === void 0 ? void 0 : _m.command)) !== null && _o !== void 0 ? _o : ["yarn lint"]), false)
354905
+ script: __spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read((0, yarn_1.ensureNodeVersion)(context)), false), ["cd ".concat(context.componentConfig.dir)], false), __read(yarnInstall), false), __read((_o = (0, utils_1.ensureArray)((_m = buildConfig.lint) === null || _m === void 0 ? void 0 : _m.command)) !== null && _o !== void 0 ? _o : ["yarn lint"]), false)
354906
354906
  }), (0, createArtifactsConfig_1.createArtifactsConfig)(context.componentConfig.dir, (_p = buildConfig.lint) === null || _p === void 0 ? void 0 : _p.artifactsReports, (_q = buildConfig.lint) === null || _q === void 0 ? void 0 : _q.artifacts)) : null;
354907
354907
  var testJob = buildConfig.test !== false ? __assign(__assign(__assign({
354908
354908
  name: "🧪 test"
354909
354909
  }, base), {
354910
354910
  image: (_s = (_r = buildConfig.test) === null || _r === void 0 ? void 0 : _r.jobImage) !== null && _s !== void 0 ? _s : (0, runner_1.getRunnerImage)("jobs-testing-chrome"),
354911
354911
  cache: (0, cache_1.getNodeCache)(context),
354912
- script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(yarnInstall), false), __read((_u = (0, utils_1.ensureArray)((_t = buildConfig.test) === null || _t === void 0 ? void 0 : _t.command)) !== null && _u !== void 0 ? _u : ["yarn test"]), false)
354912
+ script: __spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read((0, yarn_1.ensureNodeVersion)(context)), false), ["cd ".concat(context.componentConfig.dir)], false), __read(yarnInstall), false), __read((_u = (0, utils_1.ensureArray)((_t = buildConfig.test) === null || _t === void 0 ? void 0 : _t.command)) !== null && _u !== void 0 ? _u : ["yarn test"]), false)
354913
354913
  }), (0, createArtifactsConfig_1.createArtifactsConfig)(context.componentConfig.dir, (_v = buildConfig.test) === null || _v === void 0 ? void 0 : _v.artifactsReports, (_w = buildConfig.test) === null || _w === void 0 ? void 0 : _w.artifacts)) : null;
354914
354914
  return [auditJob, lintJob, testJob].filter(utils_1.notNil);
354915
354915
  };
@@ -354975,7 +354975,7 @@ exports.ensureNodeVersion = ensureNodeVersion;
354975
354975
  var getYarnInstall = function (context, options) {
354976
354976
  var _a;
354977
354977
  var postInstall = "postInstall" in context.componentConfig.build ? context.componentConfig.build.postInstall : null;
354978
- return (0, gitlab_1.collapseableSection)("yarn prepare", "Node and yarn install")(__spreadArray(__spreadArray(__spreadArray([], __read((0, exports.ensureNodeVersion)(context)), false), [getYarnInstallCommand(context)], false), __read(postInstall && !(options === null || options === void 0 ? void 0 : options.noCustomPostInstall) ? (_a = (0, utils_1.ensureArray)(postInstall)) !== null && _a !== void 0 ? _a : [] : []), false));
354978
+ return __spreadArray(__spreadArray(__spreadArray([], __read((0, exports.ensureNodeVersion)(context)), false), __read((0, gitlab_1.collapseableSection)("yarn install", "Yarn install")([getYarnInstallCommand(context)])), false), __read(postInstall && !(options === null || options === void 0 ? void 0 : options.noCustomPostInstall) ? (0, gitlab_1.collapseableSection)("post install", "Custom post install")((_a = (0, utils_1.ensureArray)(postInstall)) !== null && _a !== void 0 ? _a : []) : []), false);
354979
354979
  };
354980
354980
  exports.getYarnInstall = getYarnInstall;
354981
354981
  var DOCKER_COPY_FILES = "COPY --chown=node:node $APP_DIR .";
@@ -355464,7 +355464,7 @@ exports.readConfigSync = readConfigSync;
355464
355464
 
355465
355465
  exports.__esModule = true;
355466
355466
  exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
355467
- exports.PIPELINE_IMAGE_TAG = "main-e13689dd" || 0;
355467
+ exports.PIPELINE_IMAGE_TAG = "main-1597f81f" || 0;
355468
355468
  exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
355469
355469
 
355470
355470
  /***/ }),
package/package.json CHANGED
@@ -52,7 +52,7 @@
52
52
  }
53
53
  ],
54
54
  "license": "MIT",
55
- "version": "0.0.0-main-e13689dd",
55
+ "version": "0.0.0-main-1597f81f",
56
56
  "scripts": {
57
57
  "lint": "eslint \"src/**/*.ts\"",
58
58
  "lint:fix": "eslint \"src/**/*.ts\" --fix",
@@ -73,7 +73,7 @@
73
73
  "node": ">=12.0.0"
74
74
  },
75
75
  "devDependencies": {
76
- "@catladder/pipeline": "0.0.0-main-e13689dd",
76
+ "@catladder/pipeline": "0.0.0-main-1597f81f",
77
77
  "@kubernetes/client-node": "^0.16.2",
78
78
  "@tsconfig/node14": "^1.0.1",
79
79
  "@types/common-tags": "^1.8.0",