-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add pnpm * chore: clean up test cases
- Loading branch information
1 parent
26c5f9d
commit af54e91
Showing
11 changed files
with
61 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -258,3 +258,57 @@ test('badges', (t) => { | |
'Should sort `badges[]`', | ||
) | ||
}) | ||
|
||
test('pnpm', macro.sortObject, { | ||
path: 'pnpm', | ||
value: { | ||
overrides: { | ||
'[email protected]': '1.123.0', | ||
'react-native-notifications@^3.4.5': '3.4.5', | ||
'antd@^2.23.4': '2.23.4', | ||
}, | ||
patchedDependencies: { | ||
'[email protected]': 'foo.patch', | ||
'[email protected]': 'bar.patch', | ||
'[email protected]': 'baz.patch', | ||
}, | ||
packageExtensions: { | ||
'@rjsf/core': { | ||
dependencies: { | ||
tslib: '*', | ||
}, | ||
}, | ||
'follow-redirects': { | ||
dependencies: { | ||
debug: '4.3.4', | ||
}, | ||
}, | ||
}, | ||
allowNonAppliedPatches: true, | ||
}, | ||
expect: { | ||
allowNonAppliedPatches: true, | ||
overrides: { | ||
'antd@^2.23.4': '2.23.4', | ||
'[email protected]': '1.123.0', | ||
'react-native-notifications@^3.4.5': '3.4.5', | ||
}, | ||
packageExtensions: { | ||
'@rjsf/core': { | ||
dependencies: { | ||
tslib: '*', | ||
}, | ||
}, | ||
'follow-redirects': { | ||
dependencies: { | ||
debug: '4.3.4', | ||
}, | ||
}, | ||
}, | ||
patchedDependencies: { | ||
'[email protected]': 'bar.patch', | ||
'[email protected]': 'baz.patch', | ||
'[email protected]': 'foo.patch', | ||
}, | ||
}, | ||
}) |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Binary file not shown.
Binary file not shown.