Bot releases are visible (Hide)
https://github.com/sindresorhus/cpy/compare/v11.0.0...v11.0.1
https://github.com/sindresorhus/cpy/compare/v10.1.0...v11.0.0
sourcePath
and destinationPath
to the progress event (#112) 936710ehttps://github.com/sindresorhus/cpy/compare/v10.0.0...v10.1.0
rename
function receive filename with extension (#110) cdb7ed4
https://github.com/sindresorhus/cpy/compare/v9.0.1...v10.0.0
flat
option when copying a single file (#101) 2014a4fparents
option was removedflat: true
optionExample directory structure:
- .github/workflows/main.yml
- .github/funding.yml
Command: cpy('.github/**', 'dest')
Old output:
- dest/funding.yml
- dest/main.yml
New output:
- dest/workflows/main.yml
- dest/main.yml
parents: true
Example directory structure:
- .github/workflows/main.yml
- .github/funding.yml
Old:
cpy('.github/**', 'dest', {parents: true})
New:
cpy('.github', 'dest')
Output:
- dest/.github/workglows/main.yml
- dest/.github/funding.yml
parents: false
Example directory structure:
- .github/workflows/main.yml
- .github/funding.yml
Old:
cpy('.github/**', 'dest', {parents: false})
New:
cpy('.github', 'dest', {flat: true})
Output:
- dest/main.yml
- dest/funding.yml
Old:
cpy('node_modules/**/package.json', 'dest', {parents: true})
Old output:
New:
cpy('node_modules/**/package.json', 'dest')
New output:
filter
option (#66) 7df88b8ignoreJunk
option (#67) 8008fe6concurrency
option (#69) 4e282ccEnhancements: