ts-pkgx
Version:
A library & CLI for managing packages
76 lines • 2.59 kB
TypeScript
/**
* **black** - The uncompromising Python code formatter
*
* @domain `github.com/psf/black`
* @programs `black`, `blackd`
* @version `25.1.0` (19 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install black`
* @name `black`
* @dependencies `python.org>=3.7<3.12`, `gnu.org/which`
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access the package
* const pkg = pantry.black
* // Or access via domain
* const samePkg = pantry.githubcompsfblack
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "black"
* console.log(pkg.description) // "The uncompromising Python code formatter"
* console.log(pkg.programs) // ["black", "blackd"]
* console.log(pkg.versions[0]) // "25.1.0" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/github-com/psf/black.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const blackPackage: {
/**
* The display name of this package.
*/
name: 'black';
/**
* The canonical domain name for this package.
*/
domain: 'github.com/psf/black';
/**
* Brief description of what this package does.
*/
description: 'The uncompromising Python code formatter';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/github.com/psf/black/package.yml';
homepageUrl: '';
githubUrl: 'https://github.com/pkgxdev/pantry/';
/**
* Command to install this package using launchpad.
* @example launchpad install package-name
*/
installCommand: 'launchpad install black';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['black', 'blackd'];
companions: readonly [];
/**
* Required dependencies for this package.
* These will be automatically installed.
*/
dependencies: readonly ['python.org>=3.7<3.12', 'gnu.org/which'];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['25.1.0', '24.10.0', '24.8.0', '24.4.2', '24.4.1', '24.4.0', '24.3.0', '24.2.0', '24.1.1', '24.1.0', '23.12.1', '23.12.0', '23.11.0', '23.10.1', '23.10.0', '23.9.1', '23.9.0', '23.7.0', '23.3.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/psf/black -- $SHELL -i';
launchpadInstallCommand: 'launchpad install black'
};
export type BlackPackage = typeof blackPackage