frouo / next-markdown

Markdown Pages for Next.js with 0 effort, dynamic routes and your layout design
https://twitter.com/nextmarkdown
117 stars 5 forks source link

Setup the project so it's easy to develop and test this nextjs library #6

Closed frouo closed 2 years ago

frouo commented 2 years ago

Please, help.

Problem

Right now I have no proper solution:

Wanted

I don't have the time (and knowledge yet) to setup properly the project this way:

Thank you

Any help is much than appreciated 🙏

edvincandon commented 2 years ago

on it daaaawg 🐕

edvincandon commented 2 years ago

all done - running tests on each change is kind of overkill. Setting up some pre-push githooks might be a better solution.

frouo commented 2 years ago

Re-opened: NPM published package once installed in the project is not working (with error Error: Directory import '/Users/frouo/Programming/Lembot/app/node_modules/next-markdown/dist/utils' is not supported resolving ES modules imported from/Users/frouo/Programming/Lembot/app/node_modules/next- markdown/dist/index.is cf. screenshot below).

Attempted to fix this with #10 & #11 but where it fixes something here and breaks somewhere else...

IMG_6045