Skip to main content

parse_pnpm_workspace

Function parse_pnpm_workspace 

Source
pub fn parse_pnpm_workspace(path: &Path) -> Option<(Vec<String>, Vec<String>)>
Expand description

Parse a pnpm-workspace.yaml file and return (includes, excludes). Patterns prefixed with ! are excludes. We avoid pulling in a YAML crate by relying on pnpm’s simple documented schema:

packages:
  - "apps/*"
  - "!**/test/**"