Skip to content

Commit c811612

Browse files
chore: trusted publisher handshake (#2029)
### What does it do? Adding the repository url to the package json so the npm handshake can be confirmed ### Why is it needed? Provenance cross-checks the published package.json's repository.url against the repo recorded in the signed attestation (https://github.com/strapi/design-system, derived from the GitHub OIDC context). All 3 packages had no repository field, so npm published them with repository.url: "" → mismatch → E422.
2 parents fffb593 + 59bbe3b commit c811612

3 files changed

Lines changed: 15 additions & 0 deletions

File tree

packages/design-system/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
"version": "2.2.1",
44
"type": "module",
55
"license": "MIT",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/strapi/design-system.git",
9+
"directory": "packages/design-system"
10+
},
611
"sideEffects": false,
712
"source": "./src/index.ts",
813
"main": "./dist/index.js",

packages/icons/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
"version": "2.2.1",
44
"type": "module",
55
"license": "MIT",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/strapi/design-system.git",
9+
"directory": "packages/icons"
10+
},
611
"sideEffects": false,
712
"main": "./dist/index.js",
813
"module": "./dist/index.mjs",

packages/primitives/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
"version": "2.2.1",
44
"type": "module",
55
"license": "MIT",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/strapi/design-system.git",
9+
"directory": "packages/primitives"
10+
},
611
"sideEffects": false,
712
"source": "./src/index.ts",
813
"main": "./dist/index.js",

0 commit comments

Comments
 (0)