@catladder/cli 0.0.0-refactor-docker-427f63d6 → 0.0.0-refactor-docker-c24f8608

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.
Files changed (147) hide show
  1. package/dist/bundles/catenv/index.js +42 -33
  2. package/dist/bundles/cli/index.js +42 -33
  3. package/dist/cli/src/apps/cli/commands/project/commandCloudSqlProxy.js.map +1 -1
  4. package/dist/cli/src/apps/cli/commands/project/commandPortForward.js.map +1 -1
  5. package/dist/cli/src/apps/cli/commands/project/setup/setupCloudRun.d.ts +2 -2
  6. package/dist/cli/src/apps/cli/commands/project/setup/setupCloudRun.js.map +1 -1
  7. package/dist/cli/src/apps/cli/commands/project/setup/setupContext.d.ts +2 -2
  8. package/dist/cli/src/apps/cli/commands/project/setup/setupContext.js.map +1 -1
  9. package/dist/cli/src/apps/cli/commands/project/setup/setupKubernetes.d.ts +2 -2
  10. package/dist/cli/src/apps/cli/commands/project/setup/setupKubernetes.js.map +1 -1
  11. package/dist/cli/src/apps/cli/commands/project/utils/ensureNamespace.d.ts +2 -2
  12. package/dist/cli/src/apps/cli/commands/project/utils/ensureNamespace.js.map +1 -1
  13. package/dist/cli/src/config/getProjectConfig.d.ts +2 -2
  14. package/dist/cli/src/config/getProjectConfig.js +1 -1
  15. package/dist/cli/src/config/getProjectConfig.js.map +1 -1
  16. package/dist/cli/src/gcloud/cloudRun/openCloudRunDashboards.d.ts +2 -2
  17. package/dist/cli/src/gcloud/cloudRun/openCloudRunDashboards.js.map +1 -1
  18. package/dist/cli/src/gcloud/serviceAccounts.d.ts +2 -2
  19. package/dist/cli/src/gcloud/serviceAccounts.js.map +1 -1
  20. package/dist/cli/src/kubernetes/openKubernetesDashboards.d.ts +3 -3
  21. package/dist/cli/src/kubernetes/openKubernetesDashboards.js.map +1 -1
  22. package/dist/pipeline/src/build/base/createAppBuildJob.d.ts +2 -2
  23. package/dist/pipeline/src/build/base/createAppBuildJob.js +1 -1
  24. package/dist/pipeline/src/build/base/createAppBuildJob.js.map +1 -1
  25. package/dist/pipeline/src/build/base/index.d.ts +2 -2
  26. package/dist/pipeline/src/build/base/index.js.map +1 -1
  27. package/dist/pipeline/src/build/base/writeBuildInfo.d.ts +2 -2
  28. package/dist/pipeline/src/build/base/writeBuildInfo.js.map +1 -1
  29. package/dist/pipeline/src/build/base/writeDotEnv.d.ts +2 -2
  30. package/dist/pipeline/src/build/base/writeDotEnv.js.map +1 -1
  31. package/dist/pipeline/src/build/custom/buildJob.d.ts +2 -2
  32. package/dist/pipeline/src/build/custom/buildJob.js.map +1 -1
  33. package/dist/pipeline/src/build/custom/index.d.ts +2 -2
  34. package/dist/pipeline/src/build/custom/index.js.map +1 -1
  35. package/dist/pipeline/src/build/custom/testJob.d.ts +2 -2
  36. package/dist/pipeline/src/build/custom/testJob.js.map +1 -1
  37. package/dist/pipeline/src/build/docker.d.ts +11 -11
  38. package/dist/pipeline/src/build/docker.js +5 -5
  39. package/dist/pipeline/src/build/docker.js.map +1 -1
  40. package/dist/pipeline/src/build/index.d.ts +2 -2
  41. package/dist/pipeline/src/build/node/buildJob.d.ts +2 -2
  42. package/dist/pipeline/src/build/node/buildJob.js +6 -6
  43. package/dist/pipeline/src/build/node/buildJob.js.map +1 -1
  44. package/dist/pipeline/src/build/node/cache.d.ts +5 -5
  45. package/dist/pipeline/src/build/node/cache.js +4 -4
  46. package/dist/pipeline/src/build/node/cache.js.map +1 -1
  47. package/dist/pipeline/src/build/node/index.d.ts +4 -4
  48. package/dist/pipeline/src/build/node/index.js.map +1 -1
  49. package/dist/pipeline/src/build/node/meteor.d.ts +2 -2
  50. package/dist/pipeline/src/build/node/meteor.js +2 -2
  51. package/dist/pipeline/src/build/node/meteor.js.map +1 -1
  52. package/dist/pipeline/src/build/node/testJob.d.ts +2 -2
  53. package/dist/pipeline/src/build/node/testJob.js +4 -4
  54. package/dist/pipeline/src/build/node/testJob.js.map +1 -1
  55. package/dist/pipeline/src/build/node/yarn.d.ts +4 -4
  56. package/dist/pipeline/src/build/node/yarn.js +1 -3
  57. package/dist/pipeline/src/build/node/yarn.js.map +1 -1
  58. package/dist/pipeline/src/build/rails/build.d.ts +2 -2
  59. package/dist/pipeline/src/build/rails/build.js.map +1 -1
  60. package/dist/pipeline/src/build/rails/index.d.ts +2 -2
  61. package/dist/pipeline/src/build/rails/index.js.map +1 -1
  62. package/dist/pipeline/src/build/rails/test.d.ts +2 -2
  63. package/dist/pipeline/src/build/rails/test.js.map +1 -1
  64. package/dist/pipeline/src/build/sbom.d.ts +2 -2
  65. package/dist/pipeline/src/build/sbom.js +2 -2
  66. package/dist/pipeline/src/build/sbom.js.map +1 -1
  67. package/dist/pipeline/src/context/getEnvironment.d.ts +2 -2
  68. package/dist/pipeline/src/context/getEnvironment.js.map +1 -1
  69. package/dist/pipeline/src/context/getEnvironmentContext.d.ts +2 -2
  70. package/dist/pipeline/src/context/getEnvironmentContext.js.map +1 -1
  71. package/dist/pipeline/src/context/getEnvironmentVariables.d.ts +4 -4
  72. package/dist/pipeline/src/context/getEnvironmentVariables.js.map +1 -1
  73. package/dist/pipeline/src/context/getLabels.d.ts +2 -2
  74. package/dist/pipeline/src/context/getLabels.js.map +1 -1
  75. package/dist/pipeline/src/context/index.d.ts +7 -3
  76. package/dist/pipeline/src/context/index.js +12 -3
  77. package/dist/pipeline/src/context/index.js.map +1 -1
  78. package/dist/pipeline/src/deploy/base/deploy.d.ts +2 -2
  79. package/dist/pipeline/src/deploy/base/deploy.js.map +1 -1
  80. package/dist/pipeline/src/deploy/base/index.d.ts +2 -2
  81. package/dist/pipeline/src/deploy/base/index.js.map +1 -1
  82. package/dist/pipeline/src/deploy/base/rollback.d.ts +2 -2
  83. package/dist/pipeline/src/deploy/base/rollback.js.map +1 -1
  84. package/dist/pipeline/src/deploy/base/stop.d.ts +2 -2
  85. package/dist/pipeline/src/deploy/base/stop.js.map +1 -1
  86. package/dist/pipeline/src/deploy/cloudRun/artifactsRegistry.d.ts +7 -7
  87. package/dist/pipeline/src/deploy/cloudRun/artifactsRegistry.js.map +1 -1
  88. package/dist/pipeline/src/deploy/cloudRun/cleanup.d.ts +2 -2
  89. package/dist/pipeline/src/deploy/cloudRun/cleanup.js.map +1 -1
  90. package/dist/pipeline/src/deploy/cloudRun/cloudRunRevisions.d.ts +2 -2
  91. package/dist/pipeline/src/deploy/cloudRun/cloudRunRevisions.js.map +1 -1
  92. package/dist/pipeline/src/deploy/cloudRun/createJobs/cloudRunJobs.d.ts +6 -6
  93. package/dist/pipeline/src/deploy/cloudRun/createJobs/cloudRunJobs.js.map +1 -1
  94. package/dist/pipeline/src/deploy/cloudRun/createJobs/cloudRunServices.d.ts +3 -3
  95. package/dist/pipeline/src/deploy/cloudRun/createJobs/cloudRunServices.js.map +1 -1
  96. package/dist/pipeline/src/deploy/cloudRun/createJobs/common.d.ts +4 -4
  97. package/dist/pipeline/src/deploy/cloudRun/createJobs/common.js.map +1 -1
  98. package/dist/pipeline/src/deploy/cloudRun/createJobs/getCloudRunDeployScripts.d.ts +2 -2
  99. package/dist/pipeline/src/deploy/cloudRun/createJobs/getCloudRunDeployScripts.js.map +1 -1
  100. package/dist/pipeline/src/deploy/cloudRun/createJobs/getCloudRunStopScripts.d.ts +2 -2
  101. package/dist/pipeline/src/deploy/cloudRun/createJobs/getCloudRunStopScripts.js.map +1 -1
  102. package/dist/pipeline/src/deploy/cloudRun/createJobs/index.d.ts +2 -2
  103. package/dist/pipeline/src/deploy/cloudRun/createJobs/index.js.map +1 -1
  104. package/dist/pipeline/src/deploy/cloudRun/utils/database.d.ts +3 -3
  105. package/dist/pipeline/src/deploy/cloudRun/utils/database.js.map +1 -1
  106. package/dist/pipeline/src/deploy/cloudRun/utils/gcloudServiceAccountLoginCommands.d.ts +2 -2
  107. package/dist/pipeline/src/deploy/cloudRun/utils/gcloudServiceAccountLoginCommands.js.map +1 -1
  108. package/dist/pipeline/src/deploy/cloudRun/utils/getServiceName.d.ts +2 -2
  109. package/dist/pipeline/src/deploy/cloudRun/utils/getServiceName.js.map +1 -1
  110. package/dist/pipeline/src/deploy/custom/deployJob.d.ts +2 -2
  111. package/dist/pipeline/src/deploy/custom/deployJob.js +3 -1
  112. package/dist/pipeline/src/deploy/custom/deployJob.js.map +1 -1
  113. package/dist/pipeline/src/deploy/dockerTag/deployJob.d.ts +2 -2
  114. package/dist/pipeline/src/deploy/dockerTag/deployJob.js.map +1 -1
  115. package/dist/pipeline/src/deploy/index.d.ts +2 -2
  116. package/dist/pipeline/src/deploy/kubernetes/cloudSql/index.d.ts +3 -3
  117. package/dist/pipeline/src/deploy/kubernetes/cloudSql/index.js.map +1 -1
  118. package/dist/pipeline/src/deploy/kubernetes/deployJob.d.ts +2 -2
  119. package/dist/pipeline/src/deploy/kubernetes/deployJob.js.map +1 -1
  120. package/dist/pipeline/src/deploy/kubernetes/kubeEnv.d.ts +2 -2
  121. package/dist/pipeline/src/deploy/kubernetes/kubeEnv.js.map +1 -1
  122. package/dist/pipeline/src/deploy/kubernetes/kubeValues.d.ts +2 -2
  123. package/dist/pipeline/src/deploy/kubernetes/kubeValues.js.map +1 -1
  124. package/dist/pipeline/src/deploy/kubernetes/mongodb.d.ts +2 -2
  125. package/dist/pipeline/src/deploy/kubernetes/mongodb.js.map +1 -1
  126. package/dist/pipeline/src/deploy/sbom.d.ts +4 -4
  127. package/dist/pipeline/src/deploy/sbom.js.map +1 -1
  128. package/dist/pipeline/src/deploy/utils.d.ts +2 -2
  129. package/dist/pipeline/src/deploy/utils.js.map +1 -1
  130. package/dist/pipeline/src/pipeline/createJobsForComponent.d.ts +2 -2
  131. package/dist/pipeline/src/pipeline/createJobsForComponent.js +1 -1
  132. package/dist/pipeline/src/pipeline/createJobsForComponent.js.map +1 -1
  133. package/dist/pipeline/src/pipeline/gitlab/createGitlabJobs.js.map +1 -1
  134. package/dist/pipeline/src/types/config.d.ts +2 -2
  135. package/dist/pipeline/src/types/context.d.ts +16 -2
  136. package/dist/tsconfig.tsbuildinfo +1 -1
  137. package/package.json +1 -1
  138. package/src/apps/cli/commands/project/commandCloudSqlProxy.ts +3 -3
  139. package/src/apps/cli/commands/project/commandPortForward.ts +5 -2
  140. package/src/apps/cli/commands/project/setup/setupCloudRun.ts +2 -2
  141. package/src/apps/cli/commands/project/setup/setupContext.ts +2 -2
  142. package/src/apps/cli/commands/project/setup/setupKubernetes.ts +2 -2
  143. package/src/apps/cli/commands/project/utils/ensureNamespace.ts +2 -2
  144. package/src/config/getProjectConfig.ts +2 -2
  145. package/src/gcloud/cloudRun/openCloudRunDashboards.ts +2 -2
  146. package/src/gcloud/serviceAccounts.ts +3 -3
  147. package/src/kubernetes/openKubernetesDashboards.ts +3 -3
