janniks / basetag

⚾️ A better way to import local NodeJS modules
MIT License
37 stars 3 forks source link

Needs local postinstall script #18

Closed coolaj86 closed 3 years ago

coolaj86 commented 3 years ago

It seems that any time you run npm install it will clean out unrecognized files and directories, such as node_modules/$, but it doesn't re-run the postinstall scripts.

I think this should create a postinstall key in the local package.json to run npx basetag (for which a script would need to be provided), and print a message letting the user know to do so if a different postinstall already exists.

janniks commented 3 years ago

I'll do some investigating - that is a real problem 😕

postinstall sounds like an option. I might start setting up that bin architecture now then...

janniks commented 3 years ago

You are right. I will remodel basetags approach during #17