diff --git a/core/embedjs-interfaces/package.json b/core/embedjs-interfaces/package.json index 6cb7f8c4..a6206243 100644 --- a/core/embedjs-interfaces/package.json +++ b/core/embedjs-interfaces/package.json @@ -1,6 +1,6 @@ { "name": "@llm-tools/embedjs-interfaces", - "version": "0.1.19", + "version": "0.1.20", "description": "Interfaces for extending the embedjs ecosystem", "dependencies": { "@langchain/core": "^0.3.18", diff --git a/core/embedjs-utils/package.json b/core/embedjs-utils/package.json index a0b2a513..baf67fe4 100644 --- a/core/embedjs-utils/package.json +++ b/core/embedjs-utils/package.json @@ -1,9 +1,9 @@ { "name": "@llm-tools/embedjs-utils", - "version": "0.1.19", + "version": "0.1.20", "description": "Useful util functions when extending the embedjs ecosystem", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.19" + "@llm-tools/embedjs-interfaces": "0.1.20" }, "type": "module", "main": "./src/index.js", diff --git a/core/embedjs/package.json b/core/embedjs/package.json index 7f26b6f6..cd976cf6 100644 --- a/core/embedjs/package.json +++ b/core/embedjs/package.json @@ -1,12 +1,12 @@ { "type": "module", "name": "@llm-tools/embedjs", - "version": "0.1.19", + "version": "0.1.20", "description": "A NodeJS RAG framework to easily work with LLMs and custom datasets", "dependencies": { "@langchain/textsplitters": "^0.1.0", - "@llm-tools/embedjs-interfaces": "0.1.19", - "@llm-tools/embedjs-utils": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", + "@llm-tools/embedjs-utils": "0.1.20", "debug": "^4.3.7", "langchain": "^0.3.6", "md5": "^2.3.0", diff --git a/databases/embedjs-astra/package.json b/databases/embedjs-astra/package.json index ba3f86a9..481515f0 100644 --- a/databases/embedjs-astra/package.json +++ b/databases/embedjs-astra/package.json @@ -1,10 +1,10 @@ { "name": "@llm-tools/embedjs-astradb", - "version": "0.1.19", + "version": "0.1.20", "description": "Add AstraDB support to embedjs", "dependencies": { "@datastax/astra-db-ts": "^1.5.0", - "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", "debug": "^4.3.7" }, "type": "module", diff --git a/databases/embedjs-cosmos/package.json b/databases/embedjs-cosmos/package.json index fc4bdbad..9ddf6713 100644 --- a/databases/embedjs-cosmos/package.json +++ b/databases/embedjs-cosmos/package.json @@ -1,10 +1,10 @@ { "name": "@llm-tools/embedjs-cosmos", - "version": "0.1.19", + "version": "0.1.20", "description": "Add CosmosDB support to embedjs", "dependencies": { "@azure/cosmos": "^4.2.0", - "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", "debug": "^4.3.7" }, "type": "module", diff --git a/databases/embedjs-hnswlib/package.json b/databases/embedjs-hnswlib/package.json index 4520e1ba..6603ed7d 100644 --- a/databases/embedjs-hnswlib/package.json +++ b/databases/embedjs-hnswlib/package.json @@ -1,9 +1,9 @@ { "name": "@llm-tools/embedjs-hnswlib", - "version": "0.1.19", + "version": "0.1.20", "description": "Add HNSWLib support to embedjs", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", "debug": "^4.3.7", "hnswlib-node": "^3.0.0" }, diff --git a/databases/embedjs-lancedb/package.json b/databases/embedjs-lancedb/package.json index 72f64ab3..6645da81 100644 --- a/databases/embedjs-lancedb/package.json +++ b/databases/embedjs-lancedb/package.json @@ -1,10 +1,10 @@ { "name": "@llm-tools/embedjs-lancedb", - "version": "0.1.19", + "version": "0.1.20", "description": "Add LanceDb support to embedjs", "dependencies": { "@lancedb/lancedb": "^0.13.0", - "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", "compute-cosine-similarity": "^1.1.0", "debug": "^4.3.7" }, diff --git a/databases/embedjs-lancedb/src/lance-db.ts b/databases/embedjs-lancedb/src/lance-db.ts index d4d42a5f..28d7dcec 100644 --- a/databases/embedjs-lancedb/src/lance-db.ts +++ b/databases/embedjs-lancedb/src/lance-db.ts @@ -29,7 +29,7 @@ export class LanceDb implements BaseVectorDatabase { const client = await connect(dir); const list = await client.tableNames(); - this.debug.log(`Table names found - [${list.join(',')}]`); + this.debug(`Table names found - [${list.join(',')}]`); if (list.indexOf(LanceDb.STATIC_DB_NAME) > -1) this.table = await client.openTable(LanceDb.STATIC_DB_NAME); else { //TODO: You can add a proper schema instead of a sample record now but it requires another package apache-arrow; another install on downstream as well @@ -61,14 +61,14 @@ export class LanceDb implements BaseVectorDatabase { }; }); - this.debug.log(`Executing insert of ${mapped.length} entries`); + this.debug(`Executing insert of ${mapped.length} entries`); await this.table.add(mapped); return mapped.length; //TODO: check if vectorDb has addressed the issue where add returns undefined } async similaritySearch(query: number[], k: number): Promise { const results = await this.table.search(query).limit(k).toArray(); - this.debug.log(`Query found ${results.length} entries`); + this.debug(`Query found ${results.length} entries`); return ( results diff --git a/databases/embedjs-libsql/package.json b/databases/embedjs-libsql/package.json index 7da3b166..c1d2197a 100644 --- a/databases/embedjs-libsql/package.json +++ b/databases/embedjs-libsql/package.json @@ -1,10 +1,10 @@ { "name": "@llm-tools/embedjs-libsql", - "version": "0.1.19", + "version": "0.1.20", "description": "Add LibSQL support to embedjs", "dependencies": { "@libsql/client": "^0.14.0", - "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", "debug": "^4.3.7" }, "type": "module", diff --git a/databases/embedjs-libsql/src/libsql-db.ts b/databases/embedjs-libsql/src/libsql-db.ts index 88fb57e3..b08125f1 100644 --- a/databases/embedjs-libsql/src/libsql-db.ts +++ b/databases/embedjs-libsql/src/libsql-db.ts @@ -38,7 +38,7 @@ export class LibSqlDb implements BaseVectorDatabase { ${values.join(',')} );`; - this.debug.log(`Executing statement - ${statement}`); + this.debug(`Executing statement - ${statement}`); const result = await this.client.execute(statement); return result.rowsAffected; } @@ -51,7 +51,7 @@ export class LibSqlDb implements BaseVectorDatabase { TOP ${k} ASC;`; - this.debug.log(`Executing statement - ${statement}`); + this.debug(`Executing statement - ${statement}`); const results = await this.client.execute(statement); return results.rows.map((result) => { diff --git a/databases/embedjs-lmdb/package.json b/databases/embedjs-lmdb/package.json index 21407a88..9a1f5b45 100644 --- a/databases/embedjs-lmdb/package.json +++ b/databases/embedjs-lmdb/package.json @@ -1,9 +1,9 @@ { "name": "@llm-tools/embedjs-lmdb", - "version": "0.1.19", + "version": "0.1.20", "description": "Add LMDB support to embedjs", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", "debug": "^4.3.7", "lmdb": "^3.1.6" }, diff --git a/databases/embedjs-lmdb/src/lmdb-store.ts b/databases/embedjs-lmdb/src/lmdb-store.ts index d3524814..84618bb6 100644 --- a/databases/embedjs-lmdb/src/lmdb-store.ts +++ b/databases/embedjs-lmdb/src/lmdb-store.ts @@ -15,7 +15,7 @@ export class LmdbStore implements BaseStore { } async init(): Promise { - this.debug.log(`Opening LMDB connection with path - ${this.dataPath}`); + this.debug(`Opening LMDB connection with path - ${this.dataPath}`); this.database = lmdb.open({ path: this.dataPath, compression: true, diff --git a/databases/embedjs-mongodb/package.json b/databases/embedjs-mongodb/package.json index 76964fb5..5bb810f4 100644 --- a/databases/embedjs-mongodb/package.json +++ b/databases/embedjs-mongodb/package.json @@ -1,9 +1,9 @@ { "name": "@llm-tools/embedjs-mongodb", - "version": "0.1.19", + "version": "0.1.20", "description": "Add MongoDB support to embedjs", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", "debug": "^4.3.7", "mongodb": "^6.10.0" }, diff --git a/databases/embedjs-pinecone/package.json b/databases/embedjs-pinecone/package.json index 9ddb0592..d13ef89a 100644 --- a/databases/embedjs-pinecone/package.json +++ b/databases/embedjs-pinecone/package.json @@ -1,9 +1,9 @@ { "name": "@llm-tools/embedjs-pinecone", - "version": "0.1.19", + "version": "0.1.20", "description": "Add Pinecone support to embedjs", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", "@pinecone-database/pinecone": "^4.0.0", "debug": "^4.3.7" }, diff --git a/databases/embedjs-qdrant/package.json b/databases/embedjs-qdrant/package.json index df536115..bd520e21 100644 --- a/databases/embedjs-qdrant/package.json +++ b/databases/embedjs-qdrant/package.json @@ -1,9 +1,9 @@ { "name": "@llm-tools/embedjs-qdrant", - "version": "0.1.19", + "version": "0.1.20", "description": "Add Qdrant support to embedjs", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", "@qdrant/js-client-rest": "^1.12.0", "debug": "^4.3.7", "uuid": "^11.0.3" diff --git a/databases/embedjs-redis/package.json b/databases/embedjs-redis/package.json index 7c762e6f..23e2427c 100644 --- a/databases/embedjs-redis/package.json +++ b/databases/embedjs-redis/package.json @@ -1,9 +1,9 @@ { "name": "@llm-tools/embedjs-redis", - "version": "0.1.19", + "version": "0.1.20", "description": "Add Redis support to embedjs", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", "ioredis": "^5.4.1" }, "type": "module", diff --git a/databases/embedjs-weaviate/package.json b/databases/embedjs-weaviate/package.json index 510a2ffe..37a31a92 100644 --- a/databases/embedjs-weaviate/package.json +++ b/databases/embedjs-weaviate/package.json @@ -1,9 +1,9 @@ { "name": "@llm-tools/embedjs-weaviate", - "version": "0.1.19", + "version": "0.1.20", "description": "Add Weaviate support to embedjs", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", "compute-cosine-similarity": "^1.1.0", "debug": "^4.3.7", "weaviate-ts-client": "^2.2.0" diff --git a/loaders/embedjs-loader-confluence/package.json b/loaders/embedjs-loader-confluence/package.json index 5b63ec36..cb1ad3b5 100644 --- a/loaders/embedjs-loader-confluence/package.json +++ b/loaders/embedjs-loader-confluence/package.json @@ -1,10 +1,10 @@ { "name": "@llm-tools/embedjs-loader-confluence", - "version": "0.1.19", + "version": "0.1.20", "description": "Confluence loader for embedjs", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.19", - "@llm-tools/embedjs-loader-web": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", + "@llm-tools/embedjs-loader-web": "0.1.20", "confluence.js": "^1.7.4", "debug": "^4.3.7", "md5": "^2.3.0" diff --git a/loaders/embedjs-loader-csv/package.json b/loaders/embedjs-loader-csv/package.json index d1726e03..abaadcdb 100644 --- a/loaders/embedjs-loader-csv/package.json +++ b/loaders/embedjs-loader-csv/package.json @@ -1,10 +1,10 @@ { "name": "@llm-tools/embedjs-loader-csv", - "version": "0.1.19", + "version": "0.1.20", "description": "CSV loader for embedjs", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.19", - "@llm-tools/embedjs-utils": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", + "@llm-tools/embedjs-utils": "0.1.20", "csv-parse": "^5.6.0", "debug": "^4.3.7", "md5": "^2.3.0" diff --git a/loaders/embedjs-loader-markdown/package.json b/loaders/embedjs-loader-markdown/package.json index 8c7df78e..8187ba61 100644 --- a/loaders/embedjs-loader-markdown/package.json +++ b/loaders/embedjs-loader-markdown/package.json @@ -1,10 +1,10 @@ { "name": "@llm-tools/embedjs-loader-markdown", - "version": "0.1.19", + "version": "0.1.20", "description": "XML loader for embedjs", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.19", - "@llm-tools/embedjs-loader-web": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", + "@llm-tools/embedjs-loader-web": "0.1.20", "debug": "^4.3.7", "md5": "^2.3.0", "micromark": "^4.0.1", diff --git a/loaders/embedjs-loader-msoffice/package.json b/loaders/embedjs-loader-msoffice/package.json index 3bbd2ce8..367c64b9 100644 --- a/loaders/embedjs-loader-msoffice/package.json +++ b/loaders/embedjs-loader-msoffice/package.json @@ -1,11 +1,11 @@ { "name": "@llm-tools/embedjs-loader-msoffice", - "version": "0.1.19", + "version": "0.1.20", "description": "Word, PPT and Excel loader for embedjs", "dependencies": { "@langchain/textsplitters": "^0.1.0", - "@llm-tools/embedjs-interfaces": "0.1.19", - "@llm-tools/embedjs-utils": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", + "@llm-tools/embedjs-utils": "0.1.20", "md5": "^2.3.0", "office-text-extractor": "^3.0.3" }, diff --git a/loaders/embedjs-loader-pdf/package.json b/loaders/embedjs-loader-pdf/package.json index c3cfe091..0389d8d1 100644 --- a/loaders/embedjs-loader-pdf/package.json +++ b/loaders/embedjs-loader-pdf/package.json @@ -1,11 +1,11 @@ { "name": "@llm-tools/embedjs-loader-pdf", - "version": "0.1.19", + "version": "0.1.20", "description": "PDF loader for embedjs", "dependencies": { "@langchain/textsplitters": "^0.1.0", - "@llm-tools/embedjs-interfaces": "0.1.19", - "@llm-tools/embedjs-utils": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", + "@llm-tools/embedjs-utils": "0.1.20", "md5": "^2.3.0", "office-text-extractor": "^3.0.3" }, diff --git a/loaders/embedjs-loader-sitemap/package.json b/loaders/embedjs-loader-sitemap/package.json index 923b0900..30bd0632 100644 --- a/loaders/embedjs-loader-sitemap/package.json +++ b/loaders/embedjs-loader-sitemap/package.json @@ -1,10 +1,10 @@ { "name": "@llm-tools/embedjs-loader-sitemap", - "version": "0.1.19", + "version": "0.1.20", "description": "Sitemap recursive loader for embedjs", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.19", - "@llm-tools/embedjs-loader-web": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", + "@llm-tools/embedjs-loader-web": "0.1.20", "debug": "^4.3.7", "md5": "^2.3.0", "sitemapper": "^3.2.18" diff --git a/loaders/embedjs-loader-web/package.json b/loaders/embedjs-loader-web/package.json index 4ce52bbd..5c4158fb 100644 --- a/loaders/embedjs-loader-web/package.json +++ b/loaders/embedjs-loader-web/package.json @@ -1,11 +1,11 @@ { "name": "@llm-tools/embedjs-loader-web", - "version": "0.1.19", + "version": "0.1.20", "description": "Web page loader for embedjs", "dependencies": { "@langchain/textsplitters": "^0.1.0", - "@llm-tools/embedjs-interfaces": "0.1.19", - "@llm-tools/embedjs-utils": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", + "@llm-tools/embedjs-utils": "0.1.20", "debug": "^4.3.7", "html-to-text": "^9.0.5", "md5": "^2.3.0" diff --git a/loaders/embedjs-loader-xml/package.json b/loaders/embedjs-loader-xml/package.json index 173f07dd..caecce44 100644 --- a/loaders/embedjs-loader-xml/package.json +++ b/loaders/embedjs-loader-xml/package.json @@ -1,9 +1,9 @@ { "name": "@llm-tools/embedjs-loader-xml", - "version": "0.1.19", + "version": "0.1.20", "description": "XML loader for embedjs", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", "debug": "^4.3.7", "fast-xml-parser": "^4.5.0", "md5": "^2.3.0" diff --git a/loaders/embedjs-loader-youtube/package.json b/loaders/embedjs-loader-youtube/package.json index dd65fc9c..e20a15a0 100644 --- a/loaders/embedjs-loader-youtube/package.json +++ b/loaders/embedjs-loader-youtube/package.json @@ -1,11 +1,11 @@ { "name": "@llm-tools/embedjs-loader-youtube", - "version": "0.1.19", + "version": "0.1.20", "description": "Youtube transcript and channel recursive loader for embedjs", "dependencies": { "@langchain/textsplitters": "^0.1.0", - "@llm-tools/embedjs-interfaces": "0.1.19", - "@llm-tools/embedjs-utils": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", + "@llm-tools/embedjs-utils": "0.1.20", "debug": "^4.3.7", "md5": "^2.3.0", "usetube": "^2.2.7", diff --git a/models/embedjs-anthropic/package.json b/models/embedjs-anthropic/package.json index e3ad92b0..6919cdbc 100644 --- a/models/embedjs-anthropic/package.json +++ b/models/embedjs-anthropic/package.json @@ -1,11 +1,11 @@ { "name": "@llm-tools/embedjs-anthropic", - "version": "0.1.19", + "version": "0.1.20", "description": "Enable usage of Anthropic models with embedjs", "dependencies": { "@langchain/anthropic": "^0.3.8", "@langchain/core": "^0.3.18", - "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", "debug": "^4.3.7" }, "type": "module", diff --git a/models/embedjs-cohere/package.json b/models/embedjs-cohere/package.json index c1e427de..9cc11627 100644 --- a/models/embedjs-cohere/package.json +++ b/models/embedjs-cohere/package.json @@ -1,10 +1,10 @@ { "name": "@llm-tools/embedjs-cohere", - "version": "0.1.19", + "version": "0.1.20", "description": "Enable usage of Cohere models with embedjs", "dependencies": { "@langchain/cohere": "^0.3.1", - "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", "cohere-ai": "^7.14.0" }, "type": "module", diff --git a/models/embedjs-huggingface/package.json b/models/embedjs-huggingface/package.json index 500700d7..63992e46 100644 --- a/models/embedjs-huggingface/package.json +++ b/models/embedjs-huggingface/package.json @@ -1,12 +1,12 @@ { "name": "@llm-tools/embedjs-huggingface", - "version": "0.1.19", + "version": "0.1.20", "description": "Enable usage of HuggingFace models with embedjs", "dependencies": { "@huggingface/inference": "^2.8.1", "@langchain/community": "^0.3.15", "@langchain/core": "^0.3.18", - "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", "debug": "^4.3.7" }, "type": "module", diff --git a/models/embedjs-llama-cpp/package.json b/models/embedjs-llama-cpp/package.json index d5a38e96..aa6acb0d 100644 --- a/models/embedjs-llama-cpp/package.json +++ b/models/embedjs-llama-cpp/package.json @@ -1,11 +1,11 @@ { "name": "@llm-tools/embedjs-llama-cpp", - "version": "0.1.19", + "version": "0.1.20", "description": "Enable usage of Node-Llama-Cpp with embedjs", "dependencies": { "@langchain/community": "^0.3.15", "@langchain/core": "^0.3.18", - "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", "debug": "^4.3.7", "node-llama-cpp": "^3.2.0" }, diff --git a/models/embedjs-mistral/package.json b/models/embedjs-mistral/package.json index 9229376e..65ba1135 100644 --- a/models/embedjs-mistral/package.json +++ b/models/embedjs-mistral/package.json @@ -1,11 +1,11 @@ { "name": "@llm-tools/embedjs-mistral", - "version": "0.1.19", + "version": "0.1.20", "description": "Enable usage of Mistral models with embedjs", "dependencies": { "@langchain/core": "^0.3.18", "@langchain/mistralai": "^0.2.0", - "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", "debug": "^4.3.7" }, "type": "module", diff --git a/models/embedjs-ollama/package.json b/models/embedjs-ollama/package.json index 35f8af0c..1c914a89 100644 --- a/models/embedjs-ollama/package.json +++ b/models/embedjs-ollama/package.json @@ -1,11 +1,11 @@ { "name": "@llm-tools/embedjs-ollama", - "version": "0.1.19", + "version": "0.1.20", "description": "Enable usage of Ollama with embedjs", "dependencies": { "@langchain/core": "^0.3.18", "@langchain/ollama": "^0.1.2", - "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", "debug": "^4.3.7" }, "type": "module", diff --git a/models/embedjs-openai/package.json b/models/embedjs-openai/package.json index ca641665..4dd25ffc 100644 --- a/models/embedjs-openai/package.json +++ b/models/embedjs-openai/package.json @@ -1,11 +1,11 @@ { "name": "@llm-tools/embedjs-openai", - "version": "0.1.19", + "version": "0.1.20", "description": "Enable usage of OpenAI models with embedjs", "dependencies": { "@langchain/core": "^0.3.18", "@langchain/openai": "^0.3.14", - "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", "debug": "^4.3.7" }, "type": "module", diff --git a/models/embedjs-vertexai/package.json b/models/embedjs-vertexai/package.json index a8cc48e0..13e19391 100644 --- a/models/embedjs-vertexai/package.json +++ b/models/embedjs-vertexai/package.json @@ -1,11 +1,11 @@ { "name": "@llm-tools/embedjs-vertexai", - "version": "0.1.19", + "version": "0.1.20", "description": "Enable usage of VertexAI models with embedjs", "dependencies": { "@langchain/core": "^0.3.18", "@langchain/google-vertexai": "^0.1.2", - "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-interfaces": "0.1.20", "debug": "^4.3.7" }, "type": "module", diff --git a/package-lock.json b/package-lock.json index b737e090..fa2e510b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14353,23 +14353,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/jest-circus/node_modules/babel-plugin-macros": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz", - "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==", - "dev": true, - "optional": true, - "peer": true, - "dependencies": { - "@babel/runtime": "^7.12.5", - "cosmiconfig": "^7.0.0", - "resolve": "^1.19.0" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - } - }, "node_modules/jest-circus/node_modules/chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", @@ -14386,24 +14369,6 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "node_modules/jest-circus/node_modules/cosmiconfig": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz", - "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==", - "dev": true, - "optional": true, - "peer": true, - "dependencies": { - "@types/parse-json": "^4.0.0", - "import-fresh": "^3.2.1", - "parse-json": "^5.0.0", - "path-type": "^4.0.0", - "yaml": "^1.10.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/jest-circus/node_modules/dedent": { "version": "1.5.3", "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.5.3.tgz", @@ -20052,6 +20017,7 @@ "version": "5.6.3", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", + "dev": true, "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", diff --git a/scripts/publish-via-nx.js b/scripts/publish-via-nx.js index 3dba021d..13c7e679 100644 --- a/scripts/publish-via-nx.js +++ b/scripts/publish-via-nx.js @@ -59,7 +59,7 @@ async function updatePackageVersion(pkgName, version, versionMap, dryRun) { if (!found) console.error(`Could not find '${pkgName}' in any of the folders`); } -async function createRelease(dryRun, version, makeGitCommit) { +async function createRelease(dryRun, version, isCi) { console.log('Running nx release'); const { workspaceVersion, projectsVersionData } = await releaseVersion({ gitTag: false, @@ -89,10 +89,10 @@ async function createRelease(dryRun, version, makeGitCommit) { versionData: projectsVersionData, version: workspaceVersion, verbose: true, - dryRun, + dryRun: !isCi, }); - if (makeGitCommit) { + if (isCi) { console.log('Committing changes'); const git = simpleGit().clean(CleanOptions.FORCE); @@ -115,7 +115,6 @@ async function startReleasePipeline() { const isCi = args['--ci'] ? true : false; const dryRun = isCi ? false : await confirm({ message: 'Is this a dry run?', default: true, required: true }); - const makeGitCommit = isCi ? false : !dryRun; let version = 'patch'; if (!args['--version']) { @@ -134,7 +133,7 @@ async function startReleasePipeline() { } } else version = args['--version']; - await createRelease(dryRun, version, makeGitCommit); + await createRelease(dryRun, version, isCi); } await startReleasePipeline();