Skip to content

pantoken / plugins/vite/workspace-orchestrator/src / UpstreamNode

Interface: UpstreamNode

Experimental

One upstream workspace package to watch and rebuild.

Properties

name

name: string

Experimental

Display name for log messages.


dir

dir: string

Experimental

Package root directory (the cwd for the build command).


watchPaths

watchPaths: string[]

Experimental

Paths (files or directories) to watch — directories are watched recursively.


build

build: readonly [string, string]

Experimental

Build command: first element is the executable, the rest are arguments.


dependents

dependents: readonly string[]

Experimental

Names of other upstream nodes to rebuild after this one succeeds.


include?

optional include?: readonly string[]

Experimental

Glob patterns for files to include. When set, only changes to files matching at least one pattern trigger a rebuild. Omit to include everything.


ignore?

optional ignore?: readonly string[]

Experimental

Glob patterns for files to ignore. Changes to matching files are silently skipped. Omit to ignore nothing.