Skip to content

Commit

Permalink
chore: setup package provenance (#12567)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored Aug 9, 2024
1 parent 65931f2 commit 4930a84
Show file tree
Hide file tree
Showing 15 changed files with 58 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .changeset/neat-stingrays-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
'@sveltejs/adapter-cloudflare-workers': patch
'@sveltejs/adapter-cloudflare': patch
'@sveltejs/adapter-netlify': patch
'@sveltejs/adapter-static': patch
'@sveltejs/adapter-vercel': patch
'create-svelte': patch
'@sveltejs/adapter-auto': patch
'@sveltejs/adapter-node': patch
'@sveltejs/enhanced-img': patch
'svelte-migrate': patch
'@sveltejs/package': patch
'@sveltejs/amp': patch
'@sveltejs/kit': patch
---

chore: package provenance
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
if: github.repository == 'sveltejs/kit'
permissions:
contents: write # to create release (changesets/action)
id-token: write # OpenID Connect token needed for provenance
pull-requests: write # to create pull request (changesets/action)
name: Release
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions packages/adapter-auto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,8 @@
},
"peerDependencies": {
"@sveltejs/kit": "^2.0.0"
},
"publishConfig": {
"provenance": true
}
}
3 changes: 3 additions & 0 deletions packages/adapter-cloudflare-workers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,8 @@
"peerDependencies": {
"@sveltejs/kit": "^2.0.0",
"wrangler": "^3.28.4"
},
"publishConfig": {
"provenance": true
}
}
3 changes: 3 additions & 0 deletions packages/adapter-cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,8 @@
},
"publishConfig": {
"access": "public"
},
"publishConfig": {
"provenance": true
}
}
3 changes: 3 additions & 0 deletions packages/adapter-netlify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@
},
"peerDependencies": {
"@sveltejs/kit": "^2.4.0"
},
"publishConfig": {
"provenance": true
}
}
3 changes: 3 additions & 0 deletions packages/adapter-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,8 @@
},
"peerDependencies": {
"@sveltejs/kit": "^2.4.0"
},
"publishConfig": {
"provenance": true
}
}
3 changes: 3 additions & 0 deletions packages/adapter-static/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,8 @@
},
"peerDependencies": {
"@sveltejs/kit": "^2.0.0"
},
"publishConfig": {
"provenance": true
}
}
3 changes: 3 additions & 0 deletions packages/adapter-vercel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,8 @@
},
"peerDependencies": {
"@sveltejs/kit": "^2.4.0"
},
"publishConfig": {
"provenance": true
}
}
3 changes: 3 additions & 0 deletions packages/amp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,8 @@
},
"peerDependencies": {
"@sveltejs/kit": "^1.0.0 || ^2.0.0"
},
"publishConfig": {
"provenance": true
}
}
5 changes: 4 additions & 1 deletion packages/create-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,8 @@
"types"
],
"types": "types/index.d.ts",
"type": "module"
"type": "module",
"publishConfig": {
"provenance": true
}
}
3 changes: 3 additions & 0 deletions packages/enhanced-img/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,8 @@
"peerDependencies": {
"svelte": "^4.0.0 || ^5.0.0-next.0",
"vite": ">= 5.0.0"
},
"publishConfig": {
"provenance": true
}
}
3 changes: 3 additions & 0 deletions packages/kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,8 @@
"types": "types/index.d.ts",
"engines": {
"node": ">=18.13"
},
"publishConfig": {
"provenance": true
}
}
3 changes: 3 additions & 0 deletions packages/migrate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,8 @@
"check": "tsc",
"lint": "prettier --check .",
"format": "pnpm lint --write"
},
"publishConfig": {
"provenance": true
}
}
3 changes: 3 additions & 0 deletions packages/package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,8 @@
"types": "types/index.d.ts",
"engines": {
"node": "^16.14 || >=18"
},
"publishConfig": {
"provenance": true
}
}

0 comments on commit 4930a84

Please sign in to comment.