mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
* chore(dependabot.yml): update target-branch from "develop" to "dev" for npm package updates in /api, /client, and root directory * feat: stop-backend.js and update.js linux support (#701) * feat: stop-backend.js and update.js linux support * feat: update.js sudo support * chore(helpers.js): add deleteNodeModules function feat(packages.js): add script to delete node_modules and install dependencies refactor(update.js): remove unnecessary imports and use deleteNodeModules function feat(package.json): add update:linux script to update with sudo * chore(package.json): rename 'update:linux' script to 'update:sudo' * refactor(update.js): simplify downCommand and buildCommand by removing redundant use of sudo command, add sudo to single docker command --------- Co-authored-by: Fuegovic <32828263+fuegovic@users.noreply.github.com>
47 lines
1.7 KiB
YAML
47 lines
1.7 KiB
YAML
# To get started with Dependabot version updates, you'll need to specify which
|
|
# package ecosystems to update and where the package manifests are located.
|
|
# Please see the documentation for all configuration options:
|
|
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
|
|
|
version: 2
|
|
updates:
|
|
- package-ecosystem: "npm" # See documentation for possible values
|
|
directory: "/api" # Location of package manifests
|
|
target-branch: "dev"
|
|
versioning-strategy: increase-if-necessary
|
|
schedule:
|
|
interval: "weekly"
|
|
allow:
|
|
# Allow both direct and indirect updates for all packages
|
|
- dependency-type: "all"
|
|
commit-message:
|
|
prefix: "npm api prod"
|
|
prefix-development: "npm api dev"
|
|
include: "scope"
|
|
- package-ecosystem: "npm" # See documentation for possible values
|
|
directory: "/client" # Location of package manifests
|
|
target-branch: "dev"
|
|
versioning-strategy: increase-if-necessary
|
|
schedule:
|
|
interval: "weekly"
|
|
allow:
|
|
# Allow both direct and indirect updates for all packages
|
|
- dependency-type: "all"
|
|
commit-message:
|
|
prefix: "npm client prod"
|
|
prefix-development: "npm client dev"
|
|
include: "scope"
|
|
- package-ecosystem: "npm" # See documentation for possible values
|
|
directory: "/" # Location of package manifests
|
|
target-branch: "dev"
|
|
versioning-strategy: increase-if-necessary
|
|
schedule:
|
|
interval: "weekly"
|
|
allow:
|
|
# Allow both direct and indirect updates for all packages
|
|
- dependency-type: "all"
|
|
commit-message:
|
|
prefix: "npm all prod"
|
|
prefix-development: "npm all dev"
|
|
include: "scope"
|
|
|