-
Notifications
You must be signed in to change notification settings - Fork 598
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add DeltaCalculator graph invalidation for package exports (experimen…
…tal) Summary: Implements invalidation of dependencies (marks all graphs as dirty) whenever a `package.json` file is changed. The reasoning for this is that: - A package.json update that changes `"exports"` can change resolutions by entirely swapping out modules. - "Phantom dependencies" can exist when an `"exports"` subpath redirects an apparent subpath to another target file. If `"exports"` is updated to remove this mapping, any file(s) at the apparent subpath would need to be watched. **This is not a final approach, but is acceptable while the Package Exports feature is `unstable`**. Changelog: [Internal] Reviewed By: robhogan Differential Revision: D43394192 fbshipit-source-id: 0ba2c393d8e2b78144c5991d5f48eadd6c47204a
- Loading branch information
1 parent
f0119a4
commit 036ea36
Showing
10 changed files
with
212 additions
and
102 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
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.