Repository

Output your registry as a single json file in the root of your repository.

SourceOfficial

The repository output is used when you are serving your registry from a repository and want to minimize code duplication and tracked files.

Usage

jsrepo.config.ts
import { defineConfig } from "jsrepo";
import { repository } from "jsrepo/outputs"; 

export default defineConfig({
	registry: {
		outputs: [repository()], 
	},
});

Now running jsrepo build will output a registry.json file to the root of your repository.

On this page