JSPM

@layermint/cli

0.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q56147F
  • License MIT

CLI for checking LayerMint srcRoot override resolution, graphs, and diffs.

Package Exports

  • @layermint/cli
  • @layermint/cli/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@layermint/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@layermint/cli

CLI for inspecting LayerMint override resolution across a srcRoot baseline and a variantsRoot override tree.

Install

pnpm add -D @layermint/cli

Commands

variant check --region us --brand nike --tenant acme --root .
variant graph --import @/features/Header --region us --tenant acme --format mermaid --root .
variant diff --from-region eu --to-region us --root .

Notes

  • Works with composable selector flags: --region, --brand, --tenant.
  • Scans imports from srcRoot and skips variantsRoot as a source baseline.
  • Legacy --variant is still accepted but deprecated.

Docs