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
The postinstall script is being run after the package is installed. This works with yarn, but fails for pnpm. I would expect the compiled dist directory to be included in the download from NPM, not to require compilation post-download.
Consider the following:
Include dist in the package uploaded to NPM.
Remove the postinstall script.
The text was updated successfully, but these errors were encountered:
@KurtzL thoughts on this? I'm not too familiar with npm packaging, but this is once again an issue. We don't ship tsc in production because we expect packages to have compile their own output.
The
postinstall
script is being run after the package is installed. This works with yarn, but fails for pnpm. I would expect the compileddist
directory to be included in the download from NPM, not to require compilation post-download.Consider the following:
dist
in the package uploaded to NPM.postinstall
script.The text was updated successfully, but these errors were encountered: