change fetchPolicy, add scripts.update

This commit is contained in:
ogerly 2023-02-16 15:21:55 +01:00
parent 660211c82d
commit 7f182a5927
2 changed files with 3 additions and 2 deletions

View File

@ -122,13 +122,13 @@ export default {
query() {
return listAllContributions
},
fetchPolicy: 'network-only',
variables() {
return {
currentPage: this.currentPageAll,
pageSize: this.pageSizeAll,
}
},
fetchPolicy: 'no-cache',
update({ listAllContributions }) {
this.contributionCountAll = listAllContributions.contributionCount
this.itemsAll = listAllContributions.contributionList

View File

@ -7,7 +7,8 @@
"author": "Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>",
"license": "Apache-2.0",
"scripts": {
"release": "scripts/release.sh"
"release": "scripts/release.sh",
"update": "cd admin && yarn && cd ../backend && yarn && cd ../database && yarn && cd ../dht-node && yarn && cd ../e2e-tests && yarn && cd ../federation && yarn && cd ../frontend && yarn"
},
"dependencies": {
"auto-changelog": "^2.4.0",