Skip to content

Commit 4b1753e

Browse files
committed
chore: use lodash.defaults package for smaller size
1 parent 82fc790 commit 4b1753e

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

package-lock.json

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@oclif/plugin-version": "^1.0.4",
1414
"cli-ux": "^5.4.4",
1515
"fs-extra": "^8.1.0",
16-
"lodash": "^4.17.15",
16+
"lodash.defaults": "^4.2.0",
1717
"oclif": "^2.5.0",
1818
"tslib": "^1.10.0"
1919
},
@@ -23,6 +23,7 @@
2323
"@oclif/tslint": "^3.1.1",
2424
"@types/chai": "^4.2.7",
2525
"@types/fs-extra": "^8.0.1",
26+
"@types/lodash.defaults": "^4.2.6",
2627
"@types/mocha": "^5.2.7",
2728
"@types/node": "^10.17.13",
2829
"chai": "^4.2.0",

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as fs from 'fs-extra'
2-
import defaults from 'lodash/defaults'
2+
import defaults from 'lodash.defaults'
33

44
import {getConfigFilePath} from './utils'
55

0 commit comments

Comments
 (0)