From 4058b324d9b365be291892a90e581fac48c5f81e Mon Sep 17 00:00:00 2001 From: zernonia Date: Mon, 13 Nov 2023 17:11:54 +0800 Subject: [PATCH] fix: patch @unovis/vue deps --- package.json | 5 +++++ patches/@unovis__vue@1.3.0.patch | 13 +++++++++++++ pnpm-lock.yaml | 10 ++++++++-- 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 patches/@unovis__vue@1.3.0.patch diff --git a/package.json b/package.json index eaa9a25d..623b22b9 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,11 @@ "@commitlint/config-conventional" ] }, + "pnpm": { + "patchedDependencies": { + "@unovis/vue@1.3.0": "patches/@unovis__vue@1.3.0.patch" + } + }, "simple-git-hooks": { "pre-commit": "pnpm lint-staged", "commit-msg": "pnpm commitlint --edit ${1}" diff --git a/patches/@unovis__vue@1.3.0.patch b/patches/@unovis__vue@1.3.0.patch new file mode 100644 index 00000000..09185ba4 --- /dev/null +++ b/patches/@unovis__vue@1.3.0.patch @@ -0,0 +1,13 @@ +diff --git a/package.json b/package.json +index cf65a07e0d7abc8bf22e213d9746287cacb336cd..89eddfee2e4a7de93631d33d8280180915fc62ae 100644 +--- a/package.json ++++ b/package.json +@@ -51,7 +51,7 @@ + "gallery": "vite" + }, + "peerDependencies": { +- "@unovis/ts": "1.2.1", ++ "@unovis/ts": "^1.2.1", + "vue": "^3" + }, + "devDependencies": { \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7c535b86..b39c075e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,6 +4,11 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false +patchedDependencies: + '@unovis/vue@1.3.0': + hash: nrfhheeygipyotfzevarkar7yi + path: patches/@unovis__vue@1.3.0.patch + importers: .: @@ -64,7 +69,7 @@ importers: version: 1.3.0 '@unovis/vue': specifier: 1.3.0 - version: 1.3.0(@unovis/ts@1.3.0)(vue@3.3.7) + version: 1.3.0(patch_hash=nrfhheeygipyotfzevarkar7yi)(@unovis/ts@1.3.0)(vue@3.3.7) '@vee-validate/zod': specifier: ^4.11.8 version: 4.11.8(vue@3.3.7) @@ -2604,7 +2609,7 @@ packages: tslib: 2.6.2 dev: false - /@unovis/vue@1.3.0(@unovis/ts@1.3.0)(vue@3.3.7): + /@unovis/vue@1.3.0(patch_hash=nrfhheeygipyotfzevarkar7yi)(@unovis/ts@1.3.0)(vue@3.3.7): resolution: {integrity: sha512-t/72dKYDBJ1p+8wINxVdGwjst6YRqImEpJMyJdHvFn5Opl4SD0say35eGHmX9HH3f7yDLMtMQyQUE9Ure8eyIQ==} peerDependencies: '@unovis/ts': 1.2.1 @@ -2613,6 +2618,7 @@ packages: '@unovis/ts': 1.3.0 vue: 3.3.7(typescript@5.2.2) dev: false + patched: true /@vee-validate/zod@4.11.8(vue@3.3.7): resolution: {integrity: sha512-qAyqDEigklMf669ZqIw9t95g0Ipzu9rMYUqcZpANlCvyaIAeBlJGcsv+2CewlqgwuC6BL9EAURLJ8Ux5WlBgXg==}