mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-07-25 23:48:13 +01:00
Enable trusted publishing for types package
This commit is contained in:
@@ -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',
|
||||
'}',
|
||||
'```',
|
||||
'',
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
"registry": "https://registry.npmjs.org/",
|
||||
"provenance": true
|
||||
"provenance": false
|
||||
},
|
||||
"author": {
|
||||
"name": "Signal Messenger, LLC",
|
||||
|
||||
Reference in New Issue
Block a user