From bbf61bf24f4712897d21a92a538c83fdad21eb8b Mon Sep 17 00:00:00 2001 From: Zadkiel AHARONIAN Date: Wed, 25 Sep 2024 13:34:46 +0200 Subject: [PATCH] fix: without breaking change --- package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.py b/package.py index 40f54d02..8703bfcc 100644 --- a/package.py +++ b/package.py @@ -814,7 +814,7 @@ def commands_step(path, commands): pip_requirements = claim.get("pip_requirements") poetry_install = claim.get("poetry_install") poetry_export_extra_args = claim.get("poetry_export_extra_args", []) - npm_requirements = claim.get("npm_requirements") + npm_requirements = claim.get("npm_requirements", claim.get("npm_package_json")) runtime = claim.get("runtime", query.runtime) if pip_requirements and runtime.startswith("python"):