UNPKG

482 BTypeScriptView Raw
1/**
2 * `GitRepository` represents a git repository hosting
3 * the source code of a package.
4 *
5 * @see {@link Repository}
6 */
7export interface GitRepository {
8 /** Repository type, always `git` */
9 readonly type: 'git';
10 /** Repository URL */
11 readonly url: string;
12 /**
13 * Specific directory in the repository
14 * (for example, a directory in a monorepo)
15 */
16 readonly directory?: string;
17}
18//# sourceMappingURL=git-repository.d.ts.map
\No newline at end of file