-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
workspaces-config.ts
38 lines (34 loc) · 957 Bytes
/
workspaces-config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/**
* @file WorkspacesConfig
* @module pkg-types/WorkspacesConfig
*/
import type { JsonObject } from '@flex-development/pkg-types'
/**
* Workspaces configuration.
*
* @see {@linkcode JsonObject}
* @see https://classic.yarnpkg.com/docs/workspaces
* @see https://yarnpkg.com/features/workspaces
* @see https://github.com/npm/rfcs/blob/main/implemented/0026-workspaces.md
*
* @extends {JsonObject}
*/
interface WorkspacesConfig extends JsonObject {
/**
* [Glob patterns][minimatch] matching module paths to prevent from being
* hoisted.
*
* [minimatch]: https://github.com/isaacs/minimatch
*
* @see https://classic.yarnpkg.com/blog/2018/02/15/nohoist
*/
nohoist?: string[] | null
/**
* [Glob patterns][minimatch] matching all directories that should become
* workspaces.
*
* [minimatch]: https://github.com/isaacs/minimatch
*/
packages?: string[] | null
}
export type { WorkspacesConfig as default }