Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
fix-js-api-upstream (#1526)
Browse files Browse the repository at this point in the history
When install the new version of the JS-API the lock file in ADF needs to be version 1
  • Loading branch information
eromano committed Feb 28, 2023
1 parent 96d3254 commit 4b9b21f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update-project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ JS_VERSION=$(npm view @alfresco/js-api@$VERSION version)
for i in $(find . ! -path "*/node_modules/*" -name "package-lock.json" | xargs grep -l 'js-api'); do
directory=$(dirname $i)
echo $directory
( cd $directory ; npm i --save-exact --ignore-scripts @alfresco/js-api@$VERSION)
( cd $directory ; npm i --lockfile-version 1 --save-exact --ignore-scripts @alfresco/js-api@$VERSION)
done

for i in $(find . ! -path "*/node_modules/*" -name "package.json" | xargs grep -l 'js-api'); do
Expand Down

0 comments on commit 4b9b21f

Please sign in to comment.