Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch node-plop@0.31.1 for the project I'm working on.
yarn run v1.22.19
$ npx ts-node ./node_modules/plop/bin/plop.js --plopfile ./plop/model/plopfile.ts 'Delete Model'
[PLOP] Something went wrong with reading your plop file TypeError: plop is not a function
at nodePlop (file:///Users/devonte/Documents/Shares/shares/projects/app/node_modules/node-plop/src/node-plop.js:271:11)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Liftoff.run (file:///Users/devonte/Documents/Shares/shares/projects/app/node_modules/plop/src/plop.js:56:12)
✨ Done in 6.12s.
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
node-plop@0.31.1
for the project I'm working on.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.