@catladder/cli 0.0.0-inventory-0c6937e9 → 0.0.0-inventory-ee7caa55
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.
|
@@ -39087,7 +39087,7 @@ var yarn_1 = __nccwpck_require__(464);
|
|
|
39087
39087
|
var reportingJob_1 = __nccwpck_require__(9572);
|
|
39088
39088
|
|
|
39089
39089
|
var createNodeBuildJobs = function (context) {
|
|
39090
|
-
var _a, _b, _c, _d, _e, _f;
|
|
39090
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
39091
39091
|
|
|
39092
39092
|
var buildConfig = context.componentConfig.build;
|
|
39093
39093
|
|
|
@@ -39096,16 +39096,17 @@ var createNodeBuildJobs = function (context) {
|
|
|
39096
39096
|
}
|
|
39097
39097
|
|
|
39098
39098
|
var yarnInstall = (0, yarn_1.getYarnInstall)(context);
|
|
39099
|
-
var yarnReportDependenciesListCommand = ((_a = context.packageManagerInfo) === null || _a === void 0 ? void 0 : _a.isClassic) ? "npm ls --depth 0 --json | jq '.dependencies | to_entries | .[] | {artifact: .key, version: .value.version, type: \"npm\"}'" : "yarn info --json -A| jq '{version: .children.Version, artifact: .value, type: \"npm\" }'";
|
|
39099
|
+
var yarnReportDependenciesListCommand = ((_a = context.packageManagerInfo) === null || _a === void 0 ? void 0 : _a.isClassic) ? "npm ls --depth 0 --json -prod | jq '.dependencies | to_entries | .[] | {artifact: .key, version: .value.version, type: \"npm\"}'" : "yarn info --json -A| jq '{version: .children.Version, artifact: .value, type: \"npm\" }'";
|
|
39100
|
+
var debugcom = ((_b = context.packageManagerInfo) === null || _b === void 0 ? void 0 : _b.isClassic) ? "npm ls --depth 0 --json -prod" : "yarn info --json -A";
|
|
39100
39101
|
var yarnReportDependenciesCommand = ["mkdir -p ".concat(reportingJob_1.INVENTORY_ARTIFACTS_DIR_DEPENDENCIES), yarnReportDependenciesListCommand + " > " + reportingJob_1.INVENTORY_ARTIFACTS_DIR_DEPENDENCIES + "/app.jsonl"];
|
|
39101
39102
|
var appBuildJob = buildConfig.buildCommand !== null ? (0, createBuildJob_1.createBuildJob)(context, {
|
|
39102
39103
|
variables: __assign({}, constants_2.NODE_RUNNER_BUILD_VARIABLES),
|
|
39103
39104
|
cache: __spreadArray(__spreadArray([], __read((0, cache_1.getNodeCache)(context)), false), __read((0, cache_1.getNextCache)(context)), false),
|
|
39104
|
-
script: __spreadArray(__spreadArray(__spreadArray([], __read(yarnInstall), false), __read((
|
|
39105
|
+
script: __spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read(yarnInstall), false), __read((_c = (0, utils_1.ensureArray)(buildConfig.buildCommand)) !== null && _c !== void 0 ? _c : []), false), [debugcom], false), __read(yarnReportDependenciesCommand), false),
|
|
39105
39106
|
artifacts: {
|
|
39106
|
-
paths: __spreadArray([(0, path_1.join)(context.componentConfig.dir, "dist"), (0, path_1.join)(context.componentConfig.dir, ".next")], __read((
|
|
39107
|
+
paths: __spreadArray([(0, path_1.join)(context.componentConfig.dir, "dist"), (0, path_1.join)(context.componentConfig.dir, ".next")], __read((_e = (_d = buildConfig.artifactsPaths) === null || _d === void 0 ? void 0 : _d.map(function (path) {
|
|
39107
39108
|
return (0, path_1.join)(context.componentConfig.dir, path);
|
|
39108
|
-
})) !== null &&
|
|
39109
|
+
})) !== null && _e !== void 0 ? _e : []), false)
|
|
39109
39110
|
}
|
|
39110
39111
|
}) : null;
|
|
39111
39112
|
return __spreadArray(__spreadArray([], __read(appBuildJob ? [appBuildJob] : []), false), __read((0, docker_1.requiresDockerBuild)(context) ? [(0, docker_1.createDockerBuildJobDefault)(context, {
|
|
@@ -39120,9 +39121,9 @@ var createNodeBuildJobs = function (context) {
|
|
|
39120
39121
|
prodOnly: true,
|
|
39121
39122
|
noScripts: true
|
|
39122
39123
|
}),
|
|
39123
|
-
DOCKER_COPY_WORKSPACE_FILES: (
|
|
39124
|
+
DOCKER_COPY_WORKSPACE_FILES: (_g = (_f = context.packageManagerInfo) === null || _f === void 0 ? void 0 : _f.pathsToCopyInDocker.map(function (dir) {
|
|
39124
39125
|
return "COPY --chown=node:node ".concat(dir, " /app/").concat(dir);
|
|
39125
|
-
})) === null ||
|
|
39126
|
+
})) === null || _g === void 0 ? void 0 : _g.join("\n")
|
|
39126
39127
|
},
|
|
39127
39128
|
needs: appBuildJob ? [constants_1.APP_BUILD_JOB_NAME] : []
|
|
39128
39129
|
})] : []), false);
|
|
@@ -39838,7 +39839,7 @@ exports.readConfigSync = readConfigSync;
|
|
|
39838
39839
|
|
|
39839
39840
|
exports.__esModule = true;
|
|
39840
39841
|
exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
|
|
39841
|
-
exports.PIPELINE_IMAGE_TAG = "inventory-
|
|
39842
|
+
exports.PIPELINE_IMAGE_TAG = "inventory-ee7caa55" || 0;
|
|
39842
39843
|
exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
|
|
39843
39844
|
|
|
39844
39845
|
/***/ }),
|
|
@@ -349859,7 +349859,7 @@ var yarn_1 = __nccwpck_require__(10464);
|
|
|
349859
349859
|
var reportingJob_1 = __nccwpck_require__(89572);
|
|
349860
349860
|
|
|
349861
349861
|
var createNodeBuildJobs = function (context) {
|
|
349862
|
-
var _a, _b, _c, _d, _e, _f;
|
|
349862
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
349863
349863
|
|
|
349864
349864
|
var buildConfig = context.componentConfig.build;
|
|
349865
349865
|
|
|
@@ -349868,16 +349868,17 @@ var createNodeBuildJobs = function (context) {
|
|
|
349868
349868
|
}
|
|
349869
349869
|
|
|
349870
349870
|
var yarnInstall = (0, yarn_1.getYarnInstall)(context);
|
|
349871
|
-
var yarnReportDependenciesListCommand = ((_a = context.packageManagerInfo) === null || _a === void 0 ? void 0 : _a.isClassic) ? "npm ls --depth 0 --json | jq '.dependencies | to_entries | .[] | {artifact: .key, version: .value.version, type: \"npm\"}'" : "yarn info --json -A| jq '{version: .children.Version, artifact: .value, type: \"npm\" }'";
|
|
349871
|
+
var yarnReportDependenciesListCommand = ((_a = context.packageManagerInfo) === null || _a === void 0 ? void 0 : _a.isClassic) ? "npm ls --depth 0 --json -prod | jq '.dependencies | to_entries | .[] | {artifact: .key, version: .value.version, type: \"npm\"}'" : "yarn info --json -A| jq '{version: .children.Version, artifact: .value, type: \"npm\" }'";
|
|
349872
|
+
var debugcom = ((_b = context.packageManagerInfo) === null || _b === void 0 ? void 0 : _b.isClassic) ? "npm ls --depth 0 --json -prod" : "yarn info --json -A";
|
|
349872
349873
|
var yarnReportDependenciesCommand = ["mkdir -p ".concat(reportingJob_1.INVENTORY_ARTIFACTS_DIR_DEPENDENCIES), yarnReportDependenciesListCommand + " > " + reportingJob_1.INVENTORY_ARTIFACTS_DIR_DEPENDENCIES + "/app.jsonl"];
|
|
349873
349874
|
var appBuildJob = buildConfig.buildCommand !== null ? (0, createBuildJob_1.createBuildJob)(context, {
|
|
349874
349875
|
variables: __assign({}, constants_2.NODE_RUNNER_BUILD_VARIABLES),
|
|
349875
349876
|
cache: __spreadArray(__spreadArray([], __read((0, cache_1.getNodeCache)(context)), false), __read((0, cache_1.getNextCache)(context)), false),
|
|
349876
|
-
script: __spreadArray(__spreadArray(__spreadArray([], __read(yarnInstall), false), __read((
|
|
349877
|
+
script: __spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read(yarnInstall), false), __read((_c = (0, utils_1.ensureArray)(buildConfig.buildCommand)) !== null && _c !== void 0 ? _c : []), false), [debugcom], false), __read(yarnReportDependenciesCommand), false),
|
|
349877
349878
|
artifacts: {
|
|
349878
|
-
paths: __spreadArray([(0, path_1.join)(context.componentConfig.dir, "dist"), (0, path_1.join)(context.componentConfig.dir, ".next")], __read((
|
|
349879
|
+
paths: __spreadArray([(0, path_1.join)(context.componentConfig.dir, "dist"), (0, path_1.join)(context.componentConfig.dir, ".next")], __read((_e = (_d = buildConfig.artifactsPaths) === null || _d === void 0 ? void 0 : _d.map(function (path) {
|
|
349879
349880
|
return (0, path_1.join)(context.componentConfig.dir, path);
|
|
349880
|
-
})) !== null &&
|
|
349881
|
+
})) !== null && _e !== void 0 ? _e : []), false)
|
|
349881
349882
|
}
|
|
349882
349883
|
}) : null;
|
|
349883
349884
|
return __spreadArray(__spreadArray([], __read(appBuildJob ? [appBuildJob] : []), false), __read((0, docker_1.requiresDockerBuild)(context) ? [(0, docker_1.createDockerBuildJobDefault)(context, {
|
|
@@ -349892,9 +349893,9 @@ var createNodeBuildJobs = function (context) {
|
|
|
349892
349893
|
prodOnly: true,
|
|
349893
349894
|
noScripts: true
|
|
349894
349895
|
}),
|
|
349895
|
-
DOCKER_COPY_WORKSPACE_FILES: (
|
|
349896
|
+
DOCKER_COPY_WORKSPACE_FILES: (_g = (_f = context.packageManagerInfo) === null || _f === void 0 ? void 0 : _f.pathsToCopyInDocker.map(function (dir) {
|
|
349896
349897
|
return "COPY --chown=node:node ".concat(dir, " /app/").concat(dir);
|
|
349897
|
-
})) === null ||
|
|
349898
|
+
})) === null || _g === void 0 ? void 0 : _g.join("\n")
|
|
349898
349899
|
},
|
|
349899
349900
|
needs: appBuildJob ? [constants_1.APP_BUILD_JOB_NAME] : []
|
|
349900
349901
|
})] : []), false);
|
|
@@ -350610,7 +350611,7 @@ exports.readConfigSync = readConfigSync;
|
|
|
350610
350611
|
|
|
350611
350612
|
exports.__esModule = true;
|
|
350612
350613
|
exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
|
|
350613
|
-
exports.PIPELINE_IMAGE_TAG = "inventory-
|
|
350614
|
+
exports.PIPELINE_IMAGE_TAG = "inventory-ee7caa55" || 0;
|
|
350614
350615
|
exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
|
|
350615
350616
|
|
|
350616
350617
|
/***/ }),
|
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-inventory-
|
|
27
|
+
"@catladder/pipeline": "0.0.0-inventory-ee7caa55",
|
|
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-inventory-
|
|
60
|
+
"version": "0.0.0-inventory-ee7caa55",
|
|
61
61
|
"stableVersion": "0.0.0"
|
|
62
62
|
}
|