@canva/cli 2.5.0 → 2.6.1
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 +22 -0
- package/README.md +7 -1
- package/THIRD_PARTY_LICENSES +31 -7
- package/cli.js +710 -710
- package/lib/cjs/index.cjs +4 -4
- package/lib/esm/index.mjs +4 -4
- package/package.json +3 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v2.6.1 - 2026-07-09
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- Fixed an issue where commands could fail to start with `TypeError: Cannot read properties of undefined (reading 'React')` if npm resolved an incompatible `typescript` version alongside `react-docgen-typescript`.
|
|
8
|
+
|
|
9
|
+
## v2.6.0 - 2026-07-01
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- Added `--force` to `canva apps migrate` to skip validation prompts.
|
|
14
|
+
- Added `--intent` to `canva apps preview` to choose which intent to preview, and `--no-open` to print the preview URL without opening a browser (the default behavior).
|
|
15
|
+
- Added `--force` to `canva apps link` to update `.env` without a confirmation prompt.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- In non-interactive mode, commands exit with a clear error when required input is missing.
|
|
20
|
+
|
|
21
|
+
### Fixed
|
|
22
|
+
|
|
23
|
+
- Fixed incorrect MCP server `canva apps doctor` guidance for AI agents
|
|
24
|
+
|
|
3
25
|
## v2.5.0 - 2026-06-24
|
|
4
26
|
|
|
5
27
|
### Changed
|
package/README.md
CHANGED
|
@@ -264,7 +264,7 @@ canva apps create "My New App" --template="hello_world" --distribution="public"
|
|
|
264
264
|
- `"claude"`: Adds a `CLAUDE.md` file to the project directory.
|
|
265
265
|
|
|
266
266
|
- `--offline`: Scaffold the app locally without also creating an app in the Developer Portal.
|
|
267
|
-
- `--yes`:
|
|
267
|
+
- `--yes`: Automatically accept the default option for any prompts and run non-interactively.
|
|
268
268
|
|
|
269
269
|
##### list
|
|
270
270
|
|
|
@@ -287,6 +287,10 @@ Preview your app.
|
|
|
287
287
|
canva apps preview
|
|
288
288
|
```
|
|
289
289
|
|
|
290
|
+
- **Flags**:
|
|
291
|
+
- `--intent`: App intent to preview when the app has multiple intents enrolled.
|
|
292
|
+
- `--no-open`: Print the preview URL without opening a browser.
|
|
293
|
+
|
|
290
294
|
##### doctor
|
|
291
295
|
|
|
292
296
|
Run diagnostics on your Canva App to identify and fix issues.
|
|
@@ -320,6 +324,7 @@ canva apps migrate <migrationName>
|
|
|
320
324
|
- **Flags**:
|
|
321
325
|
- `--dry-run`: Preview changes without modifying files. Generates a markdown preview file showing all proposed changes.
|
|
322
326
|
- `--debug`: Show detailed debug output.
|
|
327
|
+
- `--force`: Proceed even when project validation warns.
|
|
323
328
|
|
|
324
329
|
- **Examples**:
|
|
325
330
|
|
|
@@ -381,6 +386,7 @@ canva apps link
|
|
|
381
386
|
|
|
382
387
|
- **Flags**:
|
|
383
388
|
- `--appId`: Specifies an App ID to select.
|
|
389
|
+
- `--force`: Write `.env` without confirmation.
|
|
384
390
|
|
|
385
391
|
#### logout
|
|
386
392
|
|
package/THIRD_PARTY_LICENSES
CHANGED
|
@@ -324,7 +324,7 @@ SOFTWARE.
|
|
|
324
324
|
|
|
325
325
|
** @pnpm/network.ca-file@1.0.2 -- MIT
|
|
326
326
|
|
|
327
|
-
** @pnpm/npm-conf@3.0.
|
|
327
|
+
** @pnpm/npm-conf@3.0.3 -- MIT
|
|
328
328
|
|
|
329
329
|
MIT License
|
|
330
330
|
|
|
@@ -1043,9 +1043,9 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
1043
1043
|
|
|
1044
1044
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1045
1045
|
|
|
1046
|
-
** flow-parser@0.
|
|
1046
|
+
** flow-parser@0.318.0 -- MIT
|
|
1047
1047
|
|
|
1048
|
-
** get-east-asian-width@1.
|
|
1048
|
+
** get-east-asian-width@1.6.0 -- MIT
|
|
1049
1049
|
|
|
1050
1050
|
MIT License
|
|
1051
1051
|
|
|
@@ -2041,7 +2041,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
2041
2041
|
See the License for the specific language governing permissions and
|
|
2042
2042
|
limitations under the License.
|
|
2043
2043
|
|
|
2044
|
-
** react-dom@19.2.
|
|
2044
|
+
** react-dom@19.2.7 -- MIT
|
|
2045
2045
|
|
|
2046
2046
|
MIT License
|
|
2047
2047
|
|
|
@@ -2220,7 +2220,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
2220
2220
|
|
|
2221
2221
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
2222
2222
|
|
|
2223
|
-
** strip-ansi@7.
|
|
2223
|
+
** strip-ansi@7.2.0 -- MIT
|
|
2224
2224
|
|
|
2225
2225
|
MIT License
|
|
2226
2226
|
|
|
@@ -2316,11 +2316,11 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
|
2316
2316
|
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
2317
2317
|
DEALINGS IN THE SOFTWARE.
|
|
2318
2318
|
|
|
2319
|
-
** supports-color@
|
|
2319
|
+
** supports-color@7.2.0 -- MIT
|
|
2320
2320
|
|
|
2321
2321
|
MIT License
|
|
2322
2322
|
|
|
2323
|
-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (
|
|
2323
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
2324
2324
|
|
|
2325
2325
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
2326
2326
|
|
|
@@ -2645,3 +2645,27 @@ LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
|
|
|
2645
2645
|
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
|
2646
2646
|
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
|
2647
2647
|
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
2648
|
+
|
|
2649
|
+
** zod@3.25.76 -- MIT
|
|
2650
|
+
|
|
2651
|
+
MIT License
|
|
2652
|
+
|
|
2653
|
+
Copyright (c) 2025 Colin McDonnell
|
|
2654
|
+
|
|
2655
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2656
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
2657
|
+
in the Software without restriction, including without limitation the rights
|
|
2658
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
2659
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
2660
|
+
furnished to do so, subject to the following conditions:
|
|
2661
|
+
|
|
2662
|
+
The above copyright notice and this permission notice shall be included in all
|
|
2663
|
+
copies or substantial portions of the Software.
|
|
2664
|
+
|
|
2665
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2666
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2667
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2668
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2669
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2670
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
2671
|
+
SOFTWARE.
|