ts-pkgx
Version:
A library & CLI for managing packages
77 lines • 2.49 kB
TypeScript
/**
* **volta** - JavaScript toolchain manager for reproducible environments
*
* @domain `volta.sh`
* @programs `volta`
* @version `2.0.2` (4 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install volta`
* @name `volta`
* @dependencies `linux:curl.se/ca-certs` (includes OS-specific dependencies with `os:package` format)
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access the package
* const pkg = pantry.volta
* // Or access via domain
* const samePkg = pantry.voltash
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "volta"
* console.log(pkg.description) // "JavaScript toolchain manager for reproducible e..."
* console.log(pkg.programs) // ["volta"]
* console.log(pkg.versions[0]) // "2.0.2" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/volta-sh.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const voltaPackage: {
/**
* The display name of this package.
*/
name: 'volta';
/**
* The canonical domain name for this package.
*/
domain: 'volta.sh';
/**
* Brief description of what this package does.
*/
description: 'JavaScript toolchain manager for reproducible environments';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/volta.sh/package.yml';
homepageUrl: '';
githubUrl: 'https://github.com/pkgxdev/pantry/';
/**
* Command to install this package using launchpad.
* @example launchpad install package-name
*/
installCommand: 'launchpad install volta';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['volta'];
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/ca-certs'];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['2.0.2', '2.0.1', '2.0.0', '1.1.1'];
/**
* Alternative names for this package.
* You can use any of these names to access the package.
*/
aliases: readonly [];
pkgxInstallCommand: 'sh <(curl https://pkgx.sh) volta -- $SHELL -i';
launchpadInstallCommand: 'launchpad install volta'
};
export type VoltaPackage = typeof voltaPackage