reg-viz / storycap

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

chore(deps): update dependency cpy to v11 #833

Open renovate[bot] opened 9 months ago

renovate[bot] commented 9 months ago

This PR contains the following updates:

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

Release Notes

sindresorhus/cpy (cpy) ### [`v11.1.0`](https://redirect.github.com/sindresorhus/cpy/releases/tag/v11.1.0) [Compare Source](https://redirect.github.com/sindresorhus/cpy/compare/v11.0.1...v11.1.0) - Update dependencies [`7c96d93`](https://redirect.github.com/sindresorhus/cpy/commit/7c96d93) ### [`v11.0.1`](https://redirect.github.com/sindresorhus/cpy/releases/tag/v11.0.1) [Compare Source](https://redirect.github.com/sindresorhus/cpy/compare/v11.0.0...v11.0.1) - Remove unused type [`778e9e1`](https://redirect.github.com/sindresorhus/cpy/commit/778e9e1) ### [`v11.0.0`](https://redirect.github.com/sindresorhus/cpy/releases/tag/v11.0.0) [Compare Source](https://redirect.github.com/sindresorhus/cpy/compare/v10.1.0...v11.0.0) ##### Breaking - Require Node.js 18 [`f9d72e1`](https://redirect.github.com/sindresorhus/cpy/commit/f9d72e1) ##### Improvements - [Clone](https://stackoverflow.com/questions/71629903/node-js-why-we-should-use-copyfile-ficlone-and-copyfile-ficlone-force-what-is) files whenever possible [`f9d72e1`](https://redirect.github.com/sindresorhus/cpy/commit/f9d72e1) ##### Maintenance - This package has a lot of problems and I unfortunately don't have time to fix them. I would recommend against using this package until these problems are resolved. Help welcome (see the issue tracker). ### [`v10.1.0`](https://redirect.github.com/sindresorhus/cpy/releases/tag/v10.1.0) [Compare Source](https://redirect.github.com/sindresorhus/cpy/compare/v10.0.0...v10.1.0) - Add file `sourcePath` and `destinationPath` to the progress event ([#​112](https://redirect.github.com/sindresorhus/cpy/issues/112)) [`936710e`](https://redirect.github.com/sindresorhus/cpy/commit/936710e) ### [`v10.0.0`](https://redirect.github.com/sindresorhus/cpy/releases/tag/v10.0.0) [Compare Source](https://redirect.github.com/sindresorhus/cpy/compare/v9.0.1...v10.0.0) ##### Breaking - Require Node.js 16 [`f18399d`](https://redirect.github.com/sindresorhus/cpy/commit/f18399d) ##### Fixes - Fix: Make `rename` function receive filename with extension ([#​110](https://redirect.github.com/sindresorhus/cpy/issues/110)) [`cdb7ed4`](https://redirect.github.com/sindresorhus/cpy/commit/cdb7ed4) - In v9, it incorrectly received a filename without extension. ### [`v9.0.1`](https://redirect.github.com/sindresorhus/cpy/releases/tag/v9.0.1) [Compare Source](https://redirect.github.com/sindresorhus/cpy/compare/v9.0.0...v9.0.1) - Fix `flat` option when copying a single file ([#​101](https://redirect.github.com/sindresorhus/cpy/issues/101)) [`2014a4f`](https://redirect.github.com/sindresorhus/cpy/commit/2014a4f) ### [`v9.0.0`](https://redirect.github.com/sindresorhus/cpy/releases/tag/v9.0.0) [Compare Source](https://redirect.github.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 was generated by Mend Renovate. View the repository job log.