MCPcopy Create free account

hub / github.com/lerna/lerna / functions

Functions1,091 in github.com/lerna/lerna

↓ 59 callersMethodcreate
({ name, packageManager, lernaInit, initializeGit, installDependencies, e2eRoot, f
libs/e2e-utils/src/lib/fixture.ts:67
↓ 56 callersMethodexec
* Execute a given command in the root of the lerna workspace under test within the fixture. * This has been given a terse name to help with readabi
libs/e2e-utils/src/lib/fixture.ts:206
↓ 55 callersMethoddestroy
* Tear down the entirety of the fixture including the git origin and the lerna workspace under test.
libs/e2e-utils/src/lib/fixture.ts:171
↓ 55 callersFunctioninitFixtureFactory
(startDir: any)
libs/test-helpers/src/lib/fixtures.ts:46
↓ 55 callersFunctionnormalizeEnvironment
(str: string)
libs/e2e-utils/src/lib/snapshot-serializer-utils.ts:31
↓ 50 callersMethodlerna
* Execute a command using the locally installed instance of the lerna CLI. * This has been given a terse name to help with readability in the spec
libs/e2e-utils/src/lib/fixture.ts:282
↓ 44 callersMethodthen
(onResolved: () => void, onRejected: (err: string | Error) => void)
libs/core/src/lib/command/index.ts:214
↓ 41 callersFunctiongetPackage
(project: ProjectGraphProjectNodeWithPackage)
libs/core/src/lib/project-graph-with-packages.ts:28
↓ 35 callersMethodthen
(onResolved: () => void, onRejected: (err: string | Error) => void)
libs/commands/init/src/index.ts:127
↓ 34 callersMethodget
* Map-like retrieval of arbitrary values
libs/core/src/lib/package.ts:249
↓ 30 callersMethodgetWorkspacePath
* Resolve the file path of a given file within the lerna workspace under test.
libs/e2e-utils/src/lib/fixture.ts:184
↓ 29 callersMethodcreateInitialGitCommit
()
libs/e2e-utils/src/lib/fixture.ts:448
↓ 29 callersMethodupdateJson
(path: string, updateFn: (json: Record<string, unknown>) => Record<string, unknown>)
libs/e2e-utils/src/lib/fixture.ts:456
↓ 28 callersFunctioncommandRunner
(commandModule: yargs.CommandModule)
libs/test-helpers/src/lib/cli.ts:13
↓ 28 callersMethodtoString
()
libs/core/src/lib/byte-size.ts:21
↓ 27 callersFunctioncliRunner
(cwd: string, env?: any)
libs/test-helpers/src/lib/cli.ts:102
↓ 27 callersFunctiontest
(val: string)
e2e/exec/src/exec.spec.ts:8
↓ 26 callersMethodadd
(data: any, marker: string)
libs/core/src/lib/npm-conf/conf.ts:24
↓ 26 callersMethodset
* Map-like storage of arbitrary values
libs/core/src/lib/package.ts:256
↓ 25 callersMethodlog
(lvl: string, prefix: string, ...messageArgs: any[])
libs/core/src/lib/npmlog/index.ts:215
↓ 23 callersMethodexecSync
(cmd: string, args: string[])
libs/commands/import/src/index.ts:166
↓ 22 callersFunctionnormalizeCommitSHAs
(str: string)
libs/e2e-utils/src/lib/snapshot-serializer-utils.ts:14
↓ 22 callersMethodwrite
( msg: string, style?: { fg?: string; bg?: string; bold?: boolean; underline?:
libs/core/src/lib/npmlog/index.ts:318
↓ 21 callersFunctioncloneFixtureFactory
(startDir: any)
libs/test-helpers/src/lib/fixtures.ts:10
↓ 21 callersFunctiongitTag
(cwd: string, tagName: string)
libs/test-helpers/src/lib/git/index.ts:48
↓ 19 callersFunctiondefineLernaVitestConfig
(options: LernaVitestOptions)
vitest.shared.ts:66
↓ 18 callersMethodaddScriptsToPackage
({ packagePath, scripts, }: { packagePath: string; scripts: Record<string, string>; })
libs/e2e-utils/src/lib/fixture.ts:407
↓ 18 callersFunctiongitAdd
(cwd: string, ...files: string[])
libs/test-helpers/src/lib/git/index.ts:17
↓ 18 callersFunctionloggingOutput
(minLevel = "info")
libs/test-helpers/src/lib/logging-output.ts:9
↓ 17 callersFunctionnormalizeCommandOutput
(str: string)
libs/e2e-utils/src/lib/snapshot-serializer-utils.ts:58
↓ 16 callersMethodcompleted
()
libs/core/src/lib/npmlog/are-we-there-yet/tracker.ts:13
↓ 16 callersFunctiongitCommit
(cwd: string, message: string)
libs/test-helpers/src/lib/git/index.ts:25
↓ 15 callersMethodsuccess
* Log with level success * @param prefix * @param message * @param args
libs/core/src/lib/command/index.ts:42
↓ 14 callersFunctiondefineLernaE2eVitestConfig
(options: LernaVitestOptions)
vitest.shared.ts:42
↓ 13 callersMethodreadWorkspaceFile
* Read the contents of a given file within the lerna workspace under test.
libs/e2e-utils/src/lib/fixture.ts:191
↓ 12 callersFunctioncommitChangeToPackage
(cwd: string, packageName: string, commitMsg: any, data: any)
libs/test-helpers/src/lib/git/index.ts:76
↓ 12 callersMethodisIndependent
()
libs/core/src/lib/project/index.ts:205
↓ 12 callersMethodresume
()
libs/core/src/lib/npmlog/index.ts:202
↓ 12 callersFunctiontest
(val)
libs/commands/version/src/lib/version-bump-prerelease.spec.ts:57
↓ 11 callersMethoddisable
()
libs/core/src/lib/npmlog/gauge/index.ts:202
↓ 11 callersMethodfromExisting
(e2eRoot: string, fixtureRootPath: string, forceDeterministicTerminalOutput = false)
libs/e2e-utils/src/lib/fixture.ts:109
↓ 11 callersMethodinstall
* Execute the install command of the configured package manager for the current fixture. * This has been given a terse name to help with readabilit
libs/e2e-utils/src/lib/fixture.ts:261
↓ 11 callersMethodpause
()
libs/core/src/lib/npmlog/index.ts:195
↓ 11 callersMethodreadOutput
(fileName: string)
libs/e2e-utils/src/lib/fixture.ts:134
↓ 11 callersFunctiontest
(val: unknown)
libs/core/src/lib/project/index.spec.ts:17
↓ 10 callersFunctiondone
(finalError?: any)
libs/core/src/lib/npm-install.ts:78
↓ 10 callersMethodserialize
* Write manifest changes to disk * @returns {Promise} resolves when write finished
libs/core/src/lib/package.ts:284
↓ 10 callersFunctionshowCommit
(cwd: string, ...args: any[])
libs/test-helpers/src/lib/git/index.ts:52
↓ 10 callersFunctiontrimEnds
(lines: string)
libs/e2e-utils/src/lib/snapshot-serializer-utils.ts:74
↓ 9 callersMethodaddNxJsonToWorkspace
()
libs/e2e-utils/src/lib/fixture.ts:367
↓ 9 callersMethodcatch
(onRejected: (err: string | Error) => void)
libs/commands/init/src/index.ts:132
↓ 9 callersMethodcompleteWork
(work: number)
libs/core/src/lib/npmlog/are-we-there-yet/tracker.ts:22
↓ 9 callersFunctiontest
(val)
libs/commands/list/src/lib/list-command.spec.ts:34
↓ 8 callersFunctioncreateProjectGraph
({ projects, dependencies, }: { projects: T[]; dependencies: (ProjectGraphDependency | ProjectGraphWor
libs/core/src/lib/test-helpers/create-project-graph.ts:33
↓ 8 callersMethodfinish
()
libs/core/src/lib/npmlog/are-we-there-yet/tracker.ts:30
↓ 8 callersMethodlernaInit
* Resolve the locally published version of lerna and run the `init` command, with an optionally * provided arguments.
libs/e2e-utils/src/lib/fixture.ts:221
↓ 8 callersFunctionprojectNode
( projectNode: Partial<ProjectGraphProjectNode>, pkg?: Partial<RawManifest> )
libs/core/src/lib/test-helpers/create-project-graph.ts:17
↓ 8 callersFunctionpulseTillDone
(prefix: string | any, promise?: any)
libs/core/src/lib/pulse-till-done.ts:28
↓ 7 callersMethodaddDependencyToPackage
({ packagePath, dependencyName, version, }: { packagePath: string; dependencyName: strin
libs/e2e-utils/src/lib/fixture.ts:382
↓ 7 callersMethodaddWork
(work: number)
libs/core/src/lib/npmlog/are-we-there-yet/tracker.ts:17
↓ 7 callersMethodenable
()
libs/core/src/lib/npmlog/gauge/index.ts:189
↓ 7 callersFunctionnpmConf
(opts?: any)
libs/core/src/lib/npm-conf/index.ts:14
↓ 7 callersFunctionoutput
(...args: any[])
libs/core/src/lib/output.ts:4
↓ 7 callersMethodoverrideLernaConfig
(lernaConfig: Record<string, any>)
libs/e2e-utils/src/lib/fixture.ts:249
↓ 7 callersFunctionprereleaseIdFromVersion
(version: string)
libs/core/src/lib/prerelease-id-from-version.ts:3
↓ 7 callersFunctiontest
(val)
libs/core/src/lib/log-packed.spec.ts:11
↓ 6 callersFunctioncatFile
(baseDir: any, fileName: any, content: any, opts = "utf8" as const)
libs/commands/create/src/lib/cat-file.ts:10
↓ 6 callersFunctionexecSync
(command: string, args: string[], opts?: import("execa").SyncOptions)
libs/child-process/src/index.ts:44
↓ 6 callersFunctionprojectGraphDependency
( dep: Partial<ProjectGraphWorkspacePackageDependency> )
libs/core/src/lib/test-helpers/create-project-graph.ts:27
↓ 6 callersMethodsetTheme
(theme: any)
libs/core/src/lib/npmlog/gauge/index.ts:151
↓ 6 callersMethodshow
(section?: string | object, completed?: number)
libs/core/src/lib/npmlog/gauge/index.ts:254
↓ 6 callersFunctionslash
(path: string)
libs/core/src/lib/slash.ts:5
↓ 5 callersMethod_requestRedraw
()
libs/core/src/lib/npmlog/gauge/index.ts:159
↓ 5 callersMethodaddUnit
(unit: any, weight = 0)
libs/core/src/lib/npmlog/are-we-there-yet/tracker-group.ts:25
↓ 5 callersMethodcatch
(onRejected: (err: string | Error) => void)
libs/core/src/lib/command/index.ts:219
↓ 5 callersFunctioncollectProjectUpdates
( filteredProjects: ProjectGraphProjectNodeWithPackage[], projectGraph: ProjectGraphWithPackages, execOp
libs/core/src/lib/collect-updates/collect-project-updates.ts:38
↓ 5 callersFunctionfilterOptions
(yargs: Argv<object>)
libs/core/src/lib/filter-options.ts:5
↓ 5 callersFunctionfilterProjects
( projectGraph: ProjectGraphWithPackages, execOpts: Partial<ExecOptions> = {}, opts: Partial<FilterOptio
libs/core/src/lib/filter-projects.ts:12
↓ 5 callersMethodgetPackages
* @deprecated Only used in legacy core utilities * TODO: remove in v8
libs/core/src/lib/project/index.ts:78
↓ 5 callersFunctionnewException
(code: string, msg: string)
libs/core/src/lib/npmlog/gauge/validate.ts:122
↓ 5 callersFunctionrunProjectsTopologically
( projects: ProjectGraphProjectNodeWithPackage[], projectGraph: ProjectGraphWithPackages, runner: (node:
libs/core/src/lib/run-projects-topologically.ts:17
↓ 5 callersFunctionsetupLernaVersionMocks
()
libs/commands/publish/__fixtures__/lerna-version-mocks.ts:12
↓ 5 callersFunctiontestEvent
(obj: any, event: any, next: any)
libs/core/src/lib/npmlog/are-we-there-yet/tests/test-event.ts:5
↓ 5 callersMethoduseColor
()
libs/core/src/lib/npmlog/index.ts:115
↓ 5 callersFunctionvalidate
(rawSchemas: string, args: any[] | IArguments)
libs/core/src/lib/npmlog/gauge/validate.ts:46
↓ 4 callersMethodaddFile
(file: any, name = file)
libs/core/src/lib/npm-conf/conf.ts:42
↓ 4 callersMethodaddLevel
(lvl: string | number, n: any, style?: any, disp: string | number | null = null)
libs/core/src/lib/npmlog/index.ts:335
↓ 4 callersFunctionapplyBuildMetadata
(version: string, buildMetadata: string)
libs/core/src/lib/conventional-commits/apply-build-metadata.ts:8
↓ 4 callersFunctioncolorize
(format: StyleFormat, text: string)
libs/child-process/src/colorize.ts:12
↓ 4 callersFunctiondescribeRef
( options: DescribeRefOptions = {}, includeMergedTags?: boolean )
libs/core/src/lib/describe-ref.ts:55
↓ 4 callersMethodexternalExecSync
(cmd: string, args: string[])
libs/commands/import/src/index.ts:170
↓ 4 callersMethodfilterPrivatePkgUpdates
(updates: ProjectGraphProjectNodeWithPackage[])
libs/commands/publish/src/index.ts:1140
↓ 4 callersFunctiongetCommitMessage
(cwd: string, format = "%B")
libs/test-helpers/src/lib/git/index.ts:13
↓ 4 callersFunctiongetPackagesForOption
(option?: string | string[] | boolean)
libs/core/src/lib/get-packages-for-option.ts:4
↓ 4 callersFunctiongitInit
(cwd: string, ...args: any[])
libs/test-helpers/src/lib/git/index.ts:34
↓ 4 callersMethodhide
(cb?: () => void)
libs/core/src/lib/npmlog/gauge/index.ts:241
↓ 4 callersFunctionotplease
( fn: (opts: T) => Promise<unknown>, _opts: T, otpCache?: OneTimePasswordCache | null )
libs/core/src/lib/otplease.ts:44
↓ 4 callersFunctionpromptConfirmation
(message: string)
libs/core/src/lib/prompt.ts:7
↓ 4 callersMethodpulse
(subsection?: string)
libs/core/src/lib/npmlog/gauge/index.ts:274
↓ 4 callersMethodrefresh
* Refresh internal state from disk (e.g., changed by external lifecycles)
libs/core/src/lib/package.ts:272
next →1–100 of 1,091, ranked by callers