Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Commit 4b9b21f

Browse files
authored
fix-js-api-upstream (#1526)
When install the new version of the JS-API the lock file in ADF needs to be version 1
1 parent 96d3254 commit 4b9b21f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/update-project.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ JS_VERSION=$(npm view @alfresco/js-api@$VERSION version)
7171
for i in $(find . ! -path "*/node_modules/*" -name "package-lock.json" | xargs grep -l 'js-api'); do
7272
directory=$(dirname $i)
7373
echo $directory
74-
( cd $directory ; npm i --save-exact --ignore-scripts @alfresco/js-api@$VERSION)
74+
( cd $directory ; npm i --lockfile-version 1 --save-exact --ignore-scripts @alfresco/js-api@$VERSION)
7575
done
7676

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

0 commit comments

Comments
 (0)