Skip to content

Commit

Permalink
Merge pull request #11622 from owncloud/renovate/vue-monorepo
Browse files Browse the repository at this point in the history
chore(deps): update vue monorepo to v3.5.8
  • Loading branch information
JammingBen authored Sep 23, 2024
2 parents d13d9b7 + df7fbe8 commit a8b3764
Show file tree
Hide file tree
Showing 7 changed files with 216 additions and 212 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
"@vitejs/plugin-vue": "5.1.4",
"@vitest/coverage-v8": "2.1.1",
"@vitest/web-worker": "2.1.1",
"@vue/compiler-dom": "3.5.6",
"@vue/compiler-sfc": "3.5.6",
"@vue/compiler-dom": "3.5.8",
"@vue/compiler-sfc": "3.5.8",
"@vue/test-utils": "2.4.6",
"browserslist-to-esbuild": "^2.0.0",
"browserslist-useragent-regexp": "^4.0.0",
Expand Down Expand Up @@ -87,7 +87,7 @@
"vitest": "2.1.1",
"vue-demi": "0.14.10",
"vue-tsc": "2.1.6",
"vue": "3.5.6",
"vue": "3.5.8",
"vue3-gettext": "2.4.0"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/design-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"lodash-es": "4.17.21",
"luxon": "3.5.0",
"vue-router": "4.2.5",
"vue": "3.5.6",
"vue": "3.5.8",
"vue3-gettext": "2.4.0"
},
"engines": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { MockProxy, mock } from 'vitest-mock-extended'
import { join } from 'path'
import { defaultComponentMocks, defaultPlugins, shallowMount } from 'web-test-helpers'
import { OcButton } from 'design-system/src/components'
import { RouteLocationNormalizedLoaded } from 'vue-router'
import { RouteLocationNamedRaw, RouteLocationNormalizedLoaded } from 'vue-router'

const selectors = {
homeButton: '#files-list-not-found-button-go-home',
Expand Down Expand Up @@ -43,8 +43,9 @@ describe('NotFoundMessage', () => {
const { wrapper } = getWrapper(space, spacesLocation)
const homeButton = wrapper.findComponent<typeof OcButton>(selectors.homeButton)

expect(homeButton.props().to.name).toBe(spacesLocation.name)
expect(homeButton.props().to.params.driveAliasAndItem).toBe('personal')
const routeLocation = homeButton.props('to') as RouteLocationNamedRaw
expect(routeLocation.name).toBe(spacesLocation.name)
expect(routeLocation.params.driveAliasAndItem).toBe('personal')
})
})

Expand Down Expand Up @@ -79,8 +80,9 @@ describe('NotFoundMessage', () => {
const { wrapper } = getWrapper(space, publicLocation)
const reloadLinkButton = wrapper.findComponent<typeof OcButton>(selectors.reloadLinkButton)

expect(reloadLinkButton.props().to.name).toBe(publicLocation.name)
expect(reloadLinkButton.props().to.params.driveAliasAndItem).toBe(
const routeLocation = reloadLinkButton.props('to') as RouteLocationNamedRaw
expect(routeLocation.name).toBe(publicLocation.name)
expect(routeLocation.params.driveAliasAndItem).toBe(
space.getDriveAliasAndItem({ path: '' } as Resource)
)
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
import { SharingLinkType } from '@ownclouders/web-client/graph/generated'
import { Resource } from '@ownclouders/web-client'
import OcButton from 'design-system/src/components/OcButton/OcButton.vue'
import { RouteLocationNamedRaw } from 'vue-router'

vi.mock('@ownclouders/web-pkg', async (importOriginal) => ({
...(await importOriginal<any>()),
Expand Down Expand Up @@ -81,7 +82,8 @@ describe('DetailsAndEdit component', () => {
const { wrapper } = getShallowMountedWrapper({ linkShare, sharedAncestor })
const viaButton = wrapper.findComponent<typeof OcButton>('.oc-files-file-link-via')
expect(viaButton.exists()).toBeTruthy()
expect(viaButton.props('to').query.fileId).toEqual('ancestorId')
const routeLocation = viaButton.props('to') as RouteLocationNamedRaw
expect(routeLocation.query.fileId).toEqual('ancestorId')
})

describe('additional information icons', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/web-pkg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@uppy/tus": "^3.1.0",
"@uppy/utils": "^5.3.0",
"@uppy/xhr-upload": "^3.0.1",
"@vue/shared": "3.5.6",
"@vue/shared": "3.5.8",
"@vueuse/core": "^11.0.0",
"axios": "1.7.7",
"deepmerge": "^4.2.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/web-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"uuid": "10.0.0",
"vue-concurrency": "5.0.1",
"vue-router": "4.2.5",
"vue": "3.5.6",
"vue": "3.5.8",
"vue3-gettext": "2.4.0",
"webdav": "5.7.1",
"xml-js": "^1.6.11",
Expand Down
Loading

0 comments on commit a8b3764

Please sign in to comment.