diff --git a/.eslintrc.js b/.eslintrc.js index 7d6b36cab68..1420a79f169 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -32,6 +32,7 @@ module.exports = { { files: ['*.md', 'demo.vue', 'scripts/*.ts'], rules: { + 'no-console': 'off', 'no-undef': 'off', 'no-unused-vars': 'off', '@typescript-eslint/no-unused-vars': 'off', diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e7bc2e90ef4..18324802a8a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,6 +29,7 @@ jobs: - run: npm run publish:ci env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + NODE_OPTIONS: '--max-old-space-size=6144' - run: npx conventional-github-releaser -p angular env: CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fac820792fd..f2c5a303ac5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,11 +5,13 @@ on: branches: - main - dev + - next pull_request: branches: - main - dev + - next jobs: test: diff --git a/.gitignore b/.gitignore index cf5e960b6eb..103ffc80653 100644 --- a/.gitignore +++ b/.gitignore @@ -93,6 +93,7 @@ sw.* packages/*/LICENSE packages/contributing.md packages/core/README.md +packages/core/indexes.json packages/recent-updated.md .as-fs .editor-as-fs diff --git a/.tazerc.json b/.tazerc.json index 62e637da8b2..9a8fbe37507 100644 --- a/.tazerc.json +++ b/.tazerc.json @@ -1,6 +1,8 @@ { "exclude": [ "husky", - "eslint-plugin-markdown" + "eslint-plugin-markdown", + "rxjs", + "electron" ] } diff --git a/.vscode/settings.json b/.vscode/settings.json index a978c6a4b01..52723f20ff7 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -20,5 +20,6 @@ "vite.vitepress": true, "vite.vitepressBase": "packages", "vite.vitepressAutoRouting": true, - "vite.buildCommand": "npm run docs:build" + "vite.buildCommand": "npm run docs:build", + "typescript.tsdk": "node_modules/typescript/lib" } diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9afa48bc901..58cb81e526c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,7 +1,3 @@ ---- -sidebar: auto ---- - # Contributing Thanks for being interested in contributing to this project! @@ -39,7 +35,7 @@ There are some notes for adding new functions - You can find the function template under `packages/core/_template/`, details explained in the [Function Folder](#function-folder) section. - When writing documentation for your function, the `` and `` will be automatically updated at build time, so don't feel the need to update them. -> Please note you don't need to update the `indexes.json` or packages' `index.ts`. They are auto generated. +> Please note you don't need to update the `indexes.json` or packages' `index.ts`. They are auto-generated. ### New add-ons @@ -96,6 +92,8 @@ for `index.md` the first sentence will be displayed as the short intro in the fu This will be the intro. The detail descriptions... ``` +Read more about the [guidelines](https://vueuse.org/guidelines). + ## Code Style Don't worry about the code style as long as you install the dev dependencies. Git hooks will format and fix them for you on committing. diff --git a/README.md b/README.md index 47fea89f42d..1a9d24504f1 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Collection of essential Vue Composition Utilities NPM version NPM Downloads Docs & Demos -Function Count +Function Count
GitHub stars

diff --git a/indexes.json b/indexes.json index f6da14a443a..42f9d5679ed 100644 --- a/indexes.json +++ b/indexes.json @@ -11,6 +11,17 @@ "description": "Collection of essential Vue Composition Utilities", "dir": "packages/core" }, + "components": { + "name": "components", + "display": "Components", + "description": "Renderless components for VueUse", + "author": "Jacob Clevenger", + "external": [ + "@vueuse/core", + "@vueuse/shared" + ], + "dir": "packages/components" + }, "router": { "name": "router", "display": "Router", @@ -30,20 +41,23 @@ "display": "Integrations", "description": "Integration wrappers for utility libraries", "addon": true, + "submodules": true, "external": [ "axios", "universal-cookie", "qrcode", "http", "nprogress", - "jwt-decode" + "jwt-decode", + "focus-trap" ], "globals": { "axios": "axios", "universal-cookie": "UniversalCookie", "qrcode": "QRCode", "nprogress": "nprogress", - "jwt-decode": "jwt_decode" + "jwt-decode": "jwt_decode", + "focus-trap": "focusTrap" }, "dir": "packages/integrations", "docs": "https://vueuse.org/integrations/README.html" @@ -69,6 +83,7 @@ "display": "Firebase", "description": "Enables realtime bindings for Firebase", "addon": true, + "submodules": true, "external": [ "firebase", "firebase/app" @@ -79,9 +94,23 @@ }, "dir": "packages/firebase", "docs": "https://vueuse.org/firebase/README.html" + }, + "electron": { + "name": "electron", + "display": "Electron", + "description": "Electron renderer process modules for VueUse", + "author": "Archer Gu", + "addon": true, + "external": [ + "electron" + ], + "iife": false, + "dir": "packages/electron", + "docs": "https://vueuse.org/electron/README.html" } }, "categories": [ + "@Electron", "@Firebase", "@Integrations", "@Router", @@ -371,6 +400,8 @@ { "name": "onClickOutside", "package": "core", + "component": true, + "directive": true, "docs": "https://vueuse.org/core/onClickOutside/", "category": "Sensors", "description": "listen for clicks outside of an element" @@ -413,6 +444,7 @@ { "name": "useActiveElement", "package": "core", + "component": true, "docs": "https://vueuse.org/core/useActiveElement/", "category": "Browser", "description": "reactive `document.activeElement`" @@ -427,6 +459,7 @@ { "name": "useBattery", "package": "core", + "component": true, "docs": "https://vueuse.org/core/useBattery/", "category": "Sensors", "description": "reactive [Battery Status API](https://developer.mozilla.org/en-US/docs/Web/API/Battery_Status_API)" @@ -441,6 +474,7 @@ { "name": "useBrowserLocation", "package": "core", + "component": true, "docs": "https://vueuse.org/core/useBrowserLocation/", "category": "Browser", "description": "reactive browser location" @@ -462,20 +496,15 @@ { "name": "useDark", "package": "core", + "component": true, "docs": "https://vueuse.org/core/useDark/", "category": "Browser", "description": "reactive dark mode with auto data persistence" }, - { - "name": "useDeviceLight", - "package": "core", - "docs": "https://vueuse.org/core/useDeviceLight/", - "category": "Sensors", - "description": "reactive [DeviceLightEvent](https://developer.mozilla.org/en-US/docs/Web/API/DeviceLightEvent)" - }, { "name": "useDeviceMotion", "package": "core", + "component": true, "docs": "https://vueuse.org/core/useDeviceMotion/", "category": "Sensors", "description": "reactive [DeviceMotionEvent](https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent)" @@ -483,6 +512,7 @@ { "name": "useDeviceOrientation", "package": "core", + "component": true, "docs": "https://vueuse.org/core/useDeviceOrientation/", "category": "Sensors", "description": "reactive [DeviceOrientationEvent](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent)" @@ -490,6 +520,7 @@ { "name": "useDevicePixelRatio", "package": "core", + "component": true, "docs": "https://vueuse.org/core/useDevicePixelRatio/", "category": "Sensors", "description": "reactively track [`window.devicePixelRatio`](https://developer.mozilla.org/ru/docs/Web/API/Window/devicePixelRatio)" @@ -497,6 +528,7 @@ { "name": "useDevicesList", "package": "core", + "component": true, "docs": "https://vueuse.org/core/useDevicesList/", "category": "Sensors", "description": "reactive [enumerateDevices](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/enumerateDevices) listing avaliable input/output devices" @@ -504,6 +536,7 @@ { "name": "useDocumentVisibility", "package": "core", + "component": true, "docs": "https://vueuse.org/core/useDocumentVisibility/", "category": "Sensors", "description": "reactively track [`document.visibilityState`](https://developer.mozilla.org/en-US/docs/Web/API/Document/visibilityState)" @@ -511,6 +544,7 @@ { "name": "useElementBounding", "package": "core", + "component": true, "docs": "https://vueuse.org/core/useElementBounding/", "category": "Sensors", "description": "reactive [bounding box](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect) of an HTML element" @@ -518,6 +552,7 @@ { "name": "useElementSize", "package": "core", + "component": true, "docs": "https://vueuse.org/core/useElementSize/", "category": "Sensors", "description": "reactive size of an HTML element" @@ -525,6 +560,7 @@ { "name": "useElementVisibility", "package": "core", + "component": true, "docs": "https://vueuse.org/core/useElementVisibility/", "category": "Sensors", "description": "tracks the visibility of an element within the viewport" @@ -560,6 +596,7 @@ { "name": "useFullscreen", "package": "core", + "component": true, "docs": "https://vueuse.org/core/useFullscreen/", "category": "Browser", "description": "reactive [Fullscreen API](https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API)" @@ -567,6 +604,7 @@ { "name": "useGeolocation", "package": "core", + "component": true, "docs": "https://vueuse.org/core/useGeolocation/", "category": "Sensors", "description": "reactive [Geolocation API](https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API)" @@ -574,6 +612,7 @@ { "name": "useIdle", "package": "core", + "component": true, "docs": "https://vueuse.org/core/useIdle/", "category": "Sensors", "description": "tracks whether the user is being inactive" @@ -623,6 +662,7 @@ { "name": "useMouse", "package": "core", + "component": true, "docs": "https://vueuse.org/core/useMouse/", "category": "Sensors", "description": "reactive mouse position" @@ -630,6 +670,7 @@ { "name": "useMouseInElement", "package": "core", + "component": true, "docs": "https://vueuse.org/core/useMouseInElement/", "category": "Sensors", "description": "reactive mouse position related to an element" @@ -637,6 +678,7 @@ { "name": "useMousePressed", "package": "core", + "component": true, "docs": "https://vueuse.org/core/useMousePressed/", "category": "Sensors", "description": "reactive mouse pressing state" @@ -651,6 +693,7 @@ { "name": "useNetwork", "package": "core", + "component": true, "docs": "https://vueuse.org/core/useNetwork/", "category": "Sensors", "description": "reactive [Network status](https://developer.mozilla.org/en-US/docs/Web/API/Network_Information_API)" @@ -658,6 +701,7 @@ { "name": "useNow", "package": "core", + "component": true, "docs": "https://vueuse.org/core/useNow/", "category": "Animation", "description": "reactive current Date instance" @@ -665,6 +709,7 @@ { "name": "useOnline", "package": "core", + "component": true, "docs": "https://vueuse.org/core/useOnline/", "category": "Sensors", "description": "reactive online state" @@ -672,6 +717,7 @@ { "name": "usePageLeave", "package": "core", + "component": true, "docs": "https://vueuse.org/core/usePageLeave/", "category": "Sensors", "description": "reactive state to show whether the mouse leaves the page" @@ -700,6 +746,7 @@ { "name": "usePreferredColorScheme", "package": "core", + "component": true, "docs": "https://vueuse.org/core/usePreferredColorScheme/", "category": "Browser", "description": "reactive [prefers-color-scheme](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme) media query" @@ -707,6 +754,7 @@ { "name": "usePreferredDark", "package": "core", + "component": true, "docs": "https://vueuse.org/core/usePreferredDark/", "category": "Browser", "description": "reactive dark theme preference" @@ -714,6 +762,7 @@ { "name": "usePreferredLanguages", "package": "core", + "component": true, "docs": "https://vueuse.org/core/usePreferredLanguages/", "category": "Browser", "description": "reactive [Navigator Languages](https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage/languages)" @@ -784,6 +833,7 @@ { "name": "useTimeAgo", "package": "core", + "component": true, "docs": "https://vueuse.org/core/useTimeAgo/", "category": "Formatters", "description": "reactive time ago" @@ -791,6 +841,7 @@ { "name": "useTimestamp", "package": "core", + "component": true, "docs": "https://vueuse.org/core/useTimestamp/", "category": "Animation", "description": "reactive current timestamp" @@ -868,6 +919,7 @@ { "name": "useWindowSize", "package": "core", + "component": true, "docs": "https://vueuse.org/core/useWindowSize/", "category": "Sensors", "description": "reactive window size" @@ -976,6 +1028,27 @@ "docs": "https://vueuse.org/firebase/useRTDB/", "category": "@Firebase", "description": "reactive [Firebase Realtime Database](https://firebase.google.com/docs/database) binding" + }, + { + "name": "useIpcRenderer", + "package": "electron", + "docs": "https://vueuse.org/electron/useIpcRenderer/", + "category": "@Electron", + "description": "provides [ipcRenderer](https://www.electronjs.org/docs/api/ipc-renderer) and it's all APIs" + }, + { + "name": "useIpcRendererInvoke", + "package": "electron", + "docs": "https://vueuse.org/electron/useIpcRendererInvoke/", + "category": "@Electron", + "description": "reactive [ipcRenderer.invoke API](https://www.electronjs.org/docs/api/ipc-renderer#ipcrendererinvokechannel-args) result" + }, + { + "name": "useIpcRendererOn", + "package": "electron", + "docs": "https://vueuse.org/electron/useIpcRendererOn/", + "category": "@Electron", + "description": "use [ipcRenderer.on](https://www.electronjs.org/docs/api/ipc-renderer#ipcrendereronchannel-listener) with ease and [ipcRenderer.removeListener](https://www.electronjs.org/docs/api/ipc-renderer#ipcrendererremovelistenerchannel-listener) automatically on unmounted" } ] } diff --git a/jest.config.js b/jest.config.js index 365afb16d11..6ee1bb0bb5d 100644 --- a/jest.config.js +++ b/jest.config.js @@ -9,8 +9,19 @@ module.exports = { transform: { '^.+\\.(ts|tsx)$': 'ts-jest', }, + testPathIgnorePatterns: [ + '/node_modules/', + '/dist/', + ], + modulePathIgnorePatterns: [ + '/dist/', + ], setupFiles: [ '/packages/.test/test.setup.js', ], + moduleNameMapper: { + '^@vueuse/(.*)$': '/packages/$1/index.ts', + }, testURL: 'https://vueuse.org', + testEnvironment: 'jsdom', } diff --git a/meta/packages.ts b/meta/packages.ts index e3ccecd51d6..d6f3476ae13 100644 --- a/meta/packages.ts +++ b/meta/packages.ts @@ -10,6 +10,16 @@ export const packages: PackageManifest[] = [ display: 'VueUse', description: 'Collection of essential Vue Composition Utilities', }, + { + name: 'components', + display: 'Components', + description: 'Renderless components for VueUse', + author: 'Jacob Clevenger', + external: [ + '@vueuse/core', + '@vueuse/shared', + ], + }, { name: 'router', display: 'Router', @@ -27,6 +37,7 @@ export const packages: PackageManifest[] = [ display: 'Integrations', description: 'Integration wrappers for utility libraries', addon: true, + submodules: true, external: [ 'axios', 'universal-cookie', @@ -34,6 +45,7 @@ export const packages: PackageManifest[] = [ 'http', 'nprogress', 'jwt-decode', + 'focus-trap', ], globals: { 'axios': 'axios', @@ -41,6 +53,7 @@ export const packages: PackageManifest[] = [ 'qrcode': 'QRCode', 'nprogress': 'nprogress', 'jwt-decode': 'jwt_decode', + 'focus-trap': 'focusTrap', }, }, { @@ -62,6 +75,7 @@ export const packages: PackageManifest[] = [ display: 'Firebase', description: 'Enables realtime bindings for Firebase', addon: true, + submodules: true, external: [ 'firebase', 'firebase/app', @@ -71,6 +85,17 @@ export const packages: PackageManifest[] = [ 'firebase/app': 'firebase', }, }, + { + name: 'electron', + display: 'Electron', + description: 'Electron renderer process modules for VueUse', + author: 'Archer Gu', + addon: true, + external: [ + 'electron', + ], + iife: false, + }, ] export const activePackages = packages.filter(i => !i.deprecated) diff --git a/meta/types.ts b/meta/types.ts index 7188fbddc5c..d4f22de24a8 100644 --- a/meta/types.ts +++ b/meta/types.ts @@ -8,6 +8,8 @@ export interface PackageManifest { globals?: Record manualImport?: boolean deprecated?: boolean + submodules?: boolean + iife?: boolean } export interface VueUseFunction { @@ -18,6 +20,8 @@ export interface VueUseFunction { docs?: string depreacted?: boolean internal?: boolean + component?: boolean + directive?: boolean } export interface VueUsePackage extends PackageManifest { diff --git a/netlify.toml b/netlify.toml index 4e697300d4a..830c639a930 100755 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,6 @@ [build] publish = "packages/.vitepress/dist" - command = "npm run build && npm run docs:build" + command = "npm run docs:build" [[redirects]] from = "https://vueuse.js.org/*" diff --git a/package.json b/package.json index 4749d033e2e..0e4c3902b50 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vueuse/monorepo", - "version": "4.11.2", + "version": "5.0.0-beta.8", "private": true, "description": "Collection of essential Vue Composition Utilities", "license": "MIT", @@ -45,62 +45,61 @@ ] }, "devDependencies": { - "@antfu/eslint-config": "^0.6.4", + "@antfu/eslint-config": "^0.6.5", "@antfu/ni": "^0.7.0", - "@iconify/json": "^1.1.339", + "@iconify/json": "^1.1.353", "@rollup/plugin-replace": "^2.4.2", "@rollup/plugin-typescript": "^8.2.1", "@types/fs-extra": "^9.0.11", "@types/jest": "^26.0.23", "@types/js-yaml": "^4.0.1", - "@types/markdown-table": "^2.0.0", - "@types/node": "^15.0.2", - "@types/semver": "^7.3.5", - "@vue/composition-api": "^1.0.0-rc.8", + "@types/markdown-table": "^3.0.0", + "@types/node": "^15.12.1", + "@types/semver": "^7.3.6", + "@vue/composition-api": "^1.0.0-rc.11", "@vue/runtime-dom": "^3.0.11", "@vue/test-utils": "^1.2.0", "axios": "^0.21.1", "consola": "^2.15.3", "cross-env": "^7.0.3", - "dayjs": "^1.10.4", + "dayjs": "^1.10.5", "esbuild-register": "^2.5.0", - "eslint": "^7.25.0", + "eslint": "^7.28.0", "eslint-plugin-jest": "^24.3.6", "eslint-plugin-markdown": "^1.0.2", - "esno": "^0.5.0", + "esno": "^0.6.0", "export-size": "^0.4.0", "fast-glob": "^3.2.5", - "firebase": "^8.5.0", + "firebase": "^8.6.5", "fs-extra": "^10.0.0", "gray-matter": "^4.0.3", "husky": "4.3.7", - "jest": "^26.6.3", - "jest-each": "^26.6.2", + "jest": "^27.0.4", + "jest-each": "^27.0.2", "jest-fetch-mock": "^3.0.3", "js-yaml": "^4.1.0", - "lint-staged": "^10.5.4", + "lint-staged": "^11.0.0", "markdown-table": "^3.0.0", - "postcss": "^8.2.14", + "postcss": "^8.3.0", "postcss-nested": "^5.0.5", - "prettier": "^2.2.1", + "prettier": "^2.3.1", "prism-theme-vars": "^0.2.2", "rimraf": "^3.0.2", - "rollup": "^2.47.0", - "rollup-plugin-dts": "^3.0.1", + "rollup": "^2.50.6", + "rollup-plugin-dts": "^3.0.2", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript2": "^0.30.0", "rollup-plugin-uglify": "^6.0.4", - "simple-git": "^2.38.0", - "ts-jest": "^26.5.6", - "typescript": "^4.2.4", - "vite-plugin-components": "^0.8.4", - "vite-plugin-icons": "^0.5.0", + "simple-git": "^2.39.0", + "ts-jest": "^27.0.2", + "typescript": "^4.3.2", + "vite-plugin-components": "^0.10.4", + "vite-plugin-icons": "^0.6.1", "vite-plugin-pwa": "^0.7.3", - "vite-plugin-windicss": "^0.15.10", - "vitepress": "^0.13.2", + "vite-plugin-windicss": "^1.0.1", + "vitepress": "^0.14.0", "vue": "^3.0.11", - "vue-chemistry": "^0.2.2", - "vue-demi": "^0.9.0", + "vue-demi": "^0.9.1", "vue2": "npm:vue@2" } } diff --git a/packages/.vitepress/config.js b/packages/.vitepress/config.js index 8ecab563b0e..511022b5f04 100644 --- a/packages/.vitepress/config.js +++ b/packages/.vitepress/config.js @@ -15,6 +15,38 @@ const categoriesOrder = [ 'Misc', ] +const Guide = [ + { text: 'Get Started', link: '/guide/index' }, + { text: 'Best Practice', link: '/guide/best-practice' }, + { text: 'Configurations', link: '/guide/config' }, + { text: 'Components', link: '/guide/components' }, + { text: 'Contributing', link: '/contributing' }, + { text: 'Guidelines', link: '/guidelines' }, +] + +const Functions = [ + { text: 'Animation', link: '/functions#animation' }, + { text: 'Browser', link: '/functions#browser' }, + { text: 'Component', link: '/functions#component' }, + { text: 'Formatters', link: '/functions#formatters' }, + { text: 'Misc', link: '/functions#misc' }, + { text: 'Sensors', link: '/functions#sensors' }, + { text: 'State', link: '/functions#state' }, + { text: 'Utilities', link: '/functions#utilities' }, + { text: 'Watch', link: '/functions#watch' }, +] + +const DefaultSideBar = [ + { text: 'Guide', children: Guide }, + { text: 'Core Functions', children: Functions }, + { text: 'Add-ons', link: '/add-ons' }, + { text: 'Ecosystem', link: '/ecosystem' }, + { text: 'Export Size', link: '/export-size' }, + { text: 'Recent Updated', link: '/recent-updated' }, +] + +const FunctionsSideBar = getFunctionsSideBar() + /** * @type {import('vitepress').UserConfig} */ @@ -33,10 +65,7 @@ const config = { // { text: 'Home', link: '/' },s { text: 'Guide', - items: [ - { text: 'Get Started', link: '/guide' }, - { text: 'Contribute', link: '/contributing' }, - ], + items: Guide, }, { text: 'Functions', @@ -59,7 +88,7 @@ const config = { text: 'More', items: [ { text: 'Ecosystem', link: '/ecosystem' }, - { text: 'Bundle Size', link: '/export-size' }, + { text: 'Export Size', link: '/export-size' }, ], }, { @@ -82,7 +111,19 @@ const config = { ], }, ], - sidebar: getSideBar(), + sidebar: { + '/guide/': DefaultSideBar, + '/contributing': DefaultSideBar, + '/add-ons': DefaultSideBar, + '/functions': FunctionsSideBar, + '/core/': FunctionsSideBar, + '/shared/': FunctionsSideBar, + '/router/': FunctionsSideBar, + '/ecosystem': DefaultSideBar, + '/guidelines': DefaultSideBar, + '/export-size': DefaultSideBar, + '/recent-updated': DefaultSideBar, + }, algolia: { apiKey: 'a99ef8de1b2b27949975ce96642149c6', indexName: 'vueuse', @@ -106,7 +147,7 @@ const config = { ], } -function getSideBar() { +function getFunctionsSideBar() { const links = [] const { categories } = indexes diff --git a/packages/.vitepress/theme/components/DarkModeSwitch.vue b/packages/.vitepress/theme/components/DarkModeSwitch.vue index 53b03258095..b88134e5eac 100644 --- a/packages/.vitepress/theme/components/DarkModeSwitch.vue +++ b/packages/.vitepress/theme/components/DarkModeSwitch.vue @@ -1,7 +1,7 @@ diff --git a/packages/.vitepress/theme/components/HomeHero.vue b/packages/.vitepress/theme/components/HomeHero.vue index 53474d48e0f..9bf021eadbc 100644 --- a/packages/.vitepress/theme/components/HomeHero.vue +++ b/packages/.vitepress/theme/components/HomeHero.vue @@ -1,5 +1,5 @@