Skip to content

Commit a604019

Browse files
committed
feat: add repository info to package.json for working provenance
1 parent d7f3041 commit a604019

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
"oc-wrapped"
1414
],
1515
"license": "MIT",
16+
"repository": {
17+
"type": "git",
18+
"url": "git+https://github.com/moddi3/opencode-wrapped.git"
19+
},
1620
"type": "module",
1721
"bin": {
1822
"oc-wrapped": "./bin/oc-wrapped"

scripts/build.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export const buildTargets = async (version: string) => {
3434
version: version,
3535
os: [item.os === "win32" ? "win32" : item.os],
3636
cpu: [item.arch],
37+
repository: pkg.repository,
3738
},
3839
null,
3940
2

scripts/publish.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ await Bun.file(`./dist/${targetpackageName}/package.json`).write(
6868
bin: { [targetpackageName]: `./bin/${targetpackageName}` },
6969
scripts: { postinstall: "node ./postinstall.mjs" },
7070
optionalDependencies: binaries,
71-
// repository: pkg.repository,
71+
repository: pkg.repository,
7272
// homepage: pkg.homepage,
7373
// bugs: pkg.bugs,
7474
keywords: pkg.keywords,

0 commit comments

Comments
 (0)