bob: The Build Tool Used in the Guild-Maintained Repositories

Bob (Bundler)

Usage:

  • Review the repository for usage instructions as documentation is currently unavailable.
  • Supports scoped packages only (same scope).
  • In Yarn workspaces with TypeScript with paths, configuration is highly restrictive and its use is discouraged.

Configuration:

  • Bob accepts bob.config.js in the root directory only:
module.exports = {
  scope: "@graphql-codegen",
  // Scope of organization
  ignore: ["@graphql-codegen/website", "@graphql-codegen/live-demo"],
  // ignored packages
  track: ["bob.config.js"] // files in root that mark the entire workspace as dirty
};
zip 文件大小:60.29KB