mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Fix/AAE 24522 js api build (#10010)
* Fixing js-api build * AAE-24522 js api build normally * [ci:force] * [ci:force] * [ci:force] - package-lock update * [ci:force] - fixing dependsOn for cli and testing * [ci:force] - These changes needs to be reviewed
This commit is contained in:
@@ -51,7 +51,7 @@ export default function main(_args: string[], workingDir: string) {
|
||||
exit(0);
|
||||
}
|
||||
|
||||
const options = program.opts<AuditCommandArgs>();
|
||||
const options: AuditCommandArgs = program.opts();
|
||||
|
||||
let packagePath = path.resolve(workingDir, 'package.json');
|
||||
|
||||
|
@@ -50,7 +50,7 @@ export default async function main() {
|
||||
.option('-r, --retry [type]', 'retry ')
|
||||
.parse(argv);
|
||||
|
||||
const opts = program.opts<CheckCsEnvArgs>();
|
||||
const opts = program.opts();
|
||||
await checkEnv(opts);
|
||||
// TODO: https://alfresco.atlassian.net/browse/ACS-5873
|
||||
// await checkDiskSpaceFullEnv();
|
||||
|
@@ -50,7 +50,7 @@ export default async function main() {
|
||||
.option('--ui, --uiName [type]', 'uiName', 'Deployed app UI type on activiti-cloud')
|
||||
.parse(argv);
|
||||
|
||||
const options = program.opts<CheckPluginArgs>();
|
||||
const options = program.opts();
|
||||
|
||||
pluginEnv = new CheckEnv(options.host, options.username, options.password, options.clientId);
|
||||
await pluginEnv.checkEnv();
|
||||
|
@@ -755,7 +755,7 @@ export default async function main() {
|
||||
return;
|
||||
}
|
||||
|
||||
const options = initializeDefaultToken(program.opts());
|
||||
const options = initializeDefaultToken(program.opts() as ConfigArgs);
|
||||
|
||||
args = {
|
||||
host: options.host,
|
||||
|
@@ -49,7 +49,7 @@ export default async function main() {
|
||||
.option('-u, --username [type]', 'username ')
|
||||
.parse(argv);
|
||||
|
||||
const opts = program.opts<InitAcsEnvArgs>();
|
||||
const opts = program.opts();
|
||||
await checkEnv(opts);
|
||||
|
||||
logger.info(`***** Step initialize ACS *****`);
|
||||
|
@@ -65,7 +65,7 @@ export default async function main() {
|
||||
.option('--license [type]', 'APS license S3 path ')
|
||||
.parse(argv);
|
||||
|
||||
const opts = program.opts<InitApsEnvArgs>();
|
||||
const opts = program.opts();
|
||||
await checkEnv(opts);
|
||||
|
||||
logger.info(`***** Step 1 - Check License *****`);
|
||||
|
@@ -115,7 +115,7 @@ export default function main(_args: string[], workingDir: string) {
|
||||
exit(0);
|
||||
}
|
||||
|
||||
const options = program.opts<LicensesCommandArgs>();
|
||||
const options: LicensesCommandArgs = program.opts();
|
||||
let packagePath = path.resolve(workingDir, 'package.json');
|
||||
|
||||
if (options.package) {
|
||||
|
Reference in New Issue
Block a user