Updating cli outputs and fixing paths after root directory was modified in tsconfig.json

This commit is contained in:
Peter Murray
2022-09-26 16:53:00 +00:00
committed by GitHub
parent 757c626a9b
commit ff0d21ebbf
5 changed files with 13 additions and 12 deletions
Binary file not shown.
+8 -8
View File
@@ -1,7 +1,7 @@
require('./sourcemap-register.js');/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({
/***/ 4622:
/***/ 8047:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -174,7 +174,7 @@ function getDirectDependencies(rootPackageNumericId, dependencies) {
/***/ }),
/***/ 4822:
/***/ 9726:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -214,7 +214,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
Object.defineProperty(exports, "__esModule", ({ value: true }));
const core = __importStar(__nccwpck_require__(2186));
const dependency_submission_toolkit_1 = __nccwpck_require__(9810);
const snapshot_generator_1 = __nccwpck_require__(7987);
const snapshot_generator_1 = __nccwpck_require__(2963);
function run() {
return __awaiter(this, void 0, void 0, function* () {
let snapshot;
@@ -241,7 +241,7 @@ run();
/***/ }),
/***/ 7987:
/***/ 2963:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -284,8 +284,8 @@ const exec = __importStar(__nccwpck_require__(1514));
const core = __importStar(__nccwpck_require__(2186));
const path = __importStar(__nccwpck_require__(1017));
const dependency_submission_toolkit_1 = __nccwpck_require__(9810);
const depgraph_1 = __nccwpck_require__(4622);
const version = (__nccwpck_require__(4147)/* .version */ .i8);
const depgraph_1 = __nccwpck_require__(8047);
const version = (__nccwpck_require__(2876)/* .version */ .i8);
function generateSnapshot(directory, context, job) {
return __awaiter(this, void 0, void 0, function* () {
const depgraph = yield generateDependencyGraph(directory);
@@ -15694,7 +15694,7 @@ module.exports = require("zlib");
/***/ }),
/***/ 4147:
/***/ 2876:
/***/ ((module) => {
"use strict";
@@ -15744,7 +15744,7 @@ module.exports = {"i8":"1.1.0"};
/******/ // startup
/******/ // Load entry module and return exports
/******/ // This entry module is referenced by other modules so it can't be inlined
/******/ var __webpack_exports__ = __nccwpck_require__(4822);
/******/ var __webpack_exports__ = __nccwpck_require__(9726);
/******/ module.exports = __webpack_exports__;
/******/
/******/ })()
+1 -1
View File
File diff suppressed because one or more lines are too long
+3 -2
View File
@@ -4,8 +4,9 @@
"description": "",
"main": "index.js",
"scripts": {
"build": "npm ci && tsc && npm exec -- @vercel/ncc build --source-map lib/index.js",
"pre-build-exe": "npm ci && tsc && npm exec -- @vercel/ncc build lib/executable/cli.js -o runtime",
"base-build": "npm ci && tsc",
"build": "npm run base-build && npm exec -- @vercel/ncc build --source-map lib/src/index.js",
"pre-build-exe": "npm run base-build && npm exec -- @vercel/ncc build lib/src/executable/cli.js -o runtime",
"build-exe-linux-x64": "npm run pre-build-exe && nexe -i runtime/index.js -t linux-x64-14.15.3 -o cli/maven-dependency-submission-linux-x64",
"test": "jest"
},
+1 -1
View File
@@ -8,7 +8,7 @@ program.version(pkg.version);
program.requiredOption('-t, --token <token>', 'GitHub access token');
program.requiredOption('-r --repository <repository>', 'GitHub repository, owner/repo_name format');
program.requiredOption('-b --branch-ref <ref>', 'GitHub repository branch reference');
program.requiredOption('-b --branch-ref <ref>', 'GitHub repository branch reference, e.g. /refs/heads/main');
program.requiredOption('-s --sha <commitSha>', 'GitHub repository commit SHA');
program.option('-d --directory <maven-project-directory>', 'the directory containing the Maven POM file', '.');