payloadcms / payload

Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
https://payloadcms.com
MIT License
25.73k stars 1.64k forks source link

Consider removing `find-up` #8113

Closed benmccann closed 2 months ago

benmccann commented 2 months ago

Link to reproduction

https://github.com/payloadcms/payload/blob/08fdbcacc02c1768770516c2dd2e22df7bc48843/packages/payload/package.json#L98

Environment Info

beta.100

Describe the Bug

The functionality of find-up is pretty simple and could probably be replicated directly within the project, which would remove 7 dependencies

Reproduction Steps

https://github.com/payloadcms/payload/blob/08fdbcacc02c1768770516c2dd2e22df7bc48843/packages/payload/package.json#L98

https://npmgraph.js.org/?q=find-up

Adapters and Plugins

No response

AlessioGr commented 2 months ago

Fixed by https://github.com/payloadcms/payload/pull/8195

github-actions[bot] commented 2 months ago

This issue has been automatically locked. Please open a new issue if this issue persists with any additional detail.