From 4d58d808ed745b51f8313c16fa9a71b1b40ba2e0 Mon Sep 17 00:00:00 2001 From: Matt Hillsdon Date: Wed, 9 Sep 2026 17:44:46 +0100 Subject: [PATCH] Add repository information to package.json Trusted publishing rejects the tarball without it: Failed to validate repository information: package.json: "repository.url" is "", expected to match "https://github.com/microbit-foundation/microbit-connection" The directory field names the package's location in the monorepo. --- packages/microbit-connection/package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/microbit-connection/package.json b/packages/microbit-connection/package.json index 7d12045..507a09b 100644 --- a/packages/microbit-connection/package.json +++ b/packages/microbit-connection/package.json @@ -1,6 +1,11 @@ { "name": "@microbit/microbit-connection", "version": "0.0.0", + "repository": { + "type": "git", + "url": "git+https://github.com/microbit-foundation/microbit-connection.git", + "directory": "packages/microbit-connection" + }, "main": "./build/cjs/index.js", "module": "./build/esm/index.js", "types": "./build/esm/index.d.ts",