NPM zip corrupts png assets

I’m building a theme locally on Macos 14.4.1 for upload to Ghost Pro, which has worked flawlessly in the past. The theme contains various images in the assets folder, and running “npm run zip” creates the archive for upload, but in doing so corrupts all png image files. This has just started happening - npm, gulp, gulp-zip, etc are all at the latest version.

Has anyone come across this?

Resolved temporarily by building with Gulp and then using the CLI zip command rather than “npm run zip”. That does mean there are some unwanted folders included like node_modules etc, but PNG images are no longer corrupted.

It’s definitely something to do with the “gulp-zip” library - does anyone have experience of image files being corrupted using it?