diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e76c544..3966ae8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ +# v3.0.2 (2025-03-10T20:37:16Z) + +This changelog is generated by [GitHub Releases](https://github.com/vueuse/motion/releases/tag/v3.0.2) + +###    🐞 Bug Fixes + +- Remove `csstype` and update `vue`  -  by @BobbieGoede [(143c2)](https://github.com/vueuse/motion/commit/143c21a) +- Remove `csstype` from tsconfigs  -  by @BobbieGoede [(8ad06)](https://github.com/vueuse/motion/commit/8ad06ef) +- Externalize css types by adding type annotations  -  by @BobbieGoede [(43221)](https://github.com/vueuse/motion/commit/43221cb) +- Move `vue` back to `dependencies`  -  by @BobbieGoede [(40b4d)](https://github.com/vueuse/motion/commit/40b4d97) +- Move `vue` back to `devDependencies`  -  by @BobbieGoede [(9b6aa)](https://github.com/vueuse/motion/commit/9b6aab4) +- Use `Component` type from `vue`  -  by @BobbieGoede [(c2995)](https://github.com/vueuse/motion/commit/c2995ff) +- Use `import.meta.env.DEV` to detect development environment  -  by @BobbieGoede [(81702)](https://github.com/vueuse/motion/commit/8170220) +- Use `import.meta.env` to check environment  -  by @BobbieGoede [(ad270)](https://github.com/vueuse/motion/commit/ad27084) +- Use `import.meta.env.MODE` to check environment  -  by @BobbieGoede [(c83fc)](https://github.com/vueuse/motion/commit/c83fc77) +- Access `meta.env.X` with optional chaining  -  by @BobbieGoede [(fb9ed)](https://github.com/vueuse/motion/commit/fb9ede7) + +#####     [View changes on GitHub](https://github.com/vueuse/motion/compare/v3.0.1...v3.0.2) + + # v3.0.1 (2025-03-10T14:08:52Z) This changelog is generated by [GitHub Releases](https://github.com/vueuse/motion/releases/tag/v3.0.1) diff --git a/package.json b/package.json index 74efc8b3..1c091e9e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@vueuse/motion", "type": "module", - "version": "3.0.2", + "version": "3.0.3", "packageManager": "pnpm@10.6.2", "description": "🤹 Vue Composables putting your components in motion", "author": "Yaël GUILLOUX ", @@ -82,6 +82,7 @@ "dependencies": { "@vueuse/core": "^13.0.0", "@vueuse/shared": "^13.0.0", + "defu": "^6.1.4", "framesync": "^6.1.2", "popmotion": "^11.0.5", "style-value-types": "^5.1.2" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 07562bff..f40ff118 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,6 +14,9 @@ importers: '@vueuse/shared': specifier: ^13.0.0 version: 13.0.0(vue@3.5.13(typescript@5.8.2)) + defu: + specifier: ^6.1.4 + version: 6.1.4 framesync: specifier: ^6.1.2 version: 6.1.2 diff --git a/src/nuxt/src/module.ts b/src/nuxt/src/module.ts index 02a833fe..b431a306 100644 --- a/src/nuxt/src/module.ts +++ b/src/nuxt/src/module.ts @@ -1,7 +1,8 @@ import { defu } from 'defu' import { addComponent, addImportsDir, addPlugin, createResolver, defineNuxtModule } from '@nuxt/kit' import type { NuxtModule } from '@nuxt/schema' -import type { ModuleOptions as MotionModuleOpts } from '../../types' +// @ts-expect-error types exist after build +import type { ModuleOptions as MotionModuleOpts } from '@vueuse/motion' export interface ModuleOptions extends MotionModuleOpts {}