fix: registry-js should only build on win32, v0.8.1-prerelease9

This commit is contained in:
lin onetwo 2023-12-30 01:34:55 +08:00
parent 3fd8a2a220
commit 478863cef8
3 changed files with 24 additions and 3 deletions

View file

@ -2,7 +2,7 @@
"name": "tidgi",
"productName": "TidGi",
"description": "Customizable personal knowledge-base with Github as unlimited storage and blogging platform.",
"version": "0.8.1-prerelease8",
"version": "0.8.1-prerelease9",
"license": "MPL 2.0",
"scripts": {
"start": "pnpm run clean && pnpm run init:git-submodule && pnpm run start:without-clean",
@ -175,6 +175,9 @@
"overrides": {
"node-abi": "latest",
"prebuild-install": "latest"
},
"patchedDependencies": {
"registry-js@1.15.1": "patches/registry-js@1.15.1.patch"
}
},
"private": false

View file

@ -0,0 +1,12 @@
diff --git a/package.json b/package.json
index c83258354f9997e167ea872b10093f7b22756671..5f04bdd3c89708d59f4fbc450e6fa1dcae5d6960 100644
--- a/package.json
+++ b/package.json
@@ -4,6 +4,7 @@
"description": "A simple and opinionated library for working with the Windows registry",
"main": "dist/lib/index.js",
"typings": "dist/lib/index.d.ts",
+ "os": ["win32"],
"scripts": {
"install": "prebuild-install || node-gyp rebuild",
"build": "tsc",

10
pnpm-lock.yaml generated
View file

@ -8,6 +8,11 @@ overrides:
node-abi: latest
prebuild-install: latest
patchedDependencies:
registry-js@1.15.1:
hash: 7rafcy7utzw5ykwiniqb3nhl5q
path: patches/registry-js@1.15.1.patch
dependencies:
'@llama-node/core':
specifier: ^0.1.6
@ -160,7 +165,7 @@ dependencies:
optionalDependencies:
registry-js:
specifier: 1.15.1
version: 1.15.1
version: 1.15.1(patch_hash=7rafcy7utzw5ykwiniqb3nhl5q)
sqlite-vss-darwin-arm64:
specifier: 0.1.2
version: 0.1.2
@ -9391,7 +9396,7 @@ packages:
engines: {node: '>=8'}
dev: true
/registry-js@1.15.1:
/registry-js@1.15.1(patch_hash=7rafcy7utzw5ykwiniqb3nhl5q):
resolution: {integrity: sha512-aHEHtbzqusxkhprn7+rf2Cu7z0oPHaXVuOVKTpZigBSRpXUTw7+yWBJyuAREpG1bt2doe+qJzSR+kyZ9uWsj7A==}
requiresBuild: true
dependencies:
@ -9399,6 +9404,7 @@ packages:
prebuild-install: 7.1.1
dev: false
optional: true
patched: true
/regjsparser@0.10.0:
resolution: {integrity: sha512-qx+xQGZVsy55CH0a1hiVwHmqjLryfh7wQyF5HO07XJ9f7dQMY/gPQHhlyDkIzJKC+x2fUCpCcUODUUUFrm7SHA==}