@catladder/cli 0.0.0-main-53480fed → 0.0.0-main-3d4317e7

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.
@@ -40373,6 +40373,7 @@ var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
40373
40373
  exports.__esModule = true;
40374
40374
  exports.getDockerAppCopyAndBuildScript = exports.getYarnInstall = exports.ensureNodeVersion = void 0;
40375
40375
  var utils_1 = __nccwpck_require__(7461);
40376
+ var gitlab_1 = __nccwpck_require__(4997);
40376
40377
  var YARN_INSTALL_CLASSIC = "yarn install --frozen-lockfile";
40377
40378
  // FIXME: check why and when rebuild is needed
40378
40379
  var YARN_BERRY_PROD_REBUILD = "yarn workspaces focus --production && yarn rebuild";
@@ -40384,13 +40385,13 @@ var getYarnInstallCommand = function (context) {
40384
40385
  return "yarn install --immutable";
40385
40386
  };
40386
40387
  var ensureNodeVersion = function (context) {
40387
- return ["if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi", "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi"];
40388
+ return (0, gitlab_1.collapseableSection)("node install", "Ensure node version")(["if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi", "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi"]);
40388
40389
  };
40389
40390
  exports.ensureNodeVersion = ensureNodeVersion;
40390
40391
  var getYarnInstall = function (context, options) {
40391
40392
  var _a;
40392
40393
  var postInstall = "postInstall" in context.componentConfig.build ? context.componentConfig.build.postInstall : null;
40393
- return __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);
40394
+ 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));
40394
40395
  };
40395
40396
  exports.getYarnInstall = getYarnInstall;
40396
40397
  var DOCKER_COPY_FILES = "COPY --chown=node:node $APP_DIR .";
@@ -40870,7 +40871,7 @@ exports.readConfigSync = readConfigSync;
40870
40871
 
40871
40872
  exports.__esModule = true;
40872
40873
  exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
40873
- exports.PIPELINE_IMAGE_TAG = "main-53480fed" || 0;
40874
+ exports.PIPELINE_IMAGE_TAG = "main-3d4317e7" || 0;
40874
40875
  exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
40875
40876
 
40876
40877
  /***/ }),
@@ -354492,6 +354492,7 @@ var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
354492
354492
  exports.__esModule = true;
354493
354493
  exports.getDockerAppCopyAndBuildScript = exports.getYarnInstall = exports.ensureNodeVersion = void 0;
354494
354494
  var utils_1 = __nccwpck_require__(37461);
354495
+ var gitlab_1 = __nccwpck_require__(84997);
354495
354496
  var YARN_INSTALL_CLASSIC = "yarn install --frozen-lockfile";
354496
354497
  // FIXME: check why and when rebuild is needed
354497
354498
  var YARN_BERRY_PROD_REBUILD = "yarn workspaces focus --production && yarn rebuild";
@@ -354503,13 +354504,13 @@ var getYarnInstallCommand = function (context) {
354503
354504
  return "yarn install --immutable";
354504
354505
  };
354505
354506
  var ensureNodeVersion = function (context) {
354506
- return ["if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi", "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi"];
354507
+ return (0, gitlab_1.collapseableSection)("node install", "Ensure node version")(["if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi", "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi"]);
354507
354508
  };
354508
354509
  exports.ensureNodeVersion = ensureNodeVersion;
354509
354510
  var getYarnInstall = function (context, options) {
354510
354511
  var _a;
354511
354512
  var postInstall = "postInstall" in context.componentConfig.build ? context.componentConfig.build.postInstall : null;
354512
- return __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);
354513
+ 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));
354513
354514
  };
354514
354515
  exports.getYarnInstall = getYarnInstall;
354515
354516
  var DOCKER_COPY_FILES = "COPY --chown=node:node $APP_DIR .";
@@ -354989,7 +354990,7 @@ exports.readConfigSync = readConfigSync;
354989
354990
 
354990
354991
  exports.__esModule = true;
354991
354992
  exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
354992
- exports.PIPELINE_IMAGE_TAG = "main-53480fed" || 0;
354993
+ exports.PIPELINE_IMAGE_TAG = "main-3d4317e7" || 0;
354993
354994
  exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
354994
354995
 
354995
354996
  /***/ }),
package/package.json CHANGED
@@ -24,7 +24,7 @@
24
24
  "node": ">=12.0.0"
25
25
  },
26
26
  "devDependencies": {
27
- "@catladder/pipeline": "0.0.0-main-53480fed",
27
+ "@catladder/pipeline": "0.0.0-main-3d4317e7",
28
28
  "@kubernetes/client-node": "^0.16.2",
29
29
  "@tsconfig/node14": "^1.0.1",
30
30
  "@types/common-tags": "^1.8.0",
@@ -57,6 +57,6 @@
57
57
  "typescript": "^4.5.4",
58
58
  "vorpal": "^1.12.0"
59
59
  },
60
- "version": "0.0.0-main-53480fed",
60
+ "version": "0.0.0-main-3d4317e7",
61
61
  "stableVersion": "0.0.0"
62
62
  }