Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for react-native key #243

Merged
merged 4 commits into from
Feb 2, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions defaultRules.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ _Note: when a specific key order is used, any other keys will be sorted in the e
| source | |
| jsnext:main | |
| browser | |
| react-native | |
| types | |
| typesVersions | |
| typings | |
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ const fields = [
{ key: 'source' },
{ key: 'jsnext:main' },
{ key: 'browser' },
{ key: 'react-native' },
{ key: 'types' },
{ key: 'typesVersions' },
{ key: 'typings' },
Expand Down
1 change: 1 addition & 0 deletions tests/fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ for (const field of [
'source',
'jsnext:main',
'browser',
'react-native',
'types',
'typesVersions',
'typings',
Expand Down