How would I go about forking a plugin? FInding some difficulty due to them being under a monorepo

all in the title
Solution:
If you want to make a small change, use patch-package
Jump to solution
5 Replies
iaqi
iaqi7mo ago
i guess fork the whole repo and make your changes
~
~7mo ago
but i'd just want to make a change in one plugin for my person bot is all that really necessary
Solution
Lioness100
Lioness1007mo ago
If you want to make a small change, use patch-package
Spinel
Spinel7mo ago
patch-package
Fix broken node modules with no fuss ❯ Author: ds300 ❯ Maintainers: ds300 ❯ Latest version: 8.0.0 ❯ License: MIT ❯ Date Created: <t:1494275561:d> ❯ Date Modified: <t:1690479598:d> Dependencies: @yarnpkg/lockfile, chalk, ci-info, cross-spawn, find-yarn-workspace-root, fs-extra, json-stable-stringify, klaw-sync, minimist, open, and 5 more...
Favna
Favna7mo ago
FYI this is built into yarn as yarn patch, patch-package is the solution for pnpm / npm though. And to answer @Upsided, if you adhere to the MIT license properly you can just copy the code of the plugin. That is to say, add our licencese as a third party license to your own project.