UNPKG

ts-pkgx

Version:

A library & CLI for managing packages

77 lines 2.64 kB
/** * **code** - Command-line interface built-in Visual Studio Code * * @domain `microsoft.com/code-cli` * @programs `code` * @version `1.103.1` (21 versions available) * @versions From newest version to oldest. * * @install `launchpad install code` * @name `vscode cli` * @aliases `code` * @dependencies `openssl.org@1.1`, `zlib.net@1` * * @example * ```typescript * import { pantry } from 'ts-pkgx' * * // Access via alias (recommended) * const pkg = pantry.code * // Or access via domain * const samePkg = pantry.microsoftcomcodecli * console.log(pkg === samePkg) // true * console.log(pkg.name) // "vscode cli" * console.log(pkg.description) // "Command-line interface built-in Visual Studio Code" * console.log(pkg.programs) // ["code"] * console.log(pkg.versions[0]) // "1.103.1" (latest) * ``` * * @see https://ts-pkgx.netlify.app/packages/microsoft-com/code-cli.md * @see https://ts-pkgx.netlify.app/usage */ export declare const codePackage: { /** * The display name of this package. */ name: 'vscode cli'; /** * The canonical domain name for this package. */ domain: 'microsoft.com/code-cli'; /** * Brief description of what this package does. */ description: 'Command-line interface built-in Visual Studio Code'; packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/microsoft.com/code-cli/package.yml'; homepageUrl: ''; githubUrl: 'https://github.com/pkgxdev/pantry/'; /** * Command to install this package using launchpad. * @example launchpad install package-name */ installCommand: 'launchpad install code'; /** * Executable programs provided by this package. * These can be run after installation. */ programs: readonly ['code']; companions: readonly []; /** * Required dependencies for this package. * These will be automatically installed. */ dependencies: readonly ['openssl.org@1.1', 'zlib.net@1']; /** * Available versions from newest to oldest. * @see https://ts-pkgx.netlify.app/usage for installation instructions */ versions: readonly ['1.103.1', '1.103.0', '1.102.3', '1.102.2', '1.102.1', '1.102.0', '1.101.2', '1.101.1', '1.101.0', '1.100.3', '1.100.2', '1.100.1', '1.100.0', '1.99.3', '1.99.2', '1.99.1', '1.99.0', '1.98.2', '1.98.1', '1.98.0', '1.97.2']; /** * Alternative names for this package. * You can use any of these names to access the package. */ aliases: readonly ['code']; pkgxInstallCommand: 'sh <(curl https://pkgx.sh) code -- $SHELL -i'; launchpadInstallCommand: 'launchpad install code' }; export type CodePackage = typeof codePackage