Generate a validated format-1 plugin market index from a list of npm package names and https Git repository URLs, without running package code. - List every non-deprecated npm bundle version, and Git versions at release tags and the default branch, each with its engines.dsh range. - Read display fields, keywords, homepage, and icons the way DSH reads installed plugins; inline small icons up to the format's 32 KiB limit. - Cache results per immutable input and rewrite output only when it changes.
5 lines
184 B
TypeScript
5 lines
184 B
TypeScript
/** Command-line entry: run the generator with the process arguments and exit with its status. */
|
|
import { main } from './cli.ts'
|
|
|
|
process.exitCode = await main(process.argv.slice(2))
|