-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(devkit): expose findMatchingProjects from @nx/devkit
- Loading branch information
1 parent
429ea42
commit 7f521f1
Showing
4 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Function: findMatchingProjects | ||
|
||
▸ **findMatchingProjects**(`patterns?`, `projects`): `string`[] | ||
|
||
Find matching project names given a list of potential project names or globs. | ||
|
||
#### Parameters | ||
|
||
| Name | Type | Default value | Description | | ||
| :--------- | :------------------------------------------------------------------------------------------------ | :------------ | :-------------------------------------------------------------------------------------------------- | | ||
| `patterns` | `string`[] | `[]` | A list of project names or globs to match against. | | ||
| `projects` | `Record`\<`string`, [`ProjectGraphProjectNode`](../../devkit/documents/ProjectGraphProjectNode)\> | `undefined` | A map of [ProjectGraphProjectNode](../../devkit/documents/ProjectGraphProjectNode) by project name. | | ||
|
||
#### Returns | ||
|
||
`string`[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters