@shopify/ui-extensions-server-kit 5.3.0 → 5.3.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @shopify/ui-extensions-server-kit
2
2
 
3
+ ## 5.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 7f2f69a: Added optional `error` property to ExtensionPayload which include the `message` and `file`
8
+
3
9
  ## 5.3.0
4
10
 
5
11
  ### Minor Changes
package/README.md CHANGED
@@ -13,7 +13,7 @@ Learn more in the [commands docs](./packages/cli/README.md#commands).
13
13
 
14
14
  <p>&nbsp;</p>
15
15
 
16
- ### Before you begin ###
16
+ ## Before you begin
17
17
 
18
18
  Install the latest version of [Node.js](https://nodejs.org/en/download/) and [npm](https://docs.npmjs.com/getting-started) (or another package manager of your choice).
19
19
 
@@ -41,7 +41,7 @@ To work with themes, the CLI needs to be installed globally with:
41
41
 
42
42
  You can also use do it through Homebrew on macOS: `brew tap shopify/shopify && brew install shopify-cli`
43
43
 
44
- Learn more in the docs: [Shopify CLI for themes](https://shopify.dev/docs/themes/tools/cli)
44
+ Learn more in the docs: [Shopify CLI for themes](https://shopify.dev/docs/storefronts/themes/tools/cli)
45
45
 
46
46
  <p>&nbsp;</p>
47
47
 
package/dist/types.d.ts CHANGED
@@ -128,6 +128,10 @@ export interface ExtensionPayload {
128
128
  name: string;
129
129
  version: string;
130
130
  };
131
+ error?: {
132
+ message: string;
133
+ file?: string;
134
+ };
131
135
  };
132
136
  uuid: string;
133
137
  version: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/ui-extensions-server-kit",
3
- "version": "5.3.0",
3
+ "version": "5.3.1",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -50,7 +50,7 @@
50
50
  "jsdom": "^20.0.3",
51
51
  "react": "^17.0.2",
52
52
  "vi-fetch": "^0.8.0",
53
- "vite": "6.3.5"
53
+ "vite": "6.3.6"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "react": "^17.0.2"
@@ -60,7 +60,6 @@
60
60
  "clean": "nx clean",
61
61
  "lint": "nx lint",
62
62
  "lint:fix": "nx lint:fix",
63
- "test": "nx run ui-extensions-server-kit:test",
64
- "test:watch": "nx test:watch"
63
+ "vitest": "vitest"
65
64
  }
66
65
  }
package/project.json CHANGED
@@ -53,20 +53,6 @@
53
53
  "command": "pnpm eslint src --fix",
54
54
  "cwd": "packages/ui-extensions-server-kit"
55
55
  }
56
- },
57
- "test": {
58
- "executor": "nx:run-commands",
59
- "options": {
60
- "command": "pnpm vitest run",
61
- "cwd": "packages/ui-extensions-server-kit"
62
- }
63
- },
64
- "test:watch": {
65
- "executor": "nx:run-commands",
66
- "options": {
67
- "command": "pnpm vitest watch",
68
- "cwd": "packages/ui-extensions-server-kit"
69
- }
70
56
  }
71
57
  }
72
58
  }
package/src/types.ts CHANGED
@@ -130,6 +130,10 @@ export interface ExtensionPayload {
130
130
  name: string
131
131
  version: string
132
132
  }
133
+ error?: {
134
+ message: string
135
+ file?: string
136
+ }
133
137
  }
134
138
  uuid: string
135
139
  version: string