-
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(core): restore cached dependencies from non-project-files
- Loading branch information
1 parent
1286c7a
commit 3c24412
Showing
19 changed files
with
305 additions
and
79 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Interface: BaseFileData | ||
|
||
Some metadata about a file | ||
|
||
## Hierarchy | ||
|
||
- **`BaseFileData`** | ||
|
||
↳ [`ProjectFileData`](../../devkit/documents/ProjectFileData) | ||
|
||
↳ [`NonProjectFileData`](../../devkit/documents/NonProjectFileData) | ||
|
||
## Table of contents | ||
|
||
### Properties | ||
|
||
- [file](../../devkit/documents/BaseFileData#file): string | ||
- [hash](../../devkit/documents/BaseFileData#hash): string | ||
|
||
## Properties | ||
|
||
### file | ||
|
||
• **file**: `string` | ||
|
||
--- | ||
|
||
### hash | ||
|
||
• **hash**: `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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,3 @@ | ||
# Interface: FileData | ||
# Type alias: FileData | ||
|
||
Some metadata about a file | ||
|
||
## Table of contents | ||
|
||
### Properties | ||
|
||
- [deps](../../devkit/documents/FileData#deps): (string | [string, string])[] | ||
- [file](../../devkit/documents/FileData#file): string | ||
- [hash](../../devkit/documents/FileData#hash): string | ||
|
||
## Properties | ||
|
||
### deps | ||
|
||
• `Optional` **deps**: (`string` \| [`string`, `string`])[] | ||
|
||
--- | ||
|
||
### file | ||
|
||
• **file**: `string` | ||
|
||
--- | ||
|
||
### hash | ||
|
||
• **hash**: `string` | ||
Ƭ **FileData**: [`ProjectFileData`](../../devkit/documents/ProjectFileData) \| [`NonProjectFileData`](../../devkit/documents/NonProjectFileData) |
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,45 @@ | ||
# Interface: NonProjectFileData | ||
|
||
Represents metadata about a file that **does not** belong to a project. | ||
|
||
## Hierarchy | ||
|
||
- [`BaseFileData`](../../devkit/documents/BaseFileData) | ||
|
||
↳ **`NonProjectFileData`** | ||
|
||
## Table of contents | ||
|
||
### Properties | ||
|
||
- [deps](../../devkit/documents/NonProjectFileData#deps): ProjectGraphDependency[] | ||
- [file](../../devkit/documents/NonProjectFileData#file): string | ||
- [hash](../../devkit/documents/NonProjectFileData#hash): string | ||
|
||
## Properties | ||
|
||
### deps | ||
|
||
• `Optional` **deps**: [`ProjectGraphDependency`](../../devkit/documents/ProjectGraphDependency)[] | ||
|
||
Dependencies which were created with this file as the source file. | ||
|
||
--- | ||
|
||
### file | ||
|
||
• **file**: `string` | ||
|
||
#### Inherited from | ||
|
||
[BaseFileData](../../devkit/documents/BaseFileData).[file](../../devkit/documents/BaseFileData#file) | ||
|
||
--- | ||
|
||
### hash | ||
|
||
• **hash**: `string` | ||
|
||
#### Inherited from | ||
|
||
[BaseFileData](../../devkit/documents/BaseFileData).[hash](../../devkit/documents/BaseFileData#hash) |
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,48 @@ | ||
# Interface: ProjectFileData | ||
|
||
Represents metadata about a file that belongs to a project. | ||
|
||
## Hierarchy | ||
|
||
- [`BaseFileData`](../../devkit/documents/BaseFileData) | ||
|
||
↳ **`ProjectFileData`** | ||
|
||
## Table of contents | ||
|
||
### Properties | ||
|
||
- [deps](../../devkit/documents/ProjectFileData#deps): (string | [target: string, type: string])[] | ||
- [file](../../devkit/documents/ProjectFileData#file): string | ||
- [hash](../../devkit/documents/ProjectFileData#hash): string | ||
|
||
## Properties | ||
|
||
### deps | ||
|
||
• `Optional` **deps**: (`string` \| [target: string, type: string])[] | ||
|
||
An array of dependencies. If an element is just a string, | ||
the dependency is assumed to be a static dependency targetting | ||
that string. If the element is a tuple, the first element inside of it | ||
is the target project, with the second element being the type of dependency. | ||
|
||
--- | ||
|
||
### file | ||
|
||
• **file**: `string` | ||
|
||
#### Inherited from | ||
|
||
[BaseFileData](../../devkit/documents/BaseFileData).[file](../../devkit/documents/BaseFileData#file) | ||
|
||
--- | ||
|
||
### hash | ||
|
||
• **hash**: `string` | ||
|
||
#### Inherited from | ||
|
||
[BaseFileData](../../devkit/documents/BaseFileData).[hash](../../devkit/documents/BaseFileData#hash) |
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
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
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
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
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
Oops, something went wrong.