Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckEnvGitignore ¶
func CheckEnvGitignore() bool
CheckEnvGitignore checks if .env files are in .gitignore
func DetectRepo ¶
DetectRepo detects the GitHub repository from git remote
func GetGitRoot ¶
GetGitRoot returns the root directory of the git repository
func IsGitRepository ¶
func IsGitRepository() bool
IsGitRepository checks if the current directory is a git repository
func ParseGitHubURL ¶
ParseGitHubURL extracts owner/repo from a GitHub URL
Types ¶
type MonorepoInfo ¶ added in v0.4.1
type MonorepoInfo struct {
IsMonorepo bool
Tool string // "turborepo", "nx", "pnpm", "lerna", "rush", "yarn", "npm"
}
MonorepoInfo contains information about detected monorepo setup
func DetectMonorepo ¶ added in v0.4.1
func DetectMonorepo() MonorepoInfo
DetectMonorepo checks if the repository is a monorepo by looking for common monorepo tool configuration files
Click to show internal directories.
Click to hide internal directories.