chore(package.json): update librechat-data-provider version to any

chore(package.json): add packages/* to workspaces
feat(package.json): add build:data-provider script
feat(package.json): update frontend and frontend:ci scripts to include build:data-provider script
This commit is contained in:
Daniel Avila 2023-07-30 11:21:30 -04:00 committed by Danny Avila
parent 2c00279aaf
commit 545342bbcb
3 changed files with 19776 additions and 343 deletions

View file

@ -53,7 +53,7 @@
"export-from-json": "^1.7.2", "export-from-json": "^1.7.2",
"filenamify": "^6.0.0", "filenamify": "^6.0.0",
"html2canvas": "^1.4.1", "html2canvas": "^1.4.1",
"librechat-data-provider": "^0.1.0", "librechat-data-provider": "*",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"lucide-react": "^0.220.0", "lucide-react": "^0.220.0",
"pino": "^8.12.1", "pino": "^8.12.1",

20109
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -4,7 +4,8 @@
"description": "", "description": "",
"workspaces": [ "workspaces": [
"api", "api",
"client" "client",
"packages/*"
], ],
"scripts": { "scripts": {
"install": "node config/install.js", "install": "node config/install.js",
@ -18,8 +19,9 @@
"backend": "cross-env NODE_ENV=production node api/server/index.js", "backend": "cross-env NODE_ENV=production node api/server/index.js",
"backend:dev": "cross-env NODE_ENV=development npx nodemon api/server/index.js", "backend:dev": "cross-env NODE_ENV=development npx nodemon api/server/index.js",
"backend:stop": "node config/stop-backend.js", "backend:stop": "node config/stop-backend.js",
"frontend": "cd client && npm run build", "build:data-provider": "cd packages/data-provider && npm run build",
"frontend:ci": "cd client && npm run build:ci", "frontend": "npm run build:data-provider && cd client && npm run build",
"frontend:ci": "npm run build:data-provider && cd client && npm run build:ci",
"frontend:dev": "cd client && npm run dev", "frontend:dev": "cd client && npm run dev",
"e2e": "playwright test --config=e2e/playwright.config.local.ts", "e2e": "playwright test --config=e2e/playwright.config.local.ts",
"e2e:ci": "playwright test --config=e2e/playwright.config.ts", "e2e:ci": "playwright test --config=e2e/playwright.config.ts",