From 6416372e2df65218d1154bdb8f1966b87632e22c Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 12 Jun 2025 13:33:35 +0200 Subject: [PATCH] fix flexsearch patch --- frontend/patches/flexsearch@0.8.205.patch | 47 +++++++---------------- frontend/pnpm-lock.yaml | 2 +- 2 files changed, 14 insertions(+), 35 deletions(-) diff --git a/frontend/patches/flexsearch@0.8.205.patch b/frontend/patches/flexsearch@0.8.205.patch index f7136ba89..eb56a03a1 100644 --- a/frontend/patches/flexsearch@0.8.205.patch +++ b/frontend/patches/flexsearch@0.8.205.patch @@ -1,34 +1,13 @@ -diff --git a/package.json b/package.json -index 5f8239ff969323f40dfd1602d3ef48cb438fd723..8d8d3c988cd9554a3e5401b44b559484bb38c9b5 100644 ---- a/package.json -+++ b/package.json -@@ -28,10 +28,8 @@ - "email": "info@nextapps.de" - }, - "main": "dist/flexsearch.bundle.min.js", -- "module": "dist/flexsearch.bundle.module.min.js", -- "types": "./index.d.ts", - "exports": { - ".": { - "types": "./index.d.ts", - "import": "./dist/flexsearch.bundle.module.min.js", - "require": "./dist/flexsearch.bundle.min.js" - }, - "./lang/*": { - "import": "./dist/module/lang/*.js", - "require": "./dist/lang/*.min.js" - }, - "./db/*": { - "import": "./dist/module/db/*/index.js", - "require": "./dist/db/*/index.cjs" - }, - "./debug": { - "import": "./dist/flexsearch.bundle.module.debug.js", - "require": "./dist/flexsearch.bundle.debug.js" - } - }, - "browser": { - "flexsearch": "./dist/flexsearch.bundle.module.min.js", - "flexsearch/debug": "./dist/flexsearch.bundle.module.debug.js", - "dist/flexsearch.bundle.min.js": "./dist/flexsearch.bundle.min.js", - "dist/flexsearch.bundle.module.min.js": "./dist/flexsearch.bundle.module.min.js" +diff --git a/package.json b/package.json +index 5f8239f..fb17fff 100644 +--- a/package.json ++++ b/package.json +@@ -27,10 +27,8 @@ + "email": "info@nextapps.de" + }, + "main": "dist/flexsearch.bundle.min.js", +- "module": "dist/flexsearch.bundle.module.min.js", +- "types": "./index.d.ts", + "exports": { + ".": { + "types": "./index.d.ts", diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml index 5dc719503..e0671ffaf 100644 --- a/frontend/pnpm-lock.yaml +++ b/frontend/pnpm-lock.yaml @@ -10823,7 +10823,7 @@ snapshots: flatted@3.3.1: {} - flexsearch@0.8.205(patch_hash=e038b813d8bf1c71d07a35c866056edc10b68b513c474e8a3c0c5078ba0f7e9a): {} + flexsearch@0.8.205(patch_hash=6790fa13404fc20cbd14ebd2370684abaca8eae490bddc69d715cc27dea6a98a): {} floating-vue@5.2.2(vue@3.5.16(typescript@5.8.3)): dependencies: