From 5602164c625743ea2099163ea28442aec97637b1 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 21 Nov 2023 16:04:09 +0100 Subject: [PATCH] build: replace @vueuse/head with @unhead/vue Signed-off-by: Thomas Citharel --- package-lock.json | 28 +------------------ package.json | 2 +- src/components/ErrorComponent.vue | 2 +- src/components/Group/JoinGroupWithAccount.vue | 2 +- src/components/OAuth/AuthorizeApplication.vue | 2 +- .../Participation/ConfirmParticipation.vue | 2 +- .../ParticipationWithAccount.vue | 2 +- .../ParticipationWithoutAccount.vue | 2 +- .../Participation/UnloggedParticipation.vue | 2 +- src/main.ts | 2 +- src/views/About/AboutInstanceView.vue | 2 +- src/views/About/GlossaryView.vue | 2 +- src/views/About/PrivacyView.vue | 2 +- src/views/About/RulesView.vue | 2 +- src/views/About/TermsView.vue | 2 +- src/views/AboutView.vue | 2 +- src/views/Account/IdentityPicker.vue | 2 +- src/views/Account/RegisterView.vue | 2 +- src/views/Account/children/EditIdentity.vue | 2 +- src/views/Admin/AdminGroupProfile.vue | 2 +- src/views/Admin/AdminProfile.vue | 2 +- src/views/Admin/AdminUserProfile.vue | 2 +- src/views/Admin/DashboardView.vue | 2 +- src/views/Admin/GroupProfiles.vue | 2 +- src/views/Admin/InstancesView.vue | 2 +- src/views/Admin/ProfilesView.vue | 2 +- src/views/Admin/SettingsView.vue | 2 +- src/views/Admin/UsersView.vue | 2 +- src/views/CategoriesView.vue | 2 +- .../Conversations/ConversationListView.vue | 2 +- src/views/Conversations/ConversationView.vue | 2 +- src/views/Discussions/CreateView.vue | 2 +- src/views/Discussions/DiscussionView.vue | 2 +- src/views/Discussions/DiscussionsListView.vue | 2 +- src/views/ErrorView.vue | 2 +- src/views/Event/EditView.vue | 2 +- src/views/Event/EventView.vue | 2 +- src/views/Event/GroupEvents.vue | 2 +- src/views/Event/MyEventsView.vue | 2 +- src/views/Event/ParticipantsView.vue | 2 +- src/views/Group/CreateView.vue | 2 +- src/views/Group/GroupFollowers.vue | 2 +- src/views/Group/GroupMembers.vue | 2 +- src/views/Group/GroupSettings.vue | 2 +- src/views/Group/GroupView.vue | 2 +- src/views/Group/MyGroups.vue | 2 +- src/views/Group/SettingsView.vue | 2 +- src/views/Group/TimelineView.vue | 2 +- src/views/HomeView.vue | 2 +- src/views/InteractView.vue | 2 +- src/views/Moderation/LogsView.vue | 2 +- src/views/Moderation/ReportListView.vue | 2 +- src/views/Moderation/ReportView.vue | 2 +- src/views/OAuth/AuthorizeView.vue | 2 +- src/views/OAuth/DeviceActivationView.vue | 2 +- src/views/PageNotFound.vue | 2 +- src/views/Posts/EditView.vue | 2 +- src/views/Posts/ListView.vue | 2 +- src/views/Posts/PostView.vue | 2 +- src/views/Resources/ResourceFolder.vue | 2 +- src/views/SearchView.vue | 2 +- src/views/Settings/AccountSettings.vue | 2 +- src/views/Settings/AppsView.vue | 2 +- src/views/Settings/NotificationsView.vue | 2 +- src/views/Settings/PreferencesView.vue | 2 +- src/views/SettingsView.vue | 2 +- src/views/Todos/TodoList.vue | 2 +- src/views/Todos/TodoLists.vue | 2 +- src/views/Todos/TodoView.vue | 2 +- src/views/User/LoginView.vue | 2 +- src/views/User/PasswordReset.vue | 2 +- src/views/User/ProviderValidation.vue | 2 +- src/views/User/RegisterView.vue | 2 +- src/views/User/ResendConfirmation.vue | 2 +- src/views/User/SendPasswordReset.vue | 2 +- src/views/User/SettingsOnboard.vue | 2 +- src/views/User/ValidateUser.vue | 2 +- tests/unit/setup.ts | 2 +- 78 files changed, 78 insertions(+), 104 deletions(-) diff --git a/package-lock.json b/package-lock.json index 04aeb7b19..8c3928177 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38,13 +38,13 @@ "@tiptap/pm": "^2.0.0-beta.220", "@tiptap/suggestion": "^2.0.0-beta.195", "@tiptap/vue-3": "^2.0.0-beta.96", + "@unhead/vue": "^1.8.5", "@vue-a11y/announcer": "^2.1.0", "@vue-a11y/skip-to": "^2.1.2", "@vue-leaflet/vue-leaflet": "^0.10.1", "@vue/apollo-composable": "^4.0.0-beta.9", "@vue/compiler-sfc": "^3.2.37", "@vueuse/core": "^10.0.2", - "@vueuse/head": "^1.0", "@vueuse/router": "^10.0.2", "apollo-absinthe-upload-link": "^1.5.0", "autoprefixer": "^10", @@ -4167,18 +4167,6 @@ "url": "https://github.com/sponsors/harlan-zw" } }, - "node_modules/@unhead/ssr": { - "version": "1.8.5", - "resolved": "https://registry.npmjs.org/@unhead/ssr/-/ssr-1.8.5.tgz", - "integrity": "sha512-RG2OHLR5Jy4FOXj9+YvQr6mx7MZuoALQFQXn/8z0Nb1SM4Aipt5GY1Aeh8bk6Gd+g5BbiqOqmJNumvgdKOPm5w==", - "dependencies": { - "@unhead/schema": "1.8.5", - "@unhead/shared": "1.8.5" - }, - "funding": { - "url": "https://github.com/sponsors/harlan-zw" - } - }, "node_modules/@unhead/vue": { "version": "1.8.5", "resolved": "https://registry.npmjs.org/@unhead/vue/-/vue-1.8.5.tgz", @@ -4656,20 +4644,6 @@ } } }, - "node_modules/@vueuse/head": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@vueuse/head/-/head-1.3.1.tgz", - "integrity": "sha512-XCcHGfDzkGlHS7KIPJVYN//L7jpfASLsN7MUE19ndHVQLnPIDxqFLDl7IROsY81PKzawVAUe4OYVWcGixseWxA==", - "dependencies": { - "@unhead/dom": "^1.3.1", - "@unhead/schema": "^1.3.1", - "@unhead/ssr": "^1.3.1", - "@unhead/vue": "^1.3.1" - }, - "peerDependencies": { - "vue": ">=2.7 || >=3" - } - }, "node_modules/@vueuse/metadata": { "version": "10.6.1", "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-10.6.1.tgz", diff --git a/package.json b/package.json index 134aa2cbb..43a1da169 100644 --- a/package.json +++ b/package.json @@ -55,13 +55,13 @@ "@tiptap/pm": "^2.0.0-beta.220", "@tiptap/suggestion": "^2.0.0-beta.195", "@tiptap/vue-3": "^2.0.0-beta.96", + "@unhead/vue": "^1.8.5", "@vue-a11y/announcer": "^2.1.0", "@vue-a11y/skip-to": "^2.1.2", "@vue-leaflet/vue-leaflet": "^0.10.1", "@vue/apollo-composable": "^4.0.0-beta.9", "@vue/compiler-sfc": "^3.2.37", "@vueuse/core": "^10.0.2", - "@vueuse/head": "^1.0", "@vueuse/router": "^10.0.2", "apollo-absinthe-upload-link": "^1.5.0", "autoprefixer": "^10", diff --git a/src/components/ErrorComponent.vue b/src/components/ErrorComponent.vue index 7f755fd49..f096b4ba3 100644 --- a/src/components/ErrorComponent.vue +++ b/src/components/ErrorComponent.vue @@ -105,7 +105,7 @@ import { IAnalyticsConfig } from "@/types/config.model"; import { computed, defineAsyncComponent, ref } from "vue"; import { useQueryLoading } from "@vue/apollo-composable"; import { useI18n } from "vue-i18n"; -import { useHead } from "@vueuse/head"; +import { useHead } from "@unhead/vue"; import { useAnalytics } from "@/composition/apollo/config"; const SentryFeedback = defineAsyncComponent( () => import("./Feedback/SentryFeedback.vue") diff --git a/src/components/Group/JoinGroupWithAccount.vue b/src/components/Group/JoinGroupWithAccount.vue index 3a8597b58..9c337f398 100644 --- a/src/components/Group/JoinGroupWithAccount.vue +++ b/src/components/Group/JoinGroupWithAccount.vue @@ -16,7 +16,7 @@ import { useGroup } from "@/composition/apollo/group"; import { displayName } from "@/types/actor"; import { computed } from "vue"; import { useI18n } from "vue-i18n"; -import { useHead } from "@vueuse/head"; +import { useHead } from "@unhead/vue"; const props = defineProps<{ preferredUsername: string; diff --git a/src/components/OAuth/AuthorizeApplication.vue b/src/components/OAuth/AuthorizeApplication.vue index 2232ee33e..1d896f054 100644 --- a/src/components/OAuth/AuthorizeApplication.vue +++ b/src/components/OAuth/AuthorizeApplication.vue @@ -90,7 +90,7 @@