refactor: Integrate the @vben-core/shared package

This commit is contained in:
vben
2024-07-30 21:05:03 +08:00
parent e6403868fc
commit cf0ec053e4
223 changed files with 330 additions and 328 deletions

View File

@@ -29,7 +29,7 @@
}
},
"dependencies": {
"@vben-core/toolkit": "workspace:*",
"@vben-core/shared": "workspace:*",
"@vben-core/typings": "workspace:*",
"@vueuse/core": "^10.11.0",
"vue": "^3.4.34"

View File

@@ -4,7 +4,7 @@ import type { InitialOptions, Preferences } from './types';
import { markRaw, reactive, readonly, watch } from 'vue';
import { isMacOs, merge, StorageManager } from '@vben-core/toolkit';
import { isMacOs, merge, StorageManager } from '@vben-core/shared';
import {
breakpointsTailwind,

View File

@@ -3,7 +3,7 @@ import type { Preferences } from './types';
import {
updateCSSVariables as executeUpdateCSSVariables,
generatorColorVariables,
} from '@vben-core/toolkit';
} from '@vben-core/shared';
import { BUILT_IN_THEME_PRESETS, type BuiltinThemePreset } from './constants';

View File

@@ -1,6 +1,6 @@
import { computed } from 'vue';
import { diff } from '@vben-core/toolkit';
import { diff } from '@vben-core/shared';
import { isDarkTheme, preferencesManager } from './preferences';