Skip to content

Commit

Permalink
feat(back): fluidattacks#1317 fix makeNodeJsLock
Browse files Browse the repository at this point in the history
- add `--package-lock-only` to `npm install` command
- fix default value for `lockfile_version` in `entrypoint.sh`

Signed-off-by: Robin Quintero <[email protected]>
  • Loading branch information
rohaquinlop committed Apr 12, 2024
1 parent a698d91 commit dc961fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion makes/utils/makeNodeJsLock/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
function main {
local node_js_version="${1}"
local package_json_dir="${2}"
local lockfile_version="${3:2}"
local lockfile_version="${3:-2}"
local npm_install_args=(
--audit false
--ignore-scripts true
--package-lock-only
)

: && case "${node_js_version}" in
Expand Down

0 comments on commit dc961fd

Please sign in to comment.