Skip to content

Commit

Permalink
fix: lodash import issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShenQingchuan committed Sep 20, 2022
1 parent a4f3f35 commit b47cd76
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -47,7 +47,7 @@
"figures": "^5.0.0",
"inquirer": "^9.1.1",
"jsonc-parser": "^3.2.0",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"node-fetch": "^3.2.10",
"ora": "^6.1.2",
"rxjs": "^7.5.6",
Expand All @@ -58,7 +58,7 @@
"@sxzz/eslint-config-prettier": "^2.4.1",
"@sxzz/eslint-config-ts": "^2.4.1",
"@types/inquirer": "^9.0.1",
"@types/lodash": "^4.14.184",
"@types/lodash-es": "^4.17.6",
"@types/node": "*",
"@types/semver": "^7.3.12",
"bumpp": "^8.2.1",
Expand All @@ -74,4 +74,4 @@
"engines": {
"node": ">=16"
}
}
}
17 changes: 14 additions & 3 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion src/index.ts
Expand Up @@ -4,7 +4,7 @@ import chokidar from 'chokidar'
import cac from 'cac'
import chalk from 'chalk'
import inquirer from 'inquirer'
import { last } from 'lodash'
import { last } from 'lodash-es'
import inquirerFileTreeSelection from '../lib/inquirer-file-tree-selection-prompt'
import ensureTscVersion from './check-tsc-version'
import { showAppHeader } from './show-console-print'
Expand Down

0 comments on commit b47cd76

Please sign in to comment.