diff options
Diffstat (limited to 'packages/core/src')
| -rw-r--r-- | packages/core/src/cross-spawn-spawner.ts (renamed from packages/core/src/effect/cross-spawn-spawner.ts) | 0 | ||||
| -rw-r--r-- | packages/core/src/types.d.ts | 46 |
2 files changed, 0 insertions, 46 deletions
diff --git a/packages/core/src/effect/cross-spawn-spawner.ts b/packages/core/src/cross-spawn-spawner.ts index ad8d4126d..ad8d4126d 100644 --- a/packages/core/src/effect/cross-spawn-spawner.ts +++ b/packages/core/src/cross-spawn-spawner.ts diff --git a/packages/core/src/types.d.ts b/packages/core/src/types.d.ts deleted file mode 100644 index 60e1639ad..000000000 --- a/packages/core/src/types.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -declare module "@npmcli/arborist" { - export interface ArboristOptions { - path: string - binLinks?: boolean - progress?: boolean - savePrefix?: string - ignoreScripts?: boolean - [key: string]: unknown - } - - export interface ArboristNode { - name: string - path: string - } - - export interface ArboristEdge { - to?: ArboristNode - } - - export interface ArboristTree { - edgesOut: Map<string, ArboristEdge> - } - - export interface ReifyOptions { - add?: string[] - save?: boolean - saveType?: "prod" | "dev" | "optional" | "peer" - [key: string]: unknown - } - - export class Arborist { - constructor(options: ArboristOptions) - loadVirtual(): Promise<ArboristTree | undefined> - reify(options?: ReifyOptions): Promise<ArboristTree> - } -} - -declare var Bun: - | { - file(path: string): { - text(): Promise<string> - json(): Promise<unknown> - } - write(path: string, content: string | Uint8Array): Promise<void> - } - | undefined |
