ts-pkgx
Version:
A library & CLI for managing packages
76 lines • 2.5 kB
TypeScript
/**
* **prettier** - Code formatter for JavaScript, CSS, JSON, GraphQL, Markdown, YAML
*
* @domain `prettier.io`
* @programs `prettier`
* @version `3.6.2` (15 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install prettier`
* @name `prettier`
* @dependencies `nodejs.org^20`
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access the package
* const pkg = pantry.prettier
* // Or access via domain
* const samePkg = pantry.prettierio
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "prettier"
* console.log(pkg.description) // "Code formatter for JavaScript, CSS, JSON, Graph..."
* console.log(pkg.programs) // ["prettier"]
* console.log(pkg.versions[0]) // "3.6.2" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/prettier-io.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const prettierPackage: {
/**
* The display name of this package.
*/
name: 'prettier';
/**
* The canonical domain name for this package.
*/
domain: 'prettier.io';
/**
* Brief description of what this package does.
*/
description: 'Code formatter for JavaScript, CSS, JSON, GraphQL, Markdown, YAML';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/prettier.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 prettier';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['prettier'];
companions: readonly [];
/**
* Required dependencies for this package.
* These will be automatically installed.
*/
dependencies: readonly ['nodejs.org^20'];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['3.6.2', '3.6.1', '3.6.0', '3.5.3', '3.5.2', '3.5.1', '3.5.0', '3.4.2', '3.4.1', '3.4.0', '3.3.3', '3.3.2', '3.3.1', '3.3.0', '3.2.5'];
/**
* Alternative names for this package.
* You can use any of these names to access the package.
*/
aliases: readonly [];
pkgxInstallCommand: 'sh <(curl https://pkgx.sh) prettier -- $SHELL -i';
launchpadInstallCommand: 'launchpad install prettier'
};
export type PrettierPackage = typeof prettierPackage