UNPKG

ts-pkgx

Version:

A library & CLI for managing packages

76 lines 2.48 kB
/** * **tsc** - TypeScript is a superset of JavaScript that compiles to clean JavaScript output. * * @domain `typescriptlang.org` * @programs `tsc` * @version `5.9.2` (14 versions available) * @versions From newest version to oldest. * * @install `launchpad install tsc` * @name `tsc` * @dependencies `nodejs.org^20` * * @example * ```typescript * import { pantry } from 'ts-pkgx' * * // Access the package * const pkg = pantry.tsc * // Or access via domain * const samePkg = pantry.typescriptlangorg * console.log(pkg === samePkg) // true * console.log(pkg.name) // "tsc" * console.log(pkg.description) // "TypeScript is a superset of JavaScript that com..." * console.log(pkg.programs) // ["tsc"] * console.log(pkg.versions[0]) // "5.9.2" (latest) * ``` * * @see https://ts-pkgx.netlify.app/packages/typescriptlang-org.md * @see https://ts-pkgx.netlify.app/usage */ export declare const tscPackage: { /** * The display name of this package. */ name: 'tsc'; /** * The canonical domain name for this package. */ domain: 'typescriptlang.org'; /** * Brief description of what this package does. */ description: 'TypeScript is a superset of JavaScript that compiles to clean JavaScript output.'; packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/typescriptlang.org/package.yml'; homepageUrl: ''; githubUrl: 'https://github.com/pkgxdev/pantry/'; /** * Command to install this package using launchpad. * @example launchpad install package-name */ installCommand: 'launchpad install tsc'; /** * Executable programs provided by this package. * These can be run after installation. */ programs: readonly ['tsc']; 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 ['5.9.2', '5.8.3', '5.8.2', '5.7.3', '5.7.2', '5.6.3', '5.6.2', '5.5.4', '5.5.3', '5.5.2', '5.4.5', '5.4.4', '5.4.3', '5.4.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) tsc -- $SHELL -i'; launchpadInstallCommand: 'launchpad install tsc' }; export type TscPackage = typeof tscPackage