diff --git a/package.json b/package.json index 005a0a4bffa..57f9527ed2a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@vueuse/monorepo", "type": "module", - "version": "12.6.0", + "version": "12.6.1", "private": true, "packageManager": "pnpm@10.4.0", "description": "Collection of essential Vue Composition Utilities", diff --git a/packages/components/package.json b/packages/components/package.json index 2144906df27..6509a6ff23e 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,7 +1,7 @@ { "name": "@vueuse/components", "type": "module", - "version": "12.6.0", + "version": "12.6.1", "description": "Renderless components for VueUse", "author": "Jacob Clevenger", "license": "MIT", diff --git a/packages/core/_template/index.test.ts b/packages/core/_template/index.test.ts index 4e20d3fd834..b037df4d140 100644 --- a/packages/core/_template/index.test.ts +++ b/packages/core/_template/index.test.ts @@ -1,5 +1,5 @@ import { describe, expect, it } from 'vitest' -import { useCounter } from '.' +import { useCounter } from './index' describe('useCounter', () => { it('should be defined', () => { diff --git a/packages/core/computedAsync/index.test.ts b/packages/core/computedAsync/index.test.ts index eefd45e3061..daa690674dc 100644 --- a/packages/core/computedAsync/index.test.ts +++ b/packages/core/computedAsync/index.test.ts @@ -1,7 +1,7 @@ import type { Ref } from 'vue' import { describe, expect, expectTypeOf, it, vi } from 'vitest' import { computed, nextTick, ref } from 'vue' -import { asyncComputed, computedAsync } from '.' +import { asyncComputed, computedAsync } from './index' describe('computed', () => { it('is lazy', () => { diff --git a/packages/core/computedInject/demoReceiver.vue b/packages/core/computedInject/demoReceiver.vue index b317479d4a7..d9467ec170d 100644 --- a/packages/core/computedInject/demoReceiver.vue +++ b/packages/core/computedInject/demoReceiver.vue @@ -1,7 +1,7 @@ diff --git a/packages/core/useScreenOrientation/index.test.ts b/packages/core/useScreenOrientation/index.test.ts index 483f4f1f9c1..6426d51c8c6 100644 --- a/packages/core/useScreenOrientation/index.test.ts +++ b/packages/core/useScreenOrientation/index.test.ts @@ -1,5 +1,5 @@ import { describe, expect, it } from 'vitest' -import { useScreenOrientation } from '.' +import { useScreenOrientation } from './index' describe('useScreenOrientation', () => { it('should be defined', () => { diff --git a/packages/core/useScreenSafeArea/component.ts b/packages/core/useScreenSafeArea/component.ts index 3337a4d7923..a87495e2585 100644 --- a/packages/core/useScreenSafeArea/component.ts +++ b/packages/core/useScreenSafeArea/component.ts @@ -1,5 +1,5 @@ import { defineComponent, h } from 'vue' -import { useScreenSafeArea } from '.' +import { useScreenSafeArea } from './index' export const UseScreenSafeArea = /* #__PURE__ */ defineComponent({ name: 'UseScreenSafeArea', diff --git a/packages/core/useScriptTag/index.test.ts b/packages/core/useScriptTag/index.test.ts index 0a4202f7c56..0ab4fd45ecf 100644 --- a/packages/core/useScriptTag/index.test.ts +++ b/packages/core/useScriptTag/index.test.ts @@ -1,6 +1,6 @@ import { beforeEach, describe, expect, it, vi } from 'vitest' -import { useScriptTag } from '.' import { useSetup } from '../../.test' +import { useScriptTag } from './index' describe('useScriptTag', () => { const src = 'https://code.jquery.com/jquery-3.5.1.min.js' diff --git a/packages/core/useScroll/directive.test.ts b/packages/core/useScroll/directive.test.ts index f80ed1fc903..2602f4330a9 100644 --- a/packages/core/useScroll/directive.test.ts +++ b/packages/core/useScroll/directive.test.ts @@ -1,5 +1,5 @@ import type { VueWrapper } from '@vue/test-utils' -import type { UseScrollOptions } from '.' +import type { UseScrollOptions } from './index' import { mount } from '@vue/test-utils' import { beforeEach, describe, expect, it, vi } from 'vitest' import { defineComponent } from 'vue' diff --git a/packages/core/useScroll/directive.ts b/packages/core/useScroll/directive.ts index b82c0d0f5ff..1624be1337d 100644 --- a/packages/core/useScroll/directive.ts +++ b/packages/core/useScroll/directive.ts @@ -1,6 +1,6 @@ import type { ObjectDirective } from 'vue' -import type { UseScrollOptions, UseScrollReturn } from '.' -import { useScroll } from '.' +import type { UseScrollOptions, UseScrollReturn } from './index' +import { useScroll } from './index' type BindingValueFunction = (state: UseScrollReturn) => void diff --git a/packages/core/useScroll/index.test.ts b/packages/core/useScroll/index.test.ts index efe6a7b4f4c..5d009d21906 100644 --- a/packages/core/useScroll/index.test.ts +++ b/packages/core/useScroll/index.test.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest' import { reactive } from 'vue' -import { useScroll } from '.' +import { useScroll } from './index' describe('useScroll', () => { it('should be defined', () => { diff --git a/packages/core/useScrollLock/directive.ts b/packages/core/useScrollLock/directive.ts index 13776675c9f..8761eda2f86 100644 --- a/packages/core/useScrollLock/directive.ts +++ b/packages/core/useScrollLock/directive.ts @@ -1,6 +1,6 @@ import type { FunctionDirective } from 'vue' import { ref, watch } from 'vue' -import { useScrollLock } from '.' +import { useScrollLock } from './index' function onScrollLock(): FunctionDirective< HTMLElement, diff --git a/packages/core/useScrollLock/index.test.ts b/packages/core/useScrollLock/index.test.ts index 80efed7ba54..4c35f505cf6 100644 --- a/packages/core/useScrollLock/index.test.ts +++ b/packages/core/useScrollLock/index.test.ts @@ -1,7 +1,7 @@ import { beforeEach, describe, expect, it, vi } from 'vitest' import { defineComponent, h } from 'vue' -import { useScrollLock } from '.' import { mount } from '../../.test' +import { useScrollLock } from './index' describe('useScrollLock', () => { let targetEl: HTMLElement diff --git a/packages/core/useSorted/demo.vue b/packages/core/useSorted/demo.vue index 8b12ce32b5f..a15d2728cb2 100644 --- a/packages/core/useSorted/demo.vue +++ b/packages/core/useSorted/demo.vue @@ -1,7 +1,7 @@ diff --git a/packages/integrations/useCookies/index.test.ts b/packages/integrations/useCookies/index.test.ts index acbeb2c3d6e..6aefca92390 100644 --- a/packages/integrations/useCookies/index.test.ts +++ b/packages/integrations/useCookies/index.test.ts @@ -1,7 +1,7 @@ import Cookie from 'universal-cookie' import { afterEach, describe, expect, it } from 'vitest' import { nextTick, watch } from 'vue' -import { useCookies } from '.' +import { useCookies } from './index' describe('useCookies', () => { afterEach(() => { diff --git a/packages/integrations/useDrauu/demo.client.vue b/packages/integrations/useDrauu/demo.client.vue index a78ece72adb..5422192bfbd 100644 --- a/packages/integrations/useDrauu/demo.client.vue +++ b/packages/integrations/useDrauu/demo.client.vue @@ -1,8 +1,8 @@