ts-pkgx
Version:
A library & CLI for managing packages
76 lines • 2.52 kB
TypeScript
/**
* **bazel** - A user-friendly launcher for Bazel.
*
* @domain `github.com/bazelbuild/bazelisk`
* @programs `bazel`, `bazelisk`
* @version `1.27.0` (11 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install bazel`
* @name `bazel`
* @dependencies `curl.se/ca-certs`
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access the package
* const pkg = pantry.bazel
* // Or access via domain
* const samePkg = pantry.githubcombazelbuildbazelisk
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "bazel"
* console.log(pkg.description) // "A user-friendly launcher for Bazel."
* console.log(pkg.programs) // ["bazel", "bazelisk"]
* console.log(pkg.versions[0]) // "1.27.0" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/github-com/bazelbuild/bazelisk.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const bazelPackage: {
/**
* The display name of this package.
*/
name: 'bazel';
/**
* The canonical domain name for this package.
*/
domain: 'github.com/bazelbuild/bazelisk';
/**
* Brief description of what this package does.
*/
description: 'A user-friendly launcher for Bazel.';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/github.com/bazelbuild/bazelisk/package.yml';
homepageUrl: '';
githubUrl: 'https://github.com/pkgxdev/pantry/';
/**
* Command to install this package using launchpad.
* @example launchpad install package-name
*/
installCommand: 'launchpad install bazel';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['bazel', 'bazelisk'];
companions: readonly [];
/**
* Required dependencies for this package.
* These will be automatically installed.
*/
dependencies: readonly ['curl.se/ca-certs'];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['1.27.0', '1.26.0', '1.25.0', '1.24.1', '1.24.0', '1.23.0', '1.22.1', '1.22.0', '1.21.0', '1.20.0', '1.19.0'];
/**
* Alternative names for this package.
* You can use any of these names to access the package.
*/
aliases: readonly [];
pkgxInstallCommand: 'sh <(curl https://pkgx.sh) +github.com/bazelbuild/bazelisk -- $SHELL -i';
launchpadInstallCommand: 'launchpad install bazel'
};
export type BazelPackage = typeof bazelPackage