|
1 | 1 | { |
2 | | - "config-!~{00c}~.d.mts": { |
| 2 | + "config-!~{00d}~.d.mts": { |
3 | 3 | "defineConfig": "declare function defineConfig(_: UserConfigExport): UserConfigExport", |
4 | 4 | "mergeConfig": "declare function mergeConfig(_: InlineConfig, ...overrides: InlineConfig[]): InlineConfig", |
5 | 5 | "resolveUserConfig": "declare function resolveUserConfig(_: UserConfig, _: InlineConfig): Promise<ResolvedConfig[]>" |
|
13 | 13 | "mergeConfig" |
14 | 14 | ] |
15 | 15 | }, |
| 16 | + "index-!~{00b}~.d.mts": { |
| 17 | + "Arrayable": "type Arrayable<T> = T | T[]", |
| 18 | + "Awaitable": "type Awaitable<T> = T | Promise<T>", |
| 19 | + "globalLogger": "Logger", |
| 20 | + "Logger": "interface Logger {\n level: LogLevel\n options?: LoggerOptions\n info: (...args: any[]) => void\n warn: (...args: any[]) => void\n warnOnce: (...args: any[]) => void\n error: (...args: any[]) => void\n success: (...args: any[]) => void\n clearScreen: (_: LogType) => void\n}", |
| 21 | + "LoggerOptions": "interface LoggerOptions {\n allowClearScreen?: boolean\n customLogger?: Logger\n console?: Console\n failOnWarn?: boolean\n}", |
| 22 | + "LogLevel": "type LogLevel = LogType | 'silent'", |
| 23 | + "LogType": "type LogType = 'error' | 'warn' | 'info'", |
| 24 | + "MarkPartial": "type MarkPartial<T, K extends keyof T> = Omit<Required<T>, K> & Partial<Pick<T, K>>", |
| 25 | + "Overwrite": "type Overwrite<T, U> = Omit<T, keyof U> & U", |
| 26 | + "PackageJson": "interface PackageJson {\n name?: string\n version?: string\n description?: string\n keywords?: string[]\n homepage?: string\n bugs?: string | { url?: string; email?: string }\n license?: string\n repository?: string | { type: string; url: string; directory?: string }\n scripts?: PackageJsonScripts\n private?: boolean\n author?: PackageJsonPerson\n contributors?: PackageJsonPerson[]\n funding?: PackageJsonFunding | PackageJsonFunding[]\n files?: string[]\n main?: string\n browser?: string | Record<string, string | false>\n unpkg?: string\n bin?: string | Record<string, string>\n man?: string | string[]\n dependencies?: Record<string, string>\n devDependencies?: Record<string, string>\n optionalDependencies?: Record<string, string>\n peerDependencies?: Record<string, string>\n types?: string\n typings?: string\n module?: string\n type?: 'module' | 'commonjs'\n exports?: PackageJsonExports\n imports?: Record<string, string | Record<string, string>>\n workspaces?: string[] | { packages?: string[]; nohoist?: string[] }\n typesVersions?: Record<string, Record<string, string[]>>\n os?: string[]\n cpu?: string[]\n publishConfig?: { registry?: string; tag?: string; access?: 'public' | 'restricted'; executableFiles?: string[]; directory?: string; linkDirectory?: boolean } & Pick<PackageJson, 'bin' | 'main' | 'exports' | 'types' | 'typings' | 'module' | 'browser' | 'unpkg' | 'typesVersions' | 'os' | 'cpu'>\n packageManager?: string\n [key: string]: any\n}", |
| 27 | + "PackageJsonCommonScripts": "type PackageJsonCommonScripts = 'build' | 'coverage' | 'deploy' | 'dev' | 'format' | 'lint' | 'preview' | 'release' | 'typecheck' | 'watch'", |
| 28 | + "PackageJsonExportKey": "type PackageJsonExportKey = '.' | 'import' | 'require' | 'types' | 'node' | 'browser' | 'default' | (string & {})", |
| 29 | + "PackageJsonExports": "type PackageJsonExports = string | PackageJsonExportsObject | Array<string | PackageJsonExportsObject>", |
| 30 | + "PackageJsonExportsObject": "type PackageJsonExportsObject = { [P in PackageJsonExportKey]?: string | PackageJsonExportsObject | Array<string | PackageJsonExportsObject> }", |
| 31 | + "PackageJsonFunding": "type PackageJsonFunding = string | { url: string; type?: string }", |
| 32 | + "PackageJsonNpmLifeCycleScripts": "type PackageJsonNpmLifeCycleScripts = 'dependencies' | 'prepublishOnly' | PackageJsonScriptWithPreAndPost<'install' | 'pack' | 'prepare' | 'publish' | 'restart' | 'start' | 'stop' | 'test' | 'version'>", |
| 33 | + "PackageJsonPerson": "type PackageJsonPerson = string | { name: string; email?: string; url?: string }", |
| 34 | + "PackageJsonPnpmLifeCycleScripts": "type PackageJsonPnpmLifeCycleScripts = 'pnpm:devPreinstall'", |
| 35 | + "PackageJsonScriptName": "type PackageJsonScriptName = PackageJsonCommonScripts | PackageJsonNpmLifeCycleScripts | PackageJsonPnpmLifeCycleScripts | (string & {})", |
| 36 | + "PackageJsonScripts": "type PackageJsonScripts = { [P in PackageJsonScriptName]?: string }", |
| 37 | + "PackageJsonScriptWithPreAndPost": "type PackageJsonScriptWithPreAndPost<S extends string> = S | `${'pre' | 'post'}${S}`" |
| 38 | + }, |
16 | 39 | "index.d.mts": { |
17 | 40 | "build": "declare function build(_: InlineConfig): Promise<TsdownBundle[]>", |
18 | 41 | "buildWithConfigs": "declare function buildWithConfigs(_: ResolvedConfig[], _: string[], _: () => void): Promise<TsdownBundle[]>", |
|
71 | 94 | ] |
72 | 95 | }, |
73 | 96 | "internal.d.mts": { |
| 97 | + "expandBaselineTarget": "declare function expandBaselineTarget(_: string[]): string[]", |
74 | 98 | "fsExists": "declare function fsExists(_: string): Promise<boolean>", |
75 | 99 | "fsRemove": "declare function fsRemove(_: string): Promise<void>", |
76 | 100 | "importWithError": "declare function importWithError<T>(_: string): Promise<T>", |
|
80 | 104 | "Logger", |
81 | 105 | "MarkPartial", |
82 | 106 | "Overwrite", |
| 107 | + "expandBaselineTarget", |
83 | 108 | "fsExists", |
84 | 109 | "fsRemove", |
85 | 110 | "importWithError", |
86 | 111 | "resolveComma", |
87 | 112 | "toArray" |
88 | 113 | ] |
89 | 114 | }, |
90 | | - "logger-!~{00a}~.d.mts": { |
91 | | - "Arrayable": "type Arrayable<T> = T | T[]", |
92 | | - "Awaitable": "type Awaitable<T> = T | Promise<T>", |
93 | | - "globalLogger": "Logger", |
94 | | - "Logger": "interface Logger {\n level: LogLevel\n options?: LoggerOptions\n info: (...args: any[]) => void\n warn: (...args: any[]) => void\n warnOnce: (...args: any[]) => void\n error: (...args: any[]) => void\n success: (...args: any[]) => void\n clearScreen: (_: LogType) => void\n}", |
95 | | - "LoggerOptions": "interface LoggerOptions {\n allowClearScreen?: boolean\n customLogger?: Logger\n console?: Console\n failOnWarn?: boolean\n}", |
96 | | - "LogLevel": "type LogLevel = LogType | 'silent'", |
97 | | - "LogType": "type LogType = 'error' | 'warn' | 'info'", |
98 | | - "MarkPartial": "type MarkPartial<T, K extends keyof T> = Omit<Required<T>, K> & Partial<Pick<T, K>>", |
99 | | - "Overwrite": "type Overwrite<T, U> = Omit<T, keyof U> & U" |
100 | | - }, |
101 | 115 | "plugins.d.mts": { |
102 | 116 | "NodeProtocolPlugin": "declare function NodeProtocolPlugin(_: 'strip' | true): Plugin", |
103 | 117 | "ShebangPlugin": "declare function ShebangPlugin(_: Logger, _: string, _: string, _: boolean): Plugin", |
|
113 | 127 | "run.d.mts": { |
114 | 128 | "#exports": [] |
115 | 129 | }, |
116 | | - "types-!~{00b}~.d.mts": { |
| 130 | + "types-!~{00c}~.d.mts": { |
117 | 131 | "AttwOptions": "interface AttwOptions extends CheckPackageOptions {\n module?: typeof _$_arethetypeswrong_core0\n profile?: 'strict' | 'node16' | 'esm-only'\n level?: 'error' | 'warn'\n ignoreRules?: ('no-resolution' | 'untyped-resolution' | 'false-cjs' | 'false-esm' | 'cjs-resolves-to-esm' | 'fallback-condition' | 'cjs-only-exports-default' | 'named-exports' | 'false-export-default' | 'missing-export-equals' | 'unexpected-module-syntax' | 'internal-resolution-error' | (string & {}))[]\n}", |
118 | 132 | "BuildContext": "interface BuildContext {\n options: ResolvedConfig\n hooks: Hookable<TsdownHooks>\n}", |
119 | 133 | "ChunkAddon": "type ChunkAddon = ChunkAddonObject | ChunkAddonFunction | string", |
|
137 | 151 | "OutExtensionContext": "interface OutExtensionContext {\n options: InputOptions\n format: NormalizedFormat\n pkgType?: PackageType\n}", |
138 | 152 | "OutExtensionFactory": "type OutExtensionFactory = (_: OutExtensionContext) => OutExtensionObject | undefined", |
139 | 153 | "OutExtensionObject": "interface OutExtensionObject {\n js?: string\n dts?: string\n}", |
140 | | - "PackageJson": "interface PackageJson {\n name?: string\n version?: string\n description?: string\n keywords?: string[]\n homepage?: string\n bugs?: string | { url?: string; email?: string }\n license?: string\n repository?: string | { type: string; url: string; directory?: string }\n scripts?: PackageJsonScripts\n private?: boolean\n author?: PackageJsonPerson\n contributors?: PackageJsonPerson[]\n funding?: PackageJsonFunding | PackageJsonFunding[]\n files?: string[]\n main?: string\n browser?: string | Record<string, string | false>\n unpkg?: string\n bin?: string | Record<string, string>\n man?: string | string[]\n dependencies?: Record<string, string>\n devDependencies?: Record<string, string>\n optionalDependencies?: Record<string, string>\n peerDependencies?: Record<string, string>\n types?: string\n typings?: string\n module?: string\n type?: 'module' | 'commonjs'\n exports?: PackageJsonExports\n imports?: Record<string, string | Record<string, string>>\n workspaces?: string[] | { packages?: string[]; nohoist?: string[] }\n typesVersions?: Record<string, Record<string, string[]>>\n os?: string[]\n cpu?: string[]\n publishConfig?: { registry?: string; tag?: string; access?: 'public' | 'restricted'; executableFiles?: string[]; directory?: string; linkDirectory?: boolean } & Pick<PackageJson, 'bin' | 'main' | 'exports' | 'types' | 'typings' | 'module' | 'browser' | 'unpkg' | 'typesVersions' | 'os' | 'cpu'>\n packageManager?: string\n [key: string]: any\n}", |
141 | | - "PackageJsonCommonScripts": "type PackageJsonCommonScripts = 'build' | 'coverage' | 'deploy' | 'dev' | 'format' | 'lint' | 'preview' | 'release' | 'typecheck' | 'watch'", |
142 | | - "PackageJsonExportKey": "type PackageJsonExportKey = '.' | 'import' | 'require' | 'types' | 'node' | 'browser' | 'default' | (string & {})", |
143 | | - "PackageJsonExports": "type PackageJsonExports = string | PackageJsonExportsObject | Array<string | PackageJsonExportsObject>", |
144 | | - "PackageJsonExportsObject": "type PackageJsonExportsObject = { [P in PackageJsonExportKey]?: string | PackageJsonExportsObject | Array<string | PackageJsonExportsObject> }", |
145 | | - "PackageJsonFunding": "type PackageJsonFunding = string | { url: string; type?: string }", |
146 | | - "PackageJsonNpmLifeCycleScripts": "type PackageJsonNpmLifeCycleScripts = 'dependencies' | 'prepublishOnly' | PackageJsonScriptWithPreAndPost<'install' | 'pack' | 'prepare' | 'publish' | 'restart' | 'start' | 'stop' | 'test' | 'version'>", |
147 | | - "PackageJsonPerson": "type PackageJsonPerson = string | { name: string; email?: string; url?: string }", |
148 | | - "PackageJsonPnpmLifeCycleScripts": "type PackageJsonPnpmLifeCycleScripts = 'pnpm:devPreinstall'", |
149 | | - "PackageJsonScriptName": "type PackageJsonScriptName = PackageJsonCommonScripts | PackageJsonNpmLifeCycleScripts | PackageJsonPnpmLifeCycleScripts | (string & {})", |
150 | | - "PackageJsonScripts": "type PackageJsonScripts = { [P in PackageJsonScriptName]?: string }", |
151 | | - "PackageJsonScriptWithPreAndPost": "type PackageJsonScriptWithPreAndPost<S extends string> = S | `${'pre' | 'post'}${S}`", |
152 | 154 | "PackageJsonWithPath": "interface PackageJsonWithPath extends PackageJson {\n packageJsonPath: string\n}", |
153 | 155 | "PackageType": "type PackageType = 'module' | 'commonjs' | undefined", |
154 | 156 | "PublintOptions": "interface PublintOptions extends Omit<Options, 'pack' | 'pkgDir'> {\n module?: [typeof _$publint, typeof _$publint_utils0]\n}", |
|
0 commit comments