Skip to main content

Packemon

Index

Constructors

constructor

  • new Packemon(cwd?: PortablePath): Packemon

Properties

readonlyconfig

config: Config = ...

readonlydebug

debug: Debugger

readonlyonPackageBuilt

onPackageBuilt: Event<[Package], string> = ...

readonlyonPackagesLoaded

onPackagesLoaded: Event<[Package[]], string> = ...

readonlyproject

project: Project

readonlyroot

root: Path

readonlyworkingDir

workingDir: Path

Methods

build

clean

  • clean(): Promise<void>

findPackagesInProject

  • Find all packages within a project. If using workspaces, return a list of packages from each workspace glob. If not using workspaces, assume project is a package.

generateArtifacts

  • Generate build and optional types artifacts for each package in the list.

loadConfiguredPackages

  • Find and load all packages that have been configured with a packemon block in their package.json. Once loaded, validate the configuration.

validate