Skip to main content

Crate aube_workspace

Crate aube_workspace 

Source
Expand description

Workspace support for aube.

Reads pnpm-workspace.yaml to discover workspace packages, falling back to package.json’s workspaces field (yarn/npm/bun shape) when no yaml is present. Supports the workspace: protocol for inter-package dependencies.

Re-exports§

pub use selector::Selector;
pub use selector::WorkspacePkg;

Modules§

selector
Pnpm-style --filter selectors for workspace packages.
topo
Topological sort of selected workspace packages by intra-workspace deps.

Structs§

WorkspaceConfig
Configuration from pnpm-workspace.yaml.
WorkspaceDiscoveryOptions
Controls workspace package discovery.

Enums§

Error
WorkspaceBoundary
Whether workspace globs may select packages outside the workspace root.

Functions§

find_workspace_packages
Discover workspace package directories.
find_workspace_packages_with_options
Discover workspace package directories with host-selected policy.
is_workspace_project_root
Whether project_dir is the root of a workspace project — i.e. the user has set up workspace mode via aube-workspace.yaml / pnpm-workspace.yaml or package.json#workspaces, regardless of whether the current packages: glob actually matches any directories on disk.