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 am using pnpm 8.10 in my monorepo. In the projects folder I build docker images by the help of the pnpm deploy command. So far so good. What is bugging me is that I have build the local dependency "node-yasd" twice when using deploy.
Compare the dockerfile. I use the pnpm fetch followed by a pnpm install --offline. During this the local packages get build. In the step RUN pnpm --filter @woifes/yasdi-rest --prod deploy /deployed/ (line 23). The build is again triggered. I was not successfull to work around this because if I omit the fetch-install part the pnpm deploy fails.
Do I have to reorganize my scripts in the package.json of my packages in order to sort this out?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using pnpm 8.10 in my monorepo. In the projects folder I build docker images by the help of the
pnpm deploy
command. So far so good. What is bugging me is that I have build the local dependency "node-yasd" twice when using deploy.Compare the dockerfile. I use the
pnpm fetch
followed by apnpm install --offline
. During this the local packages get build. In the stepRUN pnpm --filter @woifes/yasdi-rest --prod deploy /deployed/
(line 23). The build is again triggered. I was not successfull to work around this because if I omit the fetch-install part thepnpm deploy
fails.Do I have to reorganize my scripts in the
package.json
of my packages in order to sort this out?Beta Was this translation helpful? Give feedback.
All reactions