@canva/cli 1.13.0 → 1.14.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canva/cli",
3
- "version": "1.13.0",
3
+ "version": "1.14.0",
4
4
  "description": "The official Canva CLI.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Canva Pty Ltd.",
@@ -33,7 +33,7 @@
33
33
  "dependencies": {
34
34
  "ink": "6.3.1",
35
35
  "react": "^19.2.3",
36
- "@modelcontextprotocol/sdk": "1.17.4",
36
+ "@modelcontextprotocol/sdk": "1.25.2",
37
37
  "react-docgen-typescript": "2.4.0"
38
38
  },
39
39
  "keywords": [
@@ -46,7 +46,7 @@
46
46
  "express": "4.22.1",
47
47
  "express-basic-auth": "1.2.1",
48
48
  "jest": "29.7.0",
49
- "jsonwebtoken": "9.0.2",
49
+ "jsonwebtoken": "9.0.3",
50
50
  "jwks-rsa": "3.2.0",
51
51
  "mini-css-extract-plugin": "2.9.4",
52
52
  "node-fetch": "3.3.2",
@@ -37,7 +37,6 @@
37
37
  "allowSyntheticDefaultImports": true,
38
38
  "baseUrl": "./",
39
39
  "paths": {
40
- "assets": ["./assets"],
41
40
  "styles": ["./styles"]
42
41
  }
43
42
  },
@@ -61,7 +61,6 @@ export function buildConfig({
61
61
  target: "web",
62
62
  resolve: {
63
63
  alias: {
64
- assets: path.resolve(process.cwd(), "assets"),
65
64
  styles: path.resolve(process.cwd(), "styles"),
66
65
  src: path.resolve(process.cwd(), "src"),
67
66
  },
@@ -218,10 +217,6 @@ function buildDevConfig(options?: DevConfig): {
218
217
  client: {
219
218
  logging: "verbose",
220
219
  },
221
- static: {
222
- directory: path.resolve(process.cwd(), "assets"),
223
- publicPath: "/assets",
224
- },
225
220
  };
226
221
 
227
222
  if (enableHmr && appOrigin) {
@@ -69,7 +69,7 @@
69
69
  "jest": "29.7.0",
70
70
  "jest-css-modules-transform": "4.4.2",
71
71
  "jest-environment-jsdom": "29.7.0",
72
- "jsonwebtoken": "9.0.2",
72
+ "jsonwebtoken": "9.0.3",
73
73
  "jwks-rsa": "3.2.0",
74
74
  "mini-css-extract-plugin": "2.9.4",
75
75
  "node-fetch": "3.3.2",
@@ -37,7 +37,6 @@
37
37
  "allowSyntheticDefaultImports": true,
38
38
  "baseUrl": "./",
39
39
  "paths": {
40
- "assets": ["./assets"],
41
40
  "styles": ["./styles"]
42
41
  }
43
42
  },
@@ -61,7 +61,6 @@ export function buildConfig({
61
61
  target: "web",
62
62
  resolve: {
63
63
  alias: {
64
- assets: path.resolve(process.cwd(), "assets"),
65
64
  styles: path.resolve(process.cwd(), "styles"),
66
65
  src: path.resolve(process.cwd(), "src"),
67
66
  },
@@ -218,10 +217,6 @@ function buildDevConfig(options?: DevConfig): {
218
217
  client: {
219
218
  logging: "verbose",
220
219
  },
221
- static: {
222
- directory: path.resolve(process.cwd(), "assets"),
223
- publicPath: "/assets",
224
- },
225
220
  };
226
221
 
227
222
  if (enableHmr && appOrigin) {
@@ -32,7 +32,7 @@
32
32
  "react-dom": "^19.2.3",
33
33
  "react-error-boundary": "6.0.0",
34
34
  "react-intl": "^7.1.11",
35
- "react-router-dom": "7.8.2"
35
+ "react-router-dom": "7.12.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@canva/app-eslint-plugin": "^1.0.0-beta.7",
@@ -66,7 +66,7 @@
66
66
  "jest": "29.7.0",
67
67
  "jest-css-modules-transform": "4.4.2",
68
68
  "jest-environment-jsdom": "29.7.0",
69
- "jsonwebtoken": "9.0.2",
69
+ "jsonwebtoken": "9.0.3",
70
70
  "jwks-rsa": "3.2.0",
71
71
  "mini-css-extract-plugin": "2.9.4",
72
72
  "node-fetch": "3.3.2",
@@ -37,7 +37,6 @@
37
37
  "allowSyntheticDefaultImports": true,
38
38
  "baseUrl": "./",
39
39
  "paths": {
40
- "assets": ["./assets"],
41
40
  "styles": ["./styles"]
42
41
  }
43
42
  },
@@ -61,7 +61,6 @@ export function buildConfig({
61
61
  target: "web",
62
62
  resolve: {
63
63
  alias: {
64
- assets: path.resolve(process.cwd(), "assets"),
65
64
  styles: path.resolve(process.cwd(), "styles"),
66
65
  src: path.resolve(process.cwd(), "src"),
67
66
  },
@@ -218,10 +217,6 @@ function buildDevConfig(options?: DevConfig): {
218
217
  client: {
219
218
  logging: "verbose",
220
219
  },
221
- static: {
222
- directory: path.resolve(process.cwd(), "assets"),
223
- publicPath: "/assets",
224
- },
225
220
  };
226
221
 
227
222
  if (enableHmr && appOrigin) {
@@ -35,7 +35,7 @@
35
35
  "react-dom": "^19.2.3",
36
36
  "react-error-boundary": "6.0.0",
37
37
  "react-intl": "^7.1.11",
38
- "react-router-dom": "7.8.2"
38
+ "react-router-dom": "7.12.0"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@canva/app-eslint-plugin": "^1.0.0-beta.7",
@@ -73,7 +73,7 @@
73
73
  "jest": "29.7.0",
74
74
  "jest-css-modules-transform": "4.4.2",
75
75
  "jest-environment-jsdom": "29.7.0",
76
- "jsonwebtoken": "9.0.2",
76
+ "jsonwebtoken": "9.0.3",
77
77
  "jwks-rsa": "3.2.0",
78
78
  "mini-css-extract-plugin": "2.9.4",
79
79
  "node-fetch": "3.3.2",
@@ -37,7 +37,6 @@
37
37
  "allowSyntheticDefaultImports": true,
38
38
  "baseUrl": "./",
39
39
  "paths": {
40
- "assets": ["./assets"],
41
40
  "styles": ["./styles"]
42
41
  }
43
42
  },
@@ -61,7 +61,6 @@ export function buildConfig({
61
61
  target: "web",
62
62
  resolve: {
63
63
  alias: {
64
- assets: path.resolve(process.cwd(), "assets"),
65
64
  styles: path.resolve(process.cwd(), "styles"),
66
65
  src: path.resolve(process.cwd(), "src"),
67
66
  },
@@ -218,10 +217,6 @@ function buildDevConfig(options?: DevConfig): {
218
217
  client: {
219
218
  logging: "verbose",
220
219
  },
221
- static: {
222
- directory: path.resolve(process.cwd(), "assets"),
223
- publicPath: "/assets",
224
- },
225
220
  };
226
221
 
227
222
  if (enableHmr && appOrigin) {
@@ -64,7 +64,7 @@
64
64
  "jest": "29.7.0",
65
65
  "jest-css-modules-transform": "4.4.2",
66
66
  "jest-environment-jsdom": "29.7.0",
67
- "jsonwebtoken": "9.0.2",
67
+ "jsonwebtoken": "9.0.3",
68
68
  "jwks-rsa": "3.2.0",
69
69
  "mini-css-extract-plugin": "2.9.4",
70
70
  "node-fetch": "3.3.2",
@@ -37,7 +37,6 @@
37
37
  "allowSyntheticDefaultImports": true,
38
38
  "baseUrl": "./",
39
39
  "paths": {
40
- "assets": ["./assets"],
41
40
  "styles": ["./styles"]
42
41
  }
43
42
  },
@@ -61,7 +61,6 @@ export function buildConfig({
61
61
  target: "web",
62
62
  resolve: {
63
63
  alias: {
64
- assets: path.resolve(process.cwd(), "assets"),
65
64
  styles: path.resolve(process.cwd(), "styles"),
66
65
  src: path.resolve(process.cwd(), "src"),
67
66
  },
@@ -218,10 +217,6 @@ function buildDevConfig(options?: DevConfig): {
218
217
  client: {
219
218
  logging: "verbose",
220
219
  },
221
- static: {
222
- directory: path.resolve(process.cwd(), "assets"),
223
- publicPath: "/assets",
224
- },
225
220
  };
226
221
 
227
222
  if (enableHmr && appOrigin) {
@@ -39,7 +39,7 @@
39
39
  "react-hook-form": "7.66.0",
40
40
  "react-infinite-scroller": "1.2.6",
41
41
  "react-intl": "^7.1.11",
42
- "react-router-dom": "7.8.2"
42
+ "react-router-dom": "7.12.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@canva/app-eslint-plugin": "^1.0.0-beta.7",
@@ -75,7 +75,7 @@
75
75
  "jest": "29.7.0",
76
76
  "jest-css-modules-transform": "4.4.2",
77
77
  "jest-environment-jsdom": "29.7.0",
78
- "jsonwebtoken": "9.0.2",
78
+ "jsonwebtoken": "9.0.3",
79
79
  "jwks-rsa": "3.2.0",
80
80
  "mini-css-extract-plugin": "2.9.4",
81
81
  "node-fetch": "3.3.2",
@@ -34,7 +34,6 @@
34
34
  "esModuleInterop": true,
35
35
  "baseUrl": "./",
36
36
  "paths": {
37
- "assets": ["./assets"],
38
37
  "styles": ["./styles"]
39
38
  }
40
39
  },
@@ -62,7 +62,6 @@ export function buildConfig({
62
62
  target: "web",
63
63
  resolve: {
64
64
  alias: {
65
- assets: path.resolve(process.cwd(), "assets"),
66
65
  styles: path.resolve(process.cwd(), "styles"),
67
66
  src: path.resolve(process.cwd(), "src"),
68
67
  },
@@ -219,10 +218,6 @@ function buildDevConfig(options?: DevConfig): {
219
218
  client: {
220
219
  logging: "verbose",
221
220
  },
222
- static: {
223
- directory: path.resolve(process.cwd(), "assets"),
224
- publicPath: "/assets",
225
- },
226
221
  };
227
222
 
228
223
  if (enableHmr && appOrigin) {