yarn-plugins icon indicating copy to clipboard operation
yarn-plugins copied to clipboard

copy doesn't work (for folders)

Open haf opened this issue 3 years ago • 2 comments

E.g. this fails yarn docker build --copy client/corp.js @corp/api with YN0001: │ Error: Invalid filename: "client/corp.js"

I want to copy a folder into the dockerfile. Any escape hatch around??

haf avatar Sep 07 '22 18:09 haf

https://github.com/Dcard/yarn-plugins/blob/67a2686e74c2aeacd8c80af72f8cd67073fccb29/packages/docker-build/src/utils/copyAdditional.ts#L5 seems to be bugged. the author mixes up filenames with file paths.

haf avatar Sep 07 '22 18:09 haf

Ping

haf avatar Oct 28 '22 09:10 haf