Skip to content

Commit

Permalink
feat: support languageName field (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker authored May 27, 2020
1 parent 6fee116 commit d9cb77d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ const fields = [
{ key: 'flat' },
{ key: 'engines', over: sortObject },
{ key: 'engineStrict', over: sortObject },
{ key: 'languageName' },
{ key: 'os' },
{ key: 'cpu' },
{ key: 'preferGlobal', over: sortObject },
Expand Down
Binary file modified tests/snapshots/cli.js.snap
Binary file not shown.
2 changes: 2 additions & 0 deletions tests/snapshots/main.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ Generated by [AVA](https://avajs.dev).
"jsdelivr": "jsdelivr",␊
"jsnext:main": "jsnext:main",␊
"keywords": "keywords",␊
"languageName": "languageName",␊
"license": "license",␊
"lint-staged": "lint-staged",␊
"main": "main",␊
Expand Down Expand Up @@ -174,6 +175,7 @@ Generated by [AVA](https://avajs.dev).
"flat": "flat",␊
"engines": "engines",␊
"engineStrict": "engineStrict",␊
"languageName": "languageName",␊
"os": "os",␊
"cpu": "cpu",␊
"preferGlobal": "preferGlobal",␊
Expand Down
Binary file modified tests/snapshots/main.js.snap
Binary file not shown.

0 comments on commit d9cb77d

Please sign in to comment.