ts-pkgx
Version:
A library & CLI for managing packages
76 lines • 2.45 kB
TypeScript
/**
* **ktlint** - An anti-bikeshedding Kotlin linter with built-in formatter
*
* @domain `ktlint.github.io`
* @programs `ktlint`
* @version `1.7.1` (12 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install ktlint`
* @name `ktlint`
* @dependencies `openjdk.org`
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access the package
* const pkg = pantry.ktlint
* // Or access via domain
* const samePkg = pantry.ktlintgithubio
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "ktlint"
* console.log(pkg.description) // "An anti-bikeshedding Kotlin linter with built-i..."
* console.log(pkg.programs) // ["ktlint"]
* console.log(pkg.versions[0]) // "1.7.1" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/ktlint-github-io.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const ktlintPackage: {
/**
* The display name of this package.
*/
name: 'ktlint';
/**
* The canonical domain name for this package.
*/
domain: 'ktlint.github.io';
/**
* Brief description of what this package does.
*/
description: 'An anti-bikeshedding Kotlin linter with built-in formatter';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/ktlint.github.io/package.yml';
homepageUrl: '';
githubUrl: 'https://github.com/pkgxdev/pantry/';
/**
* Command to install this package using launchpad.
* @example launchpad install package-name
*/
installCommand: 'launchpad install ktlint';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['ktlint'];
companions: readonly [];
/**
* Required dependencies for this package.
* These will be automatically installed.
*/
dependencies: readonly ['openjdk.org'];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['1.7.1', '1.7.0', '1.6.0', '1.5.0', '1.4.1', '1.4.0', '1.3.1', '1.3.0', '1.2.1', '1.2.0', '1.1.1', '0.49.1'];
/**
* Alternative names for this package.
* You can use any of these names to access the package.
*/
aliases: readonly [];
pkgxInstallCommand: 'sh <(curl https://pkgx.sh) ktlint -- $SHELL -i';
launchpadInstallCommand: 'launchpad install ktlint'
};
export type KtlintPackage = typeof ktlintPackage