fix: add repository field for npm provenance validation (#85)
This commit is contained in:
@@ -171,6 +171,10 @@ for (const item of targets) {
|
||||
version: Script.version,
|
||||
os: [item.os],
|
||||
cpu: [item.arch],
|
||||
repository: {
|
||||
type: "git",
|
||||
url: "https://github.com/Kilo-Org/kilo",
|
||||
},
|
||||
},
|
||||
null,
|
||||
2,
|
||||
|
||||
@@ -31,6 +31,10 @@ await Bun.file(`./dist/${pkg.name}/package.json`).write(
|
||||
},
|
||||
version: Script.version,
|
||||
optionalDependencies: binaries,
|
||||
repository: {
|
||||
type: "git",
|
||||
url: "https://github.com/Kilo-Org/kilo",
|
||||
},
|
||||
},
|
||||
null,
|
||||
2,
|
||||
|
||||
Reference in New Issue
Block a user