reg-viz / storycap

A Storybook Addon, Save the screenshot image of your stories :camera: via puppeteer.
https://www.npmjs.com/package/storycap
MIT License
712 stars 89 forks source link

chore(deps): update dependency cpy to v10 - autoclosed #742

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
cpy 8.1.2 -> 10.1.0 age adoption passing confidence

Release Notes

sindresorhus/cpy (cpy) ### [`v10.1.0`](https://togithub.com/sindresorhus/cpy/releases/tag/v10.1.0) [Compare Source](https://togithub.com/sindresorhus/cpy/compare/v10.0.0...v10.1.0) - Add file `sourcePath` and `destinationPath` to the progress event ([#​112](https://togithub.com/sindresorhus/cpy/issues/112)) [`936710e`](https://togithub.com/sindresorhus/cpy/commit/936710e) ### [`v10.0.0`](https://togithub.com/sindresorhus/cpy/releases/tag/v10.0.0) [Compare Source](https://togithub.com/sindresorhus/cpy/compare/v9.0.1...v10.0.0) ##### Breaking - Require Node.js 16 [`f18399d`](https://togithub.com/sindresorhus/cpy/commit/f18399d) ##### Fixes - Fix: Make `rename` function receive filename with extension ([#​110](https://togithub.com/sindresorhus/cpy/issues/110)) [`cdb7ed4`](https://togithub.com/sindresorhus/cpy/commit/cdb7ed4) - In v9, it incorrectly received a filename without extension. ### [`v9.0.1`](https://togithub.com/sindresorhus/cpy/releases/tag/v9.0.1) [Compare Source](https://togithub.com/sindresorhus/cpy/compare/v9.0.0...v9.0.1) - Fix `flat` option when copying a single file ([#​101](https://togithub.com/sindresorhus/cpy/issues/101)) [`2014a4f`](https://togithub.com/sindresorhus/cpy/commit/2014a4f) ### [`v9.0.0`](https://togithub.com/sindresorhus/cpy/releases/tag/v9.0.0) [Compare Source](https://togithub.com/sindresorhus/cpy/compare/v8.1.2...v9.0.0) ##### Breaking - This package is now pure ESM. **Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** - Require Node.js 12 ##### Recursive by default - `parents` option was removed - to get flat list of files use `flat: true` option Example 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 ##### Recreate old `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 ##### Recreate old `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 ##### Copy all package.json and preserve folder structure Old: `cpy('node_modules/**/package.json', 'dest', {parents: true})` Old output: ![](https://i.imgur.com/sHOe35T.png) New: `cpy('node_modules/**/package.json', 'dest')` New output: ![](https://i.imgur.com/pYJEK2T.png)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.