@reliverse/rse
Version:
@reliverse/rse is your all-in-one companion for bootstrapping and improving any kind of projects (especially web apps built with frameworks like Next.js) — whether you're kicking off something new or upgrading an existing app. It is also a little AI-power
9 lines (8 loc) • 451 B
TypeScript
/**
* Checks if the given directory is a git repository
*/
export declare function isDirHasGit(cwd: string, isDev: boolean, projectName: string, projectPath: string): Promise<boolean>;
/**
* Sets up a remote for an existing local git repository and pushes the initial commit
*/
export declare function setupGitRemote(cwd: string, isDev: boolean, projectName: string, projectPath: string, remoteUrl: string, remoteName?: string): Promise<boolean>;