ts-pkgx
Version:
A library & CLI for managing packages
76 lines • 2.65 kB
TypeScript
/**
* **nginx** - HTTP(S) server and reverse proxy, and IMAP/POP3 proxy server
*
* @domain `nginx.org`
* @programs `nginx`
* @version `1.29.1` (20 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install nginx`
* @name `nginx`
* @dependencies `pcre.org^8.45 # switch to pcre.org/pcre2 once it`, `zlib.net^1.2.13`, `openssl.org^1.1.1k`
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access the package
* const pkg = pantry.nginx
* // Or access via domain
* const samePkg = pantry.nginxorg
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "nginx"
* console.log(pkg.description) // "HTTP(S) server and reverse proxy, and IMAP/POP3..."
* console.log(pkg.programs) // ["nginx"]
* console.log(pkg.versions[0]) // "1.29.1" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/nginx-org.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const nginxPackage: {
/**
* The display name of this package.
*/
name: 'nginx';
/**
* The canonical domain name for this package.
*/
domain: 'nginx.org';
/**
* Brief description of what this package does.
*/
description: 'HTTP(S) server and reverse proxy, and IMAP/POP3 proxy server';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/nginx.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 nginx';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['nginx'];
companions: readonly [];
/**
* Required dependencies for this package.
* These will be automatically installed.
*/
dependencies: readonly ['pcre.org^8.45 # switch to pcre.org/pcre2 once it', 'zlib.net^1.2.13', 'openssl.org^1.1.1k'];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['1.29.1', '1.29.0', '1.28.0', '1.27.5', '1.27.4', '1.27.3', '1.27.2', '1.27.1', '1.27.0', '1.26.2', '1.26.1', '1.26.0', '1.25.5', '1.25.4', '1.25.3', '1.25.2', '1.25.1', '1.25.0', '1.24.0', '1.23.3'];
/**
* Alternative names for this package.
* You can use any of these names to access the package.
*/
aliases: readonly [];
pkgxInstallCommand: 'sh <(curl https://pkgx.sh) nginx -- $SHELL -i';
launchpadInstallCommand: 'launchpad install nginx'
};
export type NginxPackage = typeof nginxPackage