PromucFlow_constructor/deploy/docker/fs/opt/appsmith/utils/bin
Shrikant Sharat Kandula d6f6920a9a
chore: Remove shelljs from appsmithctl (#37401)
Remove `shelljs` dependency from `appsmithctl`, instead using our own
much smaller utility functions to run external commands.

Now `esbuild` should be able to build `appsmithctl` project nicely! For
a future PR.


## Automation

/test sanity

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/11854060567>
> Commit: d25bb8d69aca8b51339fba03ba608b58afbb3459
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=11854060567&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Fri, 15 Nov 2024 10:27:05 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced an asynchronous database import process for improved
control flow and error handling.
- Added a new function to execute commands and return their output as a
promise.

- **Bug Fixes**
- Enhanced error handling to ensure the supervisor is running before
proceeding with database operations.

- **Tests**
- Added a new test suite for the command execution function, validating
various output scenarios.

- **Chores**
	- Removed unnecessary dependencies from the project configuration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com>
2024-11-15 19:27:02 +05:30
..
backup.js chore: Remove shelljs from more appsmithctl commands (#37383) 2024-11-14 19:17:19 +05:30
backup.test.js chore: Remove shelljs from more appsmithctl commands (#37383) 2024-11-14 19:17:19 +05:30
check_replica_set.js test: Enable server tests for the PRs with base PG branch (#33429) 2024-05-22 15:55:20 +05:30
constants.js chore: Remove shelljs use from backup command (#37356) 2024-11-14 10:33:27 +05:30
export_db.js chore: Remove shelljs from more appsmithctl commands (#37383) 2024-11-14 19:17:19 +05:30
import_db.js chore: Remove shelljs from appsmithctl (#37401) 2024-11-15 19:27:02 +05:30
index.js chore: Remove shelljs from appsmithctl (#37401) 2024-11-15 19:27:02 +05:30
logger.js
mailer.js chore: Remove shelljs from more appsmithctl commands (#37383) 2024-11-14 19:17:19 +05:30
mongo_shell_utils.js test: Enable server tests for the PRs with base PG branch (#33429) 2024-05-22 15:55:20 +05:30
move-to-postgres.mjs chore: Add mongo data migration check before initializing the postgres dump (#37059) 2024-11-05 08:26:02 +05:30
restore.js chore: Remove shelljs from more appsmithctl commands (#37383) 2024-11-14 19:17:19 +05:30
utils.js chore: Remove shelljs from appsmithctl (#37401) 2024-11-15 19:27:02 +05:30
utils.test.js chore: Remove shelljs from appsmithctl (#37401) 2024-11-15 19:27:02 +05:30
version.js