Skip to content

Commit a8dcf4e

Browse files
chore(deps): update dependency chokidar to v4 (#339)
* chore(deps): update dependency chokidar to v4 * chore: migrate to chkidar v4 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jakub Freisler <[email protected]>
1 parent 20338a6 commit a8dcf4e

File tree

3 files changed

+8
-61
lines changed

3 files changed

+8
-61
lines changed

packages/blog/.vitepress/scripts/syncPosts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const args = commandLineArgs([
2121
const cwd = path.join(__dirname, '..');
2222

2323
const watcher = chokidar
24-
.watch('./post/**/*', {
24+
.watch('./post', {
2525
cwd,
2626
ignoreInitial: true,
2727
})

packages/blog/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"@types/fs-extra": "11.0.4",
3131
"@types/lodash-es": "^4.17.9",
3232
"@types/remove-markdown": "0.3.4",
33-
"chokidar": "3.6.0",
33+
"chokidar": "4.0.3",
3434
"command-line-args": "6.0.0",
3535
"concurrently": "9.0.1",
3636
"cpy-cli": "5.0.0",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)