wireit

Installation
SKILL.md

Wireit

Documentation

Full documentation: https://github.com/google/wireit

Authoring Wireit Scripts

  • Wireit is very static, list dependencies explicitly (won't infer them from npm workspace relationships).
  • if something needs go (ex:compile) before another thing go (ex:bundle) that's a dependency
  • envs: see https://github.com/google/wireit?tab=readme-ov-file#environment-variables
  • deps can be relative ex "../../other-pkg:script-name"
  • If a package in this repo has another package as a package.json dep or devDep, it should be a wireit dep for compile
  • If an extension has another extension as an extensionDependency, it should be a wireit dep for bundle caching: if you specify files and output (even []) you'll get caching (skips when neither have changed)
  • You can have a wireit script without it being an npm script (ex: you can't execute it on its own, but it can run as a dep of another wireit script that can start from npm run)
  • don't make circular references

Using Wireit Scripts

Installs
1
GitHub Stars
10
First Seen
8 days ago
wireit — forcedotcom/apex-language-support