Update JavaScript dependencies

This commit is contained in:
Ben 2022-02-19 13:17:40 +01:00
parent 8e804a26b0
commit 8d6653fb41
Signed by: ben
GPG key ID: 0F54A7ED232D3319
5 changed files with 6850 additions and 11798 deletions

603
composer.lock generated

File diff suppressed because it is too large Load diff

18025
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,7 @@
{
"name": "upschooling",
"description": "A simple Nextcloud app tutorial for building a notes app",
"version": "19.0.0",
"version": "20.0.0",
"author": "UPschooling",
"contributors": [
"Finn",
@ -28,10 +28,10 @@
"stylelint:fix": "stylelint css/*.css css/*.scss src/**/*.scss src/**/*.vue --fix"
},
"dependencies": {
"@nextcloud/axios": "^1.6.0",
"@nextcloud/axios": "^1.9.0",
"@nextcloud/dialogs": "^3.1.2",
"@nextcloud/router": "^1.2.0",
"@nextcloud/vue": "^3.10.1",
"@nextcloud/router": "^2.0.0",
"@nextcloud/vue": "^5.0.0",
"vue": "^2.6.14"
},
"browserslist": [
@ -43,9 +43,9 @@
},
"devDependencies": {
"@nextcloud/babel-config": "^1.0.0",
"@nextcloud/browserslist-config": "^2.1.0",
"@nextcloud/eslint-config": "^6.1.0",
"@nextcloud/stylelint-config": "^1.0.0-beta.0",
"@nextcloud/webpack-vue-config": "^4.1.0"
"@nextcloud/browserslist-config": "^2.2.0",
"@nextcloud/eslint-config": "^6.1.2",
"@nextcloud/stylelint-config": "^2.1.2",
"@nextcloud/webpack-vue-config": "^4.3.2"
}
}

View file

@ -54,7 +54,7 @@ export default {
// this obviously shouldn't survive version 1.0
axios.post(
'api/v1/tickets',
{ title: 'Erstes Ticket', content: 'Erstes Beispiel' },
{ title: 'Ein Ticket', content: 'Ein Beispiel' },
{ headers: { 'Content-Type': 'application/json', Accept: 'application/json' } },
).then((response) => {
if (this.ticketsFetched === false) {

View file

@ -2,7 +2,7 @@
<div class="single-ticket">
<div class="header-bar">
<button @click="back">
{{ t('upschooling', 'Ticket Schließen') }}
{{ t('upschooling', 'Zurück') }}
</button>
<button @click="save">
{{ t('upschooling', 'Speichern') }}