File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414
1515SCRIPT_DIR=$( dirname " $0 " )
1616ROOT_DIR=$( realpath " $SCRIPT_DIR /../.." )
17- ARTIFACTS_LOCK_YAML=" ./ $SCRIPT_DIR /artifacts.lock.yaml"
18- ALL_PACKAGES_LOCK_JSON=" ./ $SCRIPT_DIR /package-lock.json"
19- ALL_PACKAGES_JSON=" ./ $SCRIPT_DIR /package.json"
17+ ARTIFACTS_LOCK_YAML=" $SCRIPT_DIR /artifacts.lock.yaml"
18+ ALL_PACKAGES_LOCK_JSON=" $SCRIPT_DIR /package-lock.json"
19+ ALL_PACKAGES_JSON=" $SCRIPT_DIR /package.json"
2020
2121makeArtifactsLockYaml () {
2222 rm -f $ARTIFACTS_LOCK_YAML
@@ -88,7 +88,7 @@ makeAllPackageLockJson () {
8888 jq ' . | del(.packages)' package-lock.json > " ${ALL_PACKAGES_LOCK_JSON} "
8989
9090 # Iterate over all package-lock.json files in the project
91- find . -name " package-lock.json" ! -path " ${ALL_PACKAGES_LOCK_JSON} " | while read -r file; do
91+ find . -name " package-lock.json" -not -path " ./build/* " | while read -r file; do
9292 echo " [INFO] Processing file: $file "
9393
9494 # 1. Extract packages and remove empty one
You can’t perform that action at this time.
0 commit comments