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
|`projects`|`string[] \| null`|`null`| Custom projects configuration for [monorepo mode](#monorepo-mode)|
101
+
|`task`|`string`|`'code-pushup'`| Name of command to run Code PushUp per project in [monorepo mode](#monorepo-mode)|
102
+
|`directory`|`string`|`process.cwd()`| Directory in which Code PushUp CLI should run |
103
+
|`config`|`string \| null`|`null`[^1]| Path to config file (`--config` option) |
104
+
|`silent`|`boolean`|`false`| Toggles if logs from CLI commands are printed |
105
+
|`bin`|`string`|`'npx --no-install code-pushup'`| Command for executing Code PushUp CLI |
106
+
|`detectNewIssues`|`boolean`|`true`| Toggles if new issues should be detected and returned in `newIssues` property |
107
+
|`logger`|`Logger`|`console`| Logger for reporting progress and encountered problems |
108
+
|`output`|`string`|`'.code-pushup'`| Directory where Code PushUp reports will be created (interpolates project name [^2]) |
108
109
109
110
[^1]: By default, the `code-pushup.config` file is autodetected as described in [`@code-pushup/cli` docs](../cli/README.md#configuration).
110
111
112
+
[^2]: In monorepo mode, any occurrence of `{project}` in the `output` path will be replaced with a project name. This separation of folders per project (e.g. `output: '.code-pushup/{project}'`) may be useful for caching purposes.
113
+
111
114
The `Logger` object has the following required properties:
0 commit comments