MCPcopy Index your code

hub / github.com/egoist/tsup / functions

Functions155 in github.com/egoist/tsup

↓ 87 callersFunctiongetTestName
()
test/utils.ts:13
↓ 87 callersFunctionrun
( title: string, files: { [name: string]: string }, options: { entry?: string[] flags?: string[]
test/utils.ts:26
↓ 54 callersFunctiongetFileContent
(filename: string)
test/utils.ts:76
↓ 10 callersFunctionslash
(path: string)
src/utils.ts:116
↓ 7 callersFunctionlocalRequire
(moduleName: string)
src/utils.ts:61
↓ 5 callersFunctionloadPkg
(cwd: string, clearCache: boolean = false)
src/load.ts:82
↓ 4 callersFunctioncreateLogger
(name?: string)
src/log.ts:46
↓ 4 callersFunctionensureArray
(input: string)
src/cli-main.ts:7
↓ 4 callersMethodgetContext
()
src/plugin.ts:103
↓ 4 callersFunctionhandleError
(error: any)
src/errors.ts:16
↓ 4 callersFunctiontoAbsolutePath
(p: string, cwd?: string)
src/utils.ts:236
↓ 3 callersFunctionconvertArrayEntriesToObjectEntries
(arrayOfEntries: string[])
src/utils.ts:303
↓ 3 callersFunctiondefaultOutExtension
({ format, pkgType, }: { format: Format pkgType?: string })
src/utils.ts:142
↓ 3 callersFunctiongetProductionDeps
( cwd: string, clearCache: boolean = false, )
src/load.ts:93
↓ 3 callersFunctionremoveFiles
(patterns: string[], dir: string)
src/utils.ts:74
↓ 3 callersFunctionresolveModule
( id: string, opts: _resolve.AsyncOpts, )
src/rollup/ts-resolve.ts:10
↓ 3 callersFunctionwriteFileSync
(filePath: string, content: string)
src/utils.ts:248
↓ 2 callersFunctionbuildAll
()
src/index.ts:291
↓ 2 callersFunctioncolorize
(type: LOG_TYPE, data: any, onlyImportant = false)
src/log.ts:7
↓ 2 callersFunctioncopyPublicDir
( publicDir: string | boolean | undefined, outDir: string, )
src/lib/public-dir.ts:5
↓ 2 callersFunctiondebouncePromise
( fn: (...args: T) => Promise<void>, delay: number, onError: (err: unknown) => void, )
src/utils.ts:82
↓ 2 callersFunctionensureTempDeclarationDir
()
src/utils.ts:169
↓ 2 callersFunctionequal
(a: T, b: T)
test/index.test.ts:264
↓ 2 callersFunctiongetAllDepsHash
(cwd: string)
src/load.ts:112
↓ 2 callersFunctiongetFilename
()
assets/esm_shims.js:5
↓ 2 callersFunctiongetFixture
(opts: Partial<SwcPluginConfig> = {})
src/esbuild/swc.test.ts:7
↓ 2 callersFunctionisCSS
(path: string)
src/plugin.ts:89
↓ 2 callersFunctionloadJson
(filepath: string)
src/load.ts:10
↓ 2 callersFunctionmain
(options: Options = {})
src/cli-main.ts:11
↓ 2 callersFunctionoutputFile
( filepath: string, data: any, options?: { mode?: fs.Mode }, )
src/fs.ts:4
↓ 2 callersFunctionparseSourceMap
(map?: string | object | null)
src/plugin.ts:84
↓ 2 callersFunctionreplaceDtsWithJsExtensions
(dtsFilePath: string)
src/utils.ts:263
↓ 2 callersFunctionreportSize
( logger: Logger, format: string, files: { [name: string]: number }, )
src/lib/report-size.ts:21
↓ 2 callersFunctionresolveEntryPaths
(entryPaths: InputOption)
src/utils.ts:343
↓ 2 callersFunctionsetSilent
(isSilent?: boolean)
src/log.ts:36
↓ 2 callersFunctionsleep
(n: number = Math.trunc(Math.random() * 50) + 20)
test/index.test.ts:269
↓ 2 callersFunctionswcPlugin
({ logger, ...swcOptions }: SwcPluginConfig)
src/esbuild/swc.ts:12
↓ 2 callersFunctionterminateWorker
()
src/index.ts:217
↓ 2 callersFunctionuseSvelteCssExtension
(p: string)
src/esbuild/svelte.ts:6
↓ 1 callersMethodassign
(name: string)
src/tsc.ts:15
↓ 1 callersFunctionbuild
(_options: Options)
src/index.ts:167
↓ 1 callersMethodbuildFinished
({ outputFiles, metafile, }: { outputFiles: OutputFile[] metafile?: Metafile })
src/plugin.ts:124
↓ 1 callersMethodbuildStarted
()
src/plugin.ts:116
↓ 1 callersFunctioncjsInterop
()
src/plugins/cjs-interop.ts:3
↓ 1 callersFunctioncjsSplitting
()
src/plugins/cjs-splitting.ts:6
↓ 1 callersFunctioncleanDtsFiles
(options: NormalizedOptions)
src/api-extractor.ts:172
↓ 1 callersFunctionconvertMessage
({ message, start, end }: any)
src/esbuild/svelte.ts:43
↓ 1 callersFunctioncopyDirSync
(srcDir: string, destDir: string)
src/fs.ts:13
↓ 1 callersFunctiondefineConfig
( options: | Options | Options[] | (( /** The options derived from CLI flags */
src/index.ts:36
↓ 1 callersFunctiondoOnSuccessCleanup
()
src/index.ts:269
↓ 1 callersFunctiondtsTask
()
src/index.ts:204
↓ 1 callersFunctionemit
(compilerOptions?: any, tsconfig?: string)
src/tsc.ts:163
↓ 1 callersFunctionemitDtsFiles
* Use TypeScript compiler to emit declaration files. * * @returns The mapping from source TS file paths to output declaration file paths
src/tsc.ts:89
↓ 1 callersFunctionexperimentalDtsTask
()
src/index.ts:197
↓ 1 callersFunctionexternalPlugin
({ external, noExternal, skipNodeModulesBundle, tsconfigResolvePaths, }: { external?: (string | RegE
src/esbuild/external.ts:7
↓ 1 callersFunctionfilenamify
(input: string)
test/utils.ts:82
↓ 1 callersFunctionfindLowestCommonAncestor
(filepaths: string[])
src/utils.ts:213
↓ 1 callersFunctionformatAggregationExport
( declaration: ExportDeclaration, declarationDirPath: string, )
src/exports.ts:40
↓ 1 callersFunctionformatAggregationExports
( exports: ExportDeclaration[], declarationDirPath: string, )
src/exports.ts:23
↓ 1 callersFunctionformatDistributionExport
( declaration: ExportDeclaration, dest: string, )
src/exports.ts:118
↓ 1 callersFunctionformatDistributionExports
( exports: ExportDeclaration[], fromFilePath: string, toFilePath: string, )
src/exports.ts:70
↓ 1 callersFunctiongenerateExternal
(external: (string | RegExp)[])
src/esbuild/index.ts:41
↓ 1 callersFunctiongetApiExtractor
()
src/utils.ts:55
↓ 1 callersFunctiongetDirname
()
assets/esm_shims.js:6
↓ 1 callersFunctiongetDuration
()
src/tsc.ts:207
↓ 1 callersFunctiongetDuration
()
src/rollup.ts:165
↓ 1 callersFunctiongetDuration
()
src/api-extractor.ts:184
↓ 1 callersFunctiongetExports
* Get all export declarations from root files.
src/tsc.ts:36
↓ 1 callersFunctiongetImportMetaUrl
()
assets/cjs_shims.js:6
↓ 1 callersFunctiongetLengthOfLongestString
(strings: string[])
src/lib/report-size.ts:11
↓ 1 callersFunctiongetOutputExtensionMap
( options: NormalizedOptions, format: Format, pkgType: string | undefined, )
src/esbuild/index.ts:23
↓ 1 callersFunctiongetPostcss
()
src/utils.ts:51
↓ 1 callersFunctiongetPostcssConfig
()
src/esbuild/postcss.ts:21
↓ 1 callersFunctiongetRollupConfig
( options: NormalizedOptions, )
src/rollup.ts:38
↓ 1 callersFunctiongetSilent
()
src/log.ts:40
↓ 1 callersFunctiongetSourcemapComment
( inline: boolean, map: RawSourceMap | string | null | undefined, filepath: string, isCssFile: boolean
src/plugin.ts:229
↓ 1 callersFunctionisInPublicDir
( publicDir: string | boolean | undefined, filePath: string, )
src/lib/public-dir.ts:13
↓ 1 callersFunctionisJS
(path: string)
src/plugin.ts:88
↓ 1 callersFunctionisTaskkillCmdProcessNotFoundError
(err: Error)
src/index.ts:51
↓ 1 callersFunctionjsoncParse
(data: string)
src/utils.ts:132
↓ 1 callersFunctionkillProcess
({ pid, signal }: { pid: number; signal: KILL_SIGNAL })
src/index.ts:62
↓ 1 callersFunctionloadTsupConfig
( cwd: string, configFile?: string, )
src/load.ts:35
↓ 1 callersFunctionmainTasks
()
src/index.ts:260
↓ 1 callersFunctionmakeLabel
( name: string | undefined, input: string, type: LOG_TYPE, )
src/log.ts:21
↓ 1 callersMethodmodifyEsbuildOptions
(options: EsbuildOptions)
src/plugin.ts:108
↓ 1 callersFunctionnativeNodeModulesPlugin
()
src/esbuild/native-node-module.ts:5
↓ 1 callersFunctionnodeProtocolPlugin
()
src/esbuild/node-protocol.ts:7
↓ 1 callersFunctionnormalizeOptions
( logger: ReturnType<typeof createLogger>, optionsFromConfigFile: Options | undefined, optionsOverride:
src/index.ts:70
↓ 1 callersFunctionpadRight
(str: string, maxLength: number)
src/lib/report-size.ts:17
↓ 1 callersFunctionparseCompilerOptions
(compilerOptions?: any)
src/rollup.ts:18
↓ 1 callersFunctionpostcssPlugin
({ css, inject, cssLoader, }: { css?: Map<string, string> inject?: boolean | ((css: string, fileId:
src/esbuild/postcss.ts:6
↓ 1 callersFunctionprettyBytes
(bytes: number)
src/lib/report-size.ts:4
↓ 1 callersFunctionresolveExperimentalDtsConfig
( options: NormalizedOptions, tsconfig: any, )
src/utils.ts:364
↓ 1 callersFunctionresolveInitialExperimentalDtsConfig
( experimentalDts: Options['experimentalDts'], )
src/utils.ts:398
↓ 1 callersFunctionrollupDtsFile
( inputFilePath: string, outputFilePath: string, tsconfigFilePath: string, )
src/api-extractor.ts:27
↓ 1 callersFunctionrollupDtsFiles
( options: NormalizedOptions, exports: ExportDeclaration[], format: Format, )
src/api-extractor.ts:86
↓ 1 callersFunctionrunDtsRollup
( options: NormalizedOptions, exports?: ExportDeclaration[], )
src/api-extractor.ts:178
↓ 1 callersFunctionrunEsbuild
( options: NormalizedOptions, { format, css, logger, buildDependencies, pluginContaine
src/esbuild/index.ts:61
↓ 1 callersFunctionrunRollup
(options: RollupConfig)
src/rollup.ts:161
↓ 1 callersFunctionrunTypeScriptCompiler
(options: NormalizedOptions)
src/tsc.ts:204
next →1–100 of 155, ranked by callers