parent
b98f9f9baa
commit
66fd052709
|
@ -8,7 +8,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
deploy-push-ftp:
|
deploy-push-ftp:
|
||||||
name: Deploy Push Ftp
|
name: Deploy Push Ftp
|
||||||
if: github.actor != 'dependabot[bot]' && !contains(github.event.head_commit.message, '[skip ci]')
|
if: github.actor != 'dependabot[bot]' && !contains(github.event.head_commit.message, '[skip ci]') && contains(github.event.head_commit.message, '[deploy]')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# 应用标题
|
# 应用标题
|
||||||
VITE_GLOB_APP_TITLE=Vben Admin
|
VITE_APP_TITLE=Vben Admin
|
||||||
|
|
||||||
# 应用命名空间,用于缓存、store等功能的前缀,确保隔离
|
# 应用命名空间,用于缓存、store等功能的前缀,确保隔离
|
||||||
VITE_APP_NAMESPACE=vben-web-antd
|
VITE_APP_NAMESPACE=vben-web-antd
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
name="viewport"
|
name="viewport"
|
||||||
content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0"
|
content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0"
|
||||||
/>
|
/>
|
||||||
<!-- 由 vite 注入 VITE_GLOB_APP_TITLE 变量,在 .env 文件内配置 -->
|
<!-- 由 vite 注入 VITE_APP_TITLE 变量,在 .env 文件内配置 -->
|
||||||
<title><%= VITE_GLOB_APP_TITLE %></title>
|
<title><%= VITE_APP_TITLE %></title>
|
||||||
<link rel="icon" href="/favicon.ico" />
|
<link rel="icon" href="/favicon.ico" />
|
||||||
<script>
|
<script>
|
||||||
// 生产环境下注入百度统计
|
// 生产环境下注入百度统计
|
||||||
|
|
|
@ -1,15 +1,9 @@
|
||||||
import { useAppConfig } from '@vben/hooks';
|
|
||||||
import { defineOverridesPreferences } from '@vben/preferences';
|
import { defineOverridesPreferences } from '@vben/preferences';
|
||||||
|
|
||||||
const { appTitle } = useAppConfig(import.meta.env, import.meta.env.PROD);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description 项目配置文件
|
* @description 项目配置文件
|
||||||
* 只需要覆盖项目中的一部分配置,不需要的配置不用覆盖,会自动使用默认配置
|
* 只需要覆盖项目中的一部分配置,不需要的配置不用覆盖,会自动使用默认配置
|
||||||
*/
|
*/
|
||||||
export const overridesPreferences = defineOverridesPreferences({
|
export const overridesPreferences = defineOverridesPreferences({
|
||||||
// overrides
|
// overrides
|
||||||
app: {
|
|
||||||
name: appTitle,
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,24 +1,10 @@
|
||||||
import {
|
import { defineConfig } from '@vben/vite-config';
|
||||||
defaultImportmapOptions,
|
|
||||||
defineConfig,
|
|
||||||
getDefaultPwaOptions,
|
|
||||||
loadAndConvertEnv,
|
|
||||||
} from '@vben/vite-config';
|
|
||||||
|
|
||||||
export default defineConfig(async () => {
|
export default defineConfig(async () => {
|
||||||
const { appTitle, base, port, ...envConfig } = await loadAndConvertEnv();
|
|
||||||
return {
|
return {
|
||||||
application: {
|
application: {},
|
||||||
...envConfig,
|
|
||||||
importmap: false,
|
|
||||||
importmapOptions: defaultImportmapOptions,
|
|
||||||
pwa: false,
|
|
||||||
pwaOptions: getDefaultPwaOptions(appTitle),
|
|
||||||
},
|
|
||||||
vite: {
|
vite: {
|
||||||
base,
|
|
||||||
server: {
|
server: {
|
||||||
port,
|
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
'/api': {
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
|
|
|
@ -8,11 +8,14 @@ import { findMonorepoRoot } from '@vben/node-utils';
|
||||||
|
|
||||||
import { defineConfig, loadEnv, mergeConfig } from 'vite';
|
import { defineConfig, loadEnv, mergeConfig } from 'vite';
|
||||||
|
|
||||||
|
import { getDefaultPwaOptions } from '../options';
|
||||||
import { loadApplicationPlugins } from '../plugins';
|
import { loadApplicationPlugins } from '../plugins';
|
||||||
|
import { loadAndConvertEnv } from '../utils/env';
|
||||||
import { getCommonConfig } from './common';
|
import { getCommonConfig } from './common';
|
||||||
|
|
||||||
function defineApplicationConfig(userConfigPromise: DefineApplicationOptions) {
|
function defineApplicationConfig(userConfigPromise: DefineApplicationOptions) {
|
||||||
return defineConfig(async (config) => {
|
return defineConfig(async (config) => {
|
||||||
|
const { appTitle, base, port, ...envConfig } = await loadAndConvertEnv();
|
||||||
const options = await userConfigPromise?.(config);
|
const options = await userConfigPromise?.(config);
|
||||||
const { command, mode } = config;
|
const { command, mode } = config;
|
||||||
const { application = {}, vite = {} } = options || {};
|
const { application = {}, vite = {} } = options || {};
|
||||||
|
@ -40,12 +43,15 @@ function defineApplicationConfig(userConfigPromise: DefineApplicationOptions) {
|
||||||
'Vben Admin Docs': 'https://docs.vben.pro',
|
'Vben Admin Docs': 'https://docs.vben.pro',
|
||||||
},
|
},
|
||||||
pwa: true,
|
pwa: true,
|
||||||
|
pwaOptions: getDefaultPwaOptions(appTitle),
|
||||||
|
...envConfig,
|
||||||
...application,
|
...application,
|
||||||
});
|
});
|
||||||
|
|
||||||
const { injectGlobalScss = true } = application;
|
const { injectGlobalScss = true } = application;
|
||||||
|
|
||||||
const applicationConfig: UserConfig = {
|
const applicationConfig: UserConfig = {
|
||||||
|
base,
|
||||||
build: {
|
build: {
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
output: {
|
output: {
|
||||||
|
@ -69,6 +75,7 @@ function defineApplicationConfig(userConfigPromise: DefineApplicationOptions) {
|
||||||
plugins,
|
plugins,
|
||||||
server: {
|
server: {
|
||||||
host: true,
|
host: true,
|
||||||
|
port,
|
||||||
warmup: {
|
warmup: {
|
||||||
// 预热文件
|
// 预热文件
|
||||||
clientFiles: ['./index.html', './src/{views,layouts}/*'],
|
clientFiles: ['./index.html', './src/{views,layouts}/*'],
|
||||||
|
|
|
@ -28,7 +28,7 @@ const getDefaultPwaOptions = (name: string): Partial<PwaPluginOptions> => ({
|
||||||
const defaultImportmapOptions: ImportmapPluginOptions = {
|
const defaultImportmapOptions: ImportmapPluginOptions = {
|
||||||
// 通过 Importmap CDN 方式引入,
|
// 通过 Importmap CDN 方式引入,
|
||||||
// 目前只有esm.sh源兼容性好一点,jspm.io对于 esm 入口要求高
|
// 目前只有esm.sh源兼容性好一点,jspm.io对于 esm 入口要求高
|
||||||
defaultProvider: 'esm.sh',
|
defaultProvider: 'jspm.io',
|
||||||
importmap: [
|
importmap: [
|
||||||
{ name: 'vue' },
|
{ name: 'vue' },
|
||||||
{ name: 'pinia' },
|
{ name: 'pinia' },
|
||||||
|
|
|
@ -110,5 +110,5 @@
|
||||||
</style>
|
</style>
|
||||||
<div class="loading" id="__app-loading__">
|
<div class="loading" id="__app-loading__">
|
||||||
<span class="dot dot-spin"><i></i><i></i><i></i><i></i></span>
|
<span class="dot dot-spin"><i></i><i></i><i></i><i></i></span>
|
||||||
<div class="title"><%= VITE_GLOB_APP_TITLE %></div>
|
<div class="title"><%= VITE_APP_TITLE %></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -109,5 +109,5 @@
|
||||||
</style>
|
</style>
|
||||||
<div class="loading" id="__app-loading__">
|
<div class="loading" id="__app-loading__">
|
||||||
<div class="loader"></div>
|
<div class="loader"></div>
|
||||||
<div class="title"><%= VITE_GLOB_APP_TITLE %></div>
|
<div class="title"><%= VITE_APP_TITLE %></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -64,10 +64,10 @@ async function loadAndConvertEnv(
|
||||||
> {
|
> {
|
||||||
const envConfig = await loadEnv(match, confFiles);
|
const envConfig = await loadEnv(match, confFiles);
|
||||||
const {
|
const {
|
||||||
|
VITE_APP_TITLE,
|
||||||
VITE_BASE,
|
VITE_BASE,
|
||||||
VITE_COMPRESS,
|
VITE_COMPRESS,
|
||||||
VITE_DEVTOOLS,
|
VITE_DEVTOOLS,
|
||||||
VITE_GLOB_APP_TITLE,
|
|
||||||
VITE_INJECT_APP_LOADING,
|
VITE_INJECT_APP_LOADING,
|
||||||
VITE_NITRO_MOCK,
|
VITE_NITRO_MOCK,
|
||||||
VITE_PORT,
|
VITE_PORT,
|
||||||
|
@ -80,7 +80,7 @@ async function loadAndConvertEnv(
|
||||||
.filter((item) => item === 'brotli' || item === 'gzip');
|
.filter((item) => item === 'brotli' || item === 'gzip');
|
||||||
|
|
||||||
return {
|
return {
|
||||||
appTitle: VITE_GLOB_APP_TITLE ?? 'Vben Admin',
|
appTitle: VITE_APP_TITLE ?? 'Vben Admin',
|
||||||
base: VITE_BASE || '/',
|
base: VITE_BASE || '/',
|
||||||
compress: !!compress,
|
compress: !!compress,
|
||||||
compressTypes: compressTypes as ('brotli' | 'gzip')[],
|
compressTypes: compressTypes as ('brotli' | 'gzip')[],
|
||||||
|
|
14
package.json
14
package.json
|
@ -31,14 +31,13 @@
|
||||||
"build:analyze": "turbo build:analyze",
|
"build:analyze": "turbo build:analyze",
|
||||||
"build:docker": "./build-local-docker-image.sh",
|
"build:docker": "./build-local-docker-image.sh",
|
||||||
"changeset": "pnpm exec changeset",
|
"changeset": "pnpm exec changeset",
|
||||||
"check": "pnpm run check:dep && pnpm run check:circular && pnpm run check:type && pnpm run check:cspell",
|
"check": "pnpm run check:circular && pnpm run check:dep && pnpm run check:type",
|
||||||
"check:circular": "vsh check-circular",
|
"check:circular": "vsh check-circular",
|
||||||
"check:cspell": "cspell lint \"**/*.ts\" \"**/README.md\" \".changeset/*.md\" --no-progress",
|
|
||||||
"check:dep": "vsh check-dep",
|
"check:dep": "vsh check-dep",
|
||||||
"check:type": "turbo run typecheck",
|
"check:type": "turbo run typecheck",
|
||||||
"clean": "vsh clean",
|
"clean": "vsh clean",
|
||||||
"commit": "czg",
|
"commit": "czg",
|
||||||
"dev": "cross-env TURBO_UI=1 turbo run dev",
|
"dev": "cross-env turbo run dev",
|
||||||
"dev:docs": "pnpm -F @vben/website run docs:dev",
|
"dev:docs": "pnpm -F @vben/website run docs:dev",
|
||||||
"format": "vsh lint --format",
|
"format": "vsh lint --format",
|
||||||
"lint": "vsh lint",
|
"lint": "vsh lint",
|
||||||
|
@ -56,7 +55,7 @@
|
||||||
"@changesets/cli": "^2.27.7",
|
"@changesets/cli": "^2.27.7",
|
||||||
"@ls-lint/ls-lint": "^2.2.3",
|
"@ls-lint/ls-lint": "^2.2.3",
|
||||||
"@types/jsdom": "^21.1.7",
|
"@types/jsdom": "^21.1.7",
|
||||||
"@types/node": "^20.14.12",
|
"@types/node": "^22.0.0",
|
||||||
"@vben/commitlint-config": "workspace:*",
|
"@vben/commitlint-config": "workspace:*",
|
||||||
"@vben/eslint-config": "workspace:*",
|
"@vben/eslint-config": "workspace:*",
|
||||||
"@vben/lint-staged-config": "workspace:*",
|
"@vben/lint-staged-config": "workspace:*",
|
||||||
|
@ -95,11 +94,6 @@
|
||||||
"canvas",
|
"canvas",
|
||||||
"node-gyp",
|
"node-gyp",
|
||||||
"playwright"
|
"playwright"
|
||||||
],
|
]
|
||||||
"updateConfig": {
|
|
||||||
"ignoreDependencies": [
|
|
||||||
"zx"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,7 @@ function handleClick(path?: string) {
|
||||||
>
|
>
|
||||||
<li>
|
<li>
|
||||||
<a href="javascript:void 0" @click.stop="handleClick(item.path)">
|
<a href="javascript:void 0" @click.stop="handleClick(item.path)">
|
||||||
<span class="flex-center h-full">
|
<span class="flex-center z-10 h-full">
|
||||||
<VbenIcon
|
<VbenIcon
|
||||||
v-if="item.icon && showIcon"
|
v-if="item.icon && showIcon"
|
||||||
:icon="item.icon"
|
:icon="item.icon"
|
||||||
|
|
|
@ -11,6 +11,7 @@ import { cn } from '@vben-core/toolkit';
|
||||||
interface Props {
|
interface Props {
|
||||||
class?: HTMLAttributes['class'];
|
class?: HTMLAttributes['class'];
|
||||||
horizontal?: boolean;
|
horizontal?: boolean;
|
||||||
|
scrollBarClass?: HTMLAttributes['class'];
|
||||||
shadow?: boolean;
|
shadow?: boolean;
|
||||||
shadowBorder?: boolean;
|
shadowBorder?: boolean;
|
||||||
}
|
}
|
||||||
|
@ -58,7 +59,11 @@ function handleScroll(event: Event) {
|
||||||
}"
|
}"
|
||||||
class="scrollbar-bottom-shadow pointer-events-none absolute bottom-0 z-10 h-12 w-full opacity-0 transition-opacity duration-300 ease-in-out will-change-[opacity]"
|
class="scrollbar-bottom-shadow pointer-events-none absolute bottom-0 z-10 h-12 w-full opacity-0 transition-opacity duration-300 ease-in-out will-change-[opacity]"
|
||||||
></div>
|
></div>
|
||||||
<ScrollBar v-if="horizontal" orientation="horizontal" />
|
<ScrollBar
|
||||||
|
v-if="horizontal"
|
||||||
|
:class="scrollBarClass"
|
||||||
|
orientation="horizontal"
|
||||||
|
/>
|
||||||
</ScrollArea>
|
</ScrollArea>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,11 @@ function scrollIntoView() {
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div :style="style" class="tabs-chrome size-full flex-1 overflow-hidden pt-1">
|
<div :style="style" class="tabs-chrome size-full flex-1 overflow-hidden pt-1">
|
||||||
<VbenScrollbar class="tabs-chrome__scrollbar h-full" horizontal>
|
<VbenScrollbar
|
||||||
|
class="tabs-chrome__scrollbar h-full"
|
||||||
|
horizontal
|
||||||
|
scroll-bar-class="z-10"
|
||||||
|
>
|
||||||
<!-- footer -> 4px -->
|
<!-- footer -> 4px -->
|
||||||
<div
|
<div
|
||||||
ref="contentRef"
|
ref="contentRef"
|
||||||
|
|
|
@ -72,7 +72,11 @@ function scrollIntoView() {
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="h-full flex-1 overflow-hidden">
|
<div class="h-full flex-1 overflow-hidden">
|
||||||
<VbenScrollbar class="tabs-scrollbar h-full" horizontal>
|
<VbenScrollbar
|
||||||
|
class="tabs-scrollbar h-full"
|
||||||
|
horizontal
|
||||||
|
scroll-bar-class="z-10"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
:class="contentClass"
|
:class="contentClass"
|
||||||
class="relative !flex h-full w-max items-center"
|
class="relative !flex h-full w-max items-center"
|
||||||
|
|
|
@ -45,6 +45,11 @@ async function initTabsSortable() {
|
||||||
|
|
||||||
const el = document.querySelectorAll(`.${contentClass}`)?.[0] as HTMLElement;
|
const el = document.querySelectorAll(`.${contentClass}`)?.[0] as HTMLElement;
|
||||||
|
|
||||||
|
const resetElState = () => {
|
||||||
|
el.style.cursor = 'default';
|
||||||
|
el.classList.remove('dragging');
|
||||||
|
};
|
||||||
|
|
||||||
const { initializeSortable } = useSortable(el, {
|
const { initializeSortable } = useSortable(el, {
|
||||||
filter: (_evt, target: HTMLElement) => {
|
filter: (_evt, target: HTMLElement) => {
|
||||||
const parent = findParentElement(target);
|
const parent = findParentElement(target);
|
||||||
|
@ -57,16 +62,20 @@ async function initTabsSortable() {
|
||||||
const { srcElement } = (evt as any).originalEvent;
|
const { srcElement } = (evt as any).originalEvent;
|
||||||
|
|
||||||
if (!srcElement) {
|
if (!srcElement) {
|
||||||
|
resetElState();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const srcParent = findParentElement(srcElement);
|
const srcParent = findParentElement(srcElement);
|
||||||
|
|
||||||
if (!srcParent) {
|
if (!srcParent) {
|
||||||
|
resetElState();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!srcParent.classList.contains('dragable')) {
|
if (!srcParent.classList.contains('dragable')) {
|
||||||
|
resetElState();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -79,8 +88,7 @@ async function initTabsSortable() {
|
||||||
) {
|
) {
|
||||||
emit('sortTabs', oldIndex, newIndex);
|
emit('sortTabs', oldIndex, newIndex);
|
||||||
}
|
}
|
||||||
el.classList.remove('dragging');
|
resetElState();
|
||||||
el.style.cursor = 'default';
|
|
||||||
},
|
},
|
||||||
onMove(evt) {
|
onMove(evt) {
|
||||||
const parent = findParentElement(evt.related);
|
const parent = findParentElement(evt.related);
|
||||||
|
|
|
@ -15,10 +15,9 @@ export function useAppConfig(
|
||||||
? window._VBEN_ADMIN_PRO_APP_CONF_
|
? window._VBEN_ADMIN_PRO_APP_CONF_
|
||||||
: (env as VbenAdminProAppConfigRaw);
|
: (env as VbenAdminProAppConfigRaw);
|
||||||
|
|
||||||
const { VITE_GLOB_API_URL, VITE_GLOB_APP_TITLE } = config;
|
const { VITE_GLOB_API_URL } = config;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
apiURL: VITE_GLOB_API_URL,
|
apiURL: VITE_GLOB_API_URL,
|
||||||
appTitle: VITE_GLOB_APP_TITLE,
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -121,7 +121,10 @@ export const useCoreTabbarStore = defineStore('core-tabbar', {
|
||||||
} else {
|
} else {
|
||||||
// 页面已经存在,不重复添加选项卡,只更新选项卡参数
|
// 页面已经存在,不重复添加选项卡,只更新选项卡参数
|
||||||
const currentTab = toRaw(this.tabs)[tabIndex];
|
const currentTab = toRaw(this.tabs)[tabIndex];
|
||||||
this.tabs.splice(tabIndex, 1, { ...currentTab, ...tab });
|
if (!currentTab.meta.affixTab) {
|
||||||
|
const mergedTab = { ...currentTab, ...tab };
|
||||||
|
this.tabs.splice(tabIndex, 1, mergedTab);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
this.updateCacheTab();
|
this.updateCacheTab();
|
||||||
},
|
},
|
||||||
|
@ -269,7 +272,8 @@ export const useCoreTabbarStore = defineStore('core-tabbar', {
|
||||||
);
|
);
|
||||||
if (index !== -1) {
|
if (index !== -1) {
|
||||||
tab.meta.affixTab = true;
|
tab.meta.affixTab = true;
|
||||||
this.addTab(tab);
|
// this.addTab(tab);
|
||||||
|
this.tabs.splice(index, 1, tab);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -369,7 +373,8 @@ export const useCoreTabbarStore = defineStore('core-tabbar', {
|
||||||
|
|
||||||
if (index !== -1) {
|
if (index !== -1) {
|
||||||
tab.meta.affixTab = false;
|
tab.meta.affixTab = false;
|
||||||
this.addTab(tab);
|
// this.addTab(tab);
|
||||||
|
this.tabs.splice(index, 1, tab);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -8,12 +8,10 @@ declare module 'vue-router' {
|
||||||
|
|
||||||
export interface VbenAdminProAppConfigRaw {
|
export interface VbenAdminProAppConfigRaw {
|
||||||
VITE_GLOB_API_URL: string;
|
VITE_GLOB_API_URL: string;
|
||||||
VITE_GLOB_APP_TITLE: string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ApplicationConfig {
|
export interface ApplicationConfig {
|
||||||
apiURL: string;
|
apiURL: string;
|
||||||
appTitle: string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
|
|
179
pnpm-lock.yaml
179
pnpm-lock.yaml
|
@ -26,8 +26,8 @@ importers:
|
||||||
specifier: ^21.1.7
|
specifier: ^21.1.7
|
||||||
version: 21.1.7
|
version: 21.1.7
|
||||||
'@types/node':
|
'@types/node':
|
||||||
specifier: ^20.14.12
|
specifier: ^22.0.0
|
||||||
version: 20.14.12
|
version: 22.0.0
|
||||||
'@vben/commitlint-config':
|
'@vben/commitlint-config':
|
||||||
specifier: workspace:*
|
specifier: workspace:*
|
||||||
version: link:internal/lint-configs/commitlint-config
|
version: link:internal/lint-configs/commitlint-config
|
||||||
|
@ -87,10 +87,10 @@ importers:
|
||||||
version: 2.0.0(sass@1.77.8)(typescript@5.5.4)(vue-tsc@2.0.29(typescript@5.5.4))
|
version: 2.0.0(sass@1.77.8)(typescript@5.5.4)(vue-tsc@2.0.29(typescript@5.5.4))
|
||||||
vite:
|
vite:
|
||||||
specifier: ^5.3.5
|
specifier: ^5.3.5
|
||||||
version: 5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3)
|
version: 5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3)
|
||||||
vitest:
|
vitest:
|
||||||
specifier: ^2.0.4
|
specifier: ^2.0.4
|
||||||
version: 2.0.4(@types/node@20.14.12)(jsdom@24.1.1)(sass@1.77.8)(terser@5.31.3)
|
version: 2.0.4(@types/node@22.0.0)(jsdom@24.1.1)(sass@1.77.8)(terser@5.31.3)
|
||||||
vue-tsc:
|
vue-tsc:
|
||||||
specifier: ^2.0.29
|
specifier: ^2.0.29
|
||||||
version: 2.0.29(typescript@5.5.4)
|
version: 2.0.29(typescript@5.5.4)
|
||||||
|
@ -168,7 +168,7 @@ importers:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@commitlint/cli':
|
'@commitlint/cli':
|
||||||
specifier: ^19.3.0
|
specifier: ^19.3.0
|
||||||
version: 19.3.0(@types/node@20.14.12)(typescript@5.5.4)
|
version: 19.3.0(@types/node@22.0.0)(typescript@5.5.4)
|
||||||
'@commitlint/config-conventional':
|
'@commitlint/config-conventional':
|
||||||
specifier: ^19.2.2
|
specifier: ^19.2.2
|
||||||
version: 19.2.2
|
version: 19.2.2
|
||||||
|
@ -247,7 +247,7 @@ importers:
|
||||||
version: 4.0.1(@typescript-eslint/eslint-plugin@7.17.0(@typescript-eslint/parser@7.17.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)
|
version: 4.0.1(@typescript-eslint/eslint-plugin@7.17.0(@typescript-eslint/parser@7.17.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)
|
||||||
eslint-plugin-vitest:
|
eslint-plugin-vitest:
|
||||||
specifier: ^0.5.4
|
specifier: ^0.5.4
|
||||||
version: 0.5.4(@typescript-eslint/eslint-plugin@7.17.0(@typescript-eslint/parser@7.17.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)(vitest@2.0.4(@types/node@20.14.12)(jsdom@24.1.1)(sass@1.77.8)(terser@5.31.3))
|
version: 0.5.4(@typescript-eslint/eslint-plugin@7.17.0(@typescript-eslint/parser@7.17.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)(vitest@2.0.4(@types/node@22.0.0)(jsdom@24.1.1)(sass@1.77.8)(terser@5.31.3))
|
||||||
eslint-plugin-vue:
|
eslint-plugin-vue:
|
||||||
specifier: ^9.27.0
|
specifier: ^9.27.0
|
||||||
version: 9.27.0(eslint@9.8.0)
|
version: 9.27.0(eslint@9.8.0)
|
||||||
|
@ -408,7 +408,7 @@ importers:
|
||||||
version: link:../../packages/types
|
version: link:../../packages/types
|
||||||
vite:
|
vite:
|
||||||
specifier: ^5.3.5
|
specifier: ^5.3.5
|
||||||
version: 5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3)
|
version: 5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3)
|
||||||
|
|
||||||
internal/vite-config:
|
internal/vite-config:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -432,13 +432,13 @@ importers:
|
||||||
version: 2.0.2
|
version: 2.0.2
|
||||||
vite-plugin-lib-inject-css:
|
vite-plugin-lib-inject-css:
|
||||||
specifier: ^2.1.1
|
specifier: ^2.1.1
|
||||||
version: 2.1.1(vite@5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3))
|
version: 2.1.1(vite@5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3))
|
||||||
vite-plugin-pwa:
|
vite-plugin-pwa:
|
||||||
specifier: ^0.20.1
|
specifier: ^0.20.1
|
||||||
version: 0.20.1(vite@5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3))(workbox-build@7.1.1)(workbox-window@7.1.0)
|
version: 0.20.1(vite@5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3))(workbox-build@7.1.1)(workbox-window@7.1.0)
|
||||||
vite-plugin-vue-devtools:
|
vite-plugin-vue-devtools:
|
||||||
specifier: ^7.3.7
|
specifier: ^7.3.7
|
||||||
version: 7.3.7(rollup@4.19.1)(vite@5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3))(vue@3.4.34(typescript@5.5.4))
|
version: 7.3.7(rollup@4.19.1)(vite@5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3))(vue@3.4.34(typescript@5.5.4))
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@types/html-minifier-terser':
|
'@types/html-minifier-terser':
|
||||||
specifier: ^7.0.2
|
specifier: ^7.0.2
|
||||||
|
@ -448,10 +448,10 @@ importers:
|
||||||
version: link:../node-utils
|
version: link:../node-utils
|
||||||
'@vitejs/plugin-vue':
|
'@vitejs/plugin-vue':
|
||||||
specifier: ^5.1.1
|
specifier: ^5.1.1
|
||||||
version: 5.1.1(vite@5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3))(vue@3.4.34(typescript@5.5.4))
|
version: 5.1.1(vite@5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3))(vue@3.4.34(typescript@5.5.4))
|
||||||
'@vitejs/plugin-vue-jsx':
|
'@vitejs/plugin-vue-jsx':
|
||||||
specifier: ^4.0.0
|
specifier: ^4.0.0
|
||||||
version: 4.0.0(vite@5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3))(vue@3.4.34(typescript@5.5.4))
|
version: 4.0.0(vite@5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3))(vue@3.4.34(typescript@5.5.4))
|
||||||
dayjs:
|
dayjs:
|
||||||
specifier: ^1.11.12
|
specifier: ^1.11.12
|
||||||
version: 1.11.12
|
version: 1.11.12
|
||||||
|
@ -469,16 +469,16 @@ importers:
|
||||||
version: 1.77.8
|
version: 1.77.8
|
||||||
vite:
|
vite:
|
||||||
specifier: ^5.3.5
|
specifier: ^5.3.5
|
||||||
version: 5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3)
|
version: 5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3)
|
||||||
vite-plugin-compression:
|
vite-plugin-compression:
|
||||||
specifier: ^0.5.1
|
specifier: ^0.5.1
|
||||||
version: 0.5.1(vite@5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3))
|
version: 0.5.1(vite@5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3))
|
||||||
vite-plugin-dts:
|
vite-plugin-dts:
|
||||||
specifier: 4.0.0-beta.1
|
specifier: 4.0.0-beta.1
|
||||||
version: 4.0.0-beta.1(@types/node@20.14.12)(rollup@4.19.1)(typescript@5.5.4)(vite@5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3))
|
version: 4.0.0-beta.1(@types/node@22.0.0)(rollup@4.19.1)(typescript@5.5.4)(vite@5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3))
|
||||||
vite-plugin-html:
|
vite-plugin-html:
|
||||||
specifier: ^3.2.2
|
specifier: ^3.2.2
|
||||||
version: 3.2.2(vite@5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3))
|
version: 3.2.2(vite@5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3))
|
||||||
|
|
||||||
packages/@core/hooks:
|
packages/@core/hooks:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -946,7 +946,7 @@ importers:
|
||||||
devDependencies:
|
devDependencies:
|
||||||
vitepress:
|
vitepress:
|
||||||
specifier: ^1.3.1
|
specifier: ^1.3.1
|
||||||
version: 1.3.1(@algolia/client-search@4.24.0)(@types/node@20.14.12)(async-validator@4.2.5)(axios@1.7.2)(nprogress@0.2.0)(postcss@8.4.40)(qrcode@1.5.3)(sass@1.77.8)(search-insights@2.15.0)(sortablejs@1.15.2)(terser@5.31.3)(typescript@5.5.4)
|
version: 1.3.1(@algolia/client-search@4.24.0)(@types/node@22.0.0)(async-validator@4.2.5)(axios@1.7.2)(nprogress@0.2.0)(postcss@8.4.40)(qrcode@1.5.3)(sass@1.77.8)(search-insights@2.15.0)(sortablejs@1.15.2)(terser@5.31.3)(typescript@5.5.4)
|
||||||
vue:
|
vue:
|
||||||
specifier: ^3.4.34
|
specifier: ^3.4.34
|
||||||
version: 3.4.34(typescript@5.5.4)
|
version: 3.4.34(typescript@5.5.4)
|
||||||
|
@ -3672,6 +3672,9 @@ packages:
|
||||||
'@types/node@20.14.12':
|
'@types/node@20.14.12':
|
||||||
resolution: {integrity: sha512-r7wNXakLeSsGT0H1AU863vS2wa5wBOK4bWMjZz2wj+8nBx+m5PeIn0k8AloSLpRuiwdRQZwarZqHE4FNArPuJQ==}
|
resolution: {integrity: sha512-r7wNXakLeSsGT0H1AU863vS2wa5wBOK4bWMjZz2wj+8nBx+m5PeIn0k8AloSLpRuiwdRQZwarZqHE4FNArPuJQ==}
|
||||||
|
|
||||||
|
'@types/node@22.0.0':
|
||||||
|
resolution: {integrity: sha512-VT7KSYudcPOzP5Q0wfbowyNLaVR8QWUdw+088uFWwfvpY6uCWaXpqV6ieLAu9WBcnTa7H4Z5RLK8I5t2FuOcqw==}
|
||||||
|
|
||||||
'@types/normalize-package-data@2.4.4':
|
'@types/normalize-package-data@2.4.4':
|
||||||
resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==}
|
resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==}
|
||||||
|
|
||||||
|
@ -8636,6 +8639,9 @@ packages:
|
||||||
undici-types@5.26.5:
|
undici-types@5.26.5:
|
||||||
resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==}
|
resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==}
|
||||||
|
|
||||||
|
undici-types@6.11.1:
|
||||||
|
resolution: {integrity: sha512-mIDEX2ek50x0OlRgxryxsenE5XaQD4on5U2inY7RApK3SOJpofyw7uW2AyfMKkhAxXIceo2DeWGVGwyvng1GNQ==}
|
||||||
|
|
||||||
undici@5.28.4:
|
undici@5.28.4:
|
||||||
resolution: {integrity: sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==}
|
resolution: {integrity: sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==}
|
||||||
engines: {node: '>=14.0'}
|
engines: {node: '>=14.0'}
|
||||||
|
@ -10475,11 +10481,11 @@ snapshots:
|
||||||
dependencies:
|
dependencies:
|
||||||
mime: 3.0.0
|
mime: 3.0.0
|
||||||
|
|
||||||
'@commitlint/cli@19.3.0(@types/node@20.14.12)(typescript@5.5.4)':
|
'@commitlint/cli@19.3.0(@types/node@22.0.0)(typescript@5.5.4)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@commitlint/format': 19.3.0
|
'@commitlint/format': 19.3.0
|
||||||
'@commitlint/lint': 19.2.2
|
'@commitlint/lint': 19.2.2
|
||||||
'@commitlint/load': 19.2.0(@types/node@20.14.12)(typescript@5.5.4)
|
'@commitlint/load': 19.2.0(@types/node@22.0.0)(typescript@5.5.4)
|
||||||
'@commitlint/read': 19.2.1
|
'@commitlint/read': 19.2.1
|
||||||
'@commitlint/types': 19.0.3
|
'@commitlint/types': 19.0.3
|
||||||
execa: 8.0.1
|
execa: 8.0.1
|
||||||
|
@ -10526,7 +10532,7 @@ snapshots:
|
||||||
'@commitlint/rules': 19.0.3
|
'@commitlint/rules': 19.0.3
|
||||||
'@commitlint/types': 19.0.3
|
'@commitlint/types': 19.0.3
|
||||||
|
|
||||||
'@commitlint/load@19.2.0(@types/node@20.14.12)(typescript@5.5.4)':
|
'@commitlint/load@19.2.0(@types/node@22.0.0)(typescript@5.5.4)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@commitlint/config-validator': 19.0.3
|
'@commitlint/config-validator': 19.0.3
|
||||||
'@commitlint/execute-rule': 19.0.0
|
'@commitlint/execute-rule': 19.0.0
|
||||||
|
@ -10534,7 +10540,7 @@ snapshots:
|
||||||
'@commitlint/types': 19.0.3
|
'@commitlint/types': 19.0.3
|
||||||
chalk: 5.3.0
|
chalk: 5.3.0
|
||||||
cosmiconfig: 9.0.0(typescript@5.5.4)
|
cosmiconfig: 9.0.0(typescript@5.5.4)
|
||||||
cosmiconfig-typescript-loader: 5.0.0(@types/node@20.14.12)(cosmiconfig@9.0.0(typescript@5.5.4))(typescript@5.5.4)
|
cosmiconfig-typescript-loader: 5.0.0(@types/node@22.0.0)(cosmiconfig@9.0.0(typescript@5.5.4))(typescript@5.5.4)
|
||||||
lodash.isplainobject: 4.0.6
|
lodash.isplainobject: 4.0.6
|
||||||
lodash.merge: 4.6.2
|
lodash.merge: 4.6.2
|
||||||
lodash.uniq: 4.5.0
|
lodash.uniq: 4.5.0
|
||||||
|
@ -11565,23 +11571,23 @@ snapshots:
|
||||||
- encoding
|
- encoding
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
'@microsoft/api-extractor-model@7.29.3(@types/node@20.14.12)':
|
'@microsoft/api-extractor-model@7.29.3(@types/node@22.0.0)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@microsoft/tsdoc': 0.15.0
|
'@microsoft/tsdoc': 0.15.0
|
||||||
'@microsoft/tsdoc-config': 0.17.0
|
'@microsoft/tsdoc-config': 0.17.0
|
||||||
'@rushstack/node-core-library': 5.5.0(@types/node@20.14.12)
|
'@rushstack/node-core-library': 5.5.0(@types/node@22.0.0)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@types/node'
|
- '@types/node'
|
||||||
|
|
||||||
'@microsoft/api-extractor@7.47.2(@types/node@20.14.12)':
|
'@microsoft/api-extractor@7.47.2(@types/node@22.0.0)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@microsoft/api-extractor-model': 7.29.3(@types/node@20.14.12)
|
'@microsoft/api-extractor-model': 7.29.3(@types/node@22.0.0)
|
||||||
'@microsoft/tsdoc': 0.15.0
|
'@microsoft/tsdoc': 0.15.0
|
||||||
'@microsoft/tsdoc-config': 0.17.0
|
'@microsoft/tsdoc-config': 0.17.0
|
||||||
'@rushstack/node-core-library': 5.5.0(@types/node@20.14.12)
|
'@rushstack/node-core-library': 5.5.0(@types/node@22.0.0)
|
||||||
'@rushstack/rig-package': 0.5.2
|
'@rushstack/rig-package': 0.5.2
|
||||||
'@rushstack/terminal': 0.13.2(@types/node@20.14.12)
|
'@rushstack/terminal': 0.13.2(@types/node@22.0.0)
|
||||||
'@rushstack/ts-command-line': 4.22.2(@types/node@20.14.12)
|
'@rushstack/ts-command-line': 4.22.2(@types/node@22.0.0)
|
||||||
lodash: 4.17.21
|
lodash: 4.17.21
|
||||||
minimatch: 3.0.8
|
minimatch: 3.0.8
|
||||||
resolve: 1.22.8
|
resolve: 1.22.8
|
||||||
|
@ -11991,7 +11997,7 @@ snapshots:
|
||||||
'@rollup/rollup-win32-x64-msvc@4.19.1':
|
'@rollup/rollup-win32-x64-msvc@4.19.1':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rushstack/node-core-library@5.5.0(@types/node@20.14.12)':
|
'@rushstack/node-core-library@5.5.0(@types/node@22.0.0)':
|
||||||
dependencies:
|
dependencies:
|
||||||
ajv: 8.13.0
|
ajv: 8.13.0
|
||||||
ajv-draft-04: 1.0.0(ajv@8.13.0)
|
ajv-draft-04: 1.0.0(ajv@8.13.0)
|
||||||
|
@ -12002,23 +12008,23 @@ snapshots:
|
||||||
resolve: 1.22.8
|
resolve: 1.22.8
|
||||||
semver: 7.5.4
|
semver: 7.5.4
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@types/node': 20.14.12
|
'@types/node': 22.0.0
|
||||||
|
|
||||||
'@rushstack/rig-package@0.5.2':
|
'@rushstack/rig-package@0.5.2':
|
||||||
dependencies:
|
dependencies:
|
||||||
resolve: 1.22.8
|
resolve: 1.22.8
|
||||||
strip-json-comments: 3.1.1
|
strip-json-comments: 3.1.1
|
||||||
|
|
||||||
'@rushstack/terminal@0.13.2(@types/node@20.14.12)':
|
'@rushstack/terminal@0.13.2(@types/node@22.0.0)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@rushstack/node-core-library': 5.5.0(@types/node@20.14.12)
|
'@rushstack/node-core-library': 5.5.0(@types/node@22.0.0)
|
||||||
supports-color: 8.1.1
|
supports-color: 8.1.1
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@types/node': 20.14.12
|
'@types/node': 22.0.0
|
||||||
|
|
||||||
'@rushstack/ts-command-line@4.22.2(@types/node@20.14.12)':
|
'@rushstack/ts-command-line@4.22.2(@types/node@22.0.0)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@rushstack/terminal': 0.13.2(@types/node@20.14.12)
|
'@rushstack/terminal': 0.13.2(@types/node@22.0.0)
|
||||||
'@types/argparse': 1.0.38
|
'@types/argparse': 1.0.38
|
||||||
argparse: 1.0.10
|
argparse: 1.0.10
|
||||||
string-argv: 0.3.2
|
string-argv: 0.3.2
|
||||||
|
@ -12092,7 +12098,7 @@ snapshots:
|
||||||
|
|
||||||
'@types/conventional-commits-parser@5.0.0':
|
'@types/conventional-commits-parser@5.0.0':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/node': 20.14.12
|
'@types/node': 22.0.0
|
||||||
|
|
||||||
'@types/eslint@8.56.11':
|
'@types/eslint@8.56.11':
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -12111,7 +12117,7 @@ snapshots:
|
||||||
'@types/fs-extra@11.0.4':
|
'@types/fs-extra@11.0.4':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/jsonfile': 6.1.4
|
'@types/jsonfile': 6.1.4
|
||||||
'@types/node': 20.14.12
|
'@types/node': 22.0.0
|
||||||
|
|
||||||
'@types/hast@3.0.4':
|
'@types/hast@3.0.4':
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -12121,11 +12127,11 @@ snapshots:
|
||||||
|
|
||||||
'@types/http-proxy@1.17.14':
|
'@types/http-proxy@1.17.14':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/node': 20.14.12
|
'@types/node': 22.0.0
|
||||||
|
|
||||||
'@types/jsdom@21.1.7':
|
'@types/jsdom@21.1.7':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/node': 20.14.12
|
'@types/node': 22.0.0
|
||||||
'@types/tough-cookie': 4.0.5
|
'@types/tough-cookie': 4.0.5
|
||||||
parse5: 7.1.2
|
parse5: 7.1.2
|
||||||
|
|
||||||
|
@ -12133,7 +12139,7 @@ snapshots:
|
||||||
|
|
||||||
'@types/jsonfile@6.1.4':
|
'@types/jsonfile@6.1.4':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/node': 20.14.12
|
'@types/node': 22.0.0
|
||||||
|
|
||||||
'@types/linkify-it@5.0.0': {}
|
'@types/linkify-it@5.0.0': {}
|
||||||
|
|
||||||
|
@ -12167,6 +12173,11 @@ snapshots:
|
||||||
'@types/node@20.14.12':
|
'@types/node@20.14.12':
|
||||||
dependencies:
|
dependencies:
|
||||||
undici-types: 5.26.5
|
undici-types: 5.26.5
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
'@types/node@22.0.0':
|
||||||
|
dependencies:
|
||||||
|
undici-types: 6.11.1
|
||||||
|
|
||||||
'@types/normalize-package-data@2.4.4': {}
|
'@types/normalize-package-data@2.4.4': {}
|
||||||
|
|
||||||
|
@ -12299,19 +12310,19 @@ snapshots:
|
||||||
- encoding
|
- encoding
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
'@vitejs/plugin-vue-jsx@4.0.0(vite@5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3))(vue@3.4.34(typescript@5.5.4))':
|
'@vitejs/plugin-vue-jsx@4.0.0(vite@5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3))(vue@3.4.34(typescript@5.5.4))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/core': 7.24.9
|
'@babel/core': 7.24.9
|
||||||
'@babel/plugin-transform-typescript': 7.24.8(@babel/core@7.24.9)
|
'@babel/plugin-transform-typescript': 7.24.8(@babel/core@7.24.9)
|
||||||
'@vue/babel-plugin-jsx': 1.2.2(@babel/core@7.24.9)
|
'@vue/babel-plugin-jsx': 1.2.2(@babel/core@7.24.9)
|
||||||
vite: 5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3)
|
vite: 5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3)
|
||||||
vue: 3.4.34(typescript@5.5.4)
|
vue: 3.4.34(typescript@5.5.4)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
'@vitejs/plugin-vue@5.1.1(vite@5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3))(vue@3.4.34(typescript@5.5.4))':
|
'@vitejs/plugin-vue@5.1.1(vite@5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3))(vue@3.4.34(typescript@5.5.4))':
|
||||||
dependencies:
|
dependencies:
|
||||||
vite: 5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3)
|
vite: 5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3)
|
||||||
vue: 3.4.34(typescript@5.5.4)
|
vue: 3.4.34(typescript@5.5.4)
|
||||||
|
|
||||||
'@vitest/expect@2.0.4':
|
'@vitest/expect@2.0.4':
|
||||||
|
@ -12484,14 +12495,14 @@ snapshots:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@vue/devtools-kit': 7.3.6
|
'@vue/devtools-kit': 7.3.6
|
||||||
|
|
||||||
'@vue/devtools-core@7.3.7(vite@5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3))(vue@3.4.34(typescript@5.5.4))':
|
'@vue/devtools-core@7.3.7(vite@5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3))(vue@3.4.34(typescript@5.5.4))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@vue/devtools-kit': 7.3.7
|
'@vue/devtools-kit': 7.3.7
|
||||||
'@vue/devtools-shared': 7.3.7
|
'@vue/devtools-shared': 7.3.7
|
||||||
mitt: 3.0.1
|
mitt: 3.0.1
|
||||||
nanoid: 3.3.7
|
nanoid: 3.3.7
|
||||||
pathe: 1.1.2
|
pathe: 1.1.2
|
||||||
vite-hot-client: 0.2.3(vite@5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3))
|
vite-hot-client: 0.2.3(vite@5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3))
|
||||||
vue: 3.4.34(typescript@5.5.4)
|
vue: 3.4.34(typescript@5.5.4)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- vite
|
- vite
|
||||||
|
@ -13319,9 +13330,9 @@ snapshots:
|
||||||
|
|
||||||
core-util-is@1.0.3: {}
|
core-util-is@1.0.3: {}
|
||||||
|
|
||||||
cosmiconfig-typescript-loader@5.0.0(@types/node@20.14.12)(cosmiconfig@9.0.0(typescript@5.5.4))(typescript@5.5.4):
|
cosmiconfig-typescript-loader@5.0.0(@types/node@22.0.0)(cosmiconfig@9.0.0(typescript@5.5.4))(typescript@5.5.4):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/node': 20.14.12
|
'@types/node': 22.0.0
|
||||||
cosmiconfig: 9.0.0(typescript@5.5.4)
|
cosmiconfig: 9.0.0(typescript@5.5.4)
|
||||||
jiti: 1.21.6
|
jiti: 1.21.6
|
||||||
typescript: 5.5.4
|
typescript: 5.5.4
|
||||||
|
@ -14215,13 +14226,13 @@ snapshots:
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@typescript-eslint/eslint-plugin': 7.17.0(@typescript-eslint/parser@7.17.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)
|
'@typescript-eslint/eslint-plugin': 7.17.0(@typescript-eslint/parser@7.17.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)
|
||||||
|
|
||||||
eslint-plugin-vitest@0.5.4(@typescript-eslint/eslint-plugin@7.17.0(@typescript-eslint/parser@7.17.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)(vitest@2.0.4(@types/node@20.14.12)(jsdom@24.1.1)(sass@1.77.8)(terser@5.31.3)):
|
eslint-plugin-vitest@0.5.4(@typescript-eslint/eslint-plugin@7.17.0(@typescript-eslint/parser@7.17.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)(vitest@2.0.4(@types/node@22.0.0)(jsdom@24.1.1)(sass@1.77.8)(terser@5.31.3)):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@typescript-eslint/utils': 7.17.0(eslint@9.8.0)(typescript@5.5.4)
|
'@typescript-eslint/utils': 7.17.0(eslint@9.8.0)(typescript@5.5.4)
|
||||||
eslint: 9.8.0
|
eslint: 9.8.0
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@typescript-eslint/eslint-plugin': 7.17.0(@typescript-eslint/parser@7.17.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)
|
'@typescript-eslint/eslint-plugin': 7.17.0(@typescript-eslint/parser@7.17.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)
|
||||||
vitest: 2.0.4(@types/node@20.14.12)(jsdom@24.1.1)(sass@1.77.8)(terser@5.31.3)
|
vitest: 2.0.4(@types/node@22.0.0)(jsdom@24.1.1)(sass@1.77.8)(terser@5.31.3)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
- typescript
|
- typescript
|
||||||
|
@ -17745,6 +17756,8 @@ snapshots:
|
||||||
|
|
||||||
undici-types@5.26.5: {}
|
undici-types@5.26.5: {}
|
||||||
|
|
||||||
|
undici-types@6.11.1: {}
|
||||||
|
|
||||||
undici@5.28.4:
|
undici@5.28.4:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@fastify/busboy': 2.1.1
|
'@fastify/busboy': 2.1.1
|
||||||
|
@ -17904,17 +17917,17 @@ snapshots:
|
||||||
spdx-correct: 3.2.0
|
spdx-correct: 3.2.0
|
||||||
spdx-expression-parse: 3.0.1
|
spdx-expression-parse: 3.0.1
|
||||||
|
|
||||||
vite-hot-client@0.2.3(vite@5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3)):
|
vite-hot-client@0.2.3(vite@5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3)):
|
||||||
dependencies:
|
dependencies:
|
||||||
vite: 5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3)
|
vite: 5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3)
|
||||||
|
|
||||||
vite-node@2.0.4(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3):
|
vite-node@2.0.4(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3):
|
||||||
dependencies:
|
dependencies:
|
||||||
cac: 6.7.14
|
cac: 6.7.14
|
||||||
debug: 4.3.5
|
debug: 4.3.5
|
||||||
pathe: 1.1.2
|
pathe: 1.1.2
|
||||||
tinyrainbow: 1.2.0
|
tinyrainbow: 1.2.0
|
||||||
vite: 5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3)
|
vite: 5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@types/node'
|
- '@types/node'
|
||||||
- less
|
- less
|
||||||
|
@ -17925,18 +17938,18 @@ snapshots:
|
||||||
- supports-color
|
- supports-color
|
||||||
- terser
|
- terser
|
||||||
|
|
||||||
vite-plugin-compression@0.5.1(vite@5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3)):
|
vite-plugin-compression@0.5.1(vite@5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3)):
|
||||||
dependencies:
|
dependencies:
|
||||||
chalk: 4.1.2
|
chalk: 4.1.2
|
||||||
debug: 4.3.5
|
debug: 4.3.5
|
||||||
fs-extra: 10.1.0
|
fs-extra: 10.1.0
|
||||||
vite: 5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3)
|
vite: 5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
vite-plugin-dts@4.0.0-beta.1(@types/node@20.14.12)(rollup@4.19.1)(typescript@5.5.4)(vite@5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3)):
|
vite-plugin-dts@4.0.0-beta.1(@types/node@22.0.0)(rollup@4.19.1)(typescript@5.5.4)(vite@5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3)):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@microsoft/api-extractor': 7.47.2(@types/node@20.14.12)
|
'@microsoft/api-extractor': 7.47.2(@types/node@22.0.0)
|
||||||
'@rollup/pluginutils': 5.1.0(rollup@4.19.1)
|
'@rollup/pluginutils': 5.1.0(rollup@4.19.1)
|
||||||
'@volar/typescript': 2.3.4
|
'@volar/typescript': 2.3.4
|
||||||
'@vue/language-core': 2.0.19(typescript@5.5.4)
|
'@vue/language-core': 2.0.19(typescript@5.5.4)
|
||||||
|
@ -17948,13 +17961,13 @@ snapshots:
|
||||||
typescript: 5.5.4
|
typescript: 5.5.4
|
||||||
vue-tsc: 2.0.19(typescript@5.5.4)
|
vue-tsc: 2.0.19(typescript@5.5.4)
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
vite: 5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3)
|
vite: 5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@types/node'
|
- '@types/node'
|
||||||
- rollup
|
- rollup
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
vite-plugin-html@3.2.2(vite@5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3)):
|
vite-plugin-html@3.2.2(vite@5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3)):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@rollup/pluginutils': 4.2.1
|
'@rollup/pluginutils': 4.2.1
|
||||||
colorette: 2.0.20
|
colorette: 2.0.20
|
||||||
|
@ -17968,9 +17981,9 @@ snapshots:
|
||||||
html-minifier-terser: 6.1.0
|
html-minifier-terser: 6.1.0
|
||||||
node-html-parser: 5.4.2
|
node-html-parser: 5.4.2
|
||||||
pathe: 0.2.0
|
pathe: 0.2.0
|
||||||
vite: 5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3)
|
vite: 5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3)
|
||||||
|
|
||||||
vite-plugin-inspect@0.8.5(rollup@4.19.1)(vite@5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3)):
|
vite-plugin-inspect@0.8.5(rollup@4.19.1)(vite@5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3)):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@antfu/utils': 0.7.10
|
'@antfu/utils': 0.7.10
|
||||||
'@rollup/pluginutils': 5.1.0(rollup@4.19.1)
|
'@rollup/pluginutils': 5.1.0(rollup@4.19.1)
|
||||||
|
@ -17981,46 +17994,46 @@ snapshots:
|
||||||
perfect-debounce: 1.0.0
|
perfect-debounce: 1.0.0
|
||||||
picocolors: 1.0.1
|
picocolors: 1.0.1
|
||||||
sirv: 2.0.4
|
sirv: 2.0.4
|
||||||
vite: 5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3)
|
vite: 5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- rollup
|
- rollup
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
vite-plugin-lib-inject-css@2.1.1(vite@5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3)):
|
vite-plugin-lib-inject-css@2.1.1(vite@5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3)):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@ast-grep/napi': 0.22.6
|
'@ast-grep/napi': 0.22.6
|
||||||
magic-string: 0.30.10
|
magic-string: 0.30.10
|
||||||
picocolors: 1.0.1
|
picocolors: 1.0.1
|
||||||
vite: 5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3)
|
vite: 5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3)
|
||||||
|
|
||||||
vite-plugin-pwa@0.20.1(vite@5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3))(workbox-build@7.1.1)(workbox-window@7.1.0):
|
vite-plugin-pwa@0.20.1(vite@5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3))(workbox-build@7.1.1)(workbox-window@7.1.0):
|
||||||
dependencies:
|
dependencies:
|
||||||
debug: 4.3.5
|
debug: 4.3.5
|
||||||
pretty-bytes: 6.1.1
|
pretty-bytes: 6.1.1
|
||||||
tinyglobby: 0.2.0
|
tinyglobby: 0.2.0
|
||||||
vite: 5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3)
|
vite: 5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3)
|
||||||
workbox-build: 7.1.1
|
workbox-build: 7.1.1
|
||||||
workbox-window: 7.1.0
|
workbox-window: 7.1.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
vite-plugin-vue-devtools@7.3.7(rollup@4.19.1)(vite@5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3))(vue@3.4.34(typescript@5.5.4)):
|
vite-plugin-vue-devtools@7.3.7(rollup@4.19.1)(vite@5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3))(vue@3.4.34(typescript@5.5.4)):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@vue/devtools-core': 7.3.7(vite@5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3))(vue@3.4.34(typescript@5.5.4))
|
'@vue/devtools-core': 7.3.7(vite@5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3))(vue@3.4.34(typescript@5.5.4))
|
||||||
'@vue/devtools-kit': 7.3.7
|
'@vue/devtools-kit': 7.3.7
|
||||||
'@vue/devtools-shared': 7.3.7
|
'@vue/devtools-shared': 7.3.7
|
||||||
execa: 8.0.1
|
execa: 8.0.1
|
||||||
sirv: 2.0.4
|
sirv: 2.0.4
|
||||||
vite: 5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3)
|
vite: 5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3)
|
||||||
vite-plugin-inspect: 0.8.5(rollup@4.19.1)(vite@5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3))
|
vite-plugin-inspect: 0.8.5(rollup@4.19.1)(vite@5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3))
|
||||||
vite-plugin-vue-inspector: 5.1.3(vite@5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3))
|
vite-plugin-vue-inspector: 5.1.3(vite@5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3))
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@nuxt/kit'
|
- '@nuxt/kit'
|
||||||
- rollup
|
- rollup
|
||||||
- supports-color
|
- supports-color
|
||||||
- vue
|
- vue
|
||||||
|
|
||||||
vite-plugin-vue-inspector@5.1.3(vite@5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3)):
|
vite-plugin-vue-inspector@5.1.3(vite@5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3)):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/core': 7.24.9
|
'@babel/core': 7.24.9
|
||||||
'@babel/plugin-proposal-decorators': 7.24.7(@babel/core@7.24.9)
|
'@babel/plugin-proposal-decorators': 7.24.7(@babel/core@7.24.9)
|
||||||
|
@ -18031,29 +18044,29 @@ snapshots:
|
||||||
'@vue/compiler-dom': 3.4.33
|
'@vue/compiler-dom': 3.4.33
|
||||||
kolorist: 1.8.0
|
kolorist: 1.8.0
|
||||||
magic-string: 0.30.10
|
magic-string: 0.30.10
|
||||||
vite: 5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3)
|
vite: 5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
vite@5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3):
|
vite@5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3):
|
||||||
dependencies:
|
dependencies:
|
||||||
esbuild: 0.21.5
|
esbuild: 0.21.5
|
||||||
postcss: 8.4.40
|
postcss: 8.4.40
|
||||||
rollup: 4.19.0
|
rollup: 4.19.0
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@types/node': 20.14.12
|
'@types/node': 22.0.0
|
||||||
fsevents: 2.3.3
|
fsevents: 2.3.3
|
||||||
sass: 1.77.8
|
sass: 1.77.8
|
||||||
terser: 5.31.3
|
terser: 5.31.3
|
||||||
|
|
||||||
vitepress@1.3.1(@algolia/client-search@4.24.0)(@types/node@20.14.12)(async-validator@4.2.5)(axios@1.7.2)(nprogress@0.2.0)(postcss@8.4.40)(qrcode@1.5.3)(sass@1.77.8)(search-insights@2.15.0)(sortablejs@1.15.2)(terser@5.31.3)(typescript@5.5.4):
|
vitepress@1.3.1(@algolia/client-search@4.24.0)(@types/node@22.0.0)(async-validator@4.2.5)(axios@1.7.2)(nprogress@0.2.0)(postcss@8.4.40)(qrcode@1.5.3)(sass@1.77.8)(search-insights@2.15.0)(sortablejs@1.15.2)(terser@5.31.3)(typescript@5.5.4):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@docsearch/css': 3.6.1
|
'@docsearch/css': 3.6.1
|
||||||
'@docsearch/js': 3.6.1(@algolia/client-search@4.24.0)(search-insights@2.15.0)
|
'@docsearch/js': 3.6.1(@algolia/client-search@4.24.0)(search-insights@2.15.0)
|
||||||
'@shikijs/core': 1.11.0
|
'@shikijs/core': 1.11.0
|
||||||
'@shikijs/transformers': 1.11.0
|
'@shikijs/transformers': 1.11.0
|
||||||
'@types/markdown-it': 14.1.1
|
'@types/markdown-it': 14.1.1
|
||||||
'@vitejs/plugin-vue': 5.1.1(vite@5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3))(vue@3.4.34(typescript@5.5.4))
|
'@vitejs/plugin-vue': 5.1.1(vite@5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3))(vue@3.4.34(typescript@5.5.4))
|
||||||
'@vue/devtools-api': 7.3.6
|
'@vue/devtools-api': 7.3.6
|
||||||
'@vue/shared': 3.4.34
|
'@vue/shared': 3.4.34
|
||||||
'@vueuse/core': 10.11.0(vue@3.4.34(typescript@5.5.4))
|
'@vueuse/core': 10.11.0(vue@3.4.34(typescript@5.5.4))
|
||||||
|
@ -18062,7 +18075,7 @@ snapshots:
|
||||||
mark.js: 8.11.1
|
mark.js: 8.11.1
|
||||||
minisearch: 7.1.0
|
minisearch: 7.1.0
|
||||||
shiki: 1.11.0
|
shiki: 1.11.0
|
||||||
vite: 5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3)
|
vite: 5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3)
|
||||||
vue: 3.4.34(typescript@5.5.4)
|
vue: 3.4.34(typescript@5.5.4)
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
postcss: 8.4.40
|
postcss: 8.4.40
|
||||||
|
@ -18093,7 +18106,7 @@ snapshots:
|
||||||
- typescript
|
- typescript
|
||||||
- universal-cookie
|
- universal-cookie
|
||||||
|
|
||||||
vitest@2.0.4(@types/node@20.14.12)(jsdom@24.1.1)(sass@1.77.8)(terser@5.31.3):
|
vitest@2.0.4(@types/node@22.0.0)(jsdom@24.1.1)(sass@1.77.8)(terser@5.31.3):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@ampproject/remapping': 2.3.0
|
'@ampproject/remapping': 2.3.0
|
||||||
'@vitest/expect': 2.0.4
|
'@vitest/expect': 2.0.4
|
||||||
|
@ -18111,11 +18124,11 @@ snapshots:
|
||||||
tinybench: 2.8.0
|
tinybench: 2.8.0
|
||||||
tinypool: 1.0.0
|
tinypool: 1.0.0
|
||||||
tinyrainbow: 1.2.0
|
tinyrainbow: 1.2.0
|
||||||
vite: 5.3.5(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3)
|
vite: 5.3.5(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3)
|
||||||
vite-node: 2.0.4(@types/node@20.14.12)(sass@1.77.8)(terser@5.31.3)
|
vite-node: 2.0.4(@types/node@22.0.0)(sass@1.77.8)(terser@5.31.3)
|
||||||
why-is-node-running: 2.3.0
|
why-is-node-running: 2.3.0
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@types/node': 20.14.12
|
'@types/node': 22.0.0
|
||||||
jsdom: 24.1.1
|
jsdom: 24.1.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- less
|
- less
|
||||||
|
|
|
@ -20,6 +20,7 @@ async function runLint({ format }: LintCommandOptions) {
|
||||||
}
|
}
|
||||||
$.verbose = true;
|
$.verbose = true;
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
|
$`cspell lint "**/*.ts" "**/README.md" ".changeset/*.md" --no-progress`,
|
||||||
$`eslint . --cache`,
|
$`eslint . --cache`,
|
||||||
// $`ls-lint`,
|
// $`ls-lint`,
|
||||||
$`prettier . --ignore-unknown --check --cache`,
|
$`prettier . --ignore-unknown --check --cache`,
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
::: tip
|
::: tip
|
||||||
|
|
||||||
因为微信群人数有限制,加微信群前,你可以通过[赞助](../sponsor/personal.md)任意金额,并备注 `加入微信群`,作者会将你拉入微信群。也可以主动发送截图给作者。
|
因为微信群人数有限制,加微信群前,你可以通过[赞助](../sponsor/personal.md)任意金额,以主动发送截图给作者,备注`加入微信群`即可。
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
在 `package.json` 中引入包:
|
在 `package.json` 中引入包:
|
||||||
|
|
||||||
```json
|
```json {3}
|
||||||
{
|
{
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vben/utils": "workspace:*"
|
"@vben/utils": "workspace:*"
|
||||||
|
@ -46,7 +46,7 @@ import { isString } from '@vben/utils';
|
||||||
|
|
||||||
在项目中,你可以看到一些 `#` 开头的路径,例如: `#/api`、`#/views`, 这些路径都是别名,用于快速定位到某个目录。它不是通过 `vite` 的 `alias` 实现的,而是通过 `Node.js` 本身的 [subpath imports](https://nodejs.org/api/packages.html#subpath-imports) 原理。只需要在 `package.json` 中配置 `imports` 字段即可。
|
在项目中,你可以看到一些 `#` 开头的路径,例如: `#/api`、`#/views`, 这些路径都是别名,用于快速定位到某个目录。它不是通过 `vite` 的 `alias` 实现的,而是通过 `Node.js` 本身的 [subpath imports](https://nodejs.org/api/packages.html#subpath-imports) 原理。只需要在 `package.json` 中配置 `imports` 字段即可。
|
||||||
|
|
||||||
```json
|
```json {3}
|
||||||
{
|
{
|
||||||
"imports": {
|
"imports": {
|
||||||
"#/*": "./src/*"
|
"#/*": "./src/*"
|
||||||
|
@ -56,7 +56,7 @@ import { isString } from '@vben/utils';
|
||||||
|
|
||||||
为了 IDE 能够识别这些别名,我们还需要在`tsconfig.json`内配置:
|
为了 IDE 能够识别这些别名,我们还需要在`tsconfig.json`内配置:
|
||||||
|
|
||||||
```json
|
```json {5}
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
|
|
|
@ -55,11 +55,9 @@ npm 脚本是项目常见的配置,用于执行一些常见的任务,比如
|
||||||
// changeset 版本管理
|
// changeset 版本管理
|
||||||
"changeset": "pnpm exec changeset",
|
"changeset": "pnpm exec changeset",
|
||||||
// 检查项目各种问题
|
// 检查项目各种问题
|
||||||
"check": "pnpm run check:dep && pnpm run check:circular && pnpm run check:type && pnpm run check:cspell",
|
"check": "pnpm run check:circular && pnpm run check:dep && pnpm run check:type",,
|
||||||
// 检查循环引用
|
// 检查循环引用
|
||||||
"check:circular": "vsh check-circular",
|
"check:circular": "vsh check-circular",
|
||||||
// 检查拼写
|
|
||||||
"check:cspell": "cspell lint \"**/*.ts\" \"**/README.md\" \".changeset/*.md\" --no-progress",
|
|
||||||
// 检查依赖
|
// 检查依赖
|
||||||
"check:dep": "vsh check-dep",
|
"check:dep": "vsh check-dep",
|
||||||
// 检查类型
|
// 检查类型
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
```bash [.env]
|
```bash [.env]
|
||||||
# 应用标题
|
# 应用标题
|
||||||
VITE_GLOB_APP_TITLE=Vben Admin
|
VITE_APP_TITLE=Vben Admin
|
||||||
|
|
||||||
# 应用命名空间,用于缓存、store等功能的前缀,确保隔离
|
# 应用命名空间,用于缓存、store等功能的前缀,确保隔离
|
||||||
VITE_APP_NAMESPACE=vben-web-antd
|
VITE_APP_NAMESPACE=vben-web-antd
|
||||||
|
@ -88,7 +88,6 @@ VITE_INJECT_APP_LOADING=true
|
||||||
```ts
|
```ts
|
||||||
window._VBEN_ADMIN_PRO_APP_CONF_ = {
|
window._VBEN_ADMIN_PRO_APP_CONF_ = {
|
||||||
VITE_GLOB_API_URL: 'https://mock-napi.vben.pro/api',
|
VITE_GLOB_API_URL: 'https://mock-napi.vben.pro/api',
|
||||||
VITE_GLOB_APP_TITLE: 'Vben Admin',
|
|
||||||
};
|
};
|
||||||
Object.freeze(window._VBEN_ADMIN_PRO_APP_CONF_);
|
Object.freeze(window._VBEN_ADMIN_PRO_APP_CONF_);
|
||||||
Object.defineProperty(window, '_VBEN_ADMIN_PRO_APP_CONF_', {
|
Object.defineProperty(window, '_VBEN_ADMIN_PRO_APP_CONF_', {
|
||||||
|
@ -124,13 +123,11 @@ const { apiURL } = useAppConfig(import.meta.env, import.meta.env.PROD);
|
||||||
```ts
|
```ts
|
||||||
export interface VbenAdminProAppConfigRaw {
|
export interface VbenAdminProAppConfigRaw {
|
||||||
VITE_GLOB_API_URL: string;
|
VITE_GLOB_API_URL: string;
|
||||||
VITE_GLOB_APP_TITLE: string;
|
|
||||||
VITE_GLOB_OTHER_API_URL: string; // [!code ++]
|
VITE_GLOB_OTHER_API_URL: string; // [!code ++]
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ApplicationConfig {
|
export interface ApplicationConfig {
|
||||||
apiURL: string;
|
apiURL: string;
|
||||||
appTitle: string;
|
|
||||||
otherApiURL: string; // [!code ++]
|
otherApiURL: string; // [!code ++]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -159,17 +156,12 @@ const { otherApiURL } = useAppConfig(import.meta.env, import.meta.env.PROD);
|
||||||
import { useAppConfig } from '@vben/hooks';
|
import { useAppConfig } from '@vben/hooks';
|
||||||
import { defineOverridesPreferences } from '@vben/preferences';
|
import { defineOverridesPreferences } from '@vben/preferences';
|
||||||
|
|
||||||
const { appTitle } = useAppConfig(import.meta.env, import.meta.env.PROD);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description 项目配置文件
|
* @description 项目配置文件
|
||||||
* 只需要覆盖项目中的一部分配置,不需要的配置不用覆盖,会自动使用默认配置
|
* 只需要覆盖项目中的一部分配置,不需要的配置不用覆盖,会自动使用默认配置
|
||||||
*/
|
*/
|
||||||
export const overridesPreferences = defineOverridesPreferences({
|
export const overridesPreferences = defineOverridesPreferences({
|
||||||
// overrides
|
// overrides
|
||||||
app: {
|
|
||||||
name: appTitle,
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ VITE_INJECT_APP_LOADING=false
|
||||||
|
|
||||||
::: tip
|
::: tip
|
||||||
|
|
||||||
- 你可以使用跟`index.html`一样的语法,比如`VITE_GLOB_APP_TITLE`变量,来获取应用的标题。
|
- 你可以使用跟`index.html`一样的语法,比如`VITE_APP_TITLE`变量,来获取应用的标题。
|
||||||
- 必须保证有一个`id="__app-loading__"`的元素。
|
- 必须保证有一个`id="__app-loading__"`的元素。
|
||||||
- 必须保证有一个`style[data-app-loading="inject-css"]`的元素。
|
- 必须保证有一个`style[data-app-loading="inject-css"]`的元素。
|
||||||
|
|
||||||
|
@ -32,6 +32,6 @@ VITE_INJECT_APP_LOADING=false
|
||||||
</style>
|
</style>
|
||||||
<div id="__app-loading__">
|
<div id="__app-loading__">
|
||||||
<!-- ... -->
|
<!-- ... -->
|
||||||
<div class="title"><%= VITE_GLOB_APP_TITLE %></div>
|
<div class="title"><%= VITE_APP_TITLE %></div>
|
||||||
</div>
|
</div>
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue