mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
Git Submodules improvements (#1300)
* fix local adf script + attach _LOCAL to the local created libraries * fix redirect login for SSO * optimise package.json
This commit is contained in:
@@ -6,3 +6,8 @@ npm install
|
||||
rm -rf node_modules/@alfresco/js-api
|
||||
mkdir -p node_modules/@alfresco/js-api
|
||||
cp -rf alfresco-js-api/dist/package/* node_modules/@alfresco/js-api
|
||||
|
||||
LOCAL=LOCAL
|
||||
echo "== Rename local JS API version with attaching _$LOCAL ==="
|
||||
VERSION=$(node -p "require('./node_modules/@alfresco/js-api/package.json').version")
|
||||
sed -i'' -e "s#\"version\": \"$VERSION\"#\"version\": \"${VERSION}_$LOCAL\"#g" ./node_modules/@alfresco/js-api/package.json
|
||||
|
Reference in New Issue
Block a user