-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yarn v1: Update workspace metadata extraction
At the time of implementing Workspace model, there was no PackageJson class, therefore only the raw dictionary was availible for use inside the model. Replace raw dictionary access for package.json data with the PackageJson class to enhance type safety and readability. The Workspace model now uses PackageJson instead of a dictionary for package_contents, with updated validators. Signed-off-by: Michal Šoltis <[email protected]>
- Loading branch information
1 parent
7e5f9dc
commit 432a7e1
Showing
4 changed files
with
54 additions
and
33 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
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