Hey developers! ![]()
Weβre excited to introduce canva apps doctor, a new @canva/cli command to catch and fix issues before submitting your app for review .
What does it check?
Missing dependencies β Ensures all required packages are installed.
Outdated packages β Checks for newer versions of critical dependencies.
Linting & formatting errors β Helps maintain clean, consistent code.
Runs your tests β Ensures everything is working before submission.
How to Use It
Run the following inside your Canva Appβs directory :
npm i -g @canva/cli@latest
canva apps doctor
Or run it without installation:
npx @canva/cli@latest apps doctor
canva apps doctor walks you through potential issues and automatically fixes some when possible.
Available Flags
Customize canva apps doctor with the following flags:
--fix: Automatically applies fixes where possible.
canva apps doctor --fix
--report: Outputs check results without prompting for fixes.
canva apps doctor --report
Help Us Improve It!
We want your input! What checks would make your life easier? Tell us in the comments or via our quick survey.
Try it out now and let us know what you think!