Update chokidar and use pnpm exec (#9640)

* Fix for dev mode

* Update packages/frontend/package.json

Co-authored-by: tamaina <tamaina@hotmail.co.jp>

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
This commit is contained in:
CyberRex 2023-01-21 18:41:30 +09:00 committed by GitHub
parent 69bb377cb1
commit bd3d75df6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@
"cleanall": "pnpm clean-all" "cleanall": "pnpm clean-all"
}, },
"resolutions": { "resolutions": {
"chokidar": "^3.3.1", "chokidar": "^3.5.3",
"lodash": "^4.17.21" "lodash": "^4.17.21"
}, },
"dependencies": { "dependencies": {

View File

@ -1,7 +1,7 @@
lockfileVersion: 5.4 lockfileVersion: 5.4
overrides: overrides:
chokidar: ^3.3.1 chokidar: ^3.5.3
lodash: ^4.17.21 lodash: ^4.17.21
importers: importers:
@ -126,7 +126,7 @@ importers:
cbor: 8.1.0 cbor: 8.1.0
chalk: 5.2.0 chalk: 5.2.0
chalk-template: 0.4.0 chalk-template: 0.4.0
chokidar: ^3.3.1 chokidar: ^3.5.3
cli-highlight: 2.1.11 cli-highlight: 2.1.11
color-convert: 2.0.1 color-convert: 2.0.1
content-disposition: 0.5.4 content-disposition: 0.5.4

View File

@ -14,7 +14,7 @@ const fs = require('fs');
stderr: process.stderr, stderr: process.stderr,
}); });
execa('pnpm', ['dlx', 'gulp', 'watch'], { execa('pnpm', ['exec', 'gulp', 'watch'], {
cwd: __dirname + '/../', cwd: __dirname + '/../',
stdout: process.stdout, stdout: process.stdout,
stderr: process.stderr, stderr: process.stderr,