fix different version commander

use same commander main pkg
This commit is contained in:
eromano
2022-07-27 09:54:50 +02:00
parent 84b6204dbe
commit a87bf9ab23
16 changed files with 18 additions and 18 deletions

View File

@@ -287,9 +287,9 @@
}
},
"commander": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
"integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA=="
"version": "6.2.1",
"resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz",
"integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA=="
},
"component-emitter": {
"version": "1.3.0",

View File

@@ -21,7 +21,7 @@
},
"dependencies": {
"@alfresco/js-api": "4.12.0-197",
"commander": "^4.0.0",
"commander": "6.2.1",
"ejs": "^2.6.1",
"license-checker": "^25.0.1",
"npm-registry-fetch": "^4.0.5",

View File

@@ -19,7 +19,7 @@
import { exec } from './exec';
import { logger } from './logger';
import * as program from 'commander';
import program from 'commander';
function test(output: string) {
const response = exec('test !', [`-d ${output} && mkdir ${output}`], {});

View File

@@ -19,7 +19,7 @@
import { exec } from './exec';
import { logger } from './logger';
import * as program from 'commander';
import program from 'commander';
function zipArtifact(artifact: string) {
logger.info(`Perform zip artifact ${artifact}`);

View File

@@ -21,7 +21,7 @@ import * as shell from 'shelljs';
import * as ejs from 'ejs';
import * as path from 'path';
import * as fs from 'fs';
import * as program from 'commander';
import program from 'commander';
export default function main(_args: string[], workingDir: string) {
program

View File

@@ -21,7 +21,7 @@
import * as shell from 'shelljs';
import * as path from 'path';
import * as program from 'commander';
import program from 'commander';
import * as fs from 'fs';
import * as ejs from 'ejs';

View File

@@ -18,7 +18,7 @@
*/
import { exec } from './exec';
import * as program from 'commander';
import program from 'commander';
import { logger } from './logger';
import { resolve } from 'path';

View File

@@ -17,7 +17,7 @@
* limitations under the License.
*/
import * as program from 'commander';
import program from 'commander';
import request = require('request');
import * as fs from 'fs';
import { logger } from './logger';

View File

@@ -17,7 +17,7 @@
* limitations under the License.
*/
import * as program from 'commander';
import program from 'commander';
import moment from 'moment';
import { AlfrescoApi, AlfrescoApiConfig } from '@alfresco/js-api';
import { logger } from './logger';

View File

@@ -17,7 +17,7 @@
* limitations under the License.
*/
import * as program from 'commander';
import program from 'commander';
import * as kube from './kube-utils';
// eslint-disable-next-line prefer-arrow/prefer-arrow-functions

View File

@@ -18,7 +18,7 @@
*/
import { exec } from './exec';
import * as program from 'commander';
import program from 'commander';
import { logger } from './logger';
import * as kube from './kube-utils';

View File

@@ -22,7 +22,7 @@ import * as fs from 'fs';
import * as checker from 'license-checker';
import * as licenseList from 'spdx-license-list';
import * as ejs from 'ejs';
import * as program from 'commander';
import program from 'commander';
interface PackageInfo {
name: string;

View File

@@ -20,7 +20,7 @@
import * as path from 'path';
import fs = require('fs');
import { exec } from './exec';
import * as program from 'commander';
import program from 'commander';
import { logger } from './logger';
export interface PublishArgs {

View File

@@ -1,5 +1,5 @@
import { AlfrescoApi, PeopleApi, NodesApi, GroupsApi, SitesApi, SearchApi, AlfrescoApiConfig } from '@alfresco/js-api';
import * as program from 'commander';
import program from 'commander';
import { logger } from './logger';
interface PeopleTally { enabled: number; disabled: number }

View File

@@ -18,7 +18,7 @@
*/
import { exec } from './exec';
import * as program from 'commander';
import program from 'commander';
import { logger } from './logger';
export interface CommitArgs {

View File

@@ -17,7 +17,7 @@
* limitations under the License.
*/
import * as program from 'commander';
import program from 'commander';
import * as path from 'path';
import * as fs from 'fs';
import * as shell from 'shelljs';