@@ -811,7 +811,7 @@ var getPipelineContextByChoice = function (env, componentName) { return __awaite
811
811
  case 0: return [4 /*yield*/, (0, exports.getProjectConfig)()];
812
812
  case 1:
813
813
  config = _a.sent();
814
- return [4 /*yield*/, (0, pipeline_1.createContext)({
814
+ return [4 /*yield*/, (0, pipeline_1.createComponentContext)({
815
815
  config: config,
816
816
  componentName: componentName,
817
817
  env: env,
@@ -2271,7 +2271,7 @@ var createAppBuildJob = function (context, _a) {
2271
2271
  runnerVariables: __assign(__assign(__assign({}, constants_1.RUNNER_BUILD_RESOURCE_VARIABLES), (runnerVariables !== null && runnerVariables !== void 0 ? runnerVariables : {})), ((_c = context.componentConfig.build.runnerVariables) !== null && _c !== void 0 ? _c : {})),
2272
2272
  script: __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read((context.componentConfig.dotEnv === true // don't build when set to `local`
2273
2273
  ? (0, writeDotEnv_1.writeDotEnv)(context)
2274
- : [])), false), __read((0, writeBuildInfo_1.writeBuildInfo)(context)), false), __read((0, yarn_1.ensureNodeVersion)(context)), false), [
2274
+ : [])), false), __read((0, writeBuildInfo_1.writeBuildInfo)(context)), false), __read((0, yarn_1.ensureNodeVersion)(context.buildContext)), false), [
2275
2275
  "cd ".concat(context.componentConfig.dir)
2276
2276
  ], false), __read(((_d = (0, utils_1.ensureArray)(script)) !== null && _d !== void 0 ? _d : [])), false),
2277
2277
  artifacts: {
@@ -2746,14 +2746,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
2746
2746
  };
2747
2747
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2748
2748
  exports.hasDockerfile = exports.getDockerBuildDefaultScript = exports.getDockerBuildScriptWithBuiltInDockerFile = exports.gitlabDockerLogin = exports.createDockerBuildJobBase = exports.getDockerJobBaseProps = exports.DOCKER_BUILD_JOB_NAME = exports.getDockerBuildVariables = exports.requiresDockerBuild = exports.getDockerImageVariables = void 0;
2749
- var lodash_1 = __nccwpck_require__(3255);
2750
- var deploy_1 = __nccwpck_require__(8483);
2751
- var runner_1 = __nccwpck_require__(4058);
2752
2749
  var fs_1 = __nccwpck_require__(7147);
2750
+ var lodash_1 = __nccwpck_require__(3255);
2753
2751
  var path_1 = __importDefault(__nccwpck_require__(1017));
2754
- var gitlab_1 = __nccwpck_require__(8490);
2752
+ var deploy_1 = __nccwpck_require__(8483);
2755
2753
  var artifactsRegistry_1 = __nccwpck_require__(4963);
2756
2754
  var gcloudServiceAccountLoginCommands_1 = __nccwpck_require__(6320);
2755
+ var runner_1 = __nccwpck_require__(4058);
2756
+ var gitlab_1 = __nccwpck_require__(8490);
2757
2757
  var DOCKER_BUILD_RUNNER_REQUESTS = {
2758
2758
  KUBERNETES_CPU_REQUEST: "0.5",
2759
2759
  KUBERNETES_MEMORY_REQUEST: "1Gi",
@@ -2808,7 +2808,7 @@ var getDockerAdditions = function (build) {
2808
2808
  };
2809
2809
  };
2810
2810
  var getDockerBuildVariables = function (context) {
2811
- return __assign(__assign(__assign({}, getDockerAdditions(context.componentConfig.build)), { APP_DIR: context.componentConfig.dir, DOCKER_DIR: "." }), (0, exports.getDockerImageVariables)(context));
2811
+ return __assign(__assign(__assign({}, getDockerAdditions(context.buildContext.config)), { APP_DIR: context.buildContext.dir, DOCKER_DIR: "." }), (0, exports.getDockerImageVariables)(context));
2812
2812
  };
2813
2813
  exports.getDockerBuildVariables = getDockerBuildVariables;
2814
2814
  exports.DOCKER_BUILD_JOB_NAME = "🔨 docker";
@@ -2998,18 +2998,18 @@ var createNodeBuildJobs = function (context) {
2998
2998
  throw new Error("deploy config is not node, node-static or storybook");
2999
2999
  }
3000
3000
  var defaultImage = (0, runner_1.getRunnerImage)("jobs-default");
3001
- var yarnInstall = (0, yarn_1.getYarnInstall)(context);
3001
+ var yarnInstall = (0, yarn_1.getYarnInstall)(context.buildContext);
3002
3002
  return (0, base_1.createBuildJobs)(context, {
3003
3003
  appBuild: buildConfig.buildCommand !== null
3004
3004
  ? {
3005
3005
  image: (_a = buildConfig.jobImage) !== null && _a !== void 0 ? _a : defaultImage,
3006
3006
  runnerVariables: constants_1.NODE_RUNNER_BUILD_VARIABLES,
3007
- cache: __spreadArray(__spreadArray(__spreadArray([], __read(((_b = (0, utils_1.ensureArray)(buildConfig.jobCache)) !== null && _b !== void 0 ? _b : [])), false), __read((0, cache_1.getNodeCache)(context)), false), __read((0, cache_1.getNextCache)(context)), false),
3007
+ cache: __spreadArray(__spreadArray(__spreadArray([], __read(((_b = (0, utils_1.ensureArray)(buildConfig.jobCache)) !== null && _b !== void 0 ? _b : [])), false), __read((0, cache_1.getNodeCache)(context.buildContext)), false), __read((0, cache_1.getNextCache)(context)), false),
3008
3008
  script: __spreadArray(__spreadArray([], __read(yarnInstall), false), __read(((_c = (0, utils_1.ensureArray)(buildConfig.buildCommand)) !== null && _c !== void 0 ? _c : [])), false),
3009
3009
  artifacts: {
3010
3010
  paths: __spreadArray([
3011
3011
  context.componentConfig.dir
3012
- ], __read(((_e = (_d = context.packageManagerInfo) === null || _d === void 0 ? void 0 : _d.currentWorkspaceDependencies) !== null && _e !== void 0 ? _e : [])), false).flatMap(function (dir) {
3012
+ ], __read(((_e = (_d = context.buildContext.packageManagerInfo) === null || _d === void 0 ? void 0 : _d.currentWorkspaceDependencies) !== null && _e !== void 0 ? _e : [])), false).flatMap(function (dir) {
3013
3013
  var _a, _b;
3014
3014
  return __spreadArray([
3015
3015
  (0, path_1.join)(dir, "__build_info.json"),
@@ -3029,11 +3029,11 @@ var createNodeBuildJobs = function (context) {
3029
3029
  script: (0, docker_1.getDockerBuildScriptWithBuiltInDockerFile)(context, buildConfig.type === "node-static" || buildConfig.type === "storybook"
3030
3030
  ? "nginx"
3031
3031
  : "node"),
3032
- cache: __spreadArray([], __read((0, cache_1.getYarnCache)(context, "pull")), false),
3032
+ cache: __spreadArray([], __read((0, cache_1.getYarnCache)(context.buildContext, "pull")), false),
3033
3033
  variables: {
3034
3034
  // only required for non static
3035
- DOCKER_COPY_AND_INSTALL_APP: (0, yarn_1.getDockerAppCopyAndBuildScript)(context),
3036
- DOCKER_COPY_WORKSPACE_FILES: (_g = (_f = context.packageManagerInfo) === null || _f === void 0 ? void 0 : _f.pathsToCopyInDocker.map(function (dir) { return "COPY --chown=node:node ".concat(dir, " /app/").concat(dir); })) === null || _g === void 0 ? void 0 : _g.join("\n"),
3035
+ DOCKER_COPY_AND_INSTALL_APP: (0, yarn_1.getDockerAppCopyAndBuildScript)(context.buildContext),
3036
+ DOCKER_COPY_WORKSPACE_FILES: (_g = (_f = context.buildContext.packageManagerInfo) === null || _f === void 0 ? void 0 : _f.pathsToCopyInDocker.map(function (dir) { return "COPY --chown=node:node ".concat(dir, " /app/").concat(dir); })) === null || _g === void 0 ? void 0 : _g.join("\n"),
3037
3037
  },
3038
3038
  },
3039
3039
  });
@@ -3093,9 +3093,9 @@ var getYarnCache = function (context, policy) {
3093
3093
  paths: [".yarn"],
3094
3094
  }
3095
3095
  : {
3096
- key: (0, slugify_1.default)(context.componentConfig.dir) + "-yarn",
3096
+ key: (0, slugify_1.default)(context.dir) + "-yarn",
3097
3097
  policy: policy,
3098
- paths: [(0, path_1.join)(context.componentConfig.dir, ".yarn")],
3098
+ paths: [(0, path_1.join)(context.dir, ".yarn")],
3099
3099
  },
3100
3100
  ];
3101
3101
  };
@@ -3111,7 +3111,7 @@ var getNodeModulesCache = function (context, policy) {
3111
3111
  // if component is in a shared workspace, use workspace cache. use individual cache else
3112
3112
  key: componentIsInWorkspace
3113
3113
  ? "node-modules-workspace"
3114
- : (0, slugify_1.default)(context.componentConfig.dir) + "-node-modules", // we use the dirname, not the component name, because in certain cases we have two apps in the same directory and want to share the cache, e.g. when having storybook in the same package.json
3114
+ : (0, slugify_1.default)(context.dir) + "-node-modules", // we use the dirname, not the component name, because in certain cases we have two apps in the same directory and want to share the cache, e.g. when having storybook in the same package.json
3115
3115
  policy: policy,
3116
3116
  paths: __spreadArray([], __read((componentIsInWorkspace
3117
3117
  ? (0, lodash_1.uniq)(__spreadArray([
@@ -3119,7 +3119,7 @@ var getNodeModulesCache = function (context, policy) {
3119
3119
  ], __read(((_c = (_b = context.packageManagerInfo) === null || _b === void 0 ? void 0 : _b.workspaces.map(function (w) {
3120
3120
  return (0, path_1.join)(w.location, "node_modules");
3121
3121
  })) !== null && _c !== void 0 ? _c : [])), false))
3122
- : [(0, path_1.join)(context.componentConfig.dir, "node_modules")])), false),
3122
+ : [(0, path_1.join)(context.dir, "node_modules")])), false),
3123
3123
  },
3124
3124
  ];
3125
3125
  };
@@ -3264,11 +3264,11 @@ var createMeteorBuildJobs = function (context) {
3264
3264
  if (!(0, types_1.isOfBuildType)(buildConfig, "meteor")) {
3265
3265
  throw new Error("deploy config is not meteor");
3266
3266
  }
3267
- var yarnInstall = (0, yarn_1.getYarnInstall)(context);
3267
+ var yarnInstall = (0, yarn_1.getYarnInstall)(context.buildContext);
3268
3268
  return (0, base_1.createBuildJobs)(context, {
3269
3269
  appBuild: buildConfig.buildCommand !== null
3270
3270
  ? {
3271
- cache: __spreadArray(__spreadArray([], __read((0, cache_1.getNodeCache)(context)), false), __read(getMeteorCache(context)), false),
3271
+ cache: __spreadArray(__spreadArray([], __read((0, cache_1.getNodeCache)(context.buildContext)), false), __read(getMeteorCache(context)), false),
3272
3272
  image: (0, runner_1.getRunnerImage)("jobs-meteor"),
3273
3273
  variables: {
3274
3274
  METEOR_DISABLE_OPTIMISTIC_CACHING: "1", // see https://forums.meteor.com/t/veeery-long-building-time-inside-docker-container/58673/17?u=macrozone
@@ -3366,21 +3366,21 @@ var createNodeTestJobs = function (context) {
3366
3366
  needs: [],
3367
3367
  envMode: "none",
3368
3368
  };
3369
- var yarnInstall = (0, yarn_1.getYarnInstall)(context);
3369
+ var yarnInstall = (0, yarn_1.getYarnInstall)(context.buildContext);
3370
3370
  var auditJob = buildConfig.audit !== false
3371
3371
  ? __assign(__assign(__assign({ name: "🛡 audit" }, base), { image: (_c = (_b = buildConfig.audit) === null || _b === void 0 ? void 0 : _b.jobImage) !== null && _c !== void 0 ? _c : defaultImage, cache: undefined, script: __spreadArray([
3372
3372
  "cd ".concat(context.componentConfig.dir)
3373
3373
  ], __read(((_e = (0, utils_1.ensureArray)((_d = buildConfig.audit) === null || _d === void 0 ? void 0 : _d.command)) !== null && _e !== void 0 ? _e : [
3374
- ((_f = context.packageManagerInfo) === null || _f === void 0 ? void 0 : _f.isClassic)
3374
+ ((_f = context.buildContext.packageManagerInfo) === null || _f === void 0 ? void 0 : _f.isClassic)
3375
3375
  ? "yarn audit"
3376
3376
  : "yarn npm audit --environment production", // yarn 2
3377
3377
  ])), false), allow_failure: true }), (0, createArtifactsConfig_1.createArtifactsConfig)(context.componentConfig.dir, (_g = buildConfig.audit) === null || _g === void 0 ? void 0 : _g.artifactsReports, (_h = buildConfig.audit) === null || _h === void 0 ? void 0 : _h.artifacts)) : null;
3378
3378
  var lintJob = buildConfig.lint !== false
3379
- ? __assign(__assign(__assign({ name: "👮 lint" }, base), { image: (_k = (_j = buildConfig.lint) === null || _j === void 0 ? void 0 : _j.jobImage) !== null && _k !== void 0 ? _k : defaultImage, cache: (0, cache_1.getNodeCache)(context), script: __spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read((0, yarn_1.ensureNodeVersion)(context)), false), [
3379
+ ? __assign(__assign(__assign({ name: "👮 lint" }, base), { image: (_k = (_j = buildConfig.lint) === null || _j === void 0 ? void 0 : _j.jobImage) !== null && _k !== void 0 ? _k : defaultImage, cache: (0, cache_1.getNodeCache)(context.buildContext), script: __spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read((0, yarn_1.ensureNodeVersion)(context.buildContext)), false), [
3380
3380
  "cd ".concat(context.componentConfig.dir)
3381
3381
  ], false), __read(yarnInstall), false), __read(((_m = (0, utils_1.ensureArray)((_l = buildConfig.lint) === null || _l === void 0 ? void 0 : _l.command)) !== null && _m !== void 0 ? _m : ["yarn lint"])), false) }), (0, createArtifactsConfig_1.createArtifactsConfig)(context.componentConfig.dir, (_o = buildConfig.lint) === null || _o === void 0 ? void 0 : _o.artifactsReports, (_p = buildConfig.lint) === null || _p === void 0 ? void 0 : _p.artifacts)) : null;
3382
3382
  var testJob = buildConfig.test !== false
3383
- ? __assign(__assign(__assign({ name: "🧪 test" }, base), { image: (_r = (_q = buildConfig.test) === null || _q === void 0 ? void 0 : _q.jobImage) !== null && _r !== void 0 ? _r : (0, runner_1.getRunnerImage)("jobs-testing-chrome"), cache: (0, cache_1.getNodeCache)(context), script: __spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read((0, yarn_1.ensureNodeVersion)(context)), false), [
3383
+ ? __assign(__assign(__assign({ name: "🧪 test" }, base), { image: (_r = (_q = buildConfig.test) === null || _q === void 0 ? void 0 : _q.jobImage) !== null && _r !== void 0 ? _r : (0, runner_1.getRunnerImage)("jobs-testing-chrome"), cache: (0, cache_1.getNodeCache)(context.buildContext), script: __spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read((0, yarn_1.ensureNodeVersion)(context.buildContext)), false), [
3384
3384
  "cd ".concat(context.componentConfig.dir)
3385
3385
  ], false), __read(yarnInstall), false), __read(((_t = (0, utils_1.ensureArray)((_s = buildConfig.test) === null || _s === void 0 ? void 0 : _s.command)) !== null && _t !== void 0 ? _t : ["yarn test"])), false) }), (0, createArtifactsConfig_1.createArtifactsConfig)(context.componentConfig.dir, (_u = buildConfig.test) === null || _u === void 0 ? void 0 : _u.artifactsReports, (_v = buildConfig.test) === null || _v === void 0 ? void 0 : _v.artifacts)) : null;
3386
3386
  return [auditJob, lintJob, testJob].filter(utils_1.notNil);
@@ -3444,9 +3444,7 @@ var ensureNodeVersion = function (context) {
3444
3444
  exports.ensureNodeVersion = ensureNodeVersion;
3445
3445
  var getYarnInstall = function (context, options) {
3446
3446
  var _a;
3447
- var postInstall = "postInstall" in context.componentConfig.build
3448
- ? context.componentConfig.build.postInstall
3449
- : null;
3447
+ var postInstall = "postInstall" in context.config ? context.config.postInstall : null;
3450
3448
  return __spreadArray(__spreadArray(__spreadArray([], __read((0, exports.ensureNodeVersion)(context)), false), __read((0, gitlab_1.collapseableSection)("yarninstall", "Yarn install")([getYarnInstallCommand(context)])), false), __read((postInstall && !(options === null || options === void 0 ? void 0 : options.noCustomPostInstall)
3451
3449
  ? (0, gitlab_1.collapseableSection)("postinstall", "Custom post install")((_a = (0, utils_1.ensureArray)(postInstall)) !== null && _a !== void 0 ? _a : [])
3452
3450
  : [])), false);
@@ -3718,9 +3716,9 @@ var createSbomBuildJob = function (context) {
3718
3716
  var buildConfig = context.componentConfig.build;
3719
3717
  var defaultImage = "aquasec/trivy:0.38.3";
3720
3718
  var defaultScript = [
3721
- "trivy fs --quiet --format cyclonedx --output \"".concat(exports.SBOM_FILE, "\" ").concat(((_a = context.packageManagerInfo) === null || _a === void 0 ? void 0 : _a.componentIsInWorkspace)
3719
+ "trivy fs --quiet --format cyclonedx --output \"".concat(exports.SBOM_FILE, "\" ").concat(((_a = context.buildContext.packageManagerInfo) === null || _a === void 0 ? void 0 : _a.componentIsInWorkspace)
3722
3720
  ? "."
3723
- : context.componentConfig.dir),
3721
+ : context.buildContext.dir),
3724
3722
  ];
3725
3723
  var image = buildConfig.type === "custom" && buildConfig.sbom !== false
3726
3724
  ? (_c = (_b = buildConfig.sbom) === null || _b === void 0 ? void 0 : _b.jobImage) !== null && _c !== void 0 ? _c : defaultImage
@@ -4436,7 +4434,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
4436
4434
  }
4437
4435
  };
4438
4436
  Object.defineProperty(exports, "__esModule", ({ value: true }));
4439
- exports.createContext = void 0;
4437
+ exports.createContext = exports.createComponentContext = void 0;
4440
4438
  var build_1 = __nccwpck_require__(7862);
4441
4439
  var deploy_1 = __nccwpck_require__(8483);
4442
4440
  var utils_1 = __nccwpck_require__(2497);
@@ -4444,7 +4442,7 @@ var getEnvironment_1 = __nccwpck_require__(5699);
4444
4442
  var getEnvironmentContext_1 = __nccwpck_require__(3663);
4445
4443
  __exportStar(__nccwpck_require__(5699), exports);
4446
4444
  __exportStar(__nccwpck_require__(5133), exports);
4447
- var createContext = function (ctx) { return __awaiter(void 0, void 0, void 0, function () {
4445
+ var createComponentContext = function (ctx) { return __awaiter(void 0, void 0, void 0, function () {
4448
4446
  var envContext, componentConfigWithoutDefaults, defaults, componentConfig;
4449
4447
  var _a;
4450
4448
  return __generator(this, function (_b) {
@@ -4468,6 +4466,11 @@ var createContext = function (ctx) { return __awaiter(void 0, void 0, void 0, fu
4468
4466
  _a = {
4469
4467
  fullConfig: ctx.config,
4470
4468
  componentConfig: componentConfig,
4469
+ buildContext: {
4470
+ dir: componentConfig.dir,
4471
+ packageManagerInfo: ctx.packageManagerInfo,
4472
+ config: componentConfig.build,
4473
+ },
4471
4474
  componentName: ctx.componentName
4472
4475
  };
4473
4476
  return [4 /*yield*/, (0, getEnvironment_1.getEnvironment)(ctx)];
@@ -4479,7 +4482,11 @@ var createContext = function (ctx) { return __awaiter(void 0, void 0, void 0, fu
4479
4482
  }
4480
4483
  });
4481
4484
  }); };
4482
- exports.createContext = createContext;
4485
+ exports.createComponentContext = createComponentContext;
4486
+ /**
4487
+ * @deprecated use createComponentContext instead
4488
+ */
4489
+ exports.createContext = exports.createComponentContext;
4483
4490
  //# sourceMappingURL=index.js.map
4484
4491
 
4485
4492
  /***/ }),
@@ -6371,7 +6378,9 @@ var createCustomDeployJobs = function (context) {
6371
6378
  throw new Error("deploy config is not custom");
6372
6379
  }
6373
6380
  // FIXME: custom deploy currently assumes yarn-based project
6374
- var yarnInstall = (0, yarn_1.getYarnInstall)(context, { noCustomPostInstall: true });
6381
+ var yarnInstall = (0, yarn_1.getYarnInstall)(context.buildContext, {
6382
+ noCustomPostInstall: true,
6383
+ });
6375
6384
  return (0, base_1.createDeployementJobs)(context, {
6376
6385
  deploy: {
6377
6386
  image: (_a = deployConfig.jobImage) !== null && _a !== void 0 ? _a : (0, runner_1.getRunnerImage)("jobs-default"),
@@ -7672,7 +7681,7 @@ var createJobsForComponent = function (contextContext) { return __awaiter(void 0
7672
7681
  case 0: return [4 /*yield*/, (0, packageManager_1.getPackageManagerInfo)(contextContext.config, contextContext.componentName)];
7673
7682
  case 1:
7674
7683
  packageManagerInfo = _a.sent();
7675
- return [4 /*yield*/, (0, context_1.createContext)(__assign(__assign({}, contextContext), { packageManagerInfo: packageManagerInfo }))];
7684
+ return [4 /*yield*/, (0, context_1.createComponentContext)(__assign(__assign({}, contextContext), { packageManagerInfo: packageManagerInfo }))];
7676
7685
  case 2:
7677
7686
  context = _a.sent();
7678
7687
  return [2 /*return*/, createRawJobs(context).map(function (job) { return (__assign(__assign({}, job), { context: context })); })];
@@ -6513,7 +6513,7 @@ var getPipelineContextByChoice = function (env, componentName) { return __awaite
6513
6513
  case 0: return [4 /*yield*/, (0, exports.getProjectConfig)()];
6514
6514
  case 1:
6515
6515
  config = _a.sent();
6516
- return [4 /*yield*/, (0, pipeline_1.createContext)({
6516
+ return [4 /*yield*/, (0, pipeline_1.createComponentContext)({
6517
6517
  config: config,
6518
6518
  componentName: componentName,
6519
6519
  env: env,
@@ -9695,7 +9695,7 @@ var createAppBuildJob = function (context, _a) {
9695
9695
  runnerVariables: __assign(__assign(__assign({}, constants_1.RUNNER_BUILD_RESOURCE_VARIABLES), (runnerVariables !== null && runnerVariables !== void 0 ? runnerVariables : {})), ((_c = context.componentConfig.build.runnerVariables) !== null && _c !== void 0 ? _c : {})),
9696
9696
  script: __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read((context.componentConfig.dotEnv === true // don't build when set to `local`
9697
9697
  ? (0, writeDotEnv_1.writeDotEnv)(context)
9698
- : [])), false), __read((0, writeBuildInfo_1.writeBuildInfo)(context)), false), __read((0, yarn_1.ensureNodeVersion)(context)), false), [
9698
+ : [])), false), __read((0, writeBuildInfo_1.writeBuildInfo)(context)), false), __read((0, yarn_1.ensureNodeVersion)(context.buildContext)), false), [
9699
9699
  "cd ".concat(context.componentConfig.dir)
9700
9700
  ], false), __read(((_d = (0, utils_1.ensureArray)(script)) !== null && _d !== void 0 ? _d : [])), false),
9701
9701
  artifacts: {
@@ -10170,14 +10170,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
10170
10170
  };
10171
10171
  Object.defineProperty(exports, "__esModule", ({ value: true }));
10172
10172
  exports.hasDockerfile = exports.getDockerBuildDefaultScript = exports.getDockerBuildScriptWithBuiltInDockerFile = exports.gitlabDockerLogin = exports.createDockerBuildJobBase = exports.getDockerJobBaseProps = exports.DOCKER_BUILD_JOB_NAME = exports.getDockerBuildVariables = exports.requiresDockerBuild = exports.getDockerImageVariables = void 0;
10173
- var lodash_1 = __nccwpck_require__(23255);
10174
- var deploy_1 = __nccwpck_require__(68483);
10175
- var runner_1 = __nccwpck_require__(4058);
10176
10173
  var fs_1 = __nccwpck_require__(57147);
10174
+ var lodash_1 = __nccwpck_require__(23255);
10177
10175
  var path_1 = __importDefault(__nccwpck_require__(71017));
10178
- var gitlab_1 = __nccwpck_require__(38490);
10176
+ var deploy_1 = __nccwpck_require__(68483);
10179
10177
  var artifactsRegistry_1 = __nccwpck_require__(44963);
10180
10178
  var gcloudServiceAccountLoginCommands_1 = __nccwpck_require__(46320);
10179
+ var runner_1 = __nccwpck_require__(4058);
10180
+ var gitlab_1 = __nccwpck_require__(38490);
10181
10181
  var DOCKER_BUILD_RUNNER_REQUESTS = {
10182
10182
  KUBERNETES_CPU_REQUEST: "0.5",
10183
10183
  KUBERNETES_MEMORY_REQUEST: "1Gi",
@@ -10232,7 +10232,7 @@ var getDockerAdditions = function (build) {
10232
10232
  };
10233
10233
  };
10234
10234
  var getDockerBuildVariables = function (context) {
10235
- return __assign(__assign(__assign({}, getDockerAdditions(context.componentConfig.build)), { APP_DIR: context.componentConfig.dir, DOCKER_DIR: "." }), (0, exports.getDockerImageVariables)(context));
10235
+ return __assign(__assign(__assign({}, getDockerAdditions(context.buildContext.config)), { APP_DIR: context.buildContext.dir, DOCKER_DIR: "." }), (0, exports.getDockerImageVariables)(context));
10236
10236
  };
10237
10237
  exports.getDockerBuildVariables = getDockerBuildVariables;
10238
10238
  exports.DOCKER_BUILD_JOB_NAME = "🔨 docker";
@@ -10422,18 +10422,18 @@ var createNodeBuildJobs = function (context) {
10422
10422
  throw new Error("deploy config is not node, node-static or storybook");
10423
10423
  }
10424
10424
  var defaultImage = (0, runner_1.getRunnerImage)("jobs-default");
10425
- var yarnInstall = (0, yarn_1.getYarnInstall)(context);
10425
+ var yarnInstall = (0, yarn_1.getYarnInstall)(context.buildContext);
10426
10426
  return (0, base_1.createBuildJobs)(context, {
10427
10427
  appBuild: buildConfig.buildCommand !== null
10428
10428
  ? {
10429
10429
  image: (_a = buildConfig.jobImage) !== null && _a !== void 0 ? _a : defaultImage,
10430
10430
  runnerVariables: constants_1.NODE_RUNNER_BUILD_VARIABLES,
10431
- cache: __spreadArray(__spreadArray(__spreadArray([], __read(((_b = (0, utils_1.ensureArray)(buildConfig.jobCache)) !== null && _b !== void 0 ? _b : [])), false), __read((0, cache_1.getNodeCache)(context)), false), __read((0, cache_1.getNextCache)(context)), false),
10431
+ cache: __spreadArray(__spreadArray(__spreadArray([], __read(((_b = (0, utils_1.ensureArray)(buildConfig.jobCache)) !== null && _b !== void 0 ? _b : [])), false), __read((0, cache_1.getNodeCache)(context.buildContext)), false), __read((0, cache_1.getNextCache)(context)), false),
10432
10432
  script: __spreadArray(__spreadArray([], __read(yarnInstall), false), __read(((_c = (0, utils_1.ensureArray)(buildConfig.buildCommand)) !== null && _c !== void 0 ? _c : [])), false),
10433
10433
  artifacts: {
10434
10434
  paths: __spreadArray([
10435
10435
  context.componentConfig.dir
10436
- ], __read(((_e = (_d = context.packageManagerInfo) === null || _d === void 0 ? void 0 : _d.currentWorkspaceDependencies) !== null && _e !== void 0 ? _e : [])), false).flatMap(function (dir) {
10436
+ ], __read(((_e = (_d = context.buildContext.packageManagerInfo) === null || _d === void 0 ? void 0 : _d.currentWorkspaceDependencies) !== null && _e !== void 0 ? _e : [])), false).flatMap(function (dir) {
10437
10437
  var _a, _b;
10438
10438
  return __spreadArray([
10439
10439
  (0, path_1.join)(dir, "__build_info.json"),
@@ -10453,11 +10453,11 @@ var createNodeBuildJobs = function (context) {
10453
10453
  script: (0, docker_1.getDockerBuildScriptWithBuiltInDockerFile)(context, buildConfig.type === "node-static" || buildConfig.type === "storybook"
10454
10454
  ? "nginx"
10455
10455
  : "node"),
10456
- cache: __spreadArray([], __read((0, cache_1.getYarnCache)(context, "pull")), false),
10456
+ cache: __spreadArray([], __read((0, cache_1.getYarnCache)(context.buildContext, "pull")), false),
10457
10457
  variables: {
10458
10458
  // only required for non static
10459
- DOCKER_COPY_AND_INSTALL_APP: (0, yarn_1.getDockerAppCopyAndBuildScript)(context),
10460
- DOCKER_COPY_WORKSPACE_FILES: (_g = (_f = context.packageManagerInfo) === null || _f === void 0 ? void 0 : _f.pathsToCopyInDocker.map(function (dir) { return "COPY --chown=node:node ".concat(dir, " /app/").concat(dir); })) === null || _g === void 0 ? void 0 : _g.join("\n"),
10459
+ DOCKER_COPY_AND_INSTALL_APP: (0, yarn_1.getDockerAppCopyAndBuildScript)(context.buildContext),
10460
+ DOCKER_COPY_WORKSPACE_FILES: (_g = (_f = context.buildContext.packageManagerInfo) === null || _f === void 0 ? void 0 : _f.pathsToCopyInDocker.map(function (dir) { return "COPY --chown=node:node ".concat(dir, " /app/").concat(dir); })) === null || _g === void 0 ? void 0 : _g.join("\n"),
10461
10461
  },
10462
10462
  },
10463
10463
  });
@@ -10517,9 +10517,9 @@ var getYarnCache = function (context, policy) {
10517
10517
  paths: [".yarn"],
10518
10518
  }
10519
10519
  : {
10520
- key: (0, slugify_1.default)(context.componentConfig.dir) + "-yarn",
10520
+ key: (0, slugify_1.default)(context.dir) + "-yarn",
10521
10521
  policy: policy,
10522
- paths: [(0, path_1.join)(context.componentConfig.dir, ".yarn")],
10522
+ paths: [(0, path_1.join)(context.dir, ".yarn")],
10523
10523
  },
10524
10524
  ];
10525
10525
  };
@@ -10535,7 +10535,7 @@ var getNodeModulesCache = function (context, policy) {
10535
10535
  // if component is in a shared workspace, use workspace cache. use individual cache else
10536
10536
  key: componentIsInWorkspace
10537
10537
  ? "node-modules-workspace"
10538
- : (0, slugify_1.default)(context.componentConfig.dir) + "-node-modules", // we use the dirname, not the component name, because in certain cases we have two apps in the same directory and want to share the cache, e.g. when having storybook in the same package.json
10538
+ : (0, slugify_1.default)(context.dir) + "-node-modules", // we use the dirname, not the component name, because in certain cases we have two apps in the same directory and want to share the cache, e.g. when having storybook in the same package.json
10539
10539
  policy: policy,
10540
10540
  paths: __spreadArray([], __read((componentIsInWorkspace
10541
10541
  ? (0, lodash_1.uniq)(__spreadArray([
@@ -10543,7 +10543,7 @@ var getNodeModulesCache = function (context, policy) {
10543
10543
  ], __read(((_c = (_b = context.packageManagerInfo) === null || _b === void 0 ? void 0 : _b.workspaces.map(function (w) {
10544
10544
  return (0, path_1.join)(w.location, "node_modules");
10545
10545
  })) !== null && _c !== void 0 ? _c : [])), false))
10546
- : [(0, path_1.join)(context.componentConfig.dir, "node_modules")])), false),
10546
+ : [(0, path_1.join)(context.dir, "node_modules")])), false),
10547
10547
  },
10548
10548
  ];
10549
10549
  };
@@ -10688,11 +10688,11 @@ var createMeteorBuildJobs = function (context) {
10688
10688
  if (!(0, types_1.isOfBuildType)(buildConfig, "meteor")) {
10689
10689
  throw new Error("deploy config is not meteor");
10690
10690
  }
10691
- var yarnInstall = (0, yarn_1.getYarnInstall)(context);
10691
+ var yarnInstall = (0, yarn_1.getYarnInstall)(context.buildContext);
10692
10692
  return (0, base_1.createBuildJobs)(context, {
10693
10693
  appBuild: buildConfig.buildCommand !== null
10694
10694
  ? {
10695
- cache: __spreadArray(__spreadArray([], __read((0, cache_1.getNodeCache)(context)), false), __read(getMeteorCache(context)), false),
10695
+ cache: __spreadArray(__spreadArray([], __read((0, cache_1.getNodeCache)(context.buildContext)), false), __read(getMeteorCache(context)), false),
10696
10696
  image: (0, runner_1.getRunnerImage)("jobs-meteor"),
10697
10697
  variables: {
10698
10698
  METEOR_DISABLE_OPTIMISTIC_CACHING: "1", // see https://forums.meteor.com/t/veeery-long-building-time-inside-docker-container/58673/17?u=macrozone
@@ -10790,21 +10790,21 @@ var createNodeTestJobs = function (context) {
10790
10790
  needs: [],
10791
10791
  envMode: "none",
10792
10792
  };
10793
- var yarnInstall = (0, yarn_1.getYarnInstall)(context);
10793
+ var yarnInstall = (0, yarn_1.getYarnInstall)(context.buildContext);
10794
10794
  var auditJob = buildConfig.audit !== false
10795
10795
  ? __assign(__assign(__assign({ name: "🛡 audit" }, base), { image: (_c = (_b = buildConfig.audit) === null || _b === void 0 ? void 0 : _b.jobImage) !== null && _c !== void 0 ? _c : defaultImage, cache: undefined, script: __spreadArray([
10796
10796
  "cd ".concat(context.componentConfig.dir)
10797
10797
  ], __read(((_e = (0, utils_1.ensureArray)((_d = buildConfig.audit) === null || _d === void 0 ? void 0 : _d.command)) !== null && _e !== void 0 ? _e : [
10798
- ((_f = context.packageManagerInfo) === null || _f === void 0 ? void 0 : _f.isClassic)
10798
+ ((_f = context.buildContext.packageManagerInfo) === null || _f === void 0 ? void 0 : _f.isClassic)
10799
10799
  ? "yarn audit"
10800
10800
  : "yarn npm audit --environment production", // yarn 2
10801
10801
  ])), false), allow_failure: true }), (0, createArtifactsConfig_1.createArtifactsConfig)(context.componentConfig.dir, (_g = buildConfig.audit) === null || _g === void 0 ? void 0 : _g.artifactsReports, (_h = buildConfig.audit) === null || _h === void 0 ? void 0 : _h.artifacts)) : null;
10802
10802
  var lintJob = buildConfig.lint !== false
10803
- ? __assign(__assign(__assign({ name: "👮 lint" }, base), { image: (_k = (_j = buildConfig.lint) === null || _j === void 0 ? void 0 : _j.jobImage) !== null && _k !== void 0 ? _k : defaultImage, cache: (0, cache_1.getNodeCache)(context), script: __spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read((0, yarn_1.ensureNodeVersion)(context)), false), [
10803
+ ? __assign(__assign(__assign({ name: "👮 lint" }, base), { image: (_k = (_j = buildConfig.lint) === null || _j === void 0 ? void 0 : _j.jobImage) !== null && _k !== void 0 ? _k : defaultImage, cache: (0, cache_1.getNodeCache)(context.buildContext), script: __spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read((0, yarn_1.ensureNodeVersion)(context.buildContext)), false), [
10804
10804
  "cd ".concat(context.componentConfig.dir)
10805
10805
  ], false), __read(yarnInstall), false), __read(((_m = (0, utils_1.ensureArray)((_l = buildConfig.lint) === null || _l === void 0 ? void 0 : _l.command)) !== null && _m !== void 0 ? _m : ["yarn lint"])), false) }), (0, createArtifactsConfig_1.createArtifactsConfig)(context.componentConfig.dir, (_o = buildConfig.lint) === null || _o === void 0 ? void 0 : _o.artifactsReports, (_p = buildConfig.lint) === null || _p === void 0 ? void 0 : _p.artifacts)) : null;
10806
10806
  var testJob = buildConfig.test !== false
10807
- ? __assign(__assign(__assign({ name: "🧪 test" }, base), { image: (_r = (_q = buildConfig.test) === null || _q === void 0 ? void 0 : _q.jobImage) !== null && _r !== void 0 ? _r : (0, runner_1.getRunnerImage)("jobs-testing-chrome"), cache: (0, cache_1.getNodeCache)(context), script: __spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read((0, yarn_1.ensureNodeVersion)(context)), false), [
10807
+ ? __assign(__assign(__assign({ name: "🧪 test" }, base), { image: (_r = (_q = buildConfig.test) === null || _q === void 0 ? void 0 : _q.jobImage) !== null && _r !== void 0 ? _r : (0, runner_1.getRunnerImage)("jobs-testing-chrome"), cache: (0, cache_1.getNodeCache)(context.buildContext), script: __spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read((0, yarn_1.ensureNodeVersion)(context.buildContext)), false), [
10808
10808
  "cd ".concat(context.componentConfig.dir)
10809
10809
  ], false), __read(yarnInstall), false), __read(((_t = (0, utils_1.ensureArray)((_s = buildConfig.test) === null || _s === void 0 ? void 0 : _s.command)) !== null && _t !== void 0 ? _t : ["yarn test"])), false) }), (0, createArtifactsConfig_1.createArtifactsConfig)(context.componentConfig.dir, (_u = buildConfig.test) === null || _u === void 0 ? void 0 : _u.artifactsReports, (_v = buildConfig.test) === null || _v === void 0 ? void 0 : _v.artifacts)) : null;
10810
10810
  return [auditJob, lintJob, testJob].filter(utils_1.notNil);
@@ -10868,9 +10868,7 @@ var ensureNodeVersion = function (context) {
10868
10868
  exports.ensureNodeVersion = ensureNodeVersion;
10869
10869
  var getYarnInstall = function (context, options) {
10870
10870
  var _a;
10871
- var postInstall = "postInstall" in context.componentConfig.build
10872
- ? context.componentConfig.build.postInstall
10873
- : null;
10871
+ var postInstall = "postInstall" in context.config ? context.config.postInstall : null;
10874
10872
  return __spreadArray(__spreadArray(__spreadArray([], __read((0, exports.ensureNodeVersion)(context)), false), __read((0, gitlab_1.collapseableSection)("yarninstall", "Yarn install")([getYarnInstallCommand(context)])), false), __read((postInstall && !(options === null || options === void 0 ? void 0 : options.noCustomPostInstall)
10875
10873
  ? (0, gitlab_1.collapseableSection)("postinstall", "Custom post install")((_a = (0, utils_1.ensureArray)(postInstall)) !== null && _a !== void 0 ? _a : [])
10876
10874
  : [])), false);
@@ -11142,9 +11140,9 @@ var createSbomBuildJob = function (context) {
11142
11140
  var buildConfig = context.componentConfig.build;
11143
11141
  var defaultImage = "aquasec/trivy:0.38.3";
11144
11142
  var defaultScript = [
11145
- "trivy fs --quiet --format cyclonedx --output \"".concat(exports.SBOM_FILE, "\" ").concat(((_a = context.packageManagerInfo) === null || _a === void 0 ? void 0 : _a.componentIsInWorkspace)
11143
+ "trivy fs --quiet --format cyclonedx --output \"".concat(exports.SBOM_FILE, "\" ").concat(((_a = context.buildContext.packageManagerInfo) === null || _a === void 0 ? void 0 : _a.componentIsInWorkspace)
11146
11144
  ? "."
11147
- : context.componentConfig.dir),
11145
+ : context.buildContext.dir),
11148
11146
  ];
11149
11147
  var image = buildConfig.type === "custom" && buildConfig.sbom !== false
11150
11148
  ? (_c = (_b = buildConfig.sbom) === null || _b === void 0 ? void 0 : _b.jobImage) !== null && _c !== void 0 ? _c : defaultImage
@@ -11860,7 +11858,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
11860
11858
  }
11861
11859
  };
11862
11860
  Object.defineProperty(exports, "__esModule", ({ value: true }));
11863
- exports.createContext = void 0;
11861
+ exports.createContext = exports.createComponentContext = void 0;
11864
11862
  var build_1 = __nccwpck_require__(67862);
11865
11863
  var deploy_1 = __nccwpck_require__(68483);
11866
11864
  var utils_1 = __nccwpck_require__(32497);
@@ -11868,7 +11866,7 @@ var getEnvironment_1 = __nccwpck_require__(45699);
11868
11866
  var getEnvironmentContext_1 = __nccwpck_require__(13663);
11869
11867
  __exportStar(__nccwpck_require__(45699), exports);
11870
11868
  __exportStar(__nccwpck_require__(45133), exports);
11871
- var createContext = function (ctx) { return __awaiter(void 0, void 0, void 0, function () {
11869
+ var createComponentContext = function (ctx) { return __awaiter(void 0, void 0, void 0, function () {
11872
11870
  var envContext, componentConfigWithoutDefaults, defaults, componentConfig;
11873
11871
  var _a;
11874
11872
  return __generator(this, function (_b) {
@@ -11892,6 +11890,11 @@ var createContext = function (ctx) { return __awaiter(void 0, void 0, void 0, fu
11892
11890
  _a = {
11893
11891
  fullConfig: ctx.config,
11894
11892
  componentConfig: componentConfig,
11893
+ buildContext: {
11894
+ dir: componentConfig.dir,
11895
+ packageManagerInfo: ctx.packageManagerInfo,
11896
+ config: componentConfig.build,
11897
+ },
11895
11898
  componentName: ctx.componentName
11896
11899
  };
11897
11900
  return [4 /*yield*/, (0, getEnvironment_1.getEnvironment)(ctx)];
@@ -11903,7 +11906,11 @@ var createContext = function (ctx) { return __awaiter(void 0, void 0, void 0, fu
11903
11906
  }
11904
11907
  });
11905
11908
  }); };
11906
- exports.createContext = createContext;
11909
+ exports.createComponentContext = createComponentContext;
11910
+ /**
11911
+ * @deprecated use createComponentContext instead
11912
+ */
11913
+ exports.createContext = exports.createComponentContext;
11907
11914
  //# sourceMappingURL=index.js.map
11908
11915
 
11909
11916
  /***/ }),
@@ -13795,7 +13802,9 @@ var createCustomDeployJobs = function (context) {
13795
13802
  throw new Error("deploy config is not custom");
13796
13803
  }
13797
13804
  // FIXME: custom deploy currently assumes yarn-based project
13798
- var yarnInstall = (0, yarn_1.getYarnInstall)(context, { noCustomPostInstall: true });
13805
+ var yarnInstall = (0, yarn_1.getYarnInstall)(context.buildContext, {
13806
+ noCustomPostInstall: true,
13807
+ });
13799
13808
  return (0, base_1.createDeployementJobs)(context, {
13800
13809
  deploy: {
13801
13810
  image: (_a = deployConfig.jobImage) !== null && _a !== void 0 ? _a : (0, runner_1.getRunnerImage)("jobs-default"),
@@ -15096,7 +15105,7 @@ var createJobsForComponent = function (contextContext) { return __awaiter(void 0
15096
15105
  case 0: return [4 /*yield*/, (0, packageManager_1.getPackageManagerInfo)(contextContext.config, contextContext.componentName)];
15097
15106
  case 1:
15098
15107
  packageManagerInfo = _a.sent();
15099
- return [4 /*yield*/, (0, context_1.createContext)(__assign(__assign({}, contextContext), { packageManagerInfo: packageManagerInfo }))];
15108
+ return [4 /*yield*/, (0, context_1.createComponentContext)(__assign(__assign({}, contextContext), { packageManagerInfo: packageManagerInfo }))];
15100
15109
  case 2:
15101
15110
  context = _a.sent();
15102
15111
  return [2 /*return*/, createRawJobs(context).map(function (job) { return (__assign(__assign({}, job), { context: context })); })];
@@ -1 +1 @@
1
- {"version":3,"file":"commandCloudSqlProxy.js","sourceRoot":"","sources":["../../../../../../../src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GAAG,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC;gBAE/D,sBAAO;wBACL,YAAY,EACV,OAAO,CAAC,eAAe,CAAC,MAAM,CAAC,QAAQ,CAAC,sBAAsB;wBAChE,WAAW,aAAA;wBACX,OAAO,SAAA;wBACP,OAAO,SAAA;qBACR,EAAC;;;KACH,CAAC"}
1
+ {"version":3,"file":"commandCloudSqlProxy.js","sourceRoot":"","sources":["../../../../../../../src/apps/cli/commands/project/commandCloudSqlProxy.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,gDAG6B;AAG7B,wEAI6C;AAC7C,2DAA2D;AAC3D,qEAA0F;AAQ1F,mBAAe,UAAO,MAAc;;;;;gBAClC,KAAA,CAAA,KAAA,MAAM;qBACH,OAAO,CAAC,wCAAwC,EAAE,uBAAuB,CAAC,CAAA;qBAC1E,YAAY,CAAA;gBAAC,qBAAM,IAAA,kCAAgB,GAAE,EAAA;oBAFxC,sBAAA,cAEgB,SAAwB,EAAC;qBACtC,MAAM,CAAC;wEAAgB,EAAgB;;4BAAd,YAAY,kBAAA;;;;oCAC9B,KAAyB,IAAA,8BAAW,EAAC,YAAY,CAAC,EAAhD,GAAG,SAAA,EAAE,aAAa,mBAAA,CAA+B;oCACzD,IAAI,CAAC,aAAa,EAAE,CAAC;wCACnB,IAAI,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;wCAC/B,sBAAO;oCACT,CAAC;oCAEe,qBAAM,IAAA,6CAA0B,EAAC,GAAG,EAAE,aAAa,CAAC,EAAA;;oCAA9D,OAAO,GAAG,SAAoD;oCAGpE,IAAI,GAAG,KAAK,QAAQ,EAAE,CAAC;wCACrB,MAAM,CAAC,GAAG,CACR,6EAA6E,CAC9E,CAAC;oCACJ,CAAC;yCACG,IAAA,yBAAc,EAAC,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,YAAY,CAAC,EAA5D,wBAA4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;gBACjC,CAAC;gBAEe,qBAAM,IAAA,qCAAkB,EACtC,MAAM,EACN,OAAO,CAAC,WAAW,CAAC,SAAS,EAC7B,OAAO,CAAC,aAAa,CACtB,EAAA;;gBAJK,OAAO,GAAG,SAIf;gBAEK,WAAW,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,CAAC;gBACnC,OAAO,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,CAAC;gBAE3B,OAAO,GAAG,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC;gBAE/D,sBAAO;wBACL,YAAY,EACV,OAAO,CAAC,eAAe,CAAC,MAAM,CAAC,QAAQ,CAAC,sBAAsB;wBAChE,WAAW,aAAA;wBACX,OAAO,SAAA;wBACP,OAAO,SAAA;qBACR,EAAC;;;KACH,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"commandPortForward.js","sourceRoot":"","sources":["../../../../../../../src/apps/cli/commands/project/commandPortForward.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,qDAA4D;AAC5D,6CAAiD;AACjD,kEAA0E;AAC1E,uDAAiE;AACjE,2DAA2D;AAC3D,wEAAkD;AAElD,8DAA6D;AAC7D,wEAAiF;AAEjF,gDAAqD;AACrD,+DAAyE;AACzE,8CAAwB;AACxB,IAAM,eAAe,GAAG,UAAO,GAAoB,EAAE,YAAoB;;;;oBACvE,qBAAM,uBAAa,CAAC,IAAI,CAAC,GAAG,EAAE,YAAY,CAAC,EAAA;;gBAA3C,SAA2C,CAAC;gBAC1B,qBAAM,IAAA,8BAAmB,EAAC,YAAY,CAAC,EAAA;;gBAAnD,SAAS,GAAG,SAAuC;gBACxC,qBAAM,IAAA,+BAAkB,EAAC,YAAY,CAAC,EAAA;;gBAAjD,QAAQ,GAAG,SAAsC;gBACvD,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAA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AAO,CAAC,eAAe,CAAC,MAAM,EAAE,iBAAiB,CAAC,EAAjE,wBAAiE;oCACnE,qBAAM,mBAAmB,CAAC,IAAI,EAAE,OAAO,CAAC,EAAA;;oCAAxC,SAAwC,CAAC;;;;;;iBAE5C,CAAC,EAAA;;;KAAA,EAAC"}
1
+ {"version":3,"file":"commandPortForward.js","sourceRoot":"","sources":["../../../../../../../src/apps/cli/commands/project/commandPortForward.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,qDAA4D;AAC5D,6CAAiD;AACjD,kEAA0E;AAC1E,uDAAiE;AACjE,2DAA2D;AAC3D,wEAAkD;AAElD,8DAA6D;AAC7D,wEAAiF;AAEjF,gDAAqD;AACrD,+DAAyE;AACzE,8CAAwB;AACxB,IAAM,eAAe,GAAG,UAAO,GAAoB,EAAE,YAAoB;;;;oBACvE,qBAAM,uBAAa,CAAC,IAAI,CAAC,GAAG,EAAE,YAAY,CAAC,EAAA;;gBAA3C,SAA2C,CAAC;gBAC1B,qBAAM,IAAA,8BAAmB,EAAC,YAAY,CAAC,EAAA;;gBAAnD,SAAS,GAAG,SAAuC;gBACxC,qBAAM,IAAA,+BAAkB,EAAC,YAAY,CAAC,EAAA;;gBAAjD,QAAQ,GAAG,SAAsC;gBACvD,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;oBAC1B,IAAA,cAAQ,EAAC,GAAG,EAAE,sBAAsB,CAAC,CAAC;oBACtC,sBAAO;gBACT,CAAC;gBACmB,qBAAM,GAAG,CAAC,MAAM,CAAC;wBACnC,IAAI,EAAE,MAAM;wBACZ,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,QAAQ;wBACjB,OAAO,EAAE,eAAe;qBACzB,CAAC,EAAA;;gBALM,OAAO,GAAK,CAAA,SAKlB,CAAA,QALa;gBAOO,qBAAM,GAAG,CAAC,MAAM,CAAC;wBACrC,IAAI,EAAE,QAAQ;wBACd,IAAI,E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AAc,SAAS,uBAAa,MAAM,CAAE,CAAC;gBAE1G,qBAAM,IAAA,sCAAuB,EAAC,mBAAY,WAAW,CAAE,EAAE,OAAO,CAAC,EAAA;;gBAAjE,SAAiE,CAAC;gBAClE,IAAA,cAAI,EAAC,uBAAuB,CAAC,CAAC;;;;KAC/B,CAAC;AACF,mBAAe,UAAO,MAAc;;;;;gBAClC,KAAA,CAAA,KAAA,MAAM;qBACH,OAAO,CAAC,qCAAqC,EAAE,uBAAuB,CAAC,CAAA;qBACvE,YAAY,CAAA;gBAAC,qBAAM,IAAA,kCAAgB,GAAE,EAAA;oBAFxC,sBAAA,cAEgB,SAAwB,EAAC;qBACtC,MAAM,CAAC;wEAAgB,EAAgB;;4BAAd,YAAY,kBAAA;;;;oCAC9B,KAAyB,IAAA,yBAAW,EAAC,YAAY,CAAC,EAAhD,GAAG,SAAA,EAAE,aAAa,mBAAA,CAA+B;oCACzC,qBAAM,IAAA,6CAA0B,EAAC,GAAG,EAAE,aAAa,CAAC,EAAA;;oCAA9D,OAAO,GAAG,SAAoD;yCAEhE,IAAA,yBAAc,EAAC,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,YAAY,CAAC,EAA5D,wBAA4D;oCAC9D,qBAAM,eAAe,CAAC,IAAI,EAAE,YAAY,CAAC,EAAA;;oCAAzC,SAAyC,CAAC;;;yCAExC,IAAA,yBAAc,EAAC,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,iBAAiB,CAAC,EAAjE,wBAAiE;oCACnE,qBAAM,mBAAmB,CAAC,IAAI,EAAE,OAAO,CAAC,EAAA;;oCAAxC,SAAwC,CAAC;;;;;;iBAE5C,CAAC,EAAA;;;KAAA,EAAC"}
@@ -1,3 +1,3 @@
1
- import type { Context } from "../../../../../../../pipeline/src/index.js";
1
+ import type { ComponentContext } from "../../../../../../../pipeline/src/index.js";
2
2
  import type { CommandInstance } from "vorpal";
3
- export declare const setupCloudRun: (instance: CommandInstance, context: Context) => Promise<void>;
3
+ export declare const setupCloudRun: (instance: CommandInstance, context: ComponentContext) => Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"setupCloudRun.js","sourceRoot":"","sources":["../../../../../../../../src/apps/cli/commands/project/setup/setupCloudRun.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,gDAI6B;AAG7B,6EAAwF;AACxF,kGAAiG;AACjG,uEAA4E;AAC5E,yEAAgG;AAChG,sDAAiE;AAE1D,IAAM,aAAa,GAAG,UAC3B,QAAyB,EACzB,OAAgB;;;;;;gBAEhB,IAAI,CAAC,IAAA,yBAAc,EAAC,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,iBAAiB,CAAC,EAAE,CAAC;oBACvE,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;gBACpE,CAAC;gBAEK,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC,MAAM,CAAC;gBAE9C,kBAAkB;gBAElB,QAAQ,CAAC,GAAG,CAAC,6BAA6B,CAAC,CAAC;gBAC5C,qBAAM,IAAA,qCAAoB;wBAEtB,oBAAoB;wBACpB,iCAAiC;wBACjC,+BAA+B,EAAE,sBAAsB;wBACvD,qCAAqC;8BAClC,CAAC,MAAM,CAAC,QAAQ;wBACjB,CAAC,CAAC,CAAC,yBAAyB,EAAE,8BAA8B,CAAC;wBAC7D,CAAC,CAAC,EAAE,CAAC,WAET,MAAM,CACP,EAAA;;gBAXD,SAWC,CAAC;gBACF,QAAQ,CAAC,GAAG,CAAC,8BAA8B,CAAC,CAAC;gBAC7C,qBAAM,IAAA,iDAA6B,EAAC,MAAM,CAAC,EAAA;;gBAA3C,SAA2C,CAAC;gBAE5C,QAAQ,CAAC,GAAG,CAAC,kCAAkC,CAAC,CAAC;gBACjD,qBAAM,IAAA,yDAAuC,EAC3C,QAAQ,EACR,OAAO,EACP;wBACE,SAAS,EAAE,MAAM,CAAC,SAAS;wBAC3B,WAAW,EAAE,yBAAyB;wBACtC,WAAW,EAAE,8CAA8C;wBAC3D,IAAI,EAAE,MAAM;wBACZ,yLAAyL;wBACzL,KAAK;4BACH,kCAAkC;4BAClC,iBAAiB;4BACjB,8BAA8B;4BAC9B,4BAA4B;kCACzB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,SACrD;qBACF,EACD,wCAA6B,CAC9B,EAAA;;gBAlBD,SAkBC,CAAC;gBAEF,+CAA+C;gBAC/C,qDAAqD;gBACrD,qEAAqE;gBACrE,iEAAiE;gBACjE,QAAQ,CAAC,GAAG,CACV,gEAAgE,CACjE,CAAC;gBACa,qBAAM,IAAA,iDAAuB,EAAC,MAAM,CAAC,EAAA;;gBAA9C,MAAM,GAAG,SAAqC;gBACpD,QAAQ,CAAC,GAAG,CAAC,iBAAiB,GAAG,MAAM,CAAC,CAAC;gBAEzC,qBAAM,IAAA,2BAAkB,EACtB,QAAQ;wBAEN,GAAC,2CAAgC,IAAG,MAAM;6BAE5C,OAAO,CAAC,WAAW,CAAC,SAAS,EAC7B,OAAO,CAAC,aAAa,EACrB,KAAK,EAAE,SAAS;oBAChB,KAAK,CACN,EAAA;;gBATD,SASC,CAAC;;;;KACH,CAAC;AArEW,QAAA,aAAa,iBAqExB"}
1
+ {"version":3,"file":"setupCloudRun.js","sourceRoot":"","sources":["../../../../../../../../src/apps/cli/commands/project/setup/setupCloudRun.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,gDAI6B;AAG7B,6EAAwF;AACxF,kGAAiG;AACjG,uEAA4E;AAC5E,yEAAgG;AAChG,sDAAiE;AAE1D,IAAM,aAAa,GAAG,UAC3B,QAAyB,EACzB,OAAyB;;;;;;gBAEzB,IAAI,CAAC,IAAA,yBAAc,EAAC,OAAO,CAAC,eAAe,CAAC,MAAM,E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M,IAAA,iDAAuB,EAAC,MAAM,CAAC,EAAA;;gBAA9C,MAAM,GAAG,SAAqC;gBACpD,QAAQ,CAAC,GAAG,CAAC,iBAAiB,GAAG,MAAM,CAAC,CAAC;gBAEzC,qBAAM,IAAA,2BAAkB,EACtB,QAAQ;wBAEN,GAAC,2CAAgC,IAAG,MAAM;6BAE5C,OAAO,CAAC,WAAW,CAAC,SAAS,EAC7B,OAAO,CAAC,aAAa,EACrB,KAAK,EAAE,SAAS;oBAChB,KAAK,CACN,EAAA;;gBATD,SASC,CAAC;;;;KACH,CAAC;AArEW,QAAA,aAAa,iBAqExB"}
@@ -1,3 +1,3 @@
1
- import type { Context } from "../../../../../../../pipeline/src/index.js";
1
+ import type { ComponentContext } from "../../../../../../../pipeline/src/index.js";
2
2
  import type { CommandInstance } from "vorpal";
3
- export declare const setupContext: (instance: CommandInstance, context: Context) => Promise<void>;
3
+ export declare const setupContext: (instance: CommandInstance, context: ComponentContext) => Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"setupContext.js","sourceRoot":"","sources":["../../../../../../../../src/apps/cli/commands/project/setup/setupContext.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,gDAAqD;AAErD,iDAAgD;AAEhD,qDAAoD;AAE7C,IAAM,YAAY,GAAG,UAC1B,QAAyB,EACzB,OAAgB;;;;;gBAEhB,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;gBACjB,QAAQ,CAAC,GAAG,CACV,oFAAoF,CACrF,CAAC;gBAEF,QAAQ,CAAC,GAAG,CACV,mBAAmB;oBACjB,OAAO,CAAC,WAAW,CAAC,SAAS;oBAC7B,GAAG;oBACH,OAAO,CAAC,aAAa;oBACrB,KAAK,CACR,CAAC;gBACF,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;qBACb,IAAA,yBAAc,EAAC,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,iBAAiB,CAAC,EAAjE,wBAAiE;gBACnE,qBAAM,IAAA,6BAAa,EAAC,QAAQ,EAAE,OAAO,CAAC,EAAA;;gBAAtC,SAAsC,CAAC;;;gBAGnC,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC,MAAM,CAAC;qBAChD,IAAA,yBAAc,EAAC,YAAY,EAAE,YAAY,CAAC,EAA1C,wBAA0C;gBAC5C,qBAAM,IAAA,iCAAe,EAAC,QAAQ,EAAE,OAAO,CAAC,EAAA;;gBAAxC,SAAwC,CAAC;;;gBAG3C,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;gBACjB,QAAQ,CAAC,GAAG,CACV,IAAI;oBACF,OAAO,CAAC,WAAW,CAAC,SAAS;oBAC7B,GAAG;oBACH,OAAO,CAAC,aAAa;oBACrB,QAAQ,CACX,CAAC;gBAEF,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;;;;KAClB,CAAC;AApCW,QAAA,YAAY,gBAoCvB"}
1
+ {"version":3,"file":"setupContext.js","sourceRoot":"","sources":["../../../../../../../../src/apps/cli/commands/project/setup/setupContext.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,gDAAqD;AAErD,iDAAgD;AAEhD,qDAAoD;AAE7C,IAAM,YAAY,GAAG,UAC1B,QAAyB,EACzB,OAAyB;;;;;gBAEzB,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;gBACjB,QAAQ,CAAC,GAAG,CACV,oFAAoF,CACrF,CAAC;gBAEF,QAAQ,CAAC,GAAG,CACV,mBAAmB;oBACjB,OAAO,CAAC,WAAW,CAAC,SAAS;oBAC7B,GAAG;oBACH,OAAO,CAAC,aAAa;oBACrB,KAAK,CACR,CAAC;gBACF,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;qBACb,IAAA,yBAAc,EAAC,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,iBAAiB,CAAC,EAAjE,wBAAiE;gBACnE,qBAAM,IAAA,6BAAa,EAAC,QAAQ,EAAE,OAAO,CAAC,EAAA;;gBAAtC,SAAsC,CAAC;;;gBAGnC,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC,MAAM,CAAC;qBAChD,IAAA,yBAAc,EAAC,YAAY,EAAE,YAAY,CAAC,EAA1C,wBAA0C;gBAC5C,qBAAM,IAAA,iCAAe,EAAC,QAAQ,EAAE,OAAO,CAAC,EAAA;;gBAAxC,SAAwC,CAAC;;;gBAG3C,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;gBACjB,QAAQ,CAAC,GAAG,CACV,IAAI;oBACF,OAAO,CAAC,WAAW,CAAC,SAAS;oBAC7B,GAAG;oBACH,OAAO,CAAC,aAAa;oBACrB,QAAQ,CACX,CAAC;gBAEF,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;;;;KAClB,CAAC;AApCW,QAAA,YAAY,gBAoCvB"}
@@ -1,3 +1,3 @@
1
- import type { Context } from "../../../../../../../pipeline/src/index.js";
1
+ import type { ComponentContext } from "../../../../../../../pipeline/src/index.js";
2
2
  import type { CommandInstance } from "vorpal";
3
- export declare const setupKubernetes: (instance: CommandInstance, context: Context) => Promise<void>;
3
+ export declare const setupKubernetes: (instance: CommandInstance, context: ComponentContext) => Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"setupKubernetes.js","sourceRoot":"","sources":["../../../../../../../../src/apps/cli/commands/project/setup/setupKubernetes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,gDAG6B;AAE7B,+DAA6C;AAC7C,wDAAgE;AAChE,sDAIqC;AACrC,6EAAuD;AAEhD,IAAM,eAAe,GAAG,UAC7B,QAAyB,EACzB,OAAgB;;;;;gBAEV,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC,MAAM,CAAC;gBACpD,IAAI,CAAC,IAAA,yBAAc,EAAC,YAAY,EAAE,YAAY,CAAC,EAAE,CAA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e,mBA2J1B"}
1
+ {"version":3,"file":"setupKubernetes.js","sourceRoot":"","sources":["../../../../../../../../src/apps/cli/commands/project/setup/setupKubernetes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,gDAG6B;AAE7B,+DAA6C;AAC7C,wDAAgE;AAChE,sDAIqC;AACrC,6EAAuD;AAEhD,IAAM,eAAe,GAAG,UAC7B,QAAyB,EACzB,OAAyB;;;;;gBAEnB,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC,MAAM,CAAC;gBACpD,IAAI,CAAC,IAAA,yBAAc,EAAC,YAAY,EAAE,YAAY,CAAC,EAAE,CAAC;oBAChD,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAC;gBAC9E,CAAC;gBAEyB,qBAAM,IAAA,uBAAc,EAAC,QAAQ,CAAC,EAAA;;gBAA5C,SAAS,GAAK,CAAA,SAA8B,CAAA,GAAnC;gBACC,qBAAM,IAAA,wBAAe,EACzC,QAAQ,EACR,mBAAY,SAAS,mBAAgB,CACtC,EAAA;;gBAHK,aAAa,GAAG,SAGrB;qBAGC,CAAC,aAAa,CAAC,IAAI,CACjB,UAAC,CAAmB,IAAK,OAAA,CAAC,CAAC,IAAI,KAAK,qBAAqB,EAAhC,CAAgC,CAC1D,EAFD,wBAEC;gBAED,QAAQ,CAAC,GAAG,CACV,0FAA0F,CAC3F,CAAC;gBAEF,qBAAM,IAAA,wBAAe,EACnB,QAAQ,EACR,mBAAY,SAAS,mBAAgB,EACrC;wBACE,EAAE,EAAE,SAAS;wBACb,IAAI,EAAE,qBAAqB;wBAC3B,MAAM,EAAE,CAAC,eAAe,CAAC;qBAC1B,EACD,MAAM,CACP,EAAA;;gBATD,SASC,CAAC;;;gBAGE,QAAQ,GAAG,IAAA,uCAA4B,EAAC,YAAY,CAAC,OAAO,CAAC,CAAC;gBACpE,QAAQ,CAAC,GAAG,CAAC,mBAAY,QAAQ,CAAE,CAAC,CAAC;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AAG,CACN,CAAC;gBACJ,CAAC;gBAED,QAAQ,CAAC,GAAG,CAAC,qCAAqC,CAAC,CAAC;gBAEpD,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;gBACjB,QAAQ,CAAC,GAAG,CAAC,6BAA6B,CAAC,CAAC;gBAE5C,qBAAM,IAAA,2BAAkB,EACtB,QAAQ,EACR,IAAI,EACJ,OAAO,CAAC,WAAW,CAAC,SAAS,EAC7B,OAAO,CAAC,aAAa,EACrB,KAAK,CACN,EAAA;;gBAND,SAMC,CAAC;gBACF,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;;;;KACvB,CAAC;AA3JW,QAAA,eAAe,mBA2J1B"}
@@ -1,2 +1,2 @@
1
- import type { Context } from "../../../../../../../pipeline/src/index.js";
2
- export default function (context: Context): Promise<string>;
1
+ import type { ComponentContext } from "../../../../../../../pipeline/src/index.js";
2
+ export default function (context: ComponentContext): Promise<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"ensureNamespace.js","sourceRoot":"","sources":["../../../../../../../../src/apps/cli/commands/project/utils/ensureNamespace.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,gDAA6D;AAE7D,uDAAsD;AACtD,gDAAkD;AAElD,mBAA+B,OAAgB;;;;;;;oBACvC,SAAS,GAAG,IAAA,iCAAsB,EACtC,OAAO,CAAC,UAAU,EAClB,OAAO,CAAC,WAAW,CAAC,SAAS,CAC9B,CAAC;oBACI,aAAa,GAAG,IAAI,yBAAW,EAAE,CAAC;oBAClC,QAAQ,GAAiB;wBAC7B,IAAI,EAAE,SAAS;wBACf,MAAM,sBACJ,YAAY,EAAE,OAAO,CAAC,UAAU,CAAC,YAAY,EAC7C,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,EACnC,WAAW,EAAE,OAAO,CAAC,WAAW,CAAC,SAAS,EAC1C,UAAU,EAAE,M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C,EAAA;;oBAA3C,SAA2C,CAAC;;;oBAE5C,OAAO,CAAC,KAAK,CAAC,MAAA,GAAC,CAAC,QAAQ,0CAAE,IAAI,CAAC,CAAC;oBAChC,MAAM,GAAC,CAAC;;wBAGZ,sBAAO,SAAS,EAAC;;;;CAClB;AAnDD,4BAmDC"}
1
+ {"version":3,"file":"ensureNamespace.js","sourceRoot":"","sources":["../../../../../../../../src/apps/cli/commands/project/utils/ensureNamespace.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,gDAA6D;AAE7D,uDAAsD;AACtD,gDAAkD;AAElD,mBAA+B,OAAyB;;;;;;;oBAChD,SAAS,GAAG,IAAA,iCAAsB,EACtC,OAAO,CAAC,UAAU,EAClB,OAAO,CAAC,WAAW,CAAC,SAAS,CAC9B,CAAC;oBACI,aAAa,GAAG,IAAI,yBAAW,EAAE,CAAC;oBAClC,QAAQ,GAAiB;wBAC7B,IAAI,EAAE,SAAS;wBACf,MAAM,sBACJ,YAAY,EAAE,OAAO,CAAC,UAAU,CAAC,YAAY,EAC7C,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,EACnC,WAAW,EAAE,OAAO,CAAC,WAAW,CAAC,SAAS,EAC1C,UAAU,EAAE,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAChE,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC;iCACrD,GAAG,CAAC,UAAC,MAAM,IAAK,OAAA,MAAM,CAAC,KAAK,CAAC,IAAI,EAAjB,CAAiB,CAAC;iCAClC,IAAI,CAAC,GAAG,CAAC,IACT,MAAM,CAAC,WAAW,CACnB,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,GAAG,CAC/C,UAAC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