UNPKG

ts-pkgx

Version:

A library & CLI for managing packages

76 lines 2.64 kB
/** * **pre-commit** - A framework for managing and maintaining multi-language pre-commit hooks. * * @domain `pre-commit.com` * @programs `pre-commit` * @version `4.3.0` (23 versions available) * @versions From newest version to oldest. * * @install `launchpad install pre-commit` * @name `pre-commit` * @dependencies `python.org>=3.8<3.12` * * @example * ```typescript * import { pantry } from 'ts-pkgx' * * // Access the package * const pkg = pantry.precommit * // Or access via domain * const samePkg = pantry.precommitcom * console.log(pkg === samePkg) // true * console.log(pkg.name) // "pre-commit" * console.log(pkg.description) // "A framework for managing and maintaining multi-..." * console.log(pkg.programs) // ["pre-commit"] * console.log(pkg.versions[0]) // "4.3.0" (latest) * ``` * * @see https://ts-pkgx.netlify.app/packages/pre-commit-com.md * @see https://ts-pkgx.netlify.app/usage */ export declare const precommitPackage: { /** * The display name of this package. */ name: 'pre-commit'; /** * The canonical domain name for this package. */ domain: 'pre-commit.com'; /** * Brief description of what this package does. */ description: 'A framework for managing and maintaining multi-language pre-commit hooks.'; packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/pre-commit.com/package.yml'; homepageUrl: ''; githubUrl: 'https://github.com/pkgxdev/pantry/'; /** * Command to install this package using launchpad. * @example launchpad install package-name */ installCommand: 'launchpad install pre-commit'; /** * Executable programs provided by this package. * These can be run after installation. */ programs: readonly ['pre-commit']; companions: readonly []; /** * Required dependencies for this package. * These will be automatically installed. */ dependencies: readonly ['python.org>=3.8<3.12']; /** * Available versions from newest to oldest. * @see https://ts-pkgx.netlify.app/usage for installation instructions */ versions: readonly ['4.3.0', '4.2.0', '4.1.0', '4.0.1', '4.0.0', '3.8.0', '3.7.1', '3.7.0', '3.6.2', '3.6.1', '3.6.0', '3.5.0', '3.4.0', '3.3.3', '3.3.2', '3.3.1', '3.3.0', '3.2.2', '3.2.1', '3.2.0', '3.1.1', '3.1.0', '3.0.4']; /** * Alternative names for this package. * You can use any of these names to access the package. */ aliases: readonly []; pkgxInstallCommand: 'sh <(curl https://pkgx.sh) pre-commit -- $SHELL -i'; launchpadInstallCommand: 'launchpad install pre-commit' }; export type PrecommitPackage = typeof precommitPackage