From 41703f838f11144aefde0fb0273a532961a99406 Mon Sep 17 00:00:00 2001 From: Kasper Seweryn Date: Sat, 23 Apr 2022 09:37:43 +0200 Subject: [PATCH] Remove '@/' --- front/package.json | 2 +- front/src/App.vue | 28 +-- front/src/components/About.vue | 6 +- front/src/components/Home.vue | 10 +- front/src/components/Queue.vue | 6 +- front/src/components/SetInstanceModal.vue | 2 +- front/src/components/ShortcutsModal.vue | 2 +- front/src/components/Sidebar.vue | 14 +- front/src/components/admin/SettingsGroup.vue | 2 +- .../components/admin/SignupFormBuilder.vue | 2 +- front/src/components/audio/ChannelCard.vue | 6 +- front/src/components/audio/ChannelEntries.vue | 4 +- .../src/components/audio/ChannelEntryCard.vue | 4 +- front/src/components/audio/ChannelForm.vue | 4 +- .../src/components/audio/ChannelSerieCard.vue | 2 +- front/src/components/audio/ChannelSeries.vue | 4 +- front/src/components/audio/ChannelsWidget.vue | 2 +- front/src/components/audio/PlayButton.vue | 4 +- front/src/components/audio/Player.vue | 10 +- front/src/components/audio/Search.vue | 6 +- front/src/components/audio/SearchBar.vue | 4 +- front/src/components/audio/album/Card.vue | 2 +- front/src/components/audio/album/Widget.vue | 2 +- front/src/components/audio/artist/Card.vue | 4 +- front/src/components/audio/artist/Widget.vue | 2 +- .../components/audio/podcast/MobileRow.vue | 6 +- front/src/components/audio/podcast/Modal.vue | 6 +- front/src/components/audio/podcast/Row.vue | 4 +- front/src/components/audio/podcast/Table.vue | 6 +- .../src/components/audio/track/MobileRow.vue | 6 +- front/src/components/audio/track/Modal.vue | 6 +- front/src/components/audio/track/Row.vue | 8 +- front/src/components/audio/track/Table.vue | 8 +- front/src/components/audio/track/Widget.vue | 4 +- front/src/components/auth/ApplicationEdit.vue | 2 +- front/src/components/auth/ApplicationForm.vue | 2 +- front/src/components/auth/ApplicationNew.vue | 2 +- front/src/components/auth/Authorize.vue | 4 +- front/src/components/auth/LoginForm.vue | 2 +- front/src/components/auth/Settings.vue | 10 +- front/src/components/auth/SignupForm.vue | 6 +- .../src/components/auth/SubsonicTokenForm.vue | 2 +- front/src/components/channels/AlbumModal.vue | 4 +- .../components/channels/SubscribeButton.vue | 2 +- front/src/components/channels/UploadForm.vue | 8 +- .../channels/UploadMetadataForm.vue | 4 +- front/src/components/channels/UploadModal.vue | 6 +- front/src/components/common/ActorAvatar.vue | 2 +- .../src/components/common/DangerousButton.vue | 2 +- front/src/components/common/Duration.vue | 2 +- front/src/components/common/ExpandableDiv.vue | 2 +- front/src/components/common/LoginModal.vue | 2 +- front/src/components/common/UserLink.vue | 2 +- front/src/components/common/UserMenu.vue | 4 +- front/src/components/common/UserModal.vue | 6 +- front/src/components/favorites/List.vue | 16 +- .../src/components/federation/FetchButton.vue | 2 +- .../components/federation/LibraryWidget.vue | 2 +- front/src/components/library/AlbumBase.vue | 6 +- front/src/components/library/AlbumDetail.vue | 10 +- .../src/components/library/AlbumDropdown.vue | 8 +- front/src/components/library/AlbumEdit.vue | 2 +- front/src/components/library/Albums.vue | 14 +- front/src/components/library/ArtistBase.vue | 16 +- front/src/components/library/ArtistDetail.vue | 6 +- front/src/components/library/ArtistEdit.vue | 2 +- front/src/components/library/Artists.vue | 14 +- front/src/components/library/EditCard.vue | 2 +- front/src/components/library/EditDetail.vue | 4 +- front/src/components/library/EditForm.vue | 10 +- front/src/components/library/EditList.vue | 2 +- front/src/components/library/FileUpload.vue | 2 +- .../components/library/FileUploadWidget.vue | 2 +- front/src/components/library/Home.vue | 10 +- .../components/library/ImportStatusModal.vue | 2 +- front/src/components/library/Podcasts.vue | 18 +- front/src/components/library/Radios.vue | 12 +- front/src/components/library/TagDetail.vue | 10 +- front/src/components/library/TrackBase.vue | 22 +- front/src/components/library/TrackDetail.vue | 6 +- front/src/components/library/TrackEdit.vue | 2 +- .../src/components/library/radios/Builder.vue | 4 +- .../src/components/library/radios/Filter.vue | 4 +- front/src/components/manage/ChannelsTable.vue | 14 +- .../components/manage/library/AlbumsTable.vue | 14 +- .../manage/library/ArtistsTable.vue | 14 +- .../manage/library/EditsCardList.vue | 16 +- .../manage/library/LibrariesTable.vue | 14 +- .../components/manage/library/TagsTable.vue | 16 +- .../components/manage/library/TracksTable.vue | 14 +- .../manage/library/UploadsTable.vue | 16 +- .../manage/moderation/AccountsTable.vue | 14 +- .../manage/moderation/DomainsTable.vue | 10 +- .../manage/moderation/InstancePolicyModal.vue | 6 +- .../manage/moderation/ReportCard.vue | 12 +- .../manage/moderation/UserRequestCard.vue | 4 +- .../manage/users/InvitationsTable.vue | 8 +- .../components/manage/users/UsersTable.vue | 10 +- front/src/components/mixins/SmartSearch.vue | 2 +- .../src/components/moderation/FilterModal.vue | 4 +- .../moderation/ReportCategoryDropdown.vue | 2 +- .../src/components/moderation/ReportModal.vue | 4 +- front/src/components/playlists/Card.vue | 4 +- front/src/components/playlists/CardList.vue | 2 +- front/src/components/playlists/Editor.vue | 2 +- front/src/components/playlists/Form.vue | 4 +- .../components/playlists/PlaylistModal.vue | 6 +- front/src/components/playlists/Widget.vue | 2 +- front/src/composables/useThemeList.ts | 2 +- front/src/embed/EmbedFrame.vue | 2 +- front/src/main.ts | 2 +- front/src/modules/axios.ts | 6 +- front/src/modules/directives.ts | 4 +- front/src/modules/globalComponents.ts | 40 ++-- front/src/modules/instance.ts | 2 +- front/src/modules/internalLinks.ts | 2 +- front/src/modules/locale.ts | 4 +- front/src/modules/serviceWorker.ts | 2 +- front/src/modules/webSocket.ts | 2 +- front/src/modules/window.ts | 2 +- front/src/radios.js | 2 +- front/src/router/index.ts | 200 +++++++++--------- front/src/store/auth.js | 4 +- front/src/store/channels.js | 2 +- front/src/store/favorites.js | 2 +- front/src/store/instance.js | 2 +- front/src/store/libraries.js | 2 +- front/src/store/moderation.js | 2 +- front/src/store/player.js | 4 +- front/src/store/queue.js | 2 +- front/src/store/radios.js | 4 +- front/src/utils/index.ts | 2 +- front/src/views/Notifications.vue | 2 +- front/src/views/Search.vue | 16 +- front/src/views/admin/ChannelDetail.vue | 4 +- front/src/views/admin/ChannelsList.vue | 2 +- front/src/views/admin/Settings.vue | 2 +- front/src/views/admin/library/AlbumDetail.vue | 4 +- front/src/views/admin/library/AlbumsList.vue | 2 +- .../src/views/admin/library/ArtistDetail.vue | 4 +- front/src/views/admin/library/ArtistsList.vue | 2 +- front/src/views/admin/library/EditsList.vue | 2 +- .../src/views/admin/library/LibrariesList.vue | 2 +- .../src/views/admin/library/LibraryDetail.vue | 4 +- front/src/views/admin/library/TagsList.vue | 2 +- front/src/views/admin/library/TrackDetail.vue | 4 +- front/src/views/admin/library/TracksList.vue | 2 +- .../src/views/admin/library/UploadDetail.vue | 6 +- front/src/views/admin/library/UploadsList.vue | 2 +- .../views/admin/moderation/AccountsDetail.vue | 6 +- .../views/admin/moderation/AccountsList.vue | 2 +- .../views/admin/moderation/DomainsDetail.vue | 4 +- .../views/admin/moderation/DomainsList.vue | 2 +- .../views/admin/moderation/ReportDetail.vue | 2 +- .../views/admin/moderation/ReportsList.vue | 16 +- .../views/admin/moderation/RequestDetail.vue | 2 +- .../views/admin/moderation/RequestsList.vue | 14 +- .../src/views/admin/users/InvitationsList.vue | 4 +- front/src/views/admin/users/UsersList.vue | 2 +- front/src/views/auth/Login.vue | 2 +- front/src/views/auth/PasswordResetConfirm.vue | 2 +- front/src/views/auth/Plugins.vue | 2 +- front/src/views/auth/ProfileActivity.vue | 6 +- front/src/views/auth/ProfileBase.vue | 2 +- front/src/views/auth/ProfileOverview.vue | 8 +- front/src/views/auth/Signup.vue | 2 +- front/src/views/channels/DetailBase.vue | 14 +- front/src/views/channels/DetailEpisodes.vue | 2 +- front/src/views/channels/DetailOverview.vue | 6 +- .../src/views/channels/SubscriptionsList.vue | 6 +- front/src/views/content/Home.vue | 2 +- front/src/views/content/libraries/Card.vue | 2 +- .../views/content/libraries/FilesTable.vue | 16 +- front/src/views/content/libraries/Form.vue | 2 +- front/src/views/content/libraries/Quota.vue | 4 +- front/src/views/content/remote/Card.vue | 4 +- front/src/views/library/DetailAlbums.vue | 2 +- front/src/views/library/DetailBase.vue | 6 +- front/src/views/library/DetailOverview.vue | 2 +- front/src/views/library/DetailTracks.vue | 2 +- front/src/views/library/Edit.vue | 4 +- front/src/views/library/Upload.vue | 2 +- front/src/views/playlists/Detail.vue | 10 +- front/src/views/playlists/List.vue | 10 +- front/src/views/radios/Detail.vue | 6 +- front/tests/unit/specs/audio/volume.spec.js | 2 +- .../unit/specs/components/common.spec.js | 2 +- .../tests/unit/specs/components/forms.spec.js | 2 +- .../tests/unit/specs/filters/filters.spec.js | 2 +- front/tests/unit/specs/search.spec.js | 2 +- front/tests/unit/specs/store/auth.spec.js | 2 +- .../tests/unit/specs/store/favorites.spec.js | 2 +- front/tests/unit/specs/store/instance.spec.js | 2 +- front/tests/unit/specs/store/player.spec.js | 2 +- .../tests/unit/specs/store/playlists.spec.js | 2 +- front/tests/unit/specs/store/queue.spec.js | 2 +- front/tests/unit/specs/store/radios.spec.js | 2 +- front/tests/unit/specs/utils.spec.js | 2 +- .../unit/specs/views/admin/library.spec.js | 6 +- front/tsconfig.json | 3 +- front/vite.config.ts | 5 +- front/yarn.lock | 96 +++++++-- 202 files changed, 715 insertions(+), 649 deletions(-) diff --git a/front/package.json b/front/package.json index d56e20a77..c8e44e76b 100644 --- a/front/package.json +++ b/front/package.json @@ -141,7 +141,7 @@ "^.+\\.js$": "babel-jest" }, "moduleNameMapper": { - "^@/(.*)$": "/src/$1" + "^~/(.*)$": "/src/$1" }, "testEnvironment": "jsdom" } diff --git a/front/src/App.vue b/front/src/App.vue index 389addcbe..7ec5f741f 100644 --- a/front/src/App.vue +++ b/front/src/App.vue @@ -1,28 +1,28 @@