@canva/cli 1.7.0 → 1.9.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 +23 -0
- package/README.md +1 -1
- package/cli.js +455 -555
- package/lib/cjs/index.cjs +6 -6
- package/lib/esm/index.mjs +6 -6
- package/package.json +1 -1
- package/templates/base/backend/database/database.ts +2 -2
- package/templates/base/backend/routers/auth.ts +5 -5
- package/templates/base/backend/routers/oauth.ts +4 -4
- package/templates/base/package.json +1 -1
- package/templates/base/scripts/copy_env.ts +6 -3
- package/templates/base/scripts/ssl/ssl.ts +3 -3
- package/templates/base/scripts/start/app_runner.ts +29 -7
- package/templates/base/scripts/start/context.ts +2 -2
- package/templates/base/scripts/start/start.ts +1 -1
- package/templates/base/scripts/start.tests.ts +1 -1
- package/templates/base/tsconfig.json +2 -1
- package/templates/base/utils/backend/base_backend/create.ts +4 -4
- package/templates/base/utils/backend/bearer_middleware/bearer_middleware.ts +1 -1
- package/templates/base/utils/backend/jwt_middleware/jwt_middleware.ts +3 -6
- package/templates/base/webpack.config.ts +3 -3
- package/templates/common/utils/backend/base_backend/create.ts +4 -4
- package/templates/common/utils/backend/jwt_middleware/jwt_middleware.ts +3 -6
- package/templates/dam/backend/routers/dam.ts +2 -2
- package/templates/dam/backend/server.ts +2 -2
- package/templates/dam/package.json +1 -1
- package/templates/dam/scripts/copy_env.ts +6 -3
- package/templates/dam/scripts/ssl/ssl.ts +3 -3
- package/templates/dam/scripts/start/app_runner.ts +29 -7
- package/templates/dam/scripts/start/context.ts +2 -2
- package/templates/dam/scripts/start/start.ts +1 -1
- package/templates/dam/tsconfig.json +2 -1
- package/templates/dam/utils/backend/base_backend/create.ts +4 -4
- package/templates/dam/utils/backend/jwt_middleware/jwt_middleware.ts +3 -6
- package/templates/dam/webpack.config.ts +3 -3
- package/templates/data_connector/package.json +1 -1
- package/templates/data_connector/scripts/copy_env.ts +6 -3
- package/templates/data_connector/scripts/ssl/ssl.ts +3 -3
- package/templates/data_connector/scripts/start/app_runner.ts +29 -7
- package/templates/data_connector/scripts/start/context.ts +2 -2
- package/templates/data_connector/scripts/start/start.ts +1 -1
- package/templates/data_connector/tsconfig.json +2 -1
- package/templates/data_connector/webpack.config.ts +3 -3
- package/templates/gen_ai/backend/database/database.ts +2 -2
- package/templates/gen_ai/backend/routers/image.ts +1 -1
- package/templates/gen_ai/backend/server.ts +2 -2
- package/templates/gen_ai/package.json +1 -1
- package/templates/gen_ai/scripts/copy_env.ts +6 -3
- package/templates/gen_ai/scripts/ssl/ssl.ts +3 -3
- package/templates/gen_ai/scripts/start/app_runner.ts +29 -7
- package/templates/gen_ai/scripts/start/context.ts +2 -2
- package/templates/gen_ai/scripts/start/start.ts +1 -1
- package/templates/gen_ai/tsconfig.json +2 -1
- package/templates/gen_ai/utils/backend/base_backend/create.ts +4 -4
- package/templates/gen_ai/utils/backend/bearer_middleware/bearer_middleware.ts +1 -1
- package/templates/gen_ai/webpack.config.ts +3 -3
- package/templates/hello_world/package.json +1 -1
- package/templates/hello_world/scripts/copy_env.ts +6 -3
- package/templates/hello_world/scripts/ssl/ssl.ts +3 -3
- package/templates/hello_world/scripts/start/app_runner.ts +29 -7
- package/templates/hello_world/scripts/start/context.ts +2 -2
- package/templates/hello_world/scripts/start/start.ts +1 -1
- package/templates/hello_world/tsconfig.json +2 -1
- package/templates/hello_world/webpack.config.ts +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v1.9.0 - 2025-11-13
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Clarified preview app link text to indicate clear CTA
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Set `moduleResolution` to `bundler`, enabled `esModuleInterop`, and updated necessary import statements for app templates.
|
|
12
|
+
- Updated `@canva/app-ui-kit` to version `5.2.1`.
|
|
13
|
+
- Consolidated the MCP migration tools into a single tool
|
|
14
|
+
|
|
15
|
+
## v1.8.0 - 2025-10-30
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- Private app creation is now limited to Enterprise plan users only.
|
|
20
|
+
- Updated `canva apps create` to prompt for a new name if a local directory already exists with the same name.
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
|
|
24
|
+
- Updated `copy_env.ts` script to not throw if a template .env file does not exist
|
|
25
|
+
|
|
3
26
|
## v1.7.0 - 2025-10-23
|
|
4
27
|
|
|
5
28
|
### Changed
|
package/README.md
CHANGED
|
@@ -252,7 +252,7 @@ canva apps create "My New App" --template="hello_world" --distribution="public"
|
|
|
252
252
|
|
|
253
253
|
Available types:
|
|
254
254
|
- `"public"`: Available to all Canva users, subject to Canva review.
|
|
255
|
-
- `"private"`: Only available to your team, and requires team admin approval.
|
|
255
|
+
- `"private"`: Only available to your team on an [Enterprise plan](https://www.canva.com/enterprise/), and requires team admin approval.
|
|
256
256
|
|
|
257
257
|
**Note**: You can't change the distribution setting after creating a new app with the `canva apps create` command.
|
|
258
258
|
|