ts-pkgx
Version:
A library & CLI for managing packages
77 lines • 2.79 kB
TypeScript
/**
* **swiftlint** - A tool to enforce Swift style and conventions.
*
* @domain `github.com/realm/SwiftLint`
* @programs `swiftlint`
* @version `0.59.1` (17 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install swiftlint`
* @name `swiftlint`
* @dependencies `linux:curl.se@8`, `linux:gnome.org/libxml2@2` (includes OS-specific dependencies with `os:package` format)
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access the package
* const pkg = pantry.swiftlint
* // Or access via domain
* const samePkg = pantry.githubcomrealmswiftlint
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "swiftlint"
* console.log(pkg.description) // "A tool to enforce Swift style and conventions."
* console.log(pkg.programs) // ["swiftlint"]
* console.log(pkg.versions[0]) // "0.59.1" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/github-com/realm/SwiftLint.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const swiftlintPackage: {
/**
* The display name of this package.
*/
name: 'swiftlint';
/**
* The canonical domain name for this package.
*/
domain: 'github.com/realm/SwiftLint';
/**
* Brief description of what this package does.
*/
description: 'A tool to enforce Swift style and conventions.';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/github.com/realm/SwiftLint/package.yml';
homepageUrl: '';
githubUrl: 'https://github.com/pkgxdev/pantry/';
/**
* Command to install this package using launchpad.
* @example launchpad install package-name
*/
installCommand: 'launchpad install swiftlint';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['swiftlint'];
companions: readonly [];
/**
* Required dependencies for this package.
* These will be automatically installed.
* OS-specific dependencies are prefixed with `os:` (e.g., `linux:freetype.org`).
*/
dependencies: readonly ['linux:curl.se@8', 'linux:gnome.org/libxml2@2'];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['0.59.1', '0.59.0', '0.58.2', '0.58.1', '0.58.0', '0.57.1', '0.57.0', '0.56.2', '0.56.1', '0.56.0', '0.55.1', '0.55.0', '0.54.0', '0.53.0', '0.52.4', '0.52.3', '0.52.2'];
/**
* Alternative names for this package.
* You can use any of these names to access the package.
*/
aliases: readonly [];
pkgxInstallCommand: 'sh <(curl https://pkgx.sh) swiftlint -- $SHELL -i';
launchpadInstallCommand: 'launchpad install swiftlint'
};
export type SwiftlintPackage = typeof swiftlintPackage