Skip to content

Commit

Permalink
test: support @vueuse/motion
Browse files Browse the repository at this point in the history
  • Loading branch information
Novout committed Jan 27, 2022
1 parent f8cf1a3 commit a2a46fb
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/better-write-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@vueuse/core": "7.4.1",
"@vueuse/head": "0.7.4",
"@vueuse/integrations": "7.4.1",
"@vueuse/motion": "2.0.0-beta.4",
"@vueuse/motion": "2.0.0-beta.9",
"autoprefixer": "10.4.0",
"better-write-plugin-core": "^0.12.2",
"better-write-plugin-docx": "^0.12.2",
Expand Down
2 changes: 0 additions & 2 deletions packages/better-write-app/test/app.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import App from '../src/App.vue'

test('App exists', async () => {
/*
@vueuse/motion breaking...
const wrapper = mount(App, getVueMock())
expect(wrapper).toBeTruthy()
Expand Down
7 changes: 7 additions & 0 deletions packages/better-write-app/vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/// <reference types="vitest" />

import { resolve } from "path"
import { defineConfig } from 'vite'
import vue from "@vitejs/plugin-vue"
Expand Down Expand Up @@ -57,4 +59,9 @@ export default defineConfig({
'./test/setup.ts',
],
},
resolve: {
alias: {
"@": resolve(__dirname, "./src"),
},
},
})
41 changes: 41 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2877,6 +2877,14 @@
"@vueuse/shared" "6.9.2"
vue-demi "*"

"@vueuse/core@^7.5.1":
version "7.5.5"
resolved "https://registry.yarnpkg.com/@vueuse/core/-/core-7.5.5.tgz#c2f2a8783de0884acfb0be25e71ec3c6d1f9c42e"
integrity sha512-RBDqmIoGfak4h3xdXa/Av+ibkb8NY044wEy6+PG2FAWNaID8/FkqmSFjbxogrbmpSX1yZ1PBHrM8DUp/FrIpbg==
dependencies:
"@vueuse/shared" "7.5.5"
vue-demi "*"

"@vueuse/head@0.7.4":
version "0.7.4"
resolved "https://registry.yarnpkg.com/@vueuse/head/-/head-0.7.4.tgz#2eec185ebe52e634400dfe2a8b1a18f788c06bcf"
Expand Down Expand Up @@ -2909,6 +2917,15 @@
popmotion "^10.0.1"
vue-demi "*"

"@vueuse/motion@2.0.0-beta.9":
version "2.0.0-beta.9"
resolved "https://registry.yarnpkg.com/@vueuse/motion/-/motion-2.0.0-beta.9.tgz#46bc71dc6a8e405b4edb3b006d1a9d9c2c0ae396"
integrity sha512-S61glJRkYCqLJA9oPM+jdAWXM/ZFnRi6UZJ0TpxDUhRuA+ri0G5hwwmcy4y78wvX6gkDUGQFFGELz1xBEwrZww==
dependencies:
"@vueuse/core" "^7.5.1"
popmotion "^11.0.3"
vue-demi "*"

"@vueuse/shared@6.9.2":
version "6.9.2"
resolved "https://registry.yarnpkg.com/@vueuse/shared/-/shared-6.9.2.tgz#97e4369fa7262ebc96fe1d6e210268f30b037005"
Expand All @@ -2923,6 +2940,13 @@
dependencies:
vue-demi "*"

"@vueuse/shared@7.5.5":
version "7.5.5"
resolved "https://registry.yarnpkg.com/@vueuse/shared/-/shared-7.5.5.tgz#0e5c16b848b4a19e5b9ee9199a997e1f6dd39679"
integrity sha512-mzzTsotHQRPnPAChy8iCv6ek/90CKYhAFyMRgNsMxpT0afZJkbMO/X0OaOu/1NuGbgb8UVjlsWKmCUgKTOF5hA==
dependencies:
vue-demi "*"

JSONStream@^1.0.4:
version "1.3.5"
resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0"
Expand Down Expand Up @@ -5215,6 +5239,13 @@ fraction.js@^4.1.1:
resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.1.2.tgz#13e420a92422b6cf244dff8690ed89401029fbe8"
integrity sha512-o2RiJQ6DZaR/5+Si0qJUIy637QMRudSi9kU/FFzx9EZazrIdnBgpU+3sEWCxAVhH2RtxW2Oz+T4p2o8uOPVcgA==

framesync@6.0.1:
version "6.0.1"
resolved "https://registry.yarnpkg.com/framesync/-/framesync-6.0.1.tgz#5e32fc01f1c42b39c654c35b16440e07a25d6f20"
integrity sha512-fUY88kXvGiIItgNC7wcTOl0SNRCVXMKSWW2Yzfmn7EKNc+MpCzcz9DhdHcdjbrtN3c6R4H5dTY2jiCpPdysEjA==
dependencies:
tslib "^2.1.0"

framesync@^6.0.1:
version "6.1.0"
resolved "https://registry.yarnpkg.com/framesync/-/framesync-6.1.0.tgz#b22cf9afba52a9a895668b09e033b6a61e901c41"
Expand Down Expand Up @@ -7652,6 +7683,16 @@ popmotion@^10.0.1:
style-value-types "5.0.0"
tslib "^2.1.0"

popmotion@^11.0.3:
version "11.0.3"
resolved "https://registry.yarnpkg.com/popmotion/-/popmotion-11.0.3.tgz#565c5f6590bbcddab7a33a074bb2ba97e24b0cc9"
integrity sha512-Y55FLdj3UxkR7Vl3s7Qr4e9m0onSnP8W7d/xQLsoJM40vs6UKHFdygs6SWryasTZYqugMjm3BepCF4CWXDiHgA==
dependencies:
framesync "6.0.1"
hey-listen "^1.0.8"
style-value-types "5.0.0"
tslib "^2.1.0"

postcss-js@^3.0.3:
version "3.0.3"
resolved "https://registry.yarnpkg.com/postcss-js/-/postcss-js-3.0.3.tgz#2f0bd370a2e8599d45439f6970403b5873abda33"
Expand Down

0 comments on commit a2a46fb

Please sign in to comment.