1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-23 06:36:08 +09:00

chore: bump and patch dependencies to augment vue (#2918)

This commit is contained in:
Daniel Roe 2024-08-16 14:31:43 +01:00 committed by GitHub
parent bdf5a18b4d
commit 335ae78a67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 1303 additions and 1075 deletions

View File

@ -40,7 +40,6 @@
"groupName": "lint",
"matchPackageNames": [
"@antfu/eslint-config",
"@types/prettier",
"eslint",
"prettier"
]

View File

@ -19,7 +19,7 @@ declare module '#app' {
}
}
declare module '@vue/runtime-core' {
declare module 'vue' {
interface ComponentCustomProperties {
$pwa?: UnwrapNestedRefs<PwaInjection>
}

View File

@ -39,9 +39,9 @@
"@iconify/utils": "^2.1.22",
"@nuxt/devtools": "^1.0.8",
"@nuxt/test-utils": "^3.12.0",
"@nuxtjs/color-mode": "^3.3.2",
"@nuxtjs/i18n": "^8.3.0",
"@pinia/nuxt": "^0.5.1",
"@nuxtjs/color-mode": "^3.3.4",
"@nuxtjs/i18n": "^8.4.0",
"@pinia/nuxt": "^0.5.3",
"@tiptap/core": "2.2.4",
"@tiptap/extension-bold": "2.2.4",
"@tiptap/extension-character-count": "2.2.4",
@ -86,7 +86,7 @@
"node-emoji": "^2.1.3",
"nuxt-security": "^0.13.1",
"page-lifecycle": "^0.1.2",
"pinia": "^2.1.7",
"pinia": "^2.2.2",
"postcss-nested": "^6.0.1",
"prosemirror-highlight": "^0.5.0",
"rollup-plugin-node-polyfills": "^0.2.1",
@ -103,7 +103,7 @@
"tippy.js": "^6.3.7",
"ufo": "^1.5.3",
"ultrahtml": "^1.5.3",
"unimport": "^3.7.1",
"unimport": "^3.10.0",
"vite-plugin-pwa": "^0.19.2",
"vue-advanced-cropper": "^2.8.8",
"vue-virtual-scroller": "2.0.0-beta.8",
@ -119,7 +119,6 @@
"@types/fnando__sparkline": "^0.3.7",
"@types/fs-extra": "^11.0.4",
"@types/js-yaml": "^4.0.9",
"@types/prettier": "^3.0.0",
"@types/wicg-file-system-access": "^2023.10.5",
"@types/ws": "^8.5.10",
"@unlazy/nuxt": "^0.11.2",
@ -143,14 +142,16 @@
"vue-tsc": "^2.0.10"
},
"pnpm": {
"overrides": {
"unstorage": "^1.10.2"
},
"patchedDependencies": {
"nuxt-security@0.13.1": "patches/nuxt-security@0.13.1.patch"
"nuxt-security@0.13.1": "patches/nuxt-security@0.13.1.patch",
"@vueuse/motion": "patches/@vueuse__motion.patch",
"pinceau": "patches/pinceau.patch",
"vue-i18n": "patches/vue-i18n.patch",
"nuxt": "patches/nuxt.patch"
}
},
"resolutions": {
"unstorage": "^1.10.2",
"vitest": "2.0.4",
"vue": "^3.4.21"
},

View File

@ -0,0 +1,39 @@
diff --git a/dist/shared/motion.6686175e.d.cts b/dist/shared/motion.6686175e.d.cts
index d118e42ad332997dd203623a8a2bd5109ecdd04f..6ec3bad16555148ec11461e90e2a68116bf1d887 100644
--- a/dist/shared/motion.6686175e.d.cts
+++ b/dist/shared/motion.6686175e.d.cts
@@ -594,7 +594,7 @@ interface SpringControls {
values: MotionProperties;
}
type MotionInstanceBindings<T extends string, V extends MotionVariants<T>> = Record<string, MotionInstance<T, V>>;
-declare module '@vue/runtime-core' {
+declare module 'vue' {
interface ComponentCustomProperties {
$motions?: MotionInstanceBindings<any, any>;
}
diff --git a/dist/shared/motion.6686175e.d.mts b/dist/shared/motion.6686175e.d.mts
index d118e42ad332997dd203623a8a2bd5109ecdd04f..6ec3bad16555148ec11461e90e2a68116bf1d887 100644
--- a/dist/shared/motion.6686175e.d.mts
+++ b/dist/shared/motion.6686175e.d.mts
@@ -594,7 +594,7 @@ interface SpringControls {
values: MotionProperties;
}
type MotionInstanceBindings<T extends string, V extends MotionVariants<T>> = Record<string, MotionInstance<T, V>>;
-declare module '@vue/runtime-core' {
+declare module 'vue' {
interface ComponentCustomProperties {
$motions?: MotionInstanceBindings<any, any>;
}
diff --git a/dist/shared/motion.6686175e.d.ts b/dist/shared/motion.6686175e.d.ts
index d118e42ad332997dd203623a8a2bd5109ecdd04f..6ec3bad16555148ec11461e90e2a68116bf1d887 100644
--- a/dist/shared/motion.6686175e.d.ts
+++ b/dist/shared/motion.6686175e.d.ts
@@ -594,7 +594,7 @@ interface SpringControls {
values: MotionProperties;
}
type MotionInstanceBindings<T extends string, V extends MotionVariants<T>> = Record<string, MotionInstance<T, V>>;
-declare module '@vue/runtime-core' {
+declare module 'vue' {
interface ComponentCustomProperties {
$motions?: MotionInstanceBindings<any, any>;
}

19
patches/nuxt.patch Normal file
View File

@ -0,0 +1,19 @@
diff --git a/dist/index.mjs b/dist/index.mjs
index 04537d45037445e8dc497d90ad631e48af69a18d..7802ccd80a5e507b57512438d5137038655a465d 100644
--- a/dist/index.mjs
+++ b/dist/index.mjs
@@ -1401,14 +1401,6 @@ interface _GlobalComponents {
${componentTypes.map(([pascalName, type]) => ` 'Lazy${pascalName}': ${type}`).join("\n")}
}
-declare module '@vue/runtime-core' {
- export interface GlobalComponents extends _GlobalComponents { }
-}
-
-declare module '@vue/runtime-dom' {
- export interface GlobalComponents extends _GlobalComponents { }
-}
-
declare module 'vue' {
export interface GlobalComponents extends _GlobalComponents { }
}

13
patches/pinceau.patch Normal file
View File

@ -0,0 +1,13 @@
diff --git a/dist/index.d.ts b/dist/index.d.ts
index 612f1c7908c2e973870be08c6fba1515e6e2b9ca..445a3b0574c5388b624d537fc17cbf4a08973ded 100644
--- a/dist/index.d.ts
+++ b/dist/index.d.ts
@@ -115,7 +115,7 @@ interface ModuleHooks {
interface ModuleOptions extends PinceauOptions {
}
-declare module '@vue/runtime-core' {
+declare module 'vue' {
interface ComponentCustomProperties {
$dt: DtFunction;
$pinceau: ComputedRef<string>;

13
patches/vue-i18n.patch Normal file
View File

@ -0,0 +1,13 @@
diff --git a/dist/vue-i18n.d.ts b/dist/vue-i18n.d.ts
index 8d5c4fc0e551ab3beccfcaa67764818a2c4c6756..0cee95f214e03add239d3df5e91ad2a8a154ac1e 100644
--- a/dist/vue-i18n.d.ts
+++ b/dist/vue-i18n.d.ts
@@ -3125,7 +3125,7 @@ export declare type WarnHtmlInMessageLevel = 'off' | 'warn' | 'error';
export { }
-declare module '@vue/runtime-core' {
+declare module 'vue' {
/**
* Component Custom Options for Vue I18n
*

File diff suppressed because it is too large Load Diff