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> |
||
|---|---|---|
| .. | ||
| backup.js | ||
| backup.test.js | ||
| check_replica_set.js | ||
| constants.js | ||
| export_db.js | ||
| import_db.js | ||
| index.js | ||
| logger.js | ||
| mailer.js | ||
| mongo_shell_utils.js | ||
| move-to-postgres.mjs | ||
| restore.js | ||
| utils.js | ||
| utils.test.js | ||
| version.js | ||