Skip to content

Commit

Permalink
fix(ui): Don't update the lockfile unless a dependency is updated
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotcourant committed Apr 26, 2024
1 parent 0d7ec25 commit 89aac45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/NodeModules.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ add_custom_command(
${CMAKE_SOURCE_DIR}/emails/node_modules
${CMAKE_SOURCE_DIR}/interface/node_modules
${CMAKE_SOURCE_DIR}/stories/node_modules
COMMAND ${PNPM_EXECUTABLE} install
COMMAND ${PNPM_EXECUTABLE} install --frozen-lockfile
# By having a marker we make sure that if we cancel the install but the node_modules dir was created we still end up
# doing install again if we didn't finish the first time.
COMMAND ${CMAKE_COMMAND} -E touch ${NODE_MODULES_MARKER}
Expand Down

0 comments on commit 89aac45

Please sign in to comment.