taTanStackOSS
ta
  • Pipelines
  • Nx runs
Insights
  • Compare tasks
  • Analytics
inintent
  1. Pipelines
  2. perf: keep semver and interactive prompts off the list/load startup path `import semver from 'semver'` in the scanner loaded 46 CommonJS files (~28ms) on every `intent list`, even though the scanner only compares versions when it finds two installs of the same package. Replace it with a small comparator implementing the three operations the scanner uses (valid, coerce, compare); a property test checks every case against the semver package. Staleness checks keep using semver, in a chunk only `intent stale` loads. `intent install` statically imported @clack/prompts (~23ms) even for non-interactive runs. Import the prompt module on demand at the one call site that prompts, which also splits it into its own chunk.
    nx affected --targets=test:eslint,test:sherif,test:knip,test:docs,test:lib,test:integration,test:types,build
perf: keep semver and interactive prompts off the list/load startup path

Succeeded in 45s

Started
Linux4 CPU cores

nx affected --targets=test:eslint,test:sherif,test:knip,test:docs,test:lib,test:integration,test:types,build

2782f92284GitHubOpen on GitHub
TasksResource Usage
Cache hits
2 of 8 tasks used cache.
25%
Distribute this run
Learn how to enable distribution
Atomizer enabled
2 groups of tasks optimized.

© 2026 Nx Cloud

  • Terms
  • Privacy
  • Changelog
  • Status
  • Docs
  • Contact
  • Pricing
  • Company
  • @NxDevTools
taTanStackOSS