ts-pkgx
Version:
A library & CLI for managing packages
76 lines • 2.36 kB
TypeScript
/**
* **bats** - Bash Automated Testing System
*
* @domain `github.com/bats-core/bats-core`
* @programs `bats`
* @version `1.12.0` (4 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install bats`
* @name `bats`
* @dependencies `gnu.org/coreutils^9.4`
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access the package
* const pkg = pantry.bats
* // Or access via domain
* const samePkg = pantry.githubcombatscorebatscore
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "bats"
* console.log(pkg.description) // "Bash Automated Testing System"
* console.log(pkg.programs) // ["bats"]
* console.log(pkg.versions[0]) // "1.12.0" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/github-com/bats-core/bats-core.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const batsPackage: {
/**
* The display name of this package.
*/
name: 'bats';
/**
* The canonical domain name for this package.
*/
domain: 'github.com/bats-core/bats-core';
/**
* Brief description of what this package does.
*/
description: 'Bash Automated Testing System';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/github.com/bats-core/bats-core/package.yml';
homepageUrl: '';
githubUrl: 'https://github.com/bats-core/bats-core';
/**
* Command to install this package using launchpad.
* @example launchpad install package-name
*/
installCommand: 'launchpad install bats';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['bats'];
companions: readonly [];
/**
* Required dependencies for this package.
* These will be automatically installed.
*/
dependencies: readonly ['gnu.org/coreutils^9.4'];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['1.12.0', '1.11.1', '1.11.0', '1.10.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) bats -- $SHELL -i';
launchpadInstallCommand: 'launchpad install bats'
};
export type BatsPackage = typeof batsPackage