@canva/cli 2.4.0 → 2.6.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 +36 -0
- package/README.md +7 -2
- package/THIRD_PARTY_LICENSES +19 -21
- package/cli.js +783 -728
- package/lib/cjs/index.cjs +8 -8
- package/lib/esm/index.mjs +8 -8
- package/package.json +1 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,41 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v2.6.0 - 2026-07-01
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Added `--force` to `canva apps migrate` to skip validation prompts.
|
|
8
|
+
- 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).
|
|
9
|
+
- Added `--force` to `canva apps link` to update `.env` without a confirmation prompt.
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- In non-interactive mode, commands exit with a clear error when required input is missing.
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- Fixed incorrect MCP server `canva apps doctor` guidance for AI agents
|
|
18
|
+
|
|
19
|
+
## v2.5.0 - 2026-06-24
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- Auto-detect non-interactive shells and coding agents to enable lite output, skip blocking update prompts, skip artificial UI pauses, and run `canva apps doctor` in report mode by default.
|
|
24
|
+
- Deprecated `canva apps doctor --ci` in favor of automatic non-interactive detection.
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
|
|
28
|
+
- Fix `canva apps list --print` hanging after printing app names.
|
|
29
|
+
|
|
30
|
+
### Security
|
|
31
|
+
|
|
32
|
+
- Dependencies audit bringing modules up to date:
|
|
33
|
+
|
|
34
|
+
```text
|
|
35
|
+
systeminformation 5.31.4 -> 5.31.7
|
|
36
|
+
esbuild 0.25.9 -> 0.28.1
|
|
37
|
+
```
|
|
38
|
+
|
|
3
39
|
## v2.4.0 - 2026-06-17
|
|
4
40
|
|
|
5
41
|
### 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.
|
|
@@ -296,7 +300,6 @@ canva apps doctor
|
|
|
296
300
|
```
|
|
297
301
|
|
|
298
302
|
- **Flags**:
|
|
299
|
-
- `--ci`: Run in CI mode (overrides all other flags: enables `--report`, `--silenceUpdates`, disables `--fix`, `--verbose`, skips environment checks).
|
|
300
303
|
- `--fix`: Automatically apply fixes for issues where possible.
|
|
301
304
|
- `--report`: Output check results without prompting for fixes.
|
|
302
305
|
- `--verbose`: Show detailed diagnostic output optimized for AI agent assistance.
|
|
@@ -321,6 +324,7 @@ canva apps migrate <migrationName>
|
|
|
321
324
|
- **Flags**:
|
|
322
325
|
- `--dry-run`: Preview changes without modifying files. Generates a markdown preview file showing all proposed changes.
|
|
323
326
|
- `--debug`: Show detailed debug output.
|
|
327
|
+
- `--force`: Proceed even when project validation warns.
|
|
324
328
|
|
|
325
329
|
- **Examples**:
|
|
326
330
|
|
|
@@ -382,6 +386,7 @@ canva apps link
|
|
|
382
386
|
|
|
383
387
|
- **Flags**:
|
|
384
388
|
- `--appId`: Specifies an App ID to select.
|
|
389
|
+
- `--force`: Write `.env` without confirmation.
|
|
385
390
|
|
|
386
391
|
#### logout
|
|
387
392
|
|
package/THIRD_PARTY_LICENSES
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
** @babel/code-frame@7.29.
|
|
1
|
+
** @babel/code-frame@7.29.7 -- MIT
|
|
2
2
|
|
|
3
3
|
MIT License
|
|
4
4
|
|
|
@@ -23,7 +23,7 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
|
23
23
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
24
24
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
25
25
|
|
|
26
|
-
** @babel/generator@7.29.
|
|
26
|
+
** @babel/generator@7.29.7 -- MIT
|
|
27
27
|
|
|
28
28
|
MIT License
|
|
29
29
|
|
|
@@ -48,7 +48,7 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
|
48
48
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
49
49
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
50
50
|
|
|
51
|
-
** @babel/helper-globals@7.
|
|
51
|
+
** @babel/helper-globals@7.29.7 -- MIT
|
|
52
52
|
|
|
53
53
|
MIT License
|
|
54
54
|
|
|
@@ -73,7 +73,7 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
|
73
73
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
74
74
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
75
75
|
|
|
76
|
-
** @babel/helper-string-parser@7.
|
|
76
|
+
** @babel/helper-string-parser@7.29.7 -- MIT
|
|
77
77
|
|
|
78
78
|
MIT License
|
|
79
79
|
|
|
@@ -98,7 +98,7 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
|
98
98
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
99
99
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
100
100
|
|
|
101
|
-
** @babel/helper-validator-identifier@7.
|
|
101
|
+
** @babel/helper-validator-identifier@7.29.7 -- MIT
|
|
102
102
|
|
|
103
103
|
MIT License
|
|
104
104
|
|
|
@@ -123,7 +123,7 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
|
123
123
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
124
124
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
125
125
|
|
|
126
|
-
** @babel/parser@7.29.
|
|
126
|
+
** @babel/parser@7.29.7 -- MIT
|
|
127
127
|
|
|
128
128
|
Copyright (C) 2012-2014 by various contributors (see AUTHORS)
|
|
129
129
|
|
|
@@ -145,7 +145,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
145
145
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
146
146
|
THE SOFTWARE.
|
|
147
147
|
|
|
148
|
-
** @babel/template@7.
|
|
148
|
+
** @babel/template@7.29.7 -- MIT
|
|
149
149
|
|
|
150
150
|
MIT License
|
|
151
151
|
|
|
@@ -195,7 +195,7 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
|
195
195
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
196
196
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
197
197
|
|
|
198
|
-
** @babel/types@7.29.
|
|
198
|
+
** @babel/types@7.29.7 -- MIT
|
|
199
199
|
|
|
200
200
|
MIT License
|
|
201
201
|
|
|
@@ -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
|
|
|
@@ -736,7 +736,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
736
736
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
737
737
|
THE SOFTWARE.
|
|
738
738
|
|
|
739
|
-
** debug@4.4.
|
|
739
|
+
** debug@4.4.3 -- MIT
|
|
740
740
|
|
|
741
741
|
(The MIT License)
|
|
742
742
|
|
|
@@ -998,14 +998,12 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
998
998
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
999
999
|
SOFTWARE.
|
|
1000
1000
|
|
|
1001
|
-
** fast-uri@3.1.
|
|
1001
|
+
** fast-uri@3.1.2 -- BSD-3-Clause
|
|
1002
1002
|
|
|
1003
1003
|
Copyright (c) 2011-2021, Gary Court until https://github.com/garycourt/uri-js/commit/a1acf730b4bba3f1097c9f52e7d9d3aba8cdcaae
|
|
1004
|
-
Copyright (c) 2021-present The Fastify team
|
|
1004
|
+
Copyright (c) 2021-present The Fastify team <https://github.com/fastify/fastify#team>
|
|
1005
1005
|
All rights reserved.
|
|
1006
1006
|
|
|
1007
|
-
The Fastify team members are listed at https://github.com/fastify/fastify#team.
|
|
1008
|
-
|
|
1009
1007
|
Redistribution and use in source and binary forms, with or without
|
|
1010
1008
|
modification, are permitted provided that the following conditions are met:
|
|
1011
1009
|
* Redistributions of source code must retain the above copyright
|
|
@@ -1045,9 +1043,9 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
1045
1043
|
|
|
1046
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.
|
|
1047
1045
|
|
|
1048
|
-
** flow-parser@0.
|
|
1046
|
+
** flow-parser@0.318.0 -- MIT
|
|
1049
1047
|
|
|
1050
|
-
** get-east-asian-width@1.
|
|
1048
|
+
** get-east-asian-width@1.6.0 -- MIT
|
|
1051
1049
|
|
|
1052
1050
|
MIT License
|
|
1053
1051
|
|
|
@@ -2043,7 +2041,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
2043
2041
|
See the License for the specific language governing permissions and
|
|
2044
2042
|
limitations under the License.
|
|
2045
2043
|
|
|
2046
|
-
** react-dom@19.2.
|
|
2044
|
+
** react-dom@19.2.7 -- MIT
|
|
2047
2045
|
|
|
2048
2046
|
MIT License
|
|
2049
2047
|
|
|
@@ -2222,7 +2220,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
2222
2220
|
|
|
2223
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.
|
|
2224
2222
|
|
|
2225
|
-
** strip-ansi@7.
|
|
2223
|
+
** strip-ansi@7.2.0 -- MIT
|
|
2226
2224
|
|
|
2227
2225
|
MIT License
|
|
2228
2226
|
|
|
@@ -2318,11 +2316,11 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
|
2318
2316
|
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
2319
2317
|
DEALINGS IN THE SOFTWARE.
|
|
2320
2318
|
|
|
2321
|
-
** supports-color@
|
|
2319
|
+
** supports-color@7.2.0 -- MIT
|
|
2322
2320
|
|
|
2323
2321
|
MIT License
|
|
2324
2322
|
|
|
2325
|
-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (
|
|
2323
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
2326
2324
|
|
|
2327
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:
|
|
2328
2326
|
|
|
@@ -2355,7 +2353,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
2355
2353
|
|
|
2356
2354
|
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.
|
|
2357
2355
|
|
|
2358
|
-
** systeminformation@5.31.
|
|
2356
|
+
** systeminformation@5.31.7 -- MIT
|
|
2359
2357
|
|
|
2360
2358
|
The MIT License (MIT)
|
|
2361
2359
|
|