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:
Vito Albano
2024-07-31 09:59:16 +01:00
committed by GitHub
parent 6f2255faaa
commit b7ecfe6fc4
16 changed files with 309 additions and 1542 deletions

View File

@@ -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');

View File

@@ -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();

View File

@@ -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();

View File

@@ -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,

View File

@@ -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 *****`);

View File

@@ -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 *****`);

View File

@@ -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) {