ts-pkgx
Version:
A library & CLI for managing packages
77 lines • 3.2 kB
TypeScript
/**
* **code-server** - Access VS Code through the browser
*
* @domain `coder.com/code-server`
* @programs `code-server`
* @version `4.103.1` (45 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install code-server`
* @name `code-server`
* @dependencies `nodejs.org^22 # since 4.101.0`, `linux:gnome.org/libsecret^0.21`, `linux:x.org/x11^1.8`, ... (+2 more) (includes OS-specific dependencies with `os:package` format)
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access the package
* const pkg = pantry.codeserver
* // Or access via domain
* const samePkg = pantry.codercomcodeserver
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "code-server"
* console.log(pkg.description) // "Access VS Code through the browser"
* console.log(pkg.programs) // ["code-server"]
* console.log(pkg.versions[0]) // "4.103.1" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/coder-com/code-server.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const codeserverPackage: {
/**
* The display name of this package.
*/
name: 'code-server';
/**
* The canonical domain name for this package.
*/
domain: 'coder.com/code-server';
/**
* Brief description of what this package does.
*/
description: 'Access VS Code through the browser';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/coder.com/code-server/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-server';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['code-server'];
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 ['nodejs.org^22 # since 4.101.0', 'linux:gnome.org/libsecret^0.21', 'linux:x.org/x11^1.8', 'linux:x.org/xkbfile^1.1', 'linux:kerberos.org^1.21'];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['4.103.1', '4.103.0', '4.102.3', '4.102.2', '4.102.1', '4.102.0', '4.101.2', '4.101.1', '4.101.0', '4.100.3', '4.100.2', '4.100.1', '4.100.0', '4.99.4', '4.99.3', '4.99.2', '4.99.1', '4.99.0', '4.98.2', '4.98.0', '4.97.2', '4.96.4', '4.96.2', '4.96.1', '4.95.3', '4.95.2', '4.95.1', '4.93.1', '4.92.2', '4.91.1', '4.91.0', '4.90.3', '4.90.2', '4.90.1', '4.90.0', '4.89.1', '4.89.0', '4.23.1', '4.23.0', '4.22.1', '4.22.0', '4.21.2', '4.21.1', '4.21.0', '4.20.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) code-server -- $SHELL -i';
launchpadInstallCommand: 'launchpad install code-server'
};
export type CodeserverPackage = typeof codeserverPackage