-
-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This allows us to use newer features of Yarn, such as writing constraints in JavaScript format instead of Prolog.
- Loading branch information
Showing
14 changed files
with
4,536 additions
and
5,359 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -408,6 +408,13 @@ gen_enforced_dependency(WorkspaceCwd, DependencyIdent, CorrectPeerDependencyRang | |
atom_concat('^', CurrentDependencyVersion, CorrectPeerDependencyRange) | ||
). | ||
|
||
% The root workspace (and only the root workspace) needs to specify the Yarn | ||
% version required for development. | ||
gen_enforced_field(WorkspaceCwd, 'packageManager', '[email protected]') :- | ||
WorkspaceCwd == '.'. | ||
gen_enforced_field(WorkspaceCwd, 'packageManager', null) :- | ||
WorkspaceCwd \= '.'. | ||
|
||
% All packages must specify a minimum Node version of 18. | ||
gen_enforced_field(WorkspaceCwd, 'engines.node', '^18.18 || >=20'). | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,6 @@ | |
"typedoc": "^0.24.8", | ||
"typescript": "~4.9.5" | ||
}, | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
"node": "^18.18 || >=20" | ||
}, | ||
|
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 |
---|---|---|
|
@@ -65,7 +65,6 @@ | |
"typedoc": "^0.24.8", | ||
"typescript": "~4.9.5" | ||
}, | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
"node": "^18.18 || >=20" | ||
}, | ||
|
Oops, something went wrong.