From a39dbd2c3bd17705a0abd9fedfc8ccfc9cc74086 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isaac=20Rold=C3=A1n?= Date: Thu, 8 Sep 2022 12:49:59 +0200 Subject: [PATCH 1/3] Make server-kit non private --- packages/ui-extensions-server-kit/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui-extensions-server-kit/package.json b/packages/ui-extensions-server-kit/package.json index 453fc671d5..6f5bd58058 100644 --- a/packages/ui-extensions-server-kit/package.json +++ b/packages/ui-extensions-server-kit/package.json @@ -1,7 +1,7 @@ { "name": "@shopify/ui-extensions-server-kit", "version": "3.10.0", - "private": true, + "private": false, "main": "index.js", "module": "index.mjs", "types": "index.d.ts", From a1c3fe7e69845143df69696bf3a03c93ee0879db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isaac=20Rold=C3=A1n?= Date: Thu, 8 Sep 2022 13:17:27 +0200 Subject: [PATCH 2/3] Add prepack for server-kit --- packages/ui-extensions-server-kit/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/ui-extensions-server-kit/package.json b/packages/ui-extensions-server-kit/package.json index 6f5bd58058..09b52a064b 100644 --- a/packages/ui-extensions-server-kit/package.json +++ b/packages/ui-extensions-server-kit/package.json @@ -22,6 +22,7 @@ } }, "scripts": { + "prepack": "cross-env NODE_ENV=production yarn nx build && cp ../../README.md README.md", "build": "nx build", "clean": "nx clean", "lint": "nx lint", From 4fca2930a47d51d1a0781cdddd03e54b5c29ca05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isaac=20Rold=C3=A1n?= Date: Thu, 8 Sep 2022 13:35:42 +0200 Subject: [PATCH 3/3] Fix server-kit release --- .changeset/cool-dancers-dress.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/cool-dancers-dress.md diff --git a/.changeset/cool-dancers-dress.md b/.changeset/cool-dancers-dress.md new file mode 100644 index 0000000000..0f6dc5cd4e --- /dev/null +++ b/.changeset/cool-dancers-dress.md @@ -0,0 +1,5 @@ +--- +'@shopify/ui-extensions-server-kit': patch +--- + +Fix prepack and private configurations