Skip to content

Commit

Permalink
Fix js-api version in adf-cli (#8665)
Browse files Browse the repository at this point in the history
* Fix js-api version in adf-cli

* Add caret to js-api version

* CR fix
  • Loading branch information
MichalKinas committed Jun 14, 2023
1 parent 61d5aa9 commit 0a3cc56
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/upstream-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,11 @@ jobs:
run: |
migrateDependenciesJS() {
echo "Update JS dependencies to: ${PACKAGE_VERSION_JS}"
echo "Calling migration JS"
npx nx migrate @alfresco/js-api@${PACKAGE_VERSION_JS}
echo "Migration JS done"
echo "Update JS dependencies to: ${PACKAGE_VERSION_JS}"
echo "Calling migration JS"
npx nx migrate @alfresco/js-api@^${PACKAGE_VERSION_JS}
(cd lib/cli && npx nx migrate @alfresco/js-api@^${PACKAGE_VERSION_JS})
echo "Migration JS done"
}
regeneratePackageLock() {
Expand Down
8 changes: 4 additions & 4 deletions lib/cli/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"dist": "rm -rf ../../dist/libs/cli && npm run build && cp -R ./bin ../../dist/libs/cli && cp -R ./resources ../../dist/libs/cli && cp -R ./templates ../../dist/libs/cli && cp ./package.json ../../dist/libs/cli"
},
"dependencies": {
"@alfresco/js-api": "^6.1.0",
"@alfresco/js-api": "^6.2.0-982",
"commander": "^6.2.1",
"ejs": "^3.1.9",
"license-checker": "^25.0.1",
Expand Down

0 comments on commit 0a3cc56

Please sign in to comment.