Skip to content

Commit

Permalink
bun: Export distTags.
Browse files Browse the repository at this point in the history
  • Loading branch information
raineorshine committed Oct 25, 2024
1 parent 286e9dc commit 74db85d
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions src/package-managers/bun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Index } from '../types/IndexType'
import { NpmOptions } from '../types/NpmOptions'
import { Options } from '../types/Options'
import { SpawnPleaseOptions } from '../types/SpawnPleaseOptions'
import * as npm from './npm'

/** Spawn bun. */
async function spawnBun(
Expand Down Expand Up @@ -72,13 +71,17 @@ export const list = async (options: Options = {}): Promise<Index<string | undefi
return dependencies
}

export const greatest = npm.greatest
export const latest = npm.latest
export const minor = npm.minor
export const newest = npm.newest
export const patch = npm.patch
export const semver = npm.semver

export { getEngines, getPeerDependencies, packageAuthorChanged } from './npm'
export {
distTag,
getEngines,
getPeerDependencies,
greatest,
latest,
minor,
newest,
packageAuthorChanged,
patch,
semver,
} from './npm'

export default spawnBun

0 comments on commit 74db85d

Please sign in to comment.