@sabinmarcu/utils-repo
Index
Functions
Interfaces
Type Aliases
Variables
Type Aliases
AsyncifyArray
Type parameters
- Input: any[]
AsyncifyParameters
Type parameters
- FunctionType: (...arguments_: any[]) => any
- FunctionTypeArguments = AsyncifyArray<Parameters<FunctionType>>
PathPredicateFunction
PathPredicateFunctionAsync
PathResolverFunction
Type parameters
- T = string
PathResolverFunctionAsync
Type parameters
- T = string
PathWalkerFunction
Type parameters
- T = string
PathWalkerFunctionAsync
Type parameters
- T = string
Variables
constfsRoot
constgetAliases
Type declaration
map: { async: PathResolverFunctionAsync<Record<string, string>>; sync: PathResolverFunction<Record<string, string>> }
async: PathResolverFunctionAsync<Record<string, string>>
sync: PathResolverFunction<Record<string, string>>
names: { async: any; sync: any }
async: any
sync: any
constgetAliasesMap
Type declaration
async: PathResolverFunctionAsync<Record<string, string>>
sync: PathResolverFunction<Record<string, string>>
constgetAliasesNames
Type declaration
async: any
sync: any
constgetWorkspaces
Type declaration
map: { async: PathResolverFunctionAsync<Record<string, string>>; sync: PathResolverFunction<Record<string, string>> }
async: PathResolverFunctionAsync<Record<string, string>>
sync: PathResolverFunction<Record<string, string>>
names: { async: PathResolverFunctionAsync<string[]>; sync: PathResolverFunction<string[]> }
async: PathResolverFunctionAsync<string[]>
sync: PathResolverFunction<string[]>
paths: { async: PathResolverFunctionAsync<string[]>; sync: PathResolverFunction<string[]> }
async: PathResolverFunctionAsync<string[]>
sync: PathResolverFunction<string[]>
constgetWorkspacesMap
Type declaration
async: PathResolverFunctionAsync<Record<string, string>>
sync: PathResolverFunction<Record<string, string>>
constgetWorkspacesNames
Type declaration
async: PathResolverFunctionAsync<string[]>
sync: PathResolverFunction<string[]>
constgetWorkspacesPaths
Type declaration
async: PathResolverFunctionAsync<string[]>
sync: PathResolverFunction<string[]>
constresolveGit
Type declaration
async: PathResolverFunctionAsync
sync: PathResolverFunction
constresolveManifest
Type declaration
async: PathResolverFunctionAsync
sync: PathResolverFunction
constresolveRoot
constresolveRootSync
constresolveRootViaGit
Type declaration
async: PathResolverFunctionAsync
sync: PathResolverFunction
constresolveRootViaPackageJson
Type declaration
async: PathResolverFunctionAsync
sync: PathResolverFunction
constresolveRootViaWorkspaces
Type declaration
async: any
sync: any
constresolveWorkspaces
Type declaration
async: PathResolverFunctionAsync<undefined | string[] | WorkspaceConfig>
sync: PathResolverFunction<undefined | string[] | WorkspaceConfig>
constrootResolver
Type declaration
readonlyviaGit: { async: PathResolverFunctionAsync; sync: PathResolverFunction }
async: PathResolverFunctionAsync
sync: PathResolverFunction
readonlyviaPackageJson: { async: PathResolverFunctionAsync; sync: PathResolverFunction }
async: PathResolverFunctionAsync
sync: PathResolverFunction
readonlyviaWorkspaces: { async: any; sync: any }
async: any
sync: any
consttestGit
Type declaration
async: (...arguments_: [path: string]) => Promise<boolean>
Parameters
rest...arguments_: [path: string]
Returns Promise<boolean>
sync: (path: string) => boolean
Parameters
path: string
Returns boolean
consttestNode
Resolver set for git roots
Type declaration
async: (...arguments_: [path: string]) => Promise<boolean>
Parameters
rest...arguments_: [path: string]
Returns Promise<boolean>
sync: (path: string) => boolean
Parameters
path: string
Returns boolean
consttestWorkspaces
Resolver set for git roots
Type declaration
async: (...arguments_: [path: string]) => Promise<boolean>
Parameters
rest...arguments_: [path: string]
Returns Promise<boolean>
sync: (path: string) => boolean
Parameters
path: string
Returns boolean
constwalkFs
Type declaration
async: <T>(pathToCheck: string, predicate: (...arguments_: [path: string]) => Promise<boolean>, process?: PathWalkerProcessFunction<T>) => Promise<string | T>
Type parameters
- T = string
Parameters
pathToCheck: string
predicate: (...arguments_: [path: string]) => Promise<boolean>
optionalprocess: PathWalkerProcessFunction<T>
Returns Promise<string | T>
sync: <T>(pathToCheck: string, predicate: (path: string) => boolean, process?: PathWalkerProcessFunction<T>) => string | T
Type parameters
- T = string
Parameters
pathToCheck: string
predicate: (path: string) => boolean
optionalprocess: PathWalkerProcessFunction<T>
Returns string | T
Resolver set for git roots