Skip to content

Commit

Permalink
Re-allow lodash.sortby via package level esModuleInterop
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-scheer committed Feb 14, 2019
1 parent d2de167 commit 52cf9b1
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
14 changes: 11 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"@types/jest": "23.3.14",
"@types/listr": "0.13.0",
"@types/lodash": "4.14.120",
"@types/lodash.sortby": "^4.7.5",
"@types/minimatch": "3.0.3",
"@types/nock": "9.3.1",
"@types/node": "10.12.26",
Expand Down
2 changes: 1 addition & 1 deletion packages/apollo-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"node": ">=6"
},
"dependencies": {
"lodash": "^4.7.0"
"lodash.sortby": "^4.7.0"
},
"peerDependencies": {
"graphql": "^14.0.2"
Expand Down
4 changes: 3 additions & 1 deletion packages/apollo-graphql/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"extends": "../../tsconfig.base",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./lib"
"outDir": "./lib",
"esModuleInterop": true,
"target": "es2016"
},
"include": ["src/**/*"],
"exclude": ["**/__tests__", "**/__mocks__"],
Expand Down

0 comments on commit 52cf9b1

Please sign in to comment.