diff --git a/package.json b/package.json index dad04bc47..ecade43a5 100644 --- a/package.json +++ b/package.json @@ -142,5 +142,10 @@ "vue-tsc": "1.2.0", "wait-on": "7.0.1", "workbox-cli": "6.5.4" + }, + "pnpm": { + "patchedDependencies": { + "flexsearch@0.7.31": "patches/flexsearch@0.7.31.patch" + } } } diff --git a/patches/flexsearch@0.7.31.patch b/patches/flexsearch@0.7.31.patch new file mode 100644 index 000000000..da1ddb9f8 --- /dev/null +++ b/patches/flexsearch@0.7.31.patch @@ -0,0 +1,16 @@ +diff --git a/index.d.ts b/index.d.ts +deleted file mode 100644 +index 9f39f41073864b83968bdaa242ac4e3c3149685a..0000000000000000000000000000000000000000 +diff --git a/package.json b/package.json +index 8968f5bf8010ff194240591c8b83299f7328e79d..6d84b6f590a841b129ed8b3860cb786df5a185c0 100644 +--- a/package.json ++++ b/package.json +@@ -22,8 +22,6 @@ + }, + "main": "dist/flexsearch.bundle.js", + "browser": "dist/flexsearch.bundle.js", +- "module": "dist/module/index.js", +- "types": "./index.d.ts", + "preferGlobal": false, + "repository": { + "type": "git", \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 46caa3b54..f81e16d5e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,5 +1,10 @@ lockfileVersion: 5.4 +patchedDependencies: + flexsearch@0.7.31: + hash: bfn3sngfuhktmdj7jgl3ejl35y + path: patches/flexsearch@0.7.31.patch + specifiers: '@4tw/cypress-drag-drop': 2.2.3 '@cypress/vite-dev-server': 5.0.4 @@ -123,7 +128,7 @@ dependencies: easymde: 2.18.0 fast-deep-equal: 3.1.3 flatpickr: 4.6.13 - flexsearch: 0.7.31 + flexsearch: 0.7.31_bfn3sngfuhktmdj7jgl3ejl35y floating-vue: 2.0.0-beta.20_vue@3.2.47 focus-within: 3.0.2 highlight.js: 11.7.0 @@ -8241,9 +8246,10 @@ packages: resolution: {integrity: sha512-W7cHV7Hrwjid6lWmy0IhsWDFQboWSng25U3VVywpHOTJnnAZNPScog67G+cVpeX9f7yDD21ih0WDrMMT+JoaYg==} dev: true - /flexsearch/0.7.31: + /flexsearch/0.7.31_bfn3sngfuhktmdj7jgl3ejl35y: resolution: {integrity: sha512-XGozTsMPYkm+6b5QL3Z9wQcJjNYxp0CYn3U1gO7dwD6PAqU1SVWZxI9CCg3z+ml3YfqdPnrBehaBrnH2AGKbNA==} dev: false + patched: true /floating-vue/2.0.0-beta.20_vue@3.2.47: resolution: {integrity: sha512-N68otcpp6WwcYC7zP8GeJqNZVdfvS7tEY88lwmuAHeqRgnfWx1Un8enzLxROyVnBDZ3TwUoUdj5IFg+bUT7JeA==}