npm

package
v0.53.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVersion

func GetVersion(dirPath string) (string, error)

func GetWorkspaces

func GetWorkspaces(dirPath string) ([]string, error)

func MustGetVersion

func MustGetVersion(dirPath string) string

func MustGetWorkspaces

func MustGetWorkspaces(dirPath string) []string

Types

type Package

type Package struct {
	Name       string   `json:"name"`
	Version    string   `json:"version"`
	Workspaces []string `json:"workspaces"`
}

func GetPackage

func GetPackage(dirPath string) (Package, error)

func MustGetPackage

func MustGetPackage(dirPath string) Package

Jump to

Keyboard shortcuts

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