@canva/cli 1.14.0 → 1.16.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 +19 -0
- package/README.md +1 -0
- package/cli.js +308 -308
- package/package.json +1 -1
- package/templates/base/backend/base_backend/create.ts +10 -0
- package/templates/base/backend/routers/auth.ts +12 -9
- package/templates/base/package.json +3 -3
- package/templates/content_publisher/README.md +58 -0
- package/templates/content_publisher/canva-app.json +17 -0
- package/templates/content_publisher/declarations/declarations.d.ts +29 -0
- package/templates/content_publisher/eslint.config.mjs +14 -0
- package/templates/content_publisher/package.json +90 -0
- package/templates/content_publisher/scripts/copy_env.ts +13 -0
- package/templates/content_publisher/scripts/ssl/ssl.ts +131 -0
- package/templates/content_publisher/scripts/start/app_runner.ts +223 -0
- package/templates/content_publisher/scripts/start/context.ts +171 -0
- package/templates/content_publisher/scripts/start/start.ts +46 -0
- package/templates/content_publisher/src/index.tsx +4 -0
- package/templates/content_publisher/src/intents/content_publisher/index.tsx +113 -0
- package/templates/content_publisher/src/intents/content_publisher/post_preview.tsx +226 -0
- package/templates/content_publisher/src/intents/content_publisher/preview_ui.tsx +53 -0
- package/templates/content_publisher/src/intents/content_publisher/settings_ui.tsx +71 -0
- package/templates/content_publisher/src/intents/content_publisher/types.ts +29 -0
- package/templates/content_publisher/styles/components.css +56 -0
- package/templates/content_publisher/styles/preview_ui.css +88 -0
- package/templates/content_publisher/tsconfig.json +56 -0
- package/templates/content_publisher/webpack.config.ts +247 -0
- package/templates/dam/backend/server.ts +2 -3
- package/templates/dam/package.json +5 -4
- package/templates/dam/utils/backend/base_backend/create.ts +10 -0
- package/templates/data_connector/package.json +3 -3
- package/templates/gen_ai/backend/server.ts +2 -3
- package/templates/gen_ai/package.json +4 -3
- package/templates/gen_ai/utils/backend/base_backend/create.ts +10 -0
- package/templates/hello_world/package.json +3 -3
- package/templates/mls/package.json +3 -3
- package/templates/base/backend/jwt_middleware/index.ts +0 -1
- package/templates/base/backend/jwt_middleware/jwt_middleware.ts +0 -224
- package/templates/dam/utils/backend/jwt_middleware/index.ts +0 -1
- package/templates/dam/utils/backend/jwt_middleware/jwt_middleware.ts +0 -224
- package/templates/gen_ai/utils/backend/jwt_middleware/index.ts +0 -1
- package/templates/gen_ai/utils/backend/jwt_middleware/jwt_middleware.ts +0 -224
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v1.16.0 - 2026-01-28
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Upgraded `@canva/app-middleware` to `0.0.0-beta.5`.
|
|
8
|
+
|
|
9
|
+
## v1.15.0 - 2026-01-21
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- A template for the new Content Publisher intent
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- Replaced `jwt_middleware` util with `@canva/app-middleware` SDK.
|
|
18
|
+
- Upgraded `@canva/app-ui-kit` to `5.5.0`.
|
|
19
|
+
- Upgraded `@canva/platform` to `2.2.1`.
|
|
20
|
+
- Upgraded `@canva/error` to `2.2.0`.
|
|
21
|
+
|
|
3
22
|
## v1.14.0 - 2026-01-14
|
|
4
23
|
|
|
5
24
|
### Changed
|
package/README.md
CHANGED
|
@@ -248,6 +248,7 @@ canva apps create "My New App" --template="hello_world" --distribution="public"
|
|
|
248
248
|
- `"dam"`: Digital asset management integration.
|
|
249
249
|
- `"gen_ai"`: Generative AI app creation.
|
|
250
250
|
- `"data_connector"`: Data connector integration.
|
|
251
|
+
- `"content_publisher"`: Content publisher starting point.
|
|
251
252
|
- `"mls"`: MLS (Multiple Listing Service) real estate app.
|
|
252
253
|
|
|
253
254
|
- `--distribution`: Sets the app's distribution type.
|