mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-06-30 18:15:11 +00:00
Remove the reference of the old js-api and use the one under the @alfresco (#4128)
This commit is contained in:
parent
be4978a91c
commit
5690a64842
@ -25,7 +25,7 @@
|
||||
"@angular/platform-browser": ">=7.0.3",
|
||||
"@angular/platform-browser-dynamic": ">=7.0.3",
|
||||
"@angular/router": ">=7.0.3",
|
||||
"alfresco-js-api": ">=2.7.0-beta5",
|
||||
"@alfresco/js-api": "3.0.0-delta18",
|
||||
"rxjs": ">=6.2.2",
|
||||
"@alfresco/adf-core": ">=2.7.0-beta5",
|
||||
"@ngx-translate/core": ">=11.0.0",
|
||||
|
@ -27,7 +27,7 @@
|
||||
"@angular/router": ">=7.0.3",
|
||||
"@mat-datetimepicker/core": ">=2.0.1",
|
||||
"@mat-datetimepicker/moment": ">=2.0.1",
|
||||
"alfresco-js-api": ">=2.7.0-beta5",
|
||||
"@alfresco/js-api": "3.0.0-delta18",
|
||||
"rxjs": ">=6.2.2",
|
||||
"@ngx-translate/core": ">=11.0.0",
|
||||
"core-js": ">=2.5.4",
|
||||
|
@ -16,6 +16,6 @@
|
||||
"@angular/common": "^6.0.0",
|
||||
"@angular/core": "^6.0.0",
|
||||
"@angular/http": "^6.1.4",
|
||||
"alfresco-js-api": ">=2.7.0-beta5"
|
||||
"@alfresco/js-api": "3.0.0-delta18"
|
||||
}
|
||||
}
|
||||
|
@ -25,7 +25,7 @@
|
||||
"@angular/platform-browser": ">=7.0.3",
|
||||
"@angular/platform-browser-dynamic": ">=7.0.3",
|
||||
"@angular/router": ">=7.0.3",
|
||||
"alfresco-js-api": ">=2.7.0-beta5",
|
||||
"@alfresco/js-api": "3.0.0-delta18",
|
||||
"rxjs": ">=6.2.2",
|
||||
"@alfresco/adf-core": ">=2.7.0-beta5",
|
||||
"@alfresco/adf-content-services": ">=2.7.0-beta5",
|
||||
|
@ -14,6 +14,6 @@
|
||||
"peerDependencies": {
|
||||
"@angular/common": "^6.0.0-rc.0 || ^6.0.0",
|
||||
"@angular/core": "^6.0.0-rc.0 || ^6.0.0",
|
||||
"alfresco-js-api": ">=2.7.0-beta5"
|
||||
"@alfresco/js-api": "3.0.0-delta18"
|
||||
}
|
||||
}
|
||||
|
@ -25,7 +25,7 @@
|
||||
"@angular/platform-browser": ">=7.0.3",
|
||||
"@angular/platform-browser-dynamic": ">=7.0.3",
|
||||
"@angular/router": ">=7.0.3",
|
||||
"alfresco-js-api": ">=2.7.0-beta5",
|
||||
"@alfresco/js-api": "3.0.0-delta18",
|
||||
"rxjs": ">=6.2.2",
|
||||
"@alfresco/adf-core": ">=2.7.0-beta5",
|
||||
"@alfresco/adf-content-services": ">=2.7.0-beta5",
|
||||
|
@ -26,11 +26,7 @@
|
||||
"@alfresco/adf-content-services": ["./content-services/"],
|
||||
"@alfresco/adf-extensions": ["./extensions/"],
|
||||
"@alfresco/adf-core": ["./core/"],
|
||||
"@alfresco/adf-insights": ["./analytics"],
|
||||
"@alfresco/js-api": ["../node_modules/alfresco-js-api/"],
|
||||
"@angular/*": ["../node_modules/@angular/*"],
|
||||
"@mat-datetimepicker/*": ["../node_modules/@mat-datetimepicker/*"],
|
||||
"rxjs/*": ["../node_modules/rxjs/*"]
|
||||
"@alfresco/adf-insights": ["./analytics"]
|
||||
},
|
||||
"lib": [
|
||||
"es2016",
|
||||
|
@ -51,7 +51,7 @@ last_alpha_mode() {
|
||||
echo "====== version lib ${VERSION} ====="
|
||||
|
||||
DIFFERENT_JS_API=true
|
||||
VERSION_JS_API=$(npm view alfresco-js-api@alpha version)
|
||||
VERSION_JS_API=$(npm view @alfresco/js-api@alpha version)
|
||||
|
||||
echo "====== version js-api ${DIFFERENT_JS_API} ====="
|
||||
}
|
||||
@ -63,7 +63,7 @@ next_alpha_mode() {
|
||||
echo "====== version lib ${VERSION} ====="
|
||||
|
||||
DIFFERENT_JS_API=true
|
||||
VERSION_JS_API=$(npm view alfresco-js-api@alpha version)
|
||||
VERSION_JS_API=$(npm view @alfresco/js-api@alpha version)
|
||||
|
||||
echo "====== version js-api ${DIFFERENT_JS_API} ====="
|
||||
}
|
||||
@ -75,7 +75,7 @@ next_beta_mode() {
|
||||
echo "====== version lib ${VERSION} ====="
|
||||
|
||||
DIFFERENT_JS_API=true
|
||||
VERSION_JS_API=$(npm view alfresco-js-api@beta version)
|
||||
VERSION_JS_API=$(npm view @alfresco/js-api@beta version)
|
||||
|
||||
echo "====== version js-api ${DIFFERENT_JS_API} ====="
|
||||
}
|
||||
@ -87,7 +87,7 @@ last_beta_mode() {
|
||||
echo "====== version lib ${VERSION} ====="
|
||||
|
||||
DIFFERENT_JS_API=true
|
||||
VERSION_JS_API=$(npm view alfresco-js-api@beta version)
|
||||
VERSION_JS_API=$(npm view @alfresco/js-api@beta version)
|
||||
|
||||
echo "====== version js-api ${DIFFERENT_JS_API} ====="
|
||||
}
|
||||
@ -152,9 +152,9 @@ update_total_build_dependency_version(){
|
||||
}
|
||||
|
||||
update_total_build_dependency_js_version(){
|
||||
echo "====== UPDATE DEPENDENCY VERSION alfresco-js-api total build to ~${1} in ${DESTDIR}======"
|
||||
echo "====== UPDATE DEPENDENCY VERSION @alfresco/js-api total build to ~${1} in ${DESTDIR}======"
|
||||
DESTDIR="$DIR/../"
|
||||
PACKAGETOCHANGE="alfresco-js-api"
|
||||
PACKAGETOCHANGE="@alfresco/js-api"
|
||||
|
||||
sed "${sedi[@]}" "s/\"${PACKAGETOCHANGE}\": \".*\"/\"${PACKAGETOCHANGE}\": \"${1}\"/g" ${DESTDIR}/package.json
|
||||
sed "${sedi[@]}" "s/\"${PACKAGETOCHANGE}\": \"~.*\"/\"${PACKAGETOCHANGE}\": \"${1}\"/g" ${DESTDIR}/package.json
|
||||
@ -168,10 +168,10 @@ update_total_build_dependency_js_version(){
|
||||
}
|
||||
|
||||
update_component_js_version(){
|
||||
echo "====== UPDATE DEPENDENCY VERSION of alfresco-js-api in ${1} to ${2} ======"
|
||||
echo "====== UPDATE DEPENDENCY VERSION of @alfresco/js-api in ${1} to ${2} ======"
|
||||
DESTDIR="$DIR/../lib/${1}"
|
||||
|
||||
PACKAGETOCHANGE="alfresco-js-api"
|
||||
PACKAGETOCHANGE="@alfresco/js-api"
|
||||
|
||||
sed "${sedi[@]}" "s/\"${PACKAGETOCHANGE}\": \".*\"/\"${PACKAGETOCHANGE}\": \"${2}\"/g" ${DESTDIR}/package.json
|
||||
sed "${sedi[@]}" "s/\"${PACKAGETOCHANGE}\": \"~.*\"/\"${PACKAGETOCHANGE}\": \"${2}\"/g" ${DESTDIR}/package.json
|
||||
|
Loading…
x
Reference in New Issue
Block a user