You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to have ignore-scripts=true in my global .npmrc for security reasons, but I still need to publish packages that need to build TypeScript code on publish. This worked until v11, which includes:
--ignore-scripts now applies to all lifecycle scripts, include prepare
However, I still need the local prepare script to run on publish. Otherwise, there is no way to have TypeScript code built automatically when running npm publish, unless I'm missing something?
I understand to desire to have ignore-scripts=true apply to everything, but there needs to be a solution for publishing packages.
TVNOWAccountSQ, SchroederSteffen, thokra-nav, IGx89, peterpeterparker and 1 more