Skip to content

Commit

Permalink
fix: replace lodash per method packages with lodash-es (#299)
Browse files Browse the repository at this point in the history
close #297

---------

Co-authored-by: Dmytro <dschewchenko@users.noreply.github.com>
Co-authored-by: Danila Rodichkin <daniluk4000@outlook.com>
Co-authored-by: fi3ework <fi3ework@gmail.com>
  • Loading branch information
4 people committed Jan 30, 2024
1 parent ed9c093 commit bc4fa05
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 32 deletions.
5 changes: 5 additions & 0 deletions .changeset/gentle-singers-poke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"vite-plugin-checker": patch
---

Remove lodash per method packages
6 changes: 2 additions & 4 deletions packages/vite-plugin-checker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@
"commander": "^8.0.0",
"fast-glob": "^3.2.7",
"fs-extra": "^11.1.0",
"lodash.debounce": "^4.0.8",
"lodash.pick": "^4.4.0",
"lodash-es": "^4.17.21",
"npm-run-path": "^4.0.1",
"semver": "^7.5.0",
"strip-ansi": "^6.0.0",
Expand Down Expand Up @@ -97,8 +96,7 @@
"devDependencies": {
"@types/eslint": "^7.2.14",
"@types/fs-extra": "^11.0.1",
"@types/lodash.debounce": "^4.0.6",
"@types/lodash.pick": "^4.4.6",
"@types/lodash-es": "^4.17.12",
"@types/semver": "^7.3.13",
"@volar/vue-typescript": "^0.33.0",
"esbuild": "^0.14.27",
Expand Down
2 changes: 1 addition & 1 deletion packages/vite-plugin-checker/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import chalk from 'chalk'
import { spawn } from 'child_process'
import pick from 'lodash.pick'
import { pick } from 'lodash-es'
import npmRunPath from 'npm-run-path'

import { Checker } from './Checker.js'
Expand Down
40 changes: 13 additions & 27 deletions pnpm-lock.yaml

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

0 comments on commit bc4fa05

Please sign in to comment.