Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lerna/lerna
/ functions
Functions
1,091 in github.com/lerna/lerna
⨍
Functions
1,091
◇
Types & classes
146
↓ 4 callers
Function
remove
(spec: string, tag: string, options: DistTagOptions, otpCache?: OneTimePasswordCache)
libs/core/src/lib/npm-dist-tag.ts:74
↓ 4 callers
Function
renderTemplate
(width, template, values)
libs/core/src/lib/npmlog/gauge/render-template.ts:21
↓ 4 callers
Function
runLifecycle
(pkg: Package, stage: string, options: LifecycleConfig)
libs/core/src/lib/run-lifecycle.ts:56
↓ 4 callers
Method
toJSON
* Provide shallow copy for munging elsewhere
libs/core/src/lib/package.ts:265
↓ 4 callers
Function
updateLernaConfig
(testDir: any, updates: any)
libs/test-helpers/src/index.ts:19
↓ 4 callers
Method
updateLocalDependency
* Mutate local dependency spec according to type * @param resolved npa metadata * @param depVersion semver * @param savePrefix npm_config_sav
libs/core/src/lib/package.ts:367
↓ 4 callers
Function
wideTruncate
(str, target)
libs/core/src/lib/npmlog/gauge/wide-truncate.ts:14
↓ 4 callers
Function
writePackage
(filePath: string, data: Record<string, any>)
libs/core/src/lib/write-package.ts:36
↓ 3 callers
Method
_doRedraw
()
libs/core/src/lib/npmlog/gauge/index.ts:291
↓ 3 callers
Method
_format
( msg: string, style?: { fg?: string; bg?: string; bold?: boolean; underline?:
libs/core/src/lib/npmlog/index.ts:287
↓ 3 callers
Method
addPackagesDirectory
(path: string)
libs/e2e-utils/src/lib/fixture.ts:374
↓ 3 callers
Function
callWith
(obj: any, method: () => any)
libs/core/src/lib/npmlog/gauge/index.ts:14
↓ 3 callers
Function
cc
()
libs/core/src/lib/npm-conf/config-chain/index.ts:20
↓ 3 callers
Method
completed
()
libs/core/src/lib/npmlog/are-we-there-yet/tracker-group.ts:53
↓ 3 callers
Function
createRunner
(commandOptions)
libs/core/src/lib/run-lifecycle.ts:181
↓ 3 callers
Method
disableColor
()
libs/core/src/lib/npmlog/index.ts:124
↓ 3 callers
Method
disableProgress
()
libs/core/src/lib/npmlog/index.ts:156
↓ 3 callers
Method
emitLog
(m: { prefix: string; level: string | number; message?: string })
libs/core/src/lib/npmlog/index.ts:256
↓ 3 callers
Method
enableProgress
()
libs/core/src/lib/npmlog/index.ts:147
↓ 3 callers
Method
enableProgressBar
()
libs/core/src/lib/command/index.ts:300
↓ 3 callers
Method
execImpl
* The underlying child_process implementation, not exposed to consumers of the fixture. This separation of * "within lerna workspace vs not" is nec
libs/e2e-utils/src/lib/fixture.ts:470
↓ 3 callers
Function
execPackageManager
( npmClient: string, args: string[], opts: ExecOptions )
libs/core/src/lib/corepack/exec-package-manager.ts:21
↓ 3 callers
Function
fetchTags
* Retrieve list of dist-tags for a package.
libs/core/src/lib/npm-dist-tag.ts:137
↓ 3 callers
Function
formatJSON
( resultList: ReturnType<typeof filterResultList>, additionalProperties: (project: ProjectGraphProjectNode
libs/core/src/lib/listable-format-projects.ts:95
↓ 3 callers
Function
getChangelogConfig
( changelogPreset: ChangelogPresetConfig = "conventional-changelog-angular", rootPath: string )
libs/core/src/lib/conventional-commits/get-changelog-config.ts:172
↓ 3 callers
Function
getCycles
(dependencies: Record<string, Set<string>>)
libs/core/src/lib/cycles/get-cycles.ts:6
↓ 3 callers
Function
getFetchConfig
(options: Partial<FetchConfig>, extra: Partial<FetchConfig>)
libs/commands/publish/src/lib/fetch-config.ts:14
↓ 3 callers
Function
getOneTimePassword
( message = "This operation requires a one-time password:" )
libs/core/src/lib/otplease.ts:107
↓ 3 callers
Function
getPublishedVersion
()
libs/e2e-utils/src/lib/fixture.ts:586
↓ 3 callers
Function
gitCheckout
(cwd: string, args: any)
libs/test-helpers/src/lib/git/index.ts:21
↓ 3 callers
Function
gitCommit
( message: string, { amend, commitHooks, signGitCommit, signoffGitCommit, overrideMessage }: GitCommitOpti
libs/commands/version/src/lib/git-commit.ts:15
↓ 3 callers
Function
gitTag
( tag: string, { forceGitTag, signGitTag }: { forceGitTag?: boolean; signGitTag?: boolean }, opts: ExecO
libs/commands/version/src/lib/git-tag.ts:6
↓ 3 callers
Method
isEnabled
()
libs/core/src/lib/npmlog/gauge/index.ts:117
↓ 3 callers
Function
lernaCLI
(argv?: string | readonly string[], cwd?: string)
libs/core/src/lib/cli.ts:18
↓ 3 callers
Function
listableFormatProjects
( projectsList: ProjectGraphProjectNodeWithPackage[], projectGraph: ProjectGraphWithPackages, options: L
libs/core/src/lib/listable-format-projects.ts:17
↓ 3 callers
Function
listableOptions
(yargs: Argv, group = "Command Options:")
libs/core/src/lib/listable-options.ts:18
↓ 3 callers
Function
makePromptVersion
( resolvePrereleaseId: (existingPreId: string) => string, buildMetadata: string )
libs/commands/version/src/lib/prompt-version.ts:4
↓ 3 callers
Function
mergeOverlappingCycles
(cycles: string[][])
libs/core/src/lib/cycles/merge-overlapping-cycles.ts:20
↓ 3 callers
Function
normalizeFixtureCommandOutput
(command: string, output: string)
libs/e2e-utils/src/lib/normalize-fixture-command-output.ts:5
↓ 3 callers
Function
normalizeRelativeDir
(testDir: string, filePath: string)
libs/test-helpers/src/index.ts:31
↓ 3 callers
Function
removeTempLicenses
(packagesToBeLicensed: Package[])
libs/commands/publish/src/lib/remove-temp-licenses.ts:8
↓ 3 callers
Method
run
(fn: () => any, name: any)
libs/core/src/lib/profiler.ts:53
↓ 3 callers
Function
runner
(node: ProjectGraphProjectNode)
libs/core/src/lib/run-projects-topologically.spec.ts:115
↓ 3 callers
Method
showProgress
(name?: string, completed?: number)
libs/core/src/lib/npmlog/index.ts:172
↓ 3 callers
Function
spawn
(command: string, args: string[], opts?: LernaOptions)
libs/child-process/src/index.ts:54
↓ 3 callers
Function
spawnProcess
* @param command * @param args * @param opts
libs/child-process/src/index.ts:140
↓ 3 callers
Function
tempWrite
(fileContent: any, filePath?: string)
libs/core/src/lib/temp-write.ts:33
↓ 3 callers
Function
toNerfDart
(uri: string)
libs/core/src/lib/npm-conf/nerf-dart.ts:4
↓ 3 callers
Method
topoMapPackages
(mapper: (pkg: Package) => Promise<unknown>)
libs/commands/publish/src/index.ts:879
↓ 3 callers
Method
verifyWorkingTreeClean
()
libs/commands/publish/src/index.ts:448
↓ 3 callers
Function
wrapError
* @param spawned
libs/child-process/src/index.ts:171
↓ 2 callers
Method
_computeTheme
(theme: any)
libs/core/src/lib/npmlog/gauge/index.ts:128
↓ 2 callers
Function
addDependencies
( projects: ProjectGraphProjectNodeWithPackage[], projectGraph: ProjectGraphWithPackages )
libs/core/src/lib/add-dependencies.ts:3
↓ 2 callers
Function
addDependents
( projects: ProjectGraphProjectNodeWithPackage[], projectGraph: ProjectGraphWithPackages )
libs/core/src/lib/add-dependents.ts:3
↓ 2 callers
Method
addEnv
(env = process.env)
libs/core/src/lib/npm-conf/conf.ts:60
↓ 2 callers
Function
byteSize
(bytes: number, options?: ByteSizeOptions)
libs/core/src/lib/byte-size.ts:125
↓ 2 callers
Method
clearProgress
(cb?: () => void)
libs/core/src/lib/npmlog/index.ts:165
↓ 2 callers
Function
collectProjects
( projects: ProjectGraphProjectNodeWithPackage[], projectGraph: ProjectGraphWithPackages, { isCandidate
libs/core/src/lib/collect-updates/collect-project-updates.ts:141
↓ 2 callers
Function
collectUncommitted
({ cwd, log = npmlog }: UncommittedConfig)
libs/core/src/lib/collect-uncommitted.ts:29
↓ 2 callers
Function
color
(...args: (string | string[])[])
libs/core/src/lib/npmlog/gauge/console-control-strings.ts:121
↓ 2 callers
Function
colorSupport
(stream?: { isTTY?: boolean })
libs/core/src/lib/npmlog/gauge/color-support.ts:36
↓ 2 callers
Method
configureGitUser
({ email, name }: { email?: string; name?: string })
libs/commands/import/src/index.ts:230
↓ 2 callers
Function
copyFixture
(targetDir: string, fixtureName: string, cwd: any)
libs/test-helpers/src/lib/fixtures.ts:42
↓ 2 callers
Function
createCommandAndArgs
(npmClient: string, args: string[])
libs/core/src/lib/corepack/exec-package-manager.ts:7
↓ 2 callers
Function
createGitHubClient
()
libs/core/src/lib/scm-clients/github/create-github-client.ts:11
↓ 2 callers
Function
createGitLabClient
()
libs/core/src/lib/scm-clients/gitlab/create-gitlab-client.ts:8
↓ 2 callers
Method
createLogger
(name: string, loglevel?: string)
libs/core/src/lib/command/index.ts:202
↓ 2 callers
Function
createProjectGraphWithPackages
( projectGraph: ProjectGraph, projectFileMap: ProjectFileMap, packageConfigs: string[] )
libs/core/src/lib/command/create-project-graph-with-packages.ts:16
↓ 2 callers
Method
createRelease
({ owner, repo, name, tag_name: tagName, body })
libs/core/src/lib/scm-clients/gitlab/gitlab-client.ts:14
↓ 2 callers
Function
createTempLicenses
(srcLicensePath: string, packagesToBeLicensed: Package[])
libs/commands/publish/src/lib/create-temp-licenses.ts:9
↓ 2 callers
Function
createWithInvoker
( filename: string | undefined, modulePath: string | undefined )
libs/commands/init/src/lib/init-command.spec.ts:268
↓ 2 callers
Function
describeRefSync
( options: DescribeRefOptions = {}, includeMergedTags?: boolean )
libs/core/src/lib/describe-ref.ts:74
↓ 2 callers
Function
diff
(a: string, b: string, options: DiffOptions = {})
libs/commands/init/src/lib/diff.ts:238
↓ 2 callers
Method
enableColor
()
libs/core/src/lib/npmlog/index.ts:119
↓ 2 callers
Method
enableUnicode
()
libs/core/src/lib/npmlog/index.ts:129
↓ 2 callers
Function
englishList
(list: (string | number)[])
libs/core/src/lib/npmlog/gauge/validate.ts:105
↓ 2 callers
Function
envReplace
(str: any)
libs/core/src/lib/npm-conf/env-replace.ts:2
↓ 2 callers
Function
exec
(command: string, args: string[], opts?: LernaOptions)
libs/child-process/src/index.ts:31
↓ 2 callers
Function
execPackageManagerSync
(npmClient: string, args: string[], opts: ExecOptions)
libs/core/src/lib/corepack/exec-package-manager.ts:30
↓ 2 callers
Method
execScript
(pkg: Package, script: string)
libs/commands/publish/src/index.ts:847
↓ 2 callers
Method
fileFinder
()
libs/core/src/lib/project/index.ts:161
↓ 2 callers
Method
generate
(tree: Tree)
libs/commands/init/src/index.ts:136
↓ 2 callers
Function
generateProfileOutputPath
(outputDirectory?: string)
libs/core/src/lib/profiler.ts:27
↓ 2 callers
Function
getArgs
* Build `git describe` args.
libs/core/src/lib/describe-ref.ts:30
↓ 2 callers
Function
getCurrentBranch
(opts: ExecOptions)
libs/commands/version/src/lib/get-current-branch.ts:6
↓ 2 callers
Function
getCurrentSHA
(opts: ExecOptions)
libs/commands/publish/src/lib/get-current-sha.ts:9
↓ 2 callers
Function
getE2EWithoutLeadingSlash
()
libs/e2e-utils/src/lib/snapshot-serializer-utils.ts:6
↓ 2 callers
Function
getGlobOpts
(rootPath: string, packageConfigs: any[])
libs/core/src/lib/project/make-file-finder.ts:10
↓ 2 callers
Function
getNpmExecOpts
(pkg: { name: any; location: string }, registry?: any, npmClient?: string)
libs/core/src/lib/get-npm-exec-opts.ts:3
↓ 2 callers
Function
getNpmUsername
(options: Partial<FetchConfig> = {})
libs/commands/publish/src/lib/get-npm-username.ts:10
↓ 2 callers
Method
getOpts
(pkg: Package)
libs/commands/exec/src/index.ts:122
↓ 2 callers
Method
getOpts
(pkg: Package)
libs/commands/run/src/index.ts:177
↓ 2 callers
Method
getPackageDirectories
()
libs/commands/import/src/index.ts:146
↓ 2 callers
Method
getPackageLicensePaths
()
libs/core/src/lib/project/index.ts:201
↓ 2 callers
Function
getPackageManifestPath
(node: ProjectGraphProjectNode, files: FileData[])
libs/core/src/lib/get-package-manifest-path.ts:4
↓ 2 callers
Function
getPackagesWithoutLicense
( project: Project, packagesToPublish: Package[] )
libs/commands/publish/src/lib/get-packages-without-license.ts:7
↓ 2 callers
Method
getPreDistTag
(pkg: Package)
libs/commands/publish/src/index.ts:1128
↓ 2 callers
Function
getProfileData
(opts: FetchConfig)
libs/commands/publish/src/lib/get-profile-data.ts:24
↓ 2 callers
Function
getProjectsWithUnpublishedPackages
( projectNodes: ProjectGraphProjectNodeWithPackage[], opts: Partial<FetchConfig> )
libs/commands/publish/src/lib/get-projects-with-unpublished-packages.ts:10
↓ 2 callers
Method
getRunner
()
libs/commands/exec/src/index.ts:137
← previous
next →
101–200 of 1,091, ranked by callers