UNPKG

ts-pkgx

Version:

A library & CLI for managing packages

71 lines 2.87 kB
/** * **swiftformat** - A command-line tool and Xcode Extension for formatting Swift code * * @domain `github.com/nicklockwood/SwiftFormat` * @programs `swiftformat` * @version `0.57.2` (48 versions available) * @versions From newest version to oldest. * * @install `launchpad install swiftformat` * @name `swiftformat` * * @example * ```typescript * import { pantry } from 'ts-pkgx' * * // Access the package * const pkg = pantry.swiftformat * // Or access via domain * const samePkg = pantry.githubcomnicklockwoodswiftformat * console.log(pkg === samePkg) // true * console.log(pkg.name) // "swiftformat" * console.log(pkg.description) // "A command-line tool and Xcode Extension for for..." * console.log(pkg.programs) // ["swiftformat"] * console.log(pkg.versions[0]) // "0.57.2" (latest) * ``` * * @see https://ts-pkgx.netlify.app/packages/github-com/nicklockwood/SwiftFormat.md * @see https://ts-pkgx.netlify.app/usage */ export declare const swiftformatPackage: { /** * The display name of this package. */ name: 'swiftformat'; /** * The canonical domain name for this package. */ domain: 'github.com/nicklockwood/SwiftFormat'; /** * Brief description of what this package does. */ description: 'A command-line tool and Xcode Extension for formatting Swift code'; packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/github.com/nicklockwood/SwiftFormat/package.yml'; homepageUrl: ''; githubUrl: 'https://github.com/pkgxdev/pantry/'; /** * Command to install this package using launchpad. * @example launchpad install package-name */ installCommand: 'launchpad install swiftformat'; /** * Executable programs provided by this package. * These can be run after installation. */ programs: readonly ['swiftformat']; companions: readonly []; dependencies: readonly []; /** * Available versions from newest to oldest. * @see https://ts-pkgx.netlify.app/usage for installation instructions */ versions: readonly ['0.57.2', '0.57.1', '0.57.0', '0.56.4', '0.56.3', '0.56.2', '0.56.1', '0.56.0', '0.55.6', '0.55.5', '0.55.4', '0.55.3', '0.55.2', '0.55.1', '0.55.0', '0.54.6', '0.54.5', '0.54.4', '0.54.3', '0.54.2', '0.54.1', '0.54.0', '0.53.10', '0.53.9', '0.53.8', '0.53.7', '0.53.6', '0.53.5', '0.53.4', '0.53.3', '0.53.2', '0.53.1', '0.53.0', '0.52.11', '0.52.10', '0.52.9', '0.52.8', '0.52.7', '0.52.6', '0.52.5', '0.52.4', '0.52.3', '0.52.2', '0.52.1', '0.52.0', '0.51.14', '0.51.13', '0.51.12']; /** * Alternative names for this package. * You can use any of these names to access the package. */ aliases: readonly []; pkgxInstallCommand: 'sh <(curl https://pkgx.sh) swiftformat -- $SHELL -i'; launchpadInstallCommand: 'launchpad install swiftformat' }; export type SwiftformatPackage = typeof swiftformatPackage