mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-04-29 19:16:59 +02:00
fix: unnecesary HMR when we opened setting page (#15756)
* refactor: add MarkerIdAssigner instead of processVueFile and remove transformedCodeCache object
* chore: add minimatch, a glob matcher
* chore: expose MarkerIdAssigner from plugin
* Revert "chore: expose MarkerIdAssigner from plugin"
This reverts commit 88c6d820f8
.
* chore: add plugin to generate virtual module
* chore: parse inlining earlier
* chore: use virtual module in search
* chore: use remove old generation
* chore: fix type errors
* chore: add patch to workaround vitejs/vite#19792
* chore: improve filtering files to process
* chore: rename plugin
* docs: add comment for plugin ordering
* fix: unnecessary log
* fix: spdx license header
This commit is contained in:
parent
ea9d85a0cc
commit
5949bb6c7f
12 changed files with 447 additions and 1382 deletions
package.json
packages/frontend
pnpm-lock.yamlscripts/dependency-patches
|
@ -24,7 +24,6 @@
|
|||
"build": "pnpm build-pre && pnpm -r build && pnpm build-assets",
|
||||
"build-storybook": "pnpm --filter frontend build-storybook",
|
||||
"build-misskey-js-with-types": "pnpm build-pre && pnpm --filter backend... --filter=!misskey-js build && pnpm --filter backend generate-api-json --no-build && ncp packages/backend/built/api.json packages/misskey-js/generator/api.json && pnpm --filter misskey-js update-autogen-code && pnpm --filter misskey-js build && pnpm --filter misskey-js api",
|
||||
"build-frontend-search-index": "pnpm --filter frontend build-search-index",
|
||||
"start": "pnpm check:connect && cd packages/backend && node ./built/boot/entry.js",
|
||||
"start:test": "ncp ./.github/misskey/test.yml ./.config/test.yml && cd packages/backend && cross-env NODE_ENV=test node ./built/boot/entry.js",
|
||||
"init": "pnpm migrate",
|
||||
|
@ -85,7 +84,8 @@
|
|||
"@aiscript-dev/aiscript-languageserver": "-"
|
||||
},
|
||||
"patchedDependencies": {
|
||||
"re2": "scripts/dependency-patches/re2.patch"
|
||||
"re2": "scripts/dependency-patches/re2.patch",
|
||||
"vite": "scripts/dependency-patches/vite.patch"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -5,7 +5,6 @@
|
|||
"scripts": {
|
||||
"watch": "vite",
|
||||
"build": "vite build",
|
||||
"build-search-index": "vite-node --config \"./vite-node.config.ts\" \"./scripts/generate-search-index.ts\"",
|
||||
"storybook-dev": "nodemon --verbose --watch src --ext \"mdx,ts,vue\" --ignore \"*.stories.ts\" --exec \"pnpm build-storybook-pre && pnpm exec storybook dev -p 6006 --ci\"",
|
||||
"build-storybook-pre": "(tsc -p .storybook || echo done.) && node .storybook/generate.js && node .storybook/preload-locale.js && node .storybook/preload-theme.js",
|
||||
"build-storybook": "pnpm build-storybook-pre && storybook build --webpack-stats-json storybook-static",
|
||||
|
@ -115,6 +114,7 @@
|
|||
"@typescript-eslint/eslint-plugin": "8.27.0",
|
||||
"@typescript-eslint/parser": "8.27.0",
|
||||
"@vitest/coverage-v8": "3.0.9",
|
||||
"@vue/compiler-core": "3.5.13",
|
||||
"@vue/runtime-core": "3.5.13",
|
||||
"acorn": "8.14.1",
|
||||
"cross-env": "7.0.3",
|
||||
|
@ -125,6 +125,7 @@
|
|||
"happy-dom": "17.4.4",
|
||||
"intersection-observer": "0.12.2",
|
||||
"micromatch": "4.0.8",
|
||||
"minimatch": "10.0.1",
|
||||
"msw": "2.7.3",
|
||||
"msw-storybook-addon": "2.0.4",
|
||||
"nodemon": "3.1.9",
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: syuilo and misskey-project
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
import { searchIndexes } from '../vite.config.js';
|
||||
import { generateSearchIndex } from '../lib/vite-plugin-create-search-index.js';
|
||||
|
||||
async function main() {
|
||||
for (const searchIndex of searchIndexes) {
|
||||
await generateSearchIndex(searchIndex);
|
||||
}
|
||||
}
|
||||
|
||||
main();
|
|
@ -94,7 +94,7 @@ export type SuperMenuDef = {
|
|||
|
||||
<script lang="ts" setup>
|
||||
import { useTemplateRef, ref, watch, nextTick } from 'vue';
|
||||
import type { SearchIndexItem } from '@/utility/autogen/settings-search-index.js';
|
||||
import type { SearchIndexItem } from '@/utility/settings-search-index.js';
|
||||
import MkInput from '@/components/MkInput.vue';
|
||||
import { i18n } from '@/i18n.js';
|
||||
import { getScrollContainer } from '@@/js/scroll.js';
|
||||
|
|
|
@ -42,7 +42,7 @@ import { instance } from '@/instance.js';
|
|||
import { definePage, provideMetadataReceiver, provideReactiveMetadata } from '@/page.js';
|
||||
import * as os from '@/os.js';
|
||||
import { useRouter } from '@/router.js';
|
||||
import { searchIndexes } from '@/utility/autogen/settings-search-index.js';
|
||||
import { searchIndexes } from '@/utility/settings-search-index.js';
|
||||
import { enableAutoBackup, getPreferencesProfileMenu } from '@/preferences/utility.js';
|
||||
import { store } from '@/store.js';
|
||||
import { signout } from '@/signout.js';
|
||||
|
|
|
@ -1,993 +0,0 @@
|
|||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: syuilo and misskey-project
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
// This file was automatically generated by create-search-index.
|
||||
// Do not edit this file.
|
||||
|
||||
import { i18n } from '@/i18n.js';
|
||||
|
||||
export type SearchIndexItem = {
|
||||
id: string;
|
||||
path?: string;
|
||||
label: string;
|
||||
keywords: string[];
|
||||
icon?: string;
|
||||
children?: SearchIndexItem[];
|
||||
};
|
||||
|
||||
export const searchIndexes: SearchIndexItem[] = [
|
||||
{
|
||||
id: 'flXd1LC7r',
|
||||
children: [
|
||||
{
|
||||
id: 'hB11H5oul',
|
||||
label: i18n.ts.syncDeviceDarkMode,
|
||||
keywords: ['sync', 'device', 'dark', 'light', 'mode'],
|
||||
},
|
||||
{
|
||||
id: 'fDbLtIKeo',
|
||||
label: i18n.ts.themeForLightMode,
|
||||
keywords: ['light', 'theme'],
|
||||
},
|
||||
{
|
||||
id: 'CsSVILKpX',
|
||||
label: i18n.ts.themeForDarkMode,
|
||||
keywords: ['dark', 'theme'],
|
||||
},
|
||||
{
|
||||
id: 'jwW5HULqA',
|
||||
label: i18n.ts._settings.enableSyncThemesBetweenDevices,
|
||||
keywords: ['sync', 'themes', 'devices'],
|
||||
},
|
||||
],
|
||||
label: i18n.ts.theme,
|
||||
keywords: ['theme'],
|
||||
path: '/settings/theme',
|
||||
icon: 'ti ti-palette',
|
||||
},
|
||||
{
|
||||
id: '6fFIRXUww',
|
||||
children: [
|
||||
{
|
||||
id: 'EcwZE7dCl',
|
||||
label: i18n.ts.notUseSound,
|
||||
keywords: ['mute'],
|
||||
},
|
||||
{
|
||||
id: '9MxYVIf7k',
|
||||
label: i18n.ts.useSoundOnlyWhenActive,
|
||||
keywords: ['active', 'mute'],
|
||||
},
|
||||
{
|
||||
id: '94afQxKat',
|
||||
label: i18n.ts.masterVolume,
|
||||
keywords: ['volume', 'master'],
|
||||
},
|
||||
],
|
||||
label: i18n.ts.sounds,
|
||||
keywords: ['sounds', i18n.ts._settings.soundsBanner],
|
||||
path: '/settings/sounds',
|
||||
icon: 'ti ti-music',
|
||||
},
|
||||
{
|
||||
id: '5BjnxMfYV',
|
||||
children: [
|
||||
{
|
||||
id: '75QPEg57v',
|
||||
children: [
|
||||
{
|
||||
id: 'CiHijRkGG',
|
||||
label: i18n.ts.changePassword,
|
||||
keywords: [],
|
||||
},
|
||||
],
|
||||
label: i18n.ts.password,
|
||||
keywords: ['password'],
|
||||
},
|
||||
{
|
||||
id: '2fa',
|
||||
children: [
|
||||
{
|
||||
id: 'qCXM0HtJ7',
|
||||
label: i18n.ts.totp,
|
||||
keywords: ['totp', 'app', i18n.ts.totpDescription],
|
||||
},
|
||||
{
|
||||
id: '3g1RePuD9',
|
||||
label: i18n.ts.securityKeyAndPasskey,
|
||||
keywords: ['security', 'key', 'passkey'],
|
||||
},
|
||||
{
|
||||
id: 'pFRud5u8k',
|
||||
label: i18n.ts.passwordLessLogin,
|
||||
keywords: ['password', 'less', 'key', 'passkey', 'login', 'signin', i18n.ts.passwordLessLoginDescription],
|
||||
},
|
||||
],
|
||||
label: i18n.ts['2fa'],
|
||||
keywords: ['2fa'],
|
||||
},
|
||||
],
|
||||
label: i18n.ts.security,
|
||||
keywords: ['security', i18n.ts._settings.securityBanner],
|
||||
path: '/settings/security',
|
||||
icon: 'ti ti-lock',
|
||||
},
|
||||
{
|
||||
id: 'w4L6myH61',
|
||||
children: [
|
||||
{
|
||||
id: 'ru8DrOn3J',
|
||||
label: i18n.ts._profile.changeBanner,
|
||||
keywords: ['banner', 'change'],
|
||||
},
|
||||
{
|
||||
id: 'CCnD8Apnu',
|
||||
label: i18n.ts._profile.changeAvatar,
|
||||
keywords: ['avatar', 'icon', 'change'],
|
||||
},
|
||||
{
|
||||
id: 'yFEVCJxFX',
|
||||
label: i18n.ts._profile.name,
|
||||
keywords: ['name'],
|
||||
},
|
||||
{
|
||||
id: '2O1S5reaB',
|
||||
label: i18n.ts._profile.description,
|
||||
keywords: ['description', 'bio'],
|
||||
},
|
||||
{
|
||||
id: 'pWi4OLS8g',
|
||||
label: i18n.ts.location,
|
||||
keywords: ['location', 'locale'],
|
||||
},
|
||||
{
|
||||
id: 'oLO5X6Wtw',
|
||||
label: i18n.ts.birthday,
|
||||
keywords: ['birthday', 'birthdate', 'age'],
|
||||
},
|
||||
{
|
||||
id: 'm2trKwPgq',
|
||||
label: i18n.ts.language,
|
||||
keywords: ['language', 'locale'],
|
||||
},
|
||||
{
|
||||
id: 'kfDZxCDp9',
|
||||
label: i18n.ts._profile.metadataEdit,
|
||||
keywords: ['metadata'],
|
||||
},
|
||||
{
|
||||
id: 'uPt3MFymp',
|
||||
label: i18n.ts._profile.followedMessage,
|
||||
keywords: ['follow', 'message', i18n.ts._profile.followedMessageDescription],
|
||||
},
|
||||
{
|
||||
id: 'wuGg0tBjw',
|
||||
label: i18n.ts.reactionAcceptance,
|
||||
keywords: ['reaction'],
|
||||
},
|
||||
{
|
||||
id: 'EezPpmMnf',
|
||||
children: [
|
||||
{
|
||||
id: 'f2cRLh8ad',
|
||||
label: i18n.ts.flagAsCat,
|
||||
keywords: ['cat'],
|
||||
},
|
||||
{
|
||||
id: 'eVoViiF3h',
|
||||
label: i18n.ts.flagAsBot,
|
||||
keywords: ['bot'],
|
||||
},
|
||||
],
|
||||
label: i18n.ts.advancedSettings,
|
||||
keywords: [],
|
||||
},
|
||||
],
|
||||
label: i18n.ts.profile,
|
||||
keywords: ['profile'],
|
||||
path: '/settings/profile',
|
||||
icon: 'ti ti-user',
|
||||
},
|
||||
{
|
||||
id: '2rp9ka5Ht',
|
||||
children: [
|
||||
{
|
||||
id: 'BhAQiHogN',
|
||||
label: i18n.ts.makeFollowManuallyApprove,
|
||||
keywords: ['follow', 'lock', i18n.ts.lockedAccountInfo],
|
||||
},
|
||||
{
|
||||
id: '4DeWGsPaD',
|
||||
label: i18n.ts.autoAcceptFollowed,
|
||||
keywords: ['follow', 'auto', 'accept'],
|
||||
},
|
||||
{
|
||||
id: 'iaM6zUmO9',
|
||||
label: i18n.ts.makeReactionsPublic,
|
||||
keywords: ['reaction', 'public', i18n.ts.makeReactionsPublicDescription],
|
||||
},
|
||||
{
|
||||
id: '5Q6uhghzV',
|
||||
label: i18n.ts.followingVisibility,
|
||||
keywords: ['following', 'visibility'],
|
||||
},
|
||||
{
|
||||
id: 'pZ9q65FX5',
|
||||
label: i18n.ts.followersVisibility,
|
||||
keywords: ['follower', 'visibility'],
|
||||
},
|
||||
{
|
||||
id: 'DMS4yvAGg',
|
||||
label: i18n.ts.hideOnlineStatus,
|
||||
keywords: ['online', 'status', i18n.ts.hideOnlineStatusDescription],
|
||||
},
|
||||
{
|
||||
id: '8rEsGuN8w',
|
||||
label: i18n.ts.noCrawle,
|
||||
keywords: ['crawle', 'index', 'search', i18n.ts.noCrawleDescription],
|
||||
},
|
||||
{
|
||||
id: 's7LdSpiLn',
|
||||
label: i18n.ts.preventAiLearning,
|
||||
keywords: ['crawle', 'ai', i18n.ts.preventAiLearningDescription],
|
||||
},
|
||||
{
|
||||
id: 'l2Wf1s2ad',
|
||||
label: i18n.ts.makeExplorable,
|
||||
keywords: ['explore', i18n.ts.makeExplorableDescription],
|
||||
},
|
||||
{
|
||||
id: 'xEYlOghao',
|
||||
label: i18n.ts._chat.chatAllowedUsers,
|
||||
keywords: ['chat'],
|
||||
},
|
||||
{
|
||||
id: 'BnOtlyaAh',
|
||||
children: [
|
||||
{
|
||||
id: 'BzMIVBpL0',
|
||||
label: i18n.ts._accountSettings.requireSigninToViewContents,
|
||||
keywords: ['login', 'signin'],
|
||||
},
|
||||
{
|
||||
id: 'jJUqPqBAv',
|
||||
label: i18n.ts._accountSettings.makeNotesFollowersOnlyBefore,
|
||||
keywords: ['follower', i18n.ts._accountSettings.makeNotesFollowersOnlyBeforeDescription],
|
||||
},
|
||||
{
|
||||
id: 'ra10txIFV',
|
||||
label: i18n.ts._accountSettings.makeNotesHiddenBefore,
|
||||
keywords: ['hidden', i18n.ts._accountSettings.makeNotesHiddenBeforeDescription],
|
||||
},
|
||||
],
|
||||
label: i18n.ts.lockdown,
|
||||
keywords: ['lockdown'],
|
||||
},
|
||||
],
|
||||
label: i18n.ts.privacy,
|
||||
keywords: ['privacy', i18n.ts._settings.privacyBanner],
|
||||
path: '/settings/privacy',
|
||||
icon: 'ti ti-lock-open',
|
||||
},
|
||||
{
|
||||
id: '3yCAv0IsZ',
|
||||
children: [
|
||||
{
|
||||
id: 'AKvDrxSj5',
|
||||
children: [
|
||||
{
|
||||
id: 'a5b9RjEvq',
|
||||
label: i18n.ts.uiLanguage,
|
||||
keywords: ['language'],
|
||||
},
|
||||
{
|
||||
id: '9ragaff40',
|
||||
label: i18n.ts.overridedDeviceKind,
|
||||
keywords: ['device', 'type', 'kind', 'smartphone', 'tablet', 'desktop'],
|
||||
},
|
||||
{
|
||||
id: 'lfI3yMX9g',
|
||||
label: i18n.ts.showAvatarDecorations,
|
||||
keywords: ['avatar', 'icon', 'decoration', 'show'],
|
||||
},
|
||||
{
|
||||
id: '31Y4IcGEf',
|
||||
label: i18n.ts.alwaysConfirmFollow,
|
||||
keywords: ['follow', 'confirm', 'always'],
|
||||
},
|
||||
{
|
||||
id: '78q2asrLS',
|
||||
label: i18n.ts.highlightSensitiveMedia,
|
||||
keywords: ['highlight', 'sensitive', 'nsfw', 'image', 'photo', 'picture', 'media', 'thumbnail'],
|
||||
},
|
||||
{
|
||||
id: 'zydOfGYip',
|
||||
label: i18n.ts.confirmWhenRevealingSensitiveMedia,
|
||||
keywords: ['sensitive', 'nsfw', 'media', 'image', 'photo', 'picture', 'attachment', 'confirm'],
|
||||
},
|
||||
{
|
||||
id: 'wqpOC22Zm',
|
||||
label: i18n.ts.enableAdvancedMfm,
|
||||
keywords: ['mfm', 'enable', 'show', 'advanced'],
|
||||
},
|
||||
{
|
||||
id: 'c98gbF9c6',
|
||||
label: i18n.ts.enableInfiniteScroll,
|
||||
keywords: ['auto', 'load', 'auto', 'more', 'scroll'],
|
||||
},
|
||||
{
|
||||
id: '6ANRSOaNg',
|
||||
label: i18n.ts.emojiStyle,
|
||||
keywords: ['emoji', 'style', 'native', 'system', 'fluent', 'twemoji'],
|
||||
},
|
||||
],
|
||||
label: i18n.ts.general,
|
||||
keywords: ['general'],
|
||||
},
|
||||
{
|
||||
id: '5G6O6qdis',
|
||||
children: [
|
||||
{
|
||||
id: 'khT3n6byY',
|
||||
label: i18n.ts.showFixedPostForm,
|
||||
keywords: ['post', 'form', 'timeline'],
|
||||
},
|
||||
{
|
||||
id: 'q5ElfNSou',
|
||||
label: i18n.ts.showFixedPostFormInChannel,
|
||||
keywords: ['post', 'form', 'timeline', 'channel'],
|
||||
},
|
||||
{
|
||||
id: '3GcWIaZf8',
|
||||
label: i18n.ts.collapseRenotes,
|
||||
keywords: ['renote', i18n.ts.collapseRenotesDescription],
|
||||
},
|
||||
{
|
||||
id: 'd2H4E5ys6',
|
||||
label: i18n.ts.showGapBetweenNotesInTimeline,
|
||||
keywords: ['note', 'timeline', 'gap'],
|
||||
},
|
||||
{
|
||||
id: '1LHOhDKGW',
|
||||
label: i18n.ts.disableStreamingTimeline,
|
||||
keywords: ['disable', 'streaming', 'timeline'],
|
||||
},
|
||||
{
|
||||
id: 'DSzwvTp7i',
|
||||
label: i18n.ts.pinnedList,
|
||||
keywords: ['pinned', 'list'],
|
||||
},
|
||||
{
|
||||
id: 'ykifk3NHS',
|
||||
label: i18n.ts.showNoteActionsOnlyHover,
|
||||
keywords: ['hover', 'show', 'footer', 'action'],
|
||||
},
|
||||
{
|
||||
id: 'tLGyaQagB',
|
||||
label: i18n.ts.showClipButtonInNoteFooter,
|
||||
keywords: ['footer', 'action', 'clip', 'show'],
|
||||
},
|
||||
{
|
||||
id: '7W6g8Dcqz',
|
||||
label: i18n.ts.showReactionsCount,
|
||||
keywords: ['reaction', 'count', 'show'],
|
||||
},
|
||||
{
|
||||
id: 'uAOoH3LFF',
|
||||
label: i18n.ts.confirmOnReact,
|
||||
keywords: ['reaction', 'confirm'],
|
||||
},
|
||||
{
|
||||
id: 'eCiyZLC8n',
|
||||
label: i18n.ts.loadRawImages,
|
||||
keywords: ['image', 'photo', 'picture', 'media', 'thumbnail', 'quality', 'raw', 'attachment'],
|
||||
},
|
||||
{
|
||||
id: '68u9uRmFP',
|
||||
label: i18n.ts.useReactionPickerForContextMenu,
|
||||
keywords: ['reaction', 'picker', 'contextmenu', 'open'],
|
||||
},
|
||||
{
|
||||
id: 'yxehrHZ6x',
|
||||
label: i18n.ts.reactionsDisplaySize,
|
||||
keywords: ['reaction', 'size', 'scale', 'display'],
|
||||
},
|
||||
{
|
||||
id: 'gi8ILaE2Z',
|
||||
label: i18n.ts.limitWidthOfReaction,
|
||||
keywords: ['reaction', 'size', 'scale', 'display', 'width', 'limit'],
|
||||
},
|
||||
{
|
||||
id: 'cEQJZ7DQG',
|
||||
label: i18n.ts.mediaListWithOneImageAppearance,
|
||||
keywords: ['attachment', 'image', 'photo', 'picture', 'media', 'thumbnail', 'list', 'size', 'height'],
|
||||
},
|
||||
{
|
||||
id: 'haX4QVulD',
|
||||
label: i18n.ts.instanceTicker,
|
||||
keywords: ['ticker', 'information', 'label', 'instance', 'server', 'host', 'federation'],
|
||||
},
|
||||
{
|
||||
id: 'pneYnQekL',
|
||||
label: i18n.ts.displayOfSensitiveMedia,
|
||||
keywords: ['attachment', 'image', 'photo', 'picture', 'media', 'thumbnail', 'nsfw', 'sensitive', 'display', 'show', 'hide', 'visibility'],
|
||||
},
|
||||
],
|
||||
label: i18n.ts._settings.timelineAndNote,
|
||||
keywords: ['timeline', 'note'],
|
||||
},
|
||||
{
|
||||
id: 'eJ2jme16W',
|
||||
children: [
|
||||
{
|
||||
id: 'ErMQr6LQk',
|
||||
label: i18n.ts.keepCw,
|
||||
keywords: ['remember', 'keep', 'note', 'cw'],
|
||||
},
|
||||
{
|
||||
id: 'zrJicawH9',
|
||||
label: i18n.ts.rememberNoteVisibility,
|
||||
keywords: ['remember', 'keep', 'note', 'visibility'],
|
||||
},
|
||||
{
|
||||
id: 'BaQfrVO82',
|
||||
label: i18n.ts.enableQuickAddMfmFunction,
|
||||
keywords: ['mfm', 'enable', 'show', 'advanced', 'picker', 'form', 'function', 'fn'],
|
||||
},
|
||||
{
|
||||
id: 'C2WYcVM1d',
|
||||
label: i18n.ts.defaultNoteVisibility,
|
||||
keywords: ['default', 'note', 'visibility'],
|
||||
},
|
||||
],
|
||||
label: i18n.ts.postForm,
|
||||
keywords: ['post', 'form'],
|
||||
},
|
||||
{
|
||||
id: 'sQXSA6gik',
|
||||
children: [
|
||||
{
|
||||
id: 'rICn8stqk',
|
||||
label: i18n.ts.useGroupedNotifications,
|
||||
keywords: ['group'],
|
||||
},
|
||||
{
|
||||
id: 'xFmAg2tDe',
|
||||
label: i18n.ts.position,
|
||||
keywords: ['position'],
|
||||
},
|
||||
{
|
||||
id: 'Ek4Cw3VPq',
|
||||
label: i18n.ts.stackAxis,
|
||||
keywords: ['stack', 'axis', 'direction'],
|
||||
},
|
||||
],
|
||||
label: i18n.ts.notifications,
|
||||
keywords: ['notification'],
|
||||
},
|
||||
{
|
||||
id: 'gDVCqZfxm',
|
||||
children: [
|
||||
{
|
||||
id: 'ei8Ix3s4S',
|
||||
label: i18n.ts._settings._chat.showSenderName,
|
||||
keywords: ['show', 'sender', 'name'],
|
||||
},
|
||||
{
|
||||
id: '2E7vdIUQd',
|
||||
label: i18n.ts._settings._chat.sendOnEnter,
|
||||
keywords: ['send', 'enter', 'newline'],
|
||||
},
|
||||
],
|
||||
label: i18n.ts.chat,
|
||||
keywords: ['chat', 'messaging'],
|
||||
},
|
||||
{
|
||||
id: '96LnS1sxB',
|
||||
children: [
|
||||
{
|
||||
id: 'vPQPvmntL',
|
||||
label: i18n.ts.reduceUiAnimation,
|
||||
keywords: ['animation', 'motion', 'reduce'],
|
||||
},
|
||||
{
|
||||
id: 'wfJ91vwzq',
|
||||
label: i18n.ts.disableShowingAnimatedImages,
|
||||
keywords: ['disable', 'animation', 'image', 'photo', 'picture', 'media', 'thumbnail', 'gif'],
|
||||
},
|
||||
{
|
||||
id: '42b1L4xdq',
|
||||
label: i18n.ts.enableAnimatedMfm,
|
||||
keywords: ['mfm', 'enable', 'show', 'animated'],
|
||||
},
|
||||
{
|
||||
id: 'dLkRNHn3k',
|
||||
label: i18n.ts.enableHorizontalSwipe,
|
||||
keywords: ['swipe', 'horizontal', 'tab'],
|
||||
},
|
||||
{
|
||||
id: 'BvooTWFW5',
|
||||
label: i18n.ts.keepScreenOn,
|
||||
keywords: ['keep', 'screen', 'display', 'on'],
|
||||
},
|
||||
{
|
||||
id: 'yzbghkAq0',
|
||||
label: i18n.ts.useNativeUIForVideoAudioPlayer,
|
||||
keywords: ['native', 'system', 'video', 'audio', 'player', 'media'],
|
||||
},
|
||||
{
|
||||
id: 'aSbKFHbOy',
|
||||
label: i18n.ts._settings.makeEveryTextElementsSelectable,
|
||||
keywords: ['text', 'selectable'],
|
||||
},
|
||||
{
|
||||
id: 'bTcAsPvNz',
|
||||
label: i18n.ts.menuStyle,
|
||||
keywords: ['menu', 'style', 'popup', 'drawer'],
|
||||
},
|
||||
{
|
||||
id: 'lSVBaLnyW',
|
||||
label: i18n.ts._contextMenu.title,
|
||||
keywords: ['contextmenu', 'system', 'native'],
|
||||
},
|
||||
{
|
||||
id: 'pec0uMPq5',
|
||||
label: i18n.ts.fontSize,
|
||||
keywords: ['font', 'size'],
|
||||
},
|
||||
{
|
||||
id: 'Eh7vTluDO',
|
||||
label: i18n.ts.useSystemFont,
|
||||
keywords: ['font', 'system', 'native'],
|
||||
},
|
||||
],
|
||||
label: i18n.ts.accessibility,
|
||||
keywords: ['accessibility', i18n.ts._settings.accessibilityBanner],
|
||||
},
|
||||
{
|
||||
id: 'vTRSKf1JA',
|
||||
children: [
|
||||
{
|
||||
id: '2VjlA02wB',
|
||||
label: i18n.ts.turnOffToImprovePerformance,
|
||||
keywords: ['blur'],
|
||||
},
|
||||
{
|
||||
id: 'f6J0lmg1g',
|
||||
label: i18n.ts.turnOffToImprovePerformance,
|
||||
keywords: ['blur', 'modal'],
|
||||
},
|
||||
{
|
||||
id: 'hQqXhfNg8',
|
||||
label: i18n.ts.turnOffToImprovePerformance,
|
||||
keywords: ['sticky'],
|
||||
},
|
||||
],
|
||||
label: i18n.ts.performance,
|
||||
keywords: ['performance'],
|
||||
},
|
||||
{
|
||||
id: 'utM8dEobb',
|
||||
label: i18n.ts.dataSaver,
|
||||
keywords: ['datasaver'],
|
||||
},
|
||||
{
|
||||
id: 'gOUvwkE9t',
|
||||
children: [
|
||||
{
|
||||
id: 'iUMUvFURf',
|
||||
label: i18n.ts.squareAvatars,
|
||||
keywords: ['avatar', 'icon', 'square'],
|
||||
},
|
||||
{
|
||||
id: 'ceyPO9Ywi',
|
||||
label: i18n.ts.seasonalScreenEffect,
|
||||
keywords: ['effect', 'show'],
|
||||
},
|
||||
{
|
||||
id: 'ztwIlsXhP',
|
||||
label: i18n.ts.openImageInNewTab,
|
||||
keywords: ['image', 'photo', 'picture', 'media', 'thumbnail', 'new', 'tab'],
|
||||
},
|
||||
{
|
||||
id: 'vLSsQbZEo',
|
||||
label: i18n.ts.withRepliesByDefaultForNewlyFollowed,
|
||||
keywords: ['follow', 'replies'],
|
||||
},
|
||||
{
|
||||
id: 'hQt85bBIX',
|
||||
label: i18n.ts.whenServerDisconnected,
|
||||
keywords: ['server', 'disconnect', 'reconnect', 'reload', 'streaming'],
|
||||
},
|
||||
{
|
||||
id: 'C9SyK2m0',
|
||||
label: i18n.ts.numberOfPageCache,
|
||||
keywords: ['cache', 'page'],
|
||||
},
|
||||
{
|
||||
id: '2U0iVUtfW',
|
||||
label: i18n.ts.forceShowAds,
|
||||
keywords: ['ad', 'show'],
|
||||
},
|
||||
{
|
||||
id: '1rA7ADEXY',
|
||||
label: i18n.ts.hemisphere,
|
||||
keywords: [],
|
||||
},
|
||||
{
|
||||
id: 'vRayx89Rt',
|
||||
label: i18n.ts.additionalEmojiDictionary,
|
||||
keywords: ['emoji', 'dictionary', 'additional', 'extra'],
|
||||
},
|
||||
],
|
||||
label: i18n.ts.other,
|
||||
keywords: ['other'],
|
||||
},
|
||||
],
|
||||
label: i18n.ts.preferences,
|
||||
keywords: ['general', 'preferences', i18n.ts._settings.preferencesBanner],
|
||||
path: '/settings/preferences',
|
||||
icon: 'ti ti-adjustments',
|
||||
},
|
||||
{
|
||||
id: 'mwkwtw83Y',
|
||||
label: i18n.ts.plugins,
|
||||
keywords: ['plugin', 'addon', 'extension', i18n.ts._settings.pluginBanner],
|
||||
path: '/settings/plugin',
|
||||
icon: 'ti ti-plug',
|
||||
},
|
||||
{
|
||||
id: 'F1uK9ssiY',
|
||||
children: [
|
||||
{
|
||||
id: 'E0ndmaP6Q',
|
||||
label: i18n.ts._role.policies,
|
||||
keywords: ['account', 'info'],
|
||||
},
|
||||
{
|
||||
id: 'r5SjfwZJc',
|
||||
label: i18n.ts.rolesAssignedToMe,
|
||||
keywords: ['roles'],
|
||||
},
|
||||
{
|
||||
id: 'cm7LrjgaW',
|
||||
label: i18n.ts.accountMigration,
|
||||
keywords: ['account', 'move', 'migration'],
|
||||
},
|
||||
{
|
||||
id: 'ozfqNviP3',
|
||||
label: i18n.ts.closeAccount,
|
||||
keywords: ['account', 'close', 'delete', i18n.ts._accountDelete.requestAccountDelete],
|
||||
},
|
||||
{
|
||||
id: 'tpywgkpxy',
|
||||
label: i18n.ts.experimentalFeatures,
|
||||
keywords: ['experimental', 'feature', 'flags'],
|
||||
},
|
||||
{
|
||||
id: 'zWbGKohZ2',
|
||||
label: i18n.ts.developer,
|
||||
keywords: ['developer', 'mode', 'debug'],
|
||||
},
|
||||
],
|
||||
label: i18n.ts.other,
|
||||
keywords: ['other'],
|
||||
path: '/settings/other',
|
||||
icon: 'ti ti-dots',
|
||||
},
|
||||
{
|
||||
id: '9bNikHWzQ',
|
||||
children: [
|
||||
{
|
||||
id: 't6XtfnRm9',
|
||||
label: i18n.ts._settings.showNavbarSubButtons,
|
||||
keywords: ['navbar', 'sidebar', 'toggle', 'button', 'sub'],
|
||||
},
|
||||
],
|
||||
label: i18n.ts.navbar,
|
||||
keywords: ['navbar', 'menu', 'sidebar'],
|
||||
path: '/settings/navbar',
|
||||
icon: 'ti ti-list',
|
||||
},
|
||||
{
|
||||
id: '3icEvyv2D',
|
||||
children: [
|
||||
{
|
||||
id: 'lO3uFTkPN',
|
||||
children: [
|
||||
{
|
||||
id: '5JKaXRqyt',
|
||||
label: i18n.ts.showMutedWord,
|
||||
keywords: ['show'],
|
||||
},
|
||||
],
|
||||
label: i18n.ts.wordMute,
|
||||
keywords: ['note', 'word', 'soft', 'mute', 'hide'],
|
||||
},
|
||||
{
|
||||
id: 'fMkjL3dK4',
|
||||
label: i18n.ts.hardWordMute,
|
||||
keywords: ['note', 'word', 'hard', 'mute', 'hide'],
|
||||
},
|
||||
{
|
||||
id: 'cimSzQXN0',
|
||||
label: i18n.ts.instanceMute,
|
||||
keywords: ['note', 'server', 'instance', 'host', 'federation', 'mute', 'hide'],
|
||||
},
|
||||
{
|
||||
id: 'gq8rPy3Du',
|
||||
label: `${i18n.ts.mutedUsers} (${ i18n.ts.renote })`,
|
||||
keywords: ['renote', 'mute', 'hide', 'user'],
|
||||
},
|
||||
{
|
||||
id: 'mh2r7EUbF',
|
||||
label: i18n.ts.mutedUsers,
|
||||
keywords: ['note', 'mute', 'hide', 'user'],
|
||||
},
|
||||
{
|
||||
id: 'AUS1OgHrn',
|
||||
label: i18n.ts.blockedUsers,
|
||||
keywords: ['block', 'user'],
|
||||
},
|
||||
],
|
||||
label: i18n.ts.muteAndBlock,
|
||||
keywords: ['mute', 'block', i18n.ts._settings.muteAndBlockBanner],
|
||||
path: '/settings/mute-block',
|
||||
icon: 'ti ti-ban',
|
||||
},
|
||||
{
|
||||
id: 'yR1OSyLiT',
|
||||
children: [
|
||||
{
|
||||
id: 'yMJzyzOUk',
|
||||
label: i18n.ts._emojiPalette.enableSyncBetweenDevicesForPalettes,
|
||||
keywords: ['sync', 'palettes', 'devices'],
|
||||
},
|
||||
{
|
||||
id: 'wCE09vgZr',
|
||||
label: i18n.ts._emojiPalette.paletteForMain,
|
||||
keywords: ['main', 'palette'],
|
||||
},
|
||||
{
|
||||
id: 'uCzRPrSNx',
|
||||
label: i18n.ts._emojiPalette.paletteForReaction,
|
||||
keywords: ['reaction', 'palette'],
|
||||
},
|
||||
{
|
||||
id: 'hgQr28WUk',
|
||||
children: [
|
||||
{
|
||||
id: 'fY04NIHSQ',
|
||||
label: i18n.ts.size,
|
||||
keywords: ['emoji', 'picker', 'scale', 'size'],
|
||||
},
|
||||
{
|
||||
id: '3j7vlaL7t',
|
||||
label: i18n.ts.numberOfColumn,
|
||||
keywords: ['emoji', 'picker', 'width', 'column', 'size'],
|
||||
},
|
||||
{
|
||||
id: 'zPX8z1Bcy',
|
||||
label: i18n.ts.height,
|
||||
keywords: ['emoji', 'picker', 'height', 'size'],
|
||||
},
|
||||
{
|
||||
id: '2CSkZa4tl',
|
||||
label: i18n.ts.style,
|
||||
keywords: ['emoji', 'picker', 'style'],
|
||||
},
|
||||
],
|
||||
label: i18n.ts.emojiPickerDisplay,
|
||||
keywords: ['emoji', 'picker', 'display'],
|
||||
},
|
||||
],
|
||||
label: i18n.ts.emojiPalette,
|
||||
keywords: ['emoji', 'palette'],
|
||||
path: '/settings/emoji-palette',
|
||||
icon: 'ti ti-mood-happy',
|
||||
},
|
||||
{
|
||||
id: '3Tcxw4Fwl',
|
||||
children: [
|
||||
{
|
||||
id: 'iIai9O65I',
|
||||
label: i18n.ts.emailAddress,
|
||||
keywords: ['email', 'address'],
|
||||
},
|
||||
{
|
||||
id: 'i6cC6oi0m',
|
||||
label: i18n.ts.receiveAnnouncementFromInstance,
|
||||
keywords: ['announcement', 'email'],
|
||||
},
|
||||
{
|
||||
id: 'C1YTinP11',
|
||||
label: i18n.ts.emailNotification,
|
||||
keywords: ['notification', 'email'],
|
||||
},
|
||||
],
|
||||
label: i18n.ts.email,
|
||||
keywords: ['email'],
|
||||
path: '/settings/email',
|
||||
icon: 'ti ti-mail',
|
||||
},
|
||||
{
|
||||
id: 'tnYoppRiv',
|
||||
children: [
|
||||
{
|
||||
id: 'cN3dsGNxu',
|
||||
label: i18n.ts.usageAmount,
|
||||
keywords: ['capacity', 'usage'],
|
||||
},
|
||||
{
|
||||
id: 'rOAOU2P6C',
|
||||
label: i18n.ts.statistics,
|
||||
keywords: ['statistics', 'usage'],
|
||||
},
|
||||
{
|
||||
id: 'uXGlQXATx',
|
||||
label: i18n.ts.uploadFolder,
|
||||
keywords: ['default', 'upload', 'folder'],
|
||||
},
|
||||
{
|
||||
id: 'goQdtf3dD',
|
||||
label: i18n.ts.keepOriginalFilename,
|
||||
keywords: ['keep', 'original', 'filename', i18n.ts.keepOriginalFilenameDescription],
|
||||
},
|
||||
{
|
||||
id: '83xRo0XJl',
|
||||
label: i18n.ts.alwaysMarkSensitive,
|
||||
keywords: ['always', 'default', 'mark', 'nsfw', 'sensitive', 'media', 'file'],
|
||||
},
|
||||
{
|
||||
id: 'BrBqZL35E',
|
||||
label: i18n.ts.enableAutoSensitive,
|
||||
keywords: ['auto', 'nsfw', 'sensitive', 'media', 'file', i18n.ts.enableAutoSensitiveDescription],
|
||||
},
|
||||
],
|
||||
label: i18n.ts.drive,
|
||||
keywords: ['drive', i18n.ts._settings.driveBanner],
|
||||
path: '/settings/drive',
|
||||
icon: 'ti ti-cloud',
|
||||
},
|
||||
{
|
||||
id: 'FfZdOs8y',
|
||||
children: [
|
||||
{
|
||||
id: 'B1ZU6Ur54',
|
||||
label: i18n.ts._deck.enableSyncBetweenDevicesForProfiles,
|
||||
keywords: ['sync', 'profiles', 'devices'],
|
||||
},
|
||||
{
|
||||
id: 'wWH4pxMQN',
|
||||
label: i18n.ts._deck.useSimpleUiForNonRootPages,
|
||||
keywords: ['ui', 'root', 'page'],
|
||||
},
|
||||
{
|
||||
id: '3LR509BvD',
|
||||
label: i18n.ts.defaultNavigationBehaviour,
|
||||
keywords: ['default', 'navigation', 'behaviour', 'window'],
|
||||
},
|
||||
{
|
||||
id: 'ybU8RLXgm',
|
||||
label: i18n.ts._deck.alwaysShowMainColumn,
|
||||
keywords: ['always', 'show', 'main', 'column'],
|
||||
},
|
||||
{
|
||||
id: 'xRasZyAVl',
|
||||
label: i18n.ts._deck.columnAlign,
|
||||
keywords: ['column', 'align'],
|
||||
},
|
||||
{
|
||||
id: '6qcyPd0oJ',
|
||||
label: i18n.ts._deck.deckMenuPosition,
|
||||
keywords: ['menu', 'position'],
|
||||
},
|
||||
{
|
||||
id: '4zk2Now4S',
|
||||
label: i18n.ts._deck.navbarPosition,
|
||||
keywords: ['navbar', 'position'],
|
||||
},
|
||||
{
|
||||
id: 'CGNtJ2I3n',
|
||||
label: i18n.ts._deck.columnGap,
|
||||
keywords: ['column', 'gap', 'margin'],
|
||||
},
|
||||
{
|
||||
id: 'rxPDMo7bE',
|
||||
label: i18n.ts.setWallpaper,
|
||||
keywords: ['wallpaper'],
|
||||
},
|
||||
],
|
||||
label: i18n.ts.deck,
|
||||
keywords: ['deck', 'ui'],
|
||||
path: '/settings/deck',
|
||||
icon: 'ti ti-columns',
|
||||
},
|
||||
{
|
||||
id: 'BlJ2rsw9h',
|
||||
children: [
|
||||
{
|
||||
id: '9bLU1nIjt',
|
||||
label: i18n.ts._settings.api,
|
||||
keywords: ['api', 'app', 'token', 'accessToken'],
|
||||
},
|
||||
{
|
||||
id: '5VSGOVYR0',
|
||||
label: i18n.ts._settings.webhook,
|
||||
keywords: ['webhook'],
|
||||
},
|
||||
],
|
||||
label: i18n.ts._settings.serviceConnection,
|
||||
keywords: ['app', 'service', 'connect', 'webhook', 'api', 'token', i18n.ts._settings.serviceConnectionBanner],
|
||||
path: '/settings/connect',
|
||||
icon: 'ti ti-link',
|
||||
},
|
||||
{
|
||||
id: 'gtaOSdIJB',
|
||||
label: i18n.ts.avatarDecorations,
|
||||
keywords: ['avatar', 'icon', 'decoration'],
|
||||
path: '/settings/avatar-decoration',
|
||||
icon: 'ti ti-sparkles',
|
||||
},
|
||||
{
|
||||
id: 'zK6posor9',
|
||||
label: i18n.ts.accounts,
|
||||
keywords: ['accounts'],
|
||||
path: '/settings/accounts',
|
||||
icon: 'ti ti-users',
|
||||
},
|
||||
{
|
||||
id: '330Q4mf8E',
|
||||
children: [
|
||||
{
|
||||
id: 'eGSjUDIKu',
|
||||
label: i18n.ts._exportOrImport.allNotes,
|
||||
keywords: ['notes'],
|
||||
},
|
||||
{
|
||||
id: 'iMDgUVgRu',
|
||||
label: i18n.ts._exportOrImport.favoritedNotes,
|
||||
keywords: ['favorite', 'notes'],
|
||||
},
|
||||
{
|
||||
id: '3y6KgkVbT',
|
||||
label: i18n.ts._exportOrImport.clips,
|
||||
keywords: ['clip', 'notes'],
|
||||
},
|
||||
{
|
||||
id: 'cKiHkj8HE',
|
||||
label: i18n.ts._exportOrImport.followingList,
|
||||
keywords: ['following', 'users'],
|
||||
},
|
||||
{
|
||||
id: '3zzmQXn0t',
|
||||
label: i18n.ts._exportOrImport.userLists,
|
||||
keywords: ['user', 'lists'],
|
||||
},
|
||||
{
|
||||
id: '3ZGXcEqWZ',
|
||||
label: i18n.ts._exportOrImport.muteList,
|
||||
keywords: ['mute', 'users'],
|
||||
},
|
||||
{
|
||||
id: '84oL7B1Dr',
|
||||
label: i18n.ts._exportOrImport.blockingList,
|
||||
keywords: ['block', 'users'],
|
||||
},
|
||||
{
|
||||
id: 'ckqi48Kbl',
|
||||
label: i18n.ts.antennas,
|
||||
keywords: ['antennas'],
|
||||
},
|
||||
],
|
||||
label: i18n.ts._settings.accountData,
|
||||
keywords: ['import', 'export', 'data', 'archive', i18n.ts._settings.accountDataBanner],
|
||||
path: '/settings/account-data',
|
||||
icon: 'ti ti-package',
|
||||
},
|
||||
] as const;
|
||||
|
||||
export type SearchIndex = typeof searchIndexes;
|
43
packages/frontend/src/utility/settings-search-index.ts
Normal file
43
packages/frontend/src/utility/settings-search-index.ts
Normal file
|
@ -0,0 +1,43 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: syuilo and misskey-project
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
import { searchIndexes as generated } from 'search-index:settings';
|
||||
import type { GeneratedSearchIndexItem } from 'search-index:settings';
|
||||
|
||||
export type SearchIndexItem = {
|
||||
id: string;
|
||||
path?: string;
|
||||
label: string;
|
||||
keywords: string[];
|
||||
icon?: string;
|
||||
children?: SearchIndexItem[];
|
||||
};
|
||||
|
||||
const rootMods = new Map(generated.map(item => [item.id, item]));
|
||||
|
||||
function walk(item: GeneratedSearchIndexItem) {
|
||||
if (item.inlining) {
|
||||
for (const id of item.inlining) {
|
||||
const inline = rootMods.get(id);
|
||||
if (inline) {
|
||||
(item.children ??= []).push(inline);
|
||||
rootMods.delete(id);
|
||||
} else {
|
||||
console.log('[Settings Search Index] Failed to inline', id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (const child of item.children ?? []) {
|
||||
walk(child);
|
||||
}
|
||||
}
|
||||
|
||||
for (const item of generated) {
|
||||
walk(item);
|
||||
}
|
||||
|
||||
export const searchIndexes: SearchIndexItem[] = generated;
|
||||
|
18
packages/frontend/src/utility/virtual.d.ts
vendored
Normal file
18
packages/frontend/src/utility/virtual.d.ts
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: syuilo and misskey-project
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
declare module 'search-index:settings' {
|
||||
export type GeneratedSearchIndexItem = {
|
||||
id: string;
|
||||
path?: string;
|
||||
label: string;
|
||||
keywords: string[];
|
||||
icon?: string;
|
||||
inlining?: string[];
|
||||
children?: GeneratedSearchIndexItem[];
|
||||
};
|
||||
|
||||
export const searchIndexes: GeneratedSearchIndexItem[];
|
||||
}
|
|
@ -24,7 +24,8 @@ const extensions = ['.ts', '.tsx', '.js', '.jsx', '.mjs', '.json', '.json5', '.s
|
|||
*/
|
||||
export const searchIndexes = [{
|
||||
targetFilePaths: ['src/pages/settings/*.vue'],
|
||||
exportFilePath: './src/utility/autogen/settings-search-index.ts',
|
||||
mainVirtualModule: 'search-index:settings',
|
||||
modulesToHmrOnUpdate: ['src/pages/settings/index.vue'],
|
||||
verbose: process.env.FRONTEND_SEARCH_INDEX_VERBOSE === 'true',
|
||||
}] satisfies SearchIndexOptions[];
|
||||
|
||||
|
|
92
pnpm-lock.yaml
generated
92
pnpm-lock.yaml
generated
|
@ -13,6 +13,9 @@ patchedDependencies:
|
|||
re2:
|
||||
hash: 018babd22b7ce951bcd10d6246f1e541a7ac7ba212f7fa8985e774ece67d08e1
|
||||
path: scripts/dependency-patches/re2.patch
|
||||
vite:
|
||||
hash: cb4a32b4c98072ee9756b54d2da01411e766907004dac5fb3abc965dac9c6a29
|
||||
path: scripts/dependency-patches/vite.patch
|
||||
|
||||
importers:
|
||||
|
||||
|
@ -726,7 +729,7 @@ importers:
|
|||
version: 15.1.1
|
||||
'@vitejs/plugin-vue':
|
||||
specifier: 5.2.3
|
||||
version: 5.2.3(vite@6.2.4(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))(vue@3.5.13(typescript@5.8.2))
|
||||
version: 5.2.3(vite@6.2.4(patch_hash=cb4a32b4c98072ee9756b54d2da01411e766907004dac5fb3abc965dac9c6a29)(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))(vue@3.5.13(typescript@5.8.2))
|
||||
'@vue/compiler-sfc':
|
||||
specifier: 3.5.13
|
||||
version: 3.5.13
|
||||
|
@ -864,7 +867,7 @@ importers:
|
|||
version: 1.13.1(vue@3.5.13(typescript@5.8.2))
|
||||
vite:
|
||||
specifier: 6.2.4
|
||||
version: 6.2.4(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3)
|
||||
version: 6.2.4(patch_hash=cb4a32b4c98072ee9756b54d2da01411e766907004dac5fb3abc965dac9c6a29)(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3)
|
||||
vue:
|
||||
specifier: 3.5.13
|
||||
version: 3.5.13(typescript@5.8.2)
|
||||
|
@ -916,7 +919,7 @@ importers:
|
|||
version: 8.6.7(@storybook/test@8.6.7(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5)))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5))(typescript@5.8.2)
|
||||
'@storybook/react-vite':
|
||||
specifier: 8.6.7
|
||||
version: 8.6.7(@storybook/test@8.6.7(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5)))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(rollup@4.36.0)(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5))(typescript@5.8.2)(vite@6.2.4(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))
|
||||
version: 8.6.7(@storybook/test@8.6.7(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5)))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(rollup@4.36.0)(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5))(typescript@5.8.2)(vite@6.2.4(patch_hash=cb4a32b4c98072ee9756b54d2da01411e766907004dac5fb3abc965dac9c6a29)(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))
|
||||
'@storybook/test':
|
||||
specifier: 8.6.7
|
||||
version: 8.6.7(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5))
|
||||
|
@ -931,7 +934,7 @@ importers:
|
|||
version: 8.6.7(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5))(vue@3.5.13(typescript@5.8.2))
|
||||
'@storybook/vue3-vite':
|
||||
specifier: 8.6.7
|
||||
version: 8.6.7(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5))(vite@6.2.4(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))(vue@3.5.13(typescript@5.8.2))
|
||||
version: 8.6.7(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5))(vite@6.2.4(patch_hash=cb4a32b4c98072ee9756b54d2da01411e766907004dac5fb3abc965dac9c6a29)(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))(vue@3.5.13(typescript@5.8.2))
|
||||
'@testing-library/vue':
|
||||
specifier: 8.1.0
|
||||
version: 8.1.0(@vue/compiler-sfc@3.5.13)(@vue/server-renderer@3.5.13(vue@3.5.13(typescript@5.8.2)))(vue@3.5.13(typescript@5.8.2))
|
||||
|
@ -977,6 +980,9 @@ importers:
|
|||
'@vitest/coverage-v8':
|
||||
specifier: 3.0.9
|
||||
version: 3.0.9(vitest@3.0.9(@types/debug@4.1.12)(@types/node@22.13.11)(happy-dom@17.4.4)(jsdom@26.0.0(bufferutil@4.0.9)(canvas@3.1.0)(utf-8-validate@6.0.5))(msw@2.7.3(@types/node@22.13.11)(typescript@5.8.2))(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))
|
||||
'@vue/compiler-core':
|
||||
specifier: 3.5.13
|
||||
version: 3.5.13
|
||||
'@vue/runtime-core':
|
||||
specifier: 3.5.13
|
||||
version: 3.5.13
|
||||
|
@ -1007,6 +1013,9 @@ importers:
|
|||
micromatch:
|
||||
specifier: 4.0.8
|
||||
version: 4.0.8
|
||||
minimatch:
|
||||
specifier: 10.0.1
|
||||
version: 10.0.1
|
||||
msw:
|
||||
specifier: 2.7.3
|
||||
version: 2.7.3(@types/node@22.13.11)(typescript@5.8.2)
|
||||
|
@ -1081,7 +1090,7 @@ importers:
|
|||
version: 15.1.1
|
||||
'@vitejs/plugin-vue':
|
||||
specifier: 5.2.3
|
||||
version: 5.2.3(vite@6.2.4(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))(vue@3.5.13(typescript@5.8.2))
|
||||
version: 5.2.3(vite@6.2.4(patch_hash=cb4a32b4c98072ee9756b54d2da01411e766907004dac5fb3abc965dac9c6a29)(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))(vue@3.5.13(typescript@5.8.2))
|
||||
'@vue/compiler-sfc':
|
||||
specifier: 3.5.13
|
||||
version: 3.5.13
|
||||
|
@ -1135,7 +1144,7 @@ importers:
|
|||
version: 11.1.0
|
||||
vite:
|
||||
specifier: 6.2.4
|
||||
version: 6.2.4(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3)
|
||||
version: 6.2.4(patch_hash=cb4a32b4c98072ee9756b54d2da01411e766907004dac5fb3abc965dac9c6a29)(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3)
|
||||
vue:
|
||||
specifier: 3.5.13
|
||||
version: 3.5.13(typescript@5.8.2)
|
||||
|
@ -1723,10 +1732,6 @@ packages:
|
|||
resolution: {integrity: sha512-oy5V7pD+UvfkEATUKvIjvIAH/xCzfsFVw7ygW2SI6NClZzquT+mwdTfgfdbUiceh6iQO0CHtCPsyze/MZ2YbAA==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
|
||||
'@babel/helper-string-parser@7.24.7':
|
||||
resolution: {integrity: sha512-7MbVt6xrwFQbunH2DNQsAP5sTGxfqQtErvBIvIMi6EQnbgUOuVYanvREcmFrOPhoXBrTtjhhP+lW+o5UfK+tDg==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
|
||||
'@babel/helper-string-parser@7.24.8':
|
||||
resolution: {integrity: sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
|
@ -1751,11 +1756,6 @@ packages:
|
|||
resolution: {integrity: sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
|
||||
'@babel/parser@7.24.7':
|
||||
resolution: {integrity: sha512-9uUYRm6OqQrCqQdG1iCBwBPZgN8ciDBro2nIOFaiRz1/BCxaI7CNvQbDHvsArAC7Tw9Hda/B3U+6ui9u4HWXPw==}
|
||||
engines: {node: '>=6.0.0'}
|
||||
hasBin: true
|
||||
|
||||
'@babel/parser@7.25.6':
|
||||
resolution: {integrity: sha512-trGdfBdbD0l1ZPmcJ83eNxB9rbEax4ALFTF7fN386TMYbeCQbyme5cOEXQhbGXKebwGaB/J52w1mrklMcbgy6Q==}
|
||||
engines: {node: '>=6.0.0'}
|
||||
|
@ -1850,10 +1850,6 @@ packages:
|
|||
resolution: {integrity: sha512-yb65Ed5S/QAcewNPh0nZczy9JdYXkkAbIsEo+P7BE7yO3txAY30Y/oPa3QkQ5It3xVG2kpKMg9MsdxZaO31uKA==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
|
||||
'@babel/types@7.24.7':
|
||||
resolution: {integrity: sha512-XEFXSlxiG5td2EJRe8vOmRbaXVgfcBlszKujvVmWIK/UpywWljQCfzAv3RQCGujWQ1RD4YYWEAqDXfuJiy8f5Q==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
|
||||
'@babel/types@7.25.6':
|
||||
resolution: {integrity: sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
|
@ -11836,8 +11832,6 @@ snapshots:
|
|||
dependencies:
|
||||
'@babel/types': 7.25.6
|
||||
|
||||
'@babel/helper-string-parser@7.24.7': {}
|
||||
|
||||
'@babel/helper-string-parser@7.24.8': {}
|
||||
|
||||
'@babel/helper-validator-identifier@7.24.7': {}
|
||||
|
@ -11864,10 +11858,6 @@ snapshots:
|
|||
js-tokens: 4.0.0
|
||||
picocolors: 1.1.1
|
||||
|
||||
'@babel/parser@7.24.7':
|
||||
dependencies:
|
||||
'@babel/types': 7.25.6
|
||||
|
||||
'@babel/parser@7.25.6':
|
||||
dependencies:
|
||||
'@babel/types': 7.25.6
|
||||
|
@ -11973,12 +11963,6 @@ snapshots:
|
|||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
'@babel/types@7.24.7':
|
||||
dependencies:
|
||||
'@babel/helper-string-parser': 7.24.7
|
||||
'@babel/helper-validator-identifier': 7.24.7
|
||||
to-fast-properties: 2.0.0
|
||||
|
||||
'@babel/types@7.25.6':
|
||||
dependencies:
|
||||
'@babel/helper-string-parser': 7.24.8
|
||||
|
@ -12848,12 +12832,12 @@ snapshots:
|
|||
'@types/yargs': 17.0.19
|
||||
chalk: 4.1.2
|
||||
|
||||
'@joshwooding/vite-plugin-react-docgen-typescript@0.5.0(typescript@5.8.2)(vite@6.2.4(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))':
|
||||
'@joshwooding/vite-plugin-react-docgen-typescript@0.5.0(typescript@5.8.2)(vite@6.2.4(patch_hash=cb4a32b4c98072ee9756b54d2da01411e766907004dac5fb3abc965dac9c6a29)(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))':
|
||||
dependencies:
|
||||
glob: 10.4.5
|
||||
magic-string: 0.27.0
|
||||
react-docgen-typescript: 2.2.2(typescript@5.8.2)
|
||||
vite: 6.2.4(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3)
|
||||
vite: 6.2.4(patch_hash=cb4a32b4c98072ee9756b54d2da01411e766907004dac5fb3abc965dac9c6a29)(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3)
|
||||
optionalDependencies:
|
||||
typescript: 5.8.2
|
||||
|
||||
|
@ -14369,13 +14353,13 @@ snapshots:
|
|||
react: 19.0.0
|
||||
react-dom: 19.0.0(react@19.0.0)
|
||||
|
||||
'@storybook/builder-vite@8.6.7(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5))(vite@6.2.4(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))':
|
||||
'@storybook/builder-vite@8.6.7(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5))(vite@6.2.4(patch_hash=cb4a32b4c98072ee9756b54d2da01411e766907004dac5fb3abc965dac9c6a29)(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))':
|
||||
dependencies:
|
||||
'@storybook/csf-plugin': 8.6.7(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5))
|
||||
browser-assert: 1.2.1
|
||||
storybook: 8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5)
|
||||
ts-dedent: 2.2.0
|
||||
vite: 6.2.4(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3)
|
||||
vite: 6.2.4(patch_hash=cb4a32b4c98072ee9756b54d2da01411e766907004dac5fb3abc965dac9c6a29)(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3)
|
||||
|
||||
'@storybook/components@8.6.7(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5))':
|
||||
dependencies:
|
||||
|
@ -14438,11 +14422,11 @@ snapshots:
|
|||
react-dom: 19.0.0(react@19.0.0)
|
||||
storybook: 8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5)
|
||||
|
||||
'@storybook/react-vite@8.6.7(@storybook/test@8.6.7(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5)))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(rollup@4.36.0)(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5))(typescript@5.8.2)(vite@6.2.4(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))':
|
||||
'@storybook/react-vite@8.6.7(@storybook/test@8.6.7(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5)))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(rollup@4.36.0)(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5))(typescript@5.8.2)(vite@6.2.4(patch_hash=cb4a32b4c98072ee9756b54d2da01411e766907004dac5fb3abc965dac9c6a29)(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))':
|
||||
dependencies:
|
||||
'@joshwooding/vite-plugin-react-docgen-typescript': 0.5.0(typescript@5.8.2)(vite@6.2.4(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))
|
||||
'@joshwooding/vite-plugin-react-docgen-typescript': 0.5.0(typescript@5.8.2)(vite@6.2.4(patch_hash=cb4a32b4c98072ee9756b54d2da01411e766907004dac5fb3abc965dac9c6a29)(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))
|
||||
'@rollup/pluginutils': 5.1.4(rollup@4.36.0)
|
||||
'@storybook/builder-vite': 8.6.7(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5))(vite@6.2.4(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))
|
||||
'@storybook/builder-vite': 8.6.7(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5))(vite@6.2.4(patch_hash=cb4a32b4c98072ee9756b54d2da01411e766907004dac5fb3abc965dac9c6a29)(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))
|
||||
'@storybook/react': 8.6.7(@storybook/test@8.6.7(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5)))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5))(typescript@5.8.2)
|
||||
find-up: 5.0.0
|
||||
magic-string: 0.30.17
|
||||
|
@ -14452,7 +14436,7 @@ snapshots:
|
|||
resolve: 1.22.8
|
||||
storybook: 8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5)
|
||||
tsconfig-paths: 4.2.0
|
||||
vite: 6.2.4(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3)
|
||||
vite: 6.2.4(patch_hash=cb4a32b4c98072ee9756b54d2da01411e766907004dac5fb3abc965dac9c6a29)(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3)
|
||||
optionalDependencies:
|
||||
'@storybook/test': 8.6.7(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5))
|
||||
transitivePeerDependencies:
|
||||
|
@ -14501,15 +14485,15 @@ snapshots:
|
|||
dependencies:
|
||||
storybook: 8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5)
|
||||
|
||||
'@storybook/vue3-vite@8.6.7(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5))(vite@6.2.4(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))(vue@3.5.13(typescript@5.8.2))':
|
||||
'@storybook/vue3-vite@8.6.7(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5))(vite@6.2.4(patch_hash=cb4a32b4c98072ee9756b54d2da01411e766907004dac5fb3abc965dac9c6a29)(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))(vue@3.5.13(typescript@5.8.2))':
|
||||
dependencies:
|
||||
'@storybook/builder-vite': 8.6.7(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5))(vite@6.2.4(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))
|
||||
'@storybook/builder-vite': 8.6.7(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5))(vite@6.2.4(patch_hash=cb4a32b4c98072ee9756b54d2da01411e766907004dac5fb3abc965dac9c6a29)(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))
|
||||
'@storybook/vue3': 8.6.7(storybook@8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5))(vue@3.5.13(typescript@5.8.2))
|
||||
find-package-json: 1.2.0
|
||||
magic-string: 0.30.17
|
||||
storybook: 8.6.7(bufferutil@4.0.9)(prettier@3.5.3)(utf-8-validate@6.0.5)
|
||||
typescript: 5.8.2
|
||||
vite: 6.2.4(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3)
|
||||
vite: 6.2.4(patch_hash=cb4a32b4c98072ee9756b54d2da01411e766907004dac5fb3abc965dac9c6a29)(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3)
|
||||
vue-component-meta: 2.0.16(typescript@5.8.2)
|
||||
vue-docgen-api: 4.75.1(vue@3.5.13(typescript@5.8.2))
|
||||
transitivePeerDependencies:
|
||||
|
@ -15350,9 +15334,9 @@ snapshots:
|
|||
|
||||
'@ungap/structured-clone@1.2.0': {}
|
||||
|
||||
'@vitejs/plugin-vue@5.2.3(vite@6.2.4(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))(vue@3.5.13(typescript@5.8.2))':
|
||||
'@vitejs/plugin-vue@5.2.3(vite@6.2.4(patch_hash=cb4a32b4c98072ee9756b54d2da01411e766907004dac5fb3abc965dac9c6a29)(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))(vue@3.5.13(typescript@5.8.2))':
|
||||
dependencies:
|
||||
vite: 6.2.4(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3)
|
||||
vite: 6.2.4(patch_hash=cb4a32b4c98072ee9756b54d2da01411e766907004dac5fb3abc965dac9c6a29)(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3)
|
||||
vue: 3.5.13(typescript@5.8.2)
|
||||
|
||||
'@vitest/coverage-v8@3.0.9(vitest@3.0.9(@types/debug@4.1.12)(@types/node@22.13.11)(happy-dom@17.4.4)(jsdom@26.0.0(bufferutil@4.0.9)(canvas@3.1.0)(utf-8-validate@6.0.5))(msw@2.7.3(@types/node@22.13.11)(typescript@5.8.2))(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))':
|
||||
|
@ -15387,14 +15371,14 @@ snapshots:
|
|||
chai: 5.2.0
|
||||
tinyrainbow: 2.0.0
|
||||
|
||||
'@vitest/mocker@3.0.9(msw@2.7.3(@types/node@22.13.11)(typescript@5.8.2))(vite@6.2.4(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))':
|
||||
'@vitest/mocker@3.0.9(msw@2.7.3(@types/node@22.13.11)(typescript@5.8.2))(vite@6.2.4(patch_hash=cb4a32b4c98072ee9756b54d2da01411e766907004dac5fb3abc965dac9c6a29)(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))':
|
||||
dependencies:
|
||||
'@vitest/spy': 3.0.9
|
||||
estree-walker: 3.0.3
|
||||
magic-string: 0.30.17
|
||||
optionalDependencies:
|
||||
msw: 2.7.3(@types/node@22.13.11)(typescript@5.8.2)
|
||||
vite: 6.2.4(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3)
|
||||
vite: 6.2.4(patch_hash=cb4a32b4c98072ee9756b54d2da01411e766907004dac5fb3abc965dac9c6a29)(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3)
|
||||
|
||||
'@vitest/pretty-format@2.0.5':
|
||||
dependencies:
|
||||
|
@ -16554,8 +16538,8 @@ snapshots:
|
|||
|
||||
constantinople@4.0.1:
|
||||
dependencies:
|
||||
'@babel/parser': 7.24.7
|
||||
'@babel/types': 7.24.7
|
||||
'@babel/parser': 7.25.6
|
||||
'@babel/types': 7.25.6
|
||||
|
||||
content-disposition@0.5.4:
|
||||
dependencies:
|
||||
|
@ -19134,7 +19118,7 @@ snapshots:
|
|||
'@babel/generator': 7.23.5
|
||||
'@babel/plugin-syntax-jsx': 7.23.3(@babel/core@7.23.5)
|
||||
'@babel/plugin-syntax-typescript': 7.23.3(@babel/core@7.23.5)
|
||||
'@babel/types': 7.24.7
|
||||
'@babel/types': 7.25.6
|
||||
'@jest/expect-utils': 29.7.0
|
||||
'@jest/transform': 29.7.0
|
||||
'@jest/types': 29.6.3
|
||||
|
@ -22580,7 +22564,7 @@ snapshots:
|
|||
debug: 4.4.0(supports-color@8.1.1)
|
||||
es-module-lexer: 1.6.0
|
||||
pathe: 2.0.3
|
||||
vite: 6.2.4(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3)
|
||||
vite: 6.2.4(patch_hash=cb4a32b4c98072ee9756b54d2da01411e766907004dac5fb3abc965dac9c6a29)(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3)
|
||||
transitivePeerDependencies:
|
||||
- '@types/node'
|
||||
- jiti
|
||||
|
@ -22597,7 +22581,7 @@ snapshots:
|
|||
|
||||
vite-plugin-turbosnap@1.0.3: {}
|
||||
|
||||
vite@6.2.4(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3):
|
||||
vite@6.2.4(patch_hash=cb4a32b4c98072ee9756b54d2da01411e766907004dac5fb3abc965dac9c6a29)(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3):
|
||||
dependencies:
|
||||
esbuild: 0.25.1
|
||||
postcss: 8.5.3
|
||||
|
@ -22616,7 +22600,7 @@ snapshots:
|
|||
vitest@3.0.9(@types/debug@4.1.12)(@types/node@22.13.11)(happy-dom@17.4.4)(jsdom@26.0.0(bufferutil@4.0.9)(canvas@3.1.0)(utf-8-validate@6.0.5))(msw@2.7.3(@types/node@22.13.11)(typescript@5.8.2))(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3):
|
||||
dependencies:
|
||||
'@vitest/expect': 3.0.9
|
||||
'@vitest/mocker': 3.0.9(msw@2.7.3(@types/node@22.13.11)(typescript@5.8.2))(vite@6.2.4(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))
|
||||
'@vitest/mocker': 3.0.9(msw@2.7.3(@types/node@22.13.11)(typescript@5.8.2))(vite@6.2.4(patch_hash=cb4a32b4c98072ee9756b54d2da01411e766907004dac5fb3abc965dac9c6a29)(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3))
|
||||
'@vitest/pretty-format': 3.0.9
|
||||
'@vitest/runner': 3.0.9
|
||||
'@vitest/snapshot': 3.0.9
|
||||
|
@ -22632,7 +22616,7 @@ snapshots:
|
|||
tinyexec: 0.3.2
|
||||
tinypool: 1.0.2
|
||||
tinyrainbow: 2.0.0
|
||||
vite: 6.2.4(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3)
|
||||
vite: 6.2.4(patch_hash=cb4a32b4c98072ee9756b54d2da01411e766907004dac5fb3abc965dac9c6a29)(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3)
|
||||
vite-node: 3.0.9(@types/node@22.13.11)(sass@1.86.0)(terser@5.39.0)(tsx@4.19.3)
|
||||
why-is-node-running: 2.3.0
|
||||
optionalDependencies:
|
||||
|
@ -22887,7 +22871,7 @@ snapshots:
|
|||
with@7.0.2:
|
||||
dependencies:
|
||||
'@babel/parser': 7.25.6
|
||||
'@babel/types': 7.24.7
|
||||
'@babel/types': 7.25.6
|
||||
assert-never: 1.2.1
|
||||
babel-walk: 3.0.0-canary-5
|
||||
|
||||
|
|
31
scripts/dependency-patches/vite.patch
Normal file
31
scripts/dependency-patches/vite.patch
Normal file
|
@ -0,0 +1,31 @@
|
|||
diff --git a/dist/node/chunks/dep-DrOo5SEf.js b/dist/node/chunks/dep-DrOo5SEf.js
|
||||
index 329e68bd27e55a56d815fa6b4de2d615a8c2b343..9d9f58e90ae836f80063b698e307fec436e53e07 100644
|
||||
--- a/dist/node/chunks/dep-DrOo5SEf.js
|
||||
+++ b/dist/node/chunks/dep-DrOo5SEf.js
|
||||
@@ -45971,7 +45971,7 @@ function importAnalysisPlugin(config) {
|
||||
let isPartiallySelfAccepting = false;
|
||||
const importedBindings = enablePartialAccept ? /* @__PURE__ */ new Map() : null;
|
||||
const toAbsoluteUrl = (url) => path$d.posix.resolve(path$d.posix.dirname(importerModule.url), url);
|
||||
- const normalizeUrl = async (url, pos, forceSkipImportAnalysis = false) => {
|
||||
+ const normalizeUrl = async (url, pos, forceSkipImportAnalysis = false, stripBase2 = false) => {
|
||||
url = stripBase(url, base);
|
||||
let importerFile = importer;
|
||||
if (depsOptimizer && moduleListContains(depsOptimizer.options.exclude, url)) {
|
||||
@@ -46031,7 +46031,7 @@ function importAnalysisPlugin(config) {
|
||||
e.pos = pos;
|
||||
throw e;
|
||||
}
|
||||
- if (!ssr) url = joinUrlSegments(base, url);
|
||||
+ if (!ssr && !stripBase2) url = joinUrlSegments(base, url);
|
||||
return [url, resolved.id];
|
||||
};
|
||||
const orderedImportedUrls = new Array(imports.length);
|
||||
@@ -46288,7 +46288,7 @@ See ${colors$1.blue(
|
||||
const pluginImports = this._addedImports;
|
||||
if (pluginImports) {
|
||||
(await Promise.all(
|
||||
- [...pluginImports].map((id) => normalizeUrl(id, 0, true))
|
||||
+ [...pluginImports].map((id) => normalizeUrl(id, 0, true, true))
|
||||
)).forEach(([url]) => importedUrls.add(url));
|
||||
}
|
||||
if (ssr && importerModule.isSelfAccepting) {
|
Loading…
Add table
Reference in a new issue