feat(cli): add detection for bun.lockb

This commit is contained in:
Tat Dat Duong
2025-01-21 00:17:12 +01:00
parent 0bdd27ade4
commit 25239891bc
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -469,10 +469,11 @@ def node_config_to_docker(config_path: pathlib.Path, config: Config, base_image:
except OSError:
return False
npm, yarn, pnpm = [
npm, yarn, pnpm, bun = [
test_file("package-lock.json"),
test_file("yarn.lock"),
test_file("pnpm-lock.yaml"),
test_file("bun.lockb"),
]
if yarn:
@@ -481,6 +482,8 @@ def node_config_to_docker(config_path: pathlib.Path, config: Config, base_image:
install_cmd = "pnpm i --frozen-lockfile"
elif npm:
install_cmd = "npm ci"
elif bun:
install_cmd = "bun i"
else:
install_cmd = "npm i"
store_config = config.get("store")
+1 -1
View File
@@ -1,6 +1,6 @@
[tool.poetry]
name = "langgraph-cli"
version = "0.1.67"
version = "0.1.68"
description = "CLI for interacting with LangGraph API"
authors = []
license = "MIT"