Enable trusted publishing for types package

This commit is contained in:
Jamie
2026-07-13 14:26:51 -07:00
committed by GitHub
parent 8461ad4d1e
commit ee66d162f2
3 changed files with 10 additions and 3 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@signalapp/types': patch
---
Enable trusted publishing
@@ -23,7 +23,7 @@ const PackageSchema = z.discriminatedUnion(
publishConfig: z.strictObject({
access: z.literal('public'),
registry: z.literal('https://registry.npmjs.org/'),
provenance: z.literal(true),
provenance: z.literal(false),
}),
}),
]
@@ -56,7 +56,9 @@ await Promise.all(
'"publishConfig": {',
' "access": "public",',
' "registry": "https://registry.npmjs.org/",',
' "provenance": true',
// provenance is not supported in private repos
// https://docs.npmjs.com/trusted-publishers#automatic-provenance-generation
' "provenance": false',
'}',
'```',
'',
+1 -1
View File
@@ -5,7 +5,7 @@
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/",
"provenance": true
"provenance": false
},
"author": {
"name": "Signal Messenger, LLC",