From 046397ca37ed5c058f312aef7b86e7a2803985d8 Mon Sep 17 00:00:00 2001 From: Idan luftig Date: Thu, 27 Nov 2025 10:37:29 +0200 Subject: [PATCH 1/8] this is a beta1 [beta] --- package.json | 2 +- src/commands/app/scaffold.ts | 2 ++ src/services/scaffold-service.ts | 12 ------------ 3 files changed, 3 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index b3bd248..9687049 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mondaycom/apps-cli", - "version": "4.9.2", + "version": "4.9.3-beta.1", "description": "A cli tool to manage apps (and monday-code projects) in monday.com", "author": "monday.com Apps Team", "type": "module", diff --git a/src/commands/app/scaffold.ts b/src/commands/app/scaffold.ts index b3cf054..3d357d0 100644 --- a/src/commands/app/scaffold.ts +++ b/src/commands/app/scaffold.ts @@ -144,5 +144,7 @@ export default class AppScaffold extends BaseCommand { ` cd ${ctx.project.name}\n` + ` npm run ${ctx.startCommand}`, ); + + await new Promise(() => {}); } } diff --git a/src/services/scaffold-service.ts b/src/services/scaffold-service.ts index 1b28407..7ca7b92 100644 --- a/src/services/scaffold-service.ts +++ b/src/services/scaffold-service.ts @@ -133,17 +133,6 @@ export const runProjectTask = async (ctx: ScaffoldTaskContext, task: ListrTaskWr stdio: 'inherit', }); - // Handle process cleanup on exit - const cleanup = () => { - if (!startProcess.killed) { - startProcess.kill('SIGTERM'); - } - }; - - process.on('SIGINT', cleanup); - process.on('SIGTERM', cleanup); - process.on('exit', cleanup); - startProcess.on('exit', code => { if (code === 0) { task.title = 'Project started successfully'; @@ -158,7 +147,6 @@ export const runProjectTask = async (ctx: ScaffoldTaskContext, task: ListrTaskWr reject(new Error(`Failed to start project: ${error.message}`)); }); - // Resolve after a short delay to let the process start setTimeout(() => { task.title = `Project is running (npm run ${ctx.startCommand})`; resolve(); From 0055b9b47d6c5b1b585e8a9c18c7308f376f3926 Mon Sep 17 00:00:00 2001 From: Idan luftig Date: Thu, 27 Nov 2025 11:26:42 +0200 Subject: [PATCH 2/8] Update version to 4.9.3 --- package.json | 2 +- src/commands/app/scaffold.ts | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 9687049..034a38c 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mondaycom/apps-cli", - "version": "4.9.3-beta.1", + "version": "4.9.3", "description": "A cli tool to manage apps (and monday-code projects) in monday.com", "author": "monday.com Apps Team", "type": "module", diff --git a/src/commands/app/scaffold.ts b/src/commands/app/scaffold.ts index 3d357d0..812fc77 100644 --- a/src/commands/app/scaffold.ts +++ b/src/commands/app/scaffold.ts @@ -136,15 +136,16 @@ export default class AppScaffold extends BaseCommand { ]); await tasks.run(ctx); + logger.success( `Project is running at: ${ctx.projectPath}\n` + - `Running command: npm run ${ctx.startCommand}\n` + - `To stop: Press Ctrl+C\n` + `To run manually later:\n` + ` cd ${ctx.project.name}\n` + - ` npm run ${ctx.startCommand}`, + ` npm run ${ctx.startCommand}\n\n` + + `Press Enter to enter access token and view the tunnel URL\n\n`, ); + // Keep scaffold process alive so dev server continues running await new Promise(() => {}); } } From 9a174aa6baafbf0bafed7b0a00b3d6ff84755332 Mon Sep 17 00:00:00 2001 From: Idan luftig Date: Thu, 27 Nov 2025 12:07:33 +0200 Subject: [PATCH 3/8] return cleenup --- src/services/scaffold-service.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/services/scaffold-service.ts b/src/services/scaffold-service.ts index 7ca7b92..1b28407 100644 --- a/src/services/scaffold-service.ts +++ b/src/services/scaffold-service.ts @@ -133,6 +133,17 @@ export const runProjectTask = async (ctx: ScaffoldTaskContext, task: ListrTaskWr stdio: 'inherit', }); + // Handle process cleanup on exit + const cleanup = () => { + if (!startProcess.killed) { + startProcess.kill('SIGTERM'); + } + }; + + process.on('SIGINT', cleanup); + process.on('SIGTERM', cleanup); + process.on('exit', cleanup); + startProcess.on('exit', code => { if (code === 0) { task.title = 'Project started successfully'; @@ -147,6 +158,7 @@ export const runProjectTask = async (ctx: ScaffoldTaskContext, task: ListrTaskWr reject(new Error(`Failed to start project: ${error.message}`)); }); + // Resolve after a short delay to let the process start setTimeout(() => { task.title = `Project is running (npm run ${ctx.startCommand})`; resolve(); From dceac34b6bdfdefb0688a75d485b36fc595df75e Mon Sep 17 00:00:00 2001 From: Idan luftig Date: Thu, 27 Nov 2025 12:10:00 +0200 Subject: [PATCH 4/8] this is bets2 [beta] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 034a38c..f077f5a 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mondaycom/apps-cli", - "version": "4.9.3", + "version": "4.9.3-beta.2", "description": "A cli tool to manage apps (and monday-code projects) in monday.com", "author": "monday.com Apps Team", "type": "module", From 035b2a372618db59e460fc3547823cf03a4c1924 Mon Sep 17 00:00:00 2001 From: Idan luftig Date: Thu, 27 Nov 2025 12:26:32 +0200 Subject: [PATCH 5/8] fixing maor's notes --- package.json | 2 +- src/commands/app/scaffold.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f077f5a..034a38c 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mondaycom/apps-cli", - "version": "4.9.3-beta.2", + "version": "4.9.3", "description": "A cli tool to manage apps (and monday-code projects) in monday.com", "author": "monday.com Apps Team", "type": "module", diff --git a/src/commands/app/scaffold.ts b/src/commands/app/scaffold.ts index 812fc77..ea58538 100644 --- a/src/commands/app/scaffold.ts +++ b/src/commands/app/scaffold.ts @@ -142,7 +142,7 @@ export default class AppScaffold extends BaseCommand { `To run manually later:\n` + ` cd ${ctx.project.name}\n` + ` npm run ${ctx.startCommand}\n\n` + - `Press Enter to enter access token and view the tunnel URL\n\n`, + `Press Enter to provide your access token and view the tunnel URL\n`, ); // Keep scaffold process alive so dev server continues running From 731e4536068625c3f3cdbe3751febebe35bc30cc Mon Sep 17 00:00:00 2001 From: Idan luftig Date: Thu, 11 Jun 2026 11:48:17 +0300 Subject: [PATCH 6/8] fix(manifest): increase manifest import/create HTTP timeout to 2 minutes Co-Authored-By: Claude Sonnet 4.6 --- src/services/import-manifest-service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/import-manifest-service.ts b/src/services/import-manifest-service.ts index 43e20b4..382f4df 100644 --- a/src/services/import-manifest-service.ts +++ b/src/services/import-manifest-service.ts @@ -122,7 +122,7 @@ const updateAppFromManifest = async (buffer: Buffer, appId: AppId, appVersionId? method: HttpMethodTypes.PUT, body: formData, query: { ...(appVersionId && { appVersionId }) }, - timeout: TIME_IN_MILLISECONDS.SECOND * 30, + timeout: TIME_IN_MILLISECONDS.MINUTE * 2, }); return response; }; @@ -138,7 +138,7 @@ const createAppFromManifest = async (buffer: Buffer) => { headers: { Accept: 'application/json', 'Content-Type': 'multipart/form-data' }, method: HttpMethodTypes.POST, body: formData, - timeout: TIME_IN_MILLISECONDS.SECOND * 30, + timeout: TIME_IN_MILLISECONDS.MINUTE * 2, }); return response; }; From 0805ad3df51e312f0910495e578f56e549a07e75 Mon Sep 17 00:00:00 2001 From: Idan luftig Date: Thu, 11 Jun 2026 12:20:15 +0300 Subject: [PATCH 7/8] chore: remove unintended changes from manifest timeout PR Co-Authored-By: Claude Sonnet 4.6 --- package.json | 2 +- src/commands/app/scaffold.ts | 9 +++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 034a38c..b3bd248 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mondaycom/apps-cli", - "version": "4.9.3", + "version": "4.9.2", "description": "A cli tool to manage apps (and monday-code projects) in monday.com", "author": "monday.com Apps Team", "type": "module", diff --git a/src/commands/app/scaffold.ts b/src/commands/app/scaffold.ts index ea58538..b3cf054 100644 --- a/src/commands/app/scaffold.ts +++ b/src/commands/app/scaffold.ts @@ -136,16 +136,13 @@ export default class AppScaffold extends BaseCommand { ]); await tasks.run(ctx); - logger.success( `Project is running at: ${ctx.projectPath}\n` + + `Running command: npm run ${ctx.startCommand}\n` + + `To stop: Press Ctrl+C\n` + `To run manually later:\n` + ` cd ${ctx.project.name}\n` + - ` npm run ${ctx.startCommand}\n\n` + - `Press Enter to provide your access token and view the tunnel URL\n`, + ` npm run ${ctx.startCommand}`, ); - - // Keep scaffold process alive so dev server continues running - await new Promise(() => {}); } } From beda9204704d412b600317a22f7c6ae3be73cab9 Mon Sep 17 00:00:00 2001 From: Idan luftig Date: Thu, 11 Jun 2026 12:21:10 +0300 Subject: [PATCH 8/8] chore: bump version to 4.9.3 Co-Authored-By: Claude Sonnet 4.6 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b3bd248..034a38c 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mondaycom/apps-cli", - "version": "4.9.2", + "version": "4.9.3", "description": "A cli tool to manage apps (and monday-code projects) in monday.com", "author": "monday.com Apps Team", "type": "module",