Bob
Build tool used in libraries maintained by The Guild
Install / Use
/learn @graphql-hive/BobREADME
Bob (The Compiler)
Bob is the TypeScript build, bundle and verification tool used by almost all The Guild open source projects.
Scope:
- Build: Build ESM and CommonJS compatible npm packages
- Verify: Ensure all ESM and CommonJS imports within an npm package are usable
Requirements
- Yarn workspace or single package project
- TypeScript
- It's so strict you shouldn't use it!
Setup
Setting up bob is currently undocumented. You can check GraphQL Code Generator repository (or any other The Guild repository).
Configuration
You can add a bob key to each package.json.
Disable bob for a single package
{
"name": "graphql-lfg",
"bob": false // exclude a single package from all things bob related
}
Disable build for a single package
{
"name": "graphql-lfg",
"bob": {
"build": false
}
}
Disable check for a single package
{
"name": "graphql-lfg",
"bob": {
"check": false
}
}
Disable check for a single export in a package
{
"name": "graphql-lfg",
"bob": {
"check": {
"skip": ["./foo"]
}
}
}
Usage
$ bob build
$ bob check
Related Skills
node-connect
349.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Writing Hookify Rules
109.7kThis skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
review-duplication
100.4kUse this skill during code reviews to proactively investigate the codebase for duplicated functionality, reinvented wheels, or failure to reuse existing project best practices and shared utilities.
