Skip to content

Commit 6be2cb6

Browse files
fix: add repository field to published packages for provenance validation
npm trusted publishing generates provenance attestations and requires package.json "repository.url" to match the source repo. Both packages were missing the field, failing publish with E422. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 5bfb85a commit 6be2cb6

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

packages/start-nitro-v2-vite-plugin/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
"description": "Nitro v2 plugin for development with SolidStart 2.0",
44
"version": "0.3.0",
55
"type": "module",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/solidjs/solid-start.git",
9+
"directory": "packages/start-nitro-v2-vite-plugin"
10+
},
611
"scripts": {
712
"build": "tsc",
813
"typecheck": "tsc --noEmit",

packages/start/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
"name": "@solidjs/start",
33
"version": "2.0.0-alpha.3",
44
"type": "module",
5+
"repository": {
6+
"type": "git",
7+
"url": "git+https://github.com/solidjs/solid-start.git",
8+
"directory": "packages/start"
9+
},
510
"scripts": {
611
"build": "pnpm validate-imports && tsc && node scripts/build.js",
712
"dev": "tsc --watch",

0 commit comments

Comments
 (0)