Skip to content

Commit

Permalink
chore(cli): bump chokidar (#4370)
Browse files Browse the repository at this point in the history
* chore: bump chokidar

* chore: fmt

* chore: changeset

---------

Co-authored-by: Tom Meagher <tom@meagher.co>
  • Loading branch information
talentlessguy and tmm authored Nov 5, 2024
1 parent 9ed174f commit cb58b1e
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/brown-bees-hope.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wagmi/cli": patch
---

Bumped internal dependencies.
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"bundle-require": "^4.0.2",
"cac": "^6.7.14",
"change-case": "^5.4.4",
"chokidar": "^3.5.3",
"chokidar": "4.0.1",
"dedent": "^0.7.0",
"dotenv": "^16.3.1",
"dotenv-expand": "^10.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/src/commands/generate.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Abi } from 'abitype'
import { Abi as AbiSchema } from 'abitype/zod'
import { camelCase } from 'change-case'
import type { FSWatcher, WatchOptions } from 'chokidar'
import type { ChokidarOptions, FSWatcher } from 'chokidar'
import { watch } from 'chokidar'
import { default as dedent } from 'dedent'
import { default as fs } from 'fs-extra'
Expand Down Expand Up @@ -53,7 +53,7 @@ export async function generate(options: Generate = {}) {
type Watcher = FSWatcher & { config?: Watch }
const watchers: Watcher[] = []
const watchWriteDelay = 100
const watchOptions: WatchOptions = {
const watchOptions: ChokidarOptions = {
atomic: true,
// awaitWriteFinish: true,
ignoreInitial: true,
Expand Down
28 changes: 25 additions & 3 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 cb58b1e

Please sign in to comment.