From dcdfa7b8fed9f9a4b43b217877e75bda36a13b5b Mon Sep 17 00:00:00 2001 From: Caleb Courier Date: Tue, 27 Aug 2024 11:03:46 -0500 Subject: [PATCH] fix dependency extraction --- resources/py/pyproject.toml.template | 2 +- resources/py/scripts/prebuild.js | 2 +- resources/ts/package-lock.json | 4 ++-- resources/ts/package.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/py/pyproject.toml.template b/resources/py/pyproject.toml.template index 3678068..4a31aaf 100644 --- a/resources/py/pyproject.toml.template +++ b/resources/py/pyproject.toml.template @@ -1,6 +1,6 @@ [project] name = "guardrails-api-client" -version = "0.3.11" +version = "0.3.12" description = "Guardrails API Client." authors = [ {name = "Guardrails AI", email = "contact@guardrailsai.com"} diff --git a/resources/py/scripts/prebuild.js b/resources/py/scripts/prebuild.js index 9d9bba9..242ad37 100644 --- a/resources/py/scripts/prebuild.js +++ b/resources/py/scripts/prebuild.js @@ -53,7 +53,7 @@ function updateDependencies () { ${ requirements .filter(r => r.length > 0) - .map(r => `\t"${r.trim().split('\s').join('')}"`) + .map(r => `\t"${r.trim().split(' ').join('')}"`) .join(',\n') } ]`; diff --git a/resources/ts/package-lock.json b/resources/ts/package-lock.json index af31f1a..f5295bd 100644 --- a/resources/ts/package-lock.json +++ b/resources/ts/package-lock.json @@ -1,12 +1,12 @@ { "name": "@guardrails-ai/api-client", - "version": "0.3.11", + "version": "0.3.12", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@guardrails-ai/api-client", - "version": "0.3.11", + "version": "0.3.12", "license": "Apache-2.0", "devDependencies": { "@types/node": "^20.12.11", diff --git a/resources/ts/package.json b/resources/ts/package.json index a4ab888..b520613 100644 --- a/resources/ts/package.json +++ b/resources/ts/package.json @@ -1,6 +1,6 @@ { "name": "@guardrails-ai/api-client", - "version": "0.3.11", + "version": "0.3.12", "description": "Client libaray for interacting with the guardrails-api", "main": "dist/index.js", "types": "dist/index.d.ts",