git-command-helper
Version:
github command helper for nodejs
30 lines (27 loc) • 1.93 kB
JavaScript
// git-command-helper 2.1.0 by Dimas Lanjaka <dimaslanjaka@gmail.com> (https://www.webmanajemen.com)
import * as indexExports from './index-exports.mjs';
export { indexExports as ext };
import { git } from './git.mjs';
export { submodule as gitSubmodule } from './submodule.mjs';
export { fixCaseSensitive } from './config/fix-case-sensitive.mjs';
export { forceEolLF } from './config/fix-end-of-line.mjs';
export { gitConfig } from './config/gitConfig.mjs';
export { dryRun, isCanPush } from './functions/dry-helper.mjs';
export { getGithubBranches } from './functions/getGithubBranches.mjs';
export { getGithubCurrentBranch } from './functions/getGithubCurrentBranch.mjs';
export { getGithubRemote } from './functions/getGithubRemote.mjs';
export { getGithubRepoUrl } from './functions/getGithubRepoUrl.mjs';
export { getGithubRootDir } from './functions/getGithubRootDir.mjs';
export { getAllIgnoresConfig, getGitignoreFiles, getIgnores, isIgnored } from './functions/gitignore.mjs';
export { gitHasChanges } from './functions/hasChanges.mjs';
export { isUntracked } from './functions/isFileChanged.mjs';
export { latestCommit } from './functions/latestCommit.mjs';
export { applyTokenToOriginUrl, applyUserToOriginUrl } from './functions/origin-helper.mjs';
export { parseGitHubUrl } from './functions/parseGitHubUrl.mjs';
export { gitStatus } from './functions/status.mjs';
export { default as spawnAsync } from './dependencies/@expo/spawn-async/build/spawnAsync.mjs';
export { spawn as crossSpawn, async as crossSpawnAsync, sync as crossSpawnSync, spawnSync } from 'cross-spawn';
export { spawn, spawnSilent } from './spawn.mjs';
export { safeURL } from './utils/safe-url.mjs';
// The above exports allow for both named and default imports of the git module, enabling flexibility in how the module is consumed by other parts of the application.
export { git as default, git, git as gitCommandHelper, git as gitHelper };