@canva/cli 2.0.2 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +5 -0
  3. package/cli.js +531 -525
  4. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## v2.1.0 - 2026-05-20
4
+
5
+ ### Added
6
+
7
+ - Add `--dry-run` flag to `canva apps migrate` command to allow previewing of changes.
8
+
3
9
  ## v2.0.2 - 2026-05-06
4
10
 
5
11
  ### Fixed
package/README.md CHANGED
@@ -318,12 +318,17 @@ canva apps migrate <migrationName>
318
318
  - `"app-ui-kit-v5"`: Migrates apps using App UI Kit v4 to v5.
319
319
  - `"design-editor-intent"`: Migrates from direct render pattern to design intents pattern.
320
320
 
321
+ - **Flags**:
322
+ - `--dry-run`: Preview changes without modifying files. Generates a markdown preview file showing all proposed changes.
323
+ - `--debug`: Show detailed debug output.
324
+
321
325
  - **Examples**:
322
326
 
323
327
  ```shell
324
328
  canva apps migrate apps-sdk-v1-v2
325
329
  canva apps migrate app-ui-kit-v5
326
330
  canva apps migrate design-editor-intent
331
+ canva apps migrate apps-sdk-v1-v2 --dry-run
327
332
  canva apps migrate apps-sdk-v1-v2 --debug
328
333
  ```
329
334