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
Hello, I have a problem with deploying npm workspaces/monorepo, I want to deploy ONLY the server file with my NestJS app, but pipeline screams that some packages are not found or types are wrong, how can I "wrap" my server package with files like package-lock.json or tsconfig.base.json? Do I need to dockerize my app? If yes, could someone explain how to do this?
The text was updated successfully, but these errors were encountered:
For future reference and for anyone that is running a monorepo using NPM workspaces.
You can workaround this issue by using the workspace option inside .npmrc file. This will make all npm commands to respect your workspace option, and that includes the npm ci that is automatically run in Heroku.
If anyone is deploying via Github Actions and using heroku-deploy action you can do something similar to this:
Hello, I have a problem with deploying npm workspaces/monorepo, I want to deploy ONLY the server file with my NestJS app, but pipeline screams that some packages are not found or types are wrong, how can I "wrap" my server package with files like
package-lock.json
ortsconfig.base.json
? Do I need to dockerize my app? If yes, could someone explain how to do this?The text was updated successfully, but these errors were encountered: