You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's no documentation yet but you can check [GraphQL Code Generator](https://github.com/dotansimha/graphql-code-generator) repository to see how to use Bob.
3
+
Bob is the TypeScript build, bundle and verification tool used by almost all [The Guild](https://the-guild.dev) open source projects.
4
+
5
+
Scope:
6
+
7
+
-**Build**: Build ESM and CommonJS compatible npm packages
8
+
-**Verify**: Ensure all ESM and CommonJS imports within a npm package are usable
9
+
-**Bundle**: Build a single executable for an application (experimental)
4
10
5
11
## Requirements
6
12
7
-
- Supports only scoped packages (same scope)
8
-
- Yarn Workspaces
9
-
- TypeScript with Paths
13
+
- Yarn workspace or single package project
14
+
- TypeScript
10
15
- It's so strict you shouldn't use it!
11
16
17
+
## Setup
18
+
19
+
Setting up bob is currently undocumented. You can check [GraphQL Code Generator](https://github.com/dotansimha/graphql-code-generator) repository (or any other The Guild repository).
20
+
12
21
## Configuration
13
22
14
-
Bob only accepts `bob.config.js` in root directory:
23
+
You can add a `bob` key to each `package.json`.
24
+
25
+
**Disable bob for a single package**
15
26
16
27
```js
17
-
module.exports= {
18
-
scope:"@graphql-codegen", // Scope of organization
0 commit comments