@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.
- package/CHANGELOG.md +6 -0
- package/README.md +5 -0
- package/cli.js +531 -525
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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
|
|