diff --git a/src/bunfig.ts b/src/bunfig.ts index b408f5f..ab1f132 100644 --- a/src/bunfig.ts +++ b/src/bunfig.ts @@ -31,7 +31,7 @@ export function createBunfig(options: BunfigOptions): string | null { } if (url && !owner) { - return `[install]${EOL}registry = "${url}"${EOL}`; + return `[install]${EOL}registry = { token = "$BUN_AUTH_TOKEN", url = "${url}"}${EOL}`; } return null;