Skip to content

Commit 7d20adb

Browse files
committed
WIP
1 parent eeecf85 commit 7d20adb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/e2e/utils/registry.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,16 @@ _auth "${token}"
9595
registry http:${registry}
9696
`,
9797
);
98+
99+
if (scopedAuthentication) {
100+
await writeFile(
101+
'bunfig.toml',
102+
`
103+
[install.scopes]
104+
angular = { url = "http:${registry}/", auth = "${token}" }
105+
`,
106+
);
107+
}
98108
}
99109

100110
export function setNpmEnvVarsForAuthentication(

0 commit comments

Comments
 (0)