Quick reference for flub and fluid-build CLI commands in the Fluid Framework monorepo. Use when you need to find the right flub command, understand its flags, or figure out how to run a specific build/check/generate task. Triggers on mentions of flub, fluid-build, build CLI, or specific flub subcommands.
Quick reference for flub and fluid-build CLI commands in the Fluid Framework monorepo. Use when you need to find the right flub command, understand its flags, or figure out how to run a specific build/check/generate task. Triggers on mentions of flub, fluid-build, build CLI, or specific flub subcommands.
flub & fluid-build Command Reference
Quick reference for the Fluid Framework build CLI tools.
fluid-build packages/dds/map # By path
fluid-build --filter @fluidframework/map # By package name
fluid-build -g client # By release group
fluid-build . # Current directory
Common Tasks
fluid-build . --task build # Full build
fluid-build . --task compile # TypeScript only
fluid-build . --task api # Entry points + API reports
fluid-build . --task lint # ESLint + Biome
fluid-build . --task test
fluid-build . --task :mocha
fluid-build . --task :jest
fluid-build . --task clean
# Build + run all tests
test
# Build + Mocha tests
test
# Build + Jest tests
# Remove build artifacts
Useful Flags
Flag
Purpose
--task <name> / -t
Task to run
--worker
Use worker threads for parallelism
--filter <pkg>
Target specific package
-g <group>
Target release group
--vscode
Output for VS Code problem matcher
flub Commands
Global Flags
Flag
Purpose
-v, --verbose
Verbose logging
--quiet
Suppress output
--json
JSON output
Package Selection Flags (available on most commands)
Flag
Purpose
-g, --releaseGroup
client, server, azure, build-tools, gitrest, historian, all
-p, --package
Specific package name
--all
All packages and release groups
--dir
Package directory path
--changed
Only packages changed vs. branch
--[no-]private
Include/exclude private packages
--scope
Package scopes to include
--skipScope
Package scopes to exclude
flub info
Get repo, release group, and package information.
flub info # All packages
flub info -g client # Client release group only
flub info -c name,version,path # Specific columns
flub list
List packages in topological order.
flub list client # List client packages
flub list client --feed public # Only publicly published packages
flub list client --no-private # Exclude private packages
flub list client --outFile list.txt # Write to file
flub check
check policy
Verify and fix repo policies (headers, assert tags, etc.).
flub check policy # Check all policies
flub check policy --fix # Auto-fix violations
flub check policy --listHandlers # List all policy handlers
flub check policy -d "Handler"# Filter by handler name
flub check policy -p "packages/dds"# Filter by path
check changeset
Verify a changeset exists (CI use).
flub check changeset --branch main # Check vs. main
flub check changeset --branch main --json