mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 02:30:47 -08:00
fix: disable esm related freature
fixes https://github.com/tiddly-gittly/TidGi-Desktop/issues/403
This commit is contained in:
parent
6ae0d4c4bd
commit
f3b12366ad
3 changed files with 28 additions and 14 deletions
|
|
@ -73,8 +73,8 @@
|
|||
"zx": "7.2.2"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"sqlite-vss-darwin-x64": "0.1.1-alpha.13",
|
||||
"sqlite-vss-darwin-arm64": "0.1.1-alpha.13",
|
||||
"sqlite-vss-darwin-x64": "0.1.1-alpha.13",
|
||||
"sqlite-vss-linux-x64": "0.1.1-alpha.13"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
@ -187,5 +187,10 @@
|
|||
"webpack5-externals-plugin": "1.0.4",
|
||||
"webpackbar": "5.0.2"
|
||||
},
|
||||
"private": false
|
||||
"private": false,
|
||||
"pnpm": {
|
||||
"patchedDependencies": {
|
||||
"sqlite-vss@0.1.1-alpha.13": "patches/sqlite-vss@0.1.1-alpha.13.patch"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
13
patches/sqlite-vss@0.1.1-alpha.13.patch
Normal file
13
patches/sqlite-vss@0.1.1-alpha.13.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/src/index.js b/src/index.js
|
||||
index 5c6b2f39fdbd05ca4b5e9e2bf6e66c9bf71489b6..825040c516711fadc889b473c129657df1a4bec2 100644
|
||||
--- a/src/index.js
|
||||
+++ b/src/index.js
|
||||
@@ -34,7 +34,7 @@ function loadablePathResolver(name) {
|
||||
}
|
||||
const packageName = platformPackageName(platform, arch);
|
||||
const loadablePath = join(
|
||||
- fileURLToPath(new URL(".", import.meta.url)),
|
||||
+ __dirname,
|
||||
"..",
|
||||
"..",
|
||||
packageName,
|
||||
20
pnpm-lock.yaml
generated
20
pnpm-lock.yaml
generated
|
|
@ -1,12 +1,14 @@
|
|||
lockfileVersion: '6.0'
|
||||
|
||||
patchedDependencies:
|
||||
sqlite-vss@0.1.1-alpha.13:
|
||||
hash: hc7mlr7keqlykbn4wvpdytkn2e
|
||||
path: patches/sqlite-vss@0.1.1-alpha.13.patch
|
||||
|
||||
dependencies:
|
||||
'@tiddlygit/tiddlywiki':
|
||||
specifier: ^5.3.0-prerelease-2023-05-22
|
||||
version: 5.3.0-prerelease-2023-05-22
|
||||
app-path:
|
||||
specifier: 4.0.0
|
||||
version: 4.0.0
|
||||
best-effort-json-parser:
|
||||
specifier: 1.0.1
|
||||
version: 1.0.1
|
||||
|
|
@ -108,7 +110,7 @@ dependencies:
|
|||
version: 0.5.21
|
||||
sqlite-vss:
|
||||
specifier: 0.1.1-alpha.13
|
||||
version: 0.1.1-alpha.13
|
||||
version: 0.1.1-alpha.13(patch_hash=hc7mlr7keqlykbn4wvpdytkn2e)
|
||||
strip-ansi:
|
||||
specifier: ^7.0.1
|
||||
version: 7.0.1
|
||||
|
|
@ -3416,13 +3418,6 @@ packages:
|
|||
picomatch: 2.3.1
|
||||
dev: true
|
||||
|
||||
/app-path@4.0.0:
|
||||
resolution: {integrity: sha512-mgBO9PZJ3MpbKbwFTljTi36ZKBvG5X/fkVR1F85ANsVcVllEb+C0LGNdJfGUm84GpC4xxgN6HFkmkMU8VEO4mA==}
|
||||
engines: {node: '>=12'}
|
||||
dependencies:
|
||||
execa: 5.1.1
|
||||
dev: false
|
||||
|
||||
/aproba@1.2.0:
|
||||
resolution: {integrity: sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==}
|
||||
dev: false
|
||||
|
|
@ -10171,13 +10166,14 @@ packages:
|
|||
dev: false
|
||||
optional: true
|
||||
|
||||
/sqlite-vss@0.1.1-alpha.13:
|
||||
/sqlite-vss@0.1.1-alpha.13(patch_hash=hc7mlr7keqlykbn4wvpdytkn2e):
|
||||
resolution: {integrity: sha512-e932Qv2eaycaWI/k8cGvsKB++p6df9UHvNdw93vJM6AX/Uy/H2t764QE4a/CuJPi34W6VbtKXTXmGbQQP8dduw==}
|
||||
optionalDependencies:
|
||||
sqlite-vss-darwin-arm64: 0.1.1-alpha.13
|
||||
sqlite-vss-darwin-x64: 0.1.1-alpha.13
|
||||
sqlite-vss-linux-x64: 0.1.1-alpha.13
|
||||
dev: false
|
||||
patched: true
|
||||
|
||||
/ssri@10.0.4:
|
||||
resolution: {integrity: sha512-12+IR2CB2C28MMAw0Ncqwj5QbTcs0nGIhgJzYWzDkb21vWmfNI83KS4f3Ci6GI98WreIfG7o9UXp3C0qbpA8nQ==}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue