File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change
1
+ export type { SourceFileIssue } from './lib/issues' ;
1
2
export type * from './lib/models' ;
3
+ export {
4
+ MONOREPO_TOOLS ,
5
+ isMonorepoTool ,
6
+ type MonorepoTool ,
7
+ } from './lib/monorepo' ;
2
8
export { runInCI } from './lib/run' ;
Original file line number Diff line number Diff line change 1
1
export { listMonorepoProjects } from './list-projects' ;
2
- export { MONOREPO_TOOLS , type MonorepoTool , type ProjectConfig } from './tools' ;
2
+ export {
3
+ MONOREPO_TOOLS ,
4
+ isMonorepoTool ,
5
+ type MonorepoTool ,
6
+ type ProjectConfig ,
7
+ } from './tools' ;
Original file line number Diff line number Diff line change @@ -20,3 +20,7 @@ export type ProjectConfig = {
20
20
bin : string ;
21
21
directory ?: string ;
22
22
} ;
23
+
24
+ export function isMonorepoTool ( value : string ) : value is MonorepoTool {
25
+ return MONOREPO_TOOLS . includes ( value as MonorepoTool ) ;
26
+ }
You can’t perform that action at this time.
0 commit comments