@ladybugdb/core 0.15.2 → 0.15.3-dev.20260411

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +3 -3
  2. package/install.js +16 -1
  3. package/package.json +5 -5
package/README.md CHANGED
@@ -40,11 +40,11 @@ The database was formerly known as [Kuzu](https://github.com/kuzudb/kuzu).
40
40
 
41
41
  | Language | Installation |
42
42
  | -------- |------------------------------------------------------------------------|
43
- | Python | `pip install real_ladybug` |
43
+ | Python | `pip install ladybug` |
44
44
  | NodeJS | `npm install @ladybug/core` |
45
45
  | Rust | `cargo add lbug` |
46
- | Go | `go get github.com/lbugdb/go-ladybug` |
47
- | Swift | [lbug-swift](https://github.com/lbugdb/swift-ladybug) |
46
+ | Go | `go get github.com/LadybugDB/go-ladybug` |
47
+ | Swift | [lbug-swift](https://github.com/LadybugDB/swift-ladybug) |
48
48
  | Java | [Maven Central](https://central.sonatype.com/artifact/com.ladybugdb/lbug) |
49
49
  | C/C++ | [precompiled binaries](https://github.com/LadybugDB/ladybug/releases/latest) |
50
50
  | CLI | [precompiled binaries](https://github.com/LadybugDB/ladybug/releases/latest) |
package/install.js CHANGED
@@ -115,8 +115,10 @@ if (process.platform === "win32") {
115
115
  );
116
116
 
117
117
  for (let key in env) {
118
+ const lowerKey = key.toLowerCase();
118
119
  if (
119
- key.toLowerCase().includes("node" || key.toLowerCase().includes("npm"))
120
+ (lowerKey.includes("node") || lowerKey.includes("npm")) &&
121
+ lowerKey !== "lbug_nodejs_precompiled_lib_path"
120
122
  ) {
121
123
  delete env[key];
122
124
  }
@@ -126,6 +128,19 @@ if (process.platform === "win32") {
126
128
  );
127
129
  }
128
130
 
131
+ if (env.LBUG_NODEJS_PRECOMPILED_LIB_PATH) {
132
+ env.EXTRA_CMAKE_FLAGS = [
133
+ env.EXTRA_CMAKE_FLAGS,
134
+ "-DBUILD_LBUG=FALSE",
135
+ "-DBUILD_SHELL=FALSE",
136
+ "-DLBUG_NODEJS_USE_PRECOMPILED_LIB=TRUE",
137
+ `-DLBUG_NODEJS_PRECOMPILED_LIB_PATH=${env.LBUG_NODEJS_PRECOMPILED_LIB_PATH}`,
138
+ ].filter(Boolean).join(" ");
139
+ console.log(
140
+ `Using precompiled liblbug from '${env.LBUG_NODEJS_PRECOMPILED_LIB_PATH}'.`
141
+ );
142
+ }
143
+
129
144
  childProcess.execSync("make nodejs NUM_THREADS=" + THREADS, {
130
145
  env,
131
146
  cwd: path.join(__dirname, "lbug-source"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ladybugdb/core",
3
- "version": "0.15.2",
3
+ "version": "0.15.3-dev.20260411",
4
4
  "description": "An in-process property graph database management system built for query speed and scalability.",
5
5
  "main": "index.js",
6
6
  "module": "./index.mjs",
@@ -44,9 +44,9 @@
44
44
  "node-addon-api": "^6.0.0"
45
45
  },
46
46
  "optionalDependencies": {
47
- "@ladybugdb/core-darwin-arm64": "0.15.2",
48
- "@ladybugdb/core-linux-arm64": "0.15.2",
49
- "@ladybugdb/core-linux-x64": "0.15.2",
50
- "@ladybugdb/core-win32-x64": "0.15.2"
47
+ "@ladybugdb/core-darwin-arm64": "0.15.3-dev.20260411",
48
+ "@ladybugdb/core-linux-arm64": "0.15.3-dev.20260411",
49
+ "@ladybugdb/core-linux-x64": "0.15.3-dev.20260411",
50
+ "@ladybugdb/core-win32-x64": "0.15.3-dev.20260411"
51
51
  }
52
52
  }