Skip to content

Commit

Permalink
chore: bump and patch dependencies to augment vue (#2918)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Aug 16, 2024
1 parent bdf5a18 commit 335ae78
Show file tree
Hide file tree
Showing 8 changed files with 1,308 additions and 1,080 deletions.
1 change: 0 additions & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"groupName": "lint",
"matchPackageNames": [
"@antfu/eslint-config",
"@types/prettier",
"eslint",
"prettier"
]
Expand Down
2 changes: 1 addition & 1 deletion modules/pwa/runtime/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ declare module '#app' {
}
}

declare module '@vue/runtime-core' {
declare module 'vue' {
interface ComponentCustomProperties {
$pwa?: UnwrapNestedRefs<PwaInjection>
}
Expand Down
21 changes: 11 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -143,14 +142,16 @@
"vue-tsc": "^2.0.10"
},
"pnpm": {
"overrides": {
"unstorage": "^1.10.2"
},
"patchedDependencies": {
"[email protected]": "patches/[email protected]"
"[email protected]": "patches/[email protected]",
"@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"
},
Expand Down
39 changes: 39 additions & 0 deletions patches/@vueuse__motion.patch
Original file line number Diff line number Diff line change
@@ -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 changes: 19 additions & 0 deletions patches/nuxt.patch
Original file line number Diff line number Diff line change
@@ -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 changes: 13 additions & 0 deletions patches/pinceau.patch
Original file line number Diff line number Diff line change
@@ -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 changes: 13 additions & 0 deletions patches/vue-i18n.patch
Original file line number Diff line number Diff line change
@@ -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
*
Loading

0 comments on commit 335ae78

Please sign in to comment.