diff --git a/package-lock.json b/package-lock.json index f785352ea5..1325450c55 100644 --- a/package-lock.json +++ b/package-lock.json @@ -45,6 +45,7 @@ "@nextcloud/paths": "^2.2.1", "@nextcloud/router": "^3.0.1", "@nextcloud/vue": "^8.20.0", + "@pinia/testing": "^0.1.6", "@riophae/vue-treeselect": "^0.4.0", "@vue/babel-preset-app": "^5.0.8", "address-rfc2822": "^2.2.2", @@ -5083,6 +5084,47 @@ "url": "https://opencollective.com/parcel" } }, + "node_modules/@pinia/testing": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/@pinia/testing/-/testing-0.1.7.tgz", + "integrity": "sha512-xcDq6Ry/kNhZ5bsUMl7DeoFXwdume1NYzDggCiDUDKoPQ6Mo0eH9VU7bJvBtlurqe6byAntWoX5IhVFqWzRz/Q==", + "license": "MIT", + "dependencies": { + "vue-demi": "^0.14.10" + }, + "funding": { + "url": "https://github.com/sponsors/posva" + }, + "peerDependencies": { + "pinia": ">=2.2.6" + } + }, + "node_modules/@pinia/testing/node_modules/vue-demi": { + "version": "0.14.10", + "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.10.tgz", + "integrity": "sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg==", + "hasInstallScript": true, + "license": "MIT", + "bin": { + "vue-demi-fix": "bin/vue-demi-fix.js", + "vue-demi-switch": "bin/vue-demi-switch.js" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "@vue/composition-api": "^1.0.0-rc.1", + "vue": "^3.0.0-0 || ^2.6.0" + }, + "peerDependenciesMeta": { + "@vue/composition-api": { + "optional": true + } + } + }, "node_modules/@pkgjs/parseargs": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", diff --git a/package.json b/package.json index c080a8cee4..961d445718 100644 --- a/package.json +++ b/package.json @@ -51,6 +51,7 @@ "@nextcloud/paths": "^2.2.1", "@nextcloud/router": "^3.0.1", "@nextcloud/vue": "^8.20.0", + "@pinia/testing": "^0.1.6", "@riophae/vue-treeselect": "^0.4.0", "@vue/babel-preset-app": "^5.0.8", "address-rfc2822": "^2.2.2", diff --git a/src/App.vue b/src/App.vue index 99644e408b..d321538c83 100644 --- a/src/App.vue +++ b/src/App.vue @@ -8,22 +8,25 @@