packages

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package packages generates target package-manager manifests from trbconfig.jsonc. The config is the source of truth.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EqualManifest

func EqualManifest(path string, expected []byte) (bool, error)

EqualManifest is used by checks without modifying a project.

func Install

func Install(config *project.Config, stdin io.Reader, stdout, stderr io.Writer) error

func InstallWithDependencies added in v0.2.0

func InstallWithDependencies(config *project.Config, packageDependencies map[string]string, stdin io.Reader, stdout, stderr io.Writer) error

func Sync

func Sync(config *project.Config) (string, error)

func SyncWithDependencies added in v0.2.0

func SyncWithDependencies(config *project.Config, packageDependencies map[string]string) (string, error)

SyncWithDependencies adds target dependencies required by imported TypeRB packages without copying those implementation details into trbconfig.jsonc.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL