Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

feat(data-provider): add GitHub Actions workflow for building and publishing package chore(data-provider): update package version to 0.1.2 chore(data-provider): update repository URL in package.json

Daniel Avilab5aadc4b6de6
diff --git a/.github/workflows/data-provider.yml b/.github/workflows/data-provider.yml
new file mode 100644
index 0000000000..6e3fb33ac9
--- /dev/null
+++ b/.github/workflows/data-provider.yml
@@ -0,0 +1,34 @@
+name: Node.js Package
+
+on:
+ push:
+ branches:
+ - main
+ paths:
+ - 'packages/data-provider/package.json'
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - uses: actions/setup-node@v3
+ with:
+ node-version: 16
+ - run: cd packages/data-provider && npm ci
+ - run: cd packages/data-provider && npm run build
+
+ publish-npm:
+ needs: build
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - uses: actions/setup-node@v3
+ with:
+ node-version: 16
+ registry-url: 'https://registry.npmjs.org'
+ - run: cd packages/data-provider && npm ci
+ - run: cd packages/data-provider && npm run build
+ - run: cd packages/data-provider && npm publish
+ env:
+ NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
diff --git a/packages/data-provider/package.json b/packages/data-provider/package.json
index 40fe8314bc..af46371d53 100644
--- a/packages/data-provider/package.json
+++ b/packages/data-provider/package.json
@@ -1,6 +1,6 @@
{
"name": "librechat-data-provider",
- "version": "0.1.1",
+ "version": "0.1.2",
"description": "data services for librechat apps",
"main": "dist/index.js",
"module": "dist/index.es.js",
@@ -15,12 +15,12 @@
},
"repository": {
"type": "git",
- "url": "git+https://github.com/danny-avila/librechat-data-provider.git"
+ "url": "git+https://github.com/danny-avila/LibreChat.git"
},
"author": "",
"license": "ISC",
"bugs": {
- "url": "https://github.com/danny-avila/librechat-data-provider/issues"
+ "url": "https://github.com/danny-avila/LibreChat/issues"
},
"homepage": "https://github.com/danny-avila/LibreChat#readme",
"dependencies": {