fix: force usage of @types for flexsearch instead of integrated types

This commit is contained in:
Dominik Pschenitschni 2023-03-14 17:05:27 +01:00
parent 2e4c6673d4
commit f60cebf42c
Signed by untrusted user: dpschen
GPG Key ID: B257AC0149F43A77
3 changed files with 29 additions and 2 deletions

View File

@ -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"
}
}
}

View File

@ -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",

10
pnpm-lock.yaml generated
View File

@ -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==